/* ============================================================
   OPERATEEDU — style.css — Complete rewrite
   Brand: Cream #F9F3ED | Teal #477772 | Dark #31413F | Amber #EFB071
   Fonts: Montserrat (headings) | Open Sans (body)
   ============================================================ */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  color: #31413F;
  background-color: #F9F3ED;
  overflow-x: hidden;
}

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #31413F;
}

h1 { font-size: clamp(38px, 5vw, 62px); line-height: 1.08; }
h2 { font-size: clamp(26px, 3.5vw, 42px); }
h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
h4 { font-size: 16px; font-weight: 700; letter-spacing: 0; }

p { margin-bottom: 0; }

a { color: #477772; text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

/* ── CSS Variables ── */
:root {
  --cream: #F9F3ED;
  --white: #FFFFFF;
  --amber: #EFB071;
  --amber-dark: #D9935A;
  --teal: #477772;
  --teal-dark: #31413F;
  --body-text: #526361;
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 48px;
  --space-xl: 64px;
  --space-2xl: 96px;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 100px;
  --font-head: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  /* legacy vars used in existing HTML */
  --teal: #477772;
  --charcoal-70: #526361;
  --charcoal-30: rgba(49,65,63,0.2);
}

/* ── Container ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5vw;
}

/* ── Section Base ── */
.section {
  position: relative;
  z-index: 1;
  overflow: visible;
  padding: 96px 0;
}

.section--cream { background-color: #F9F3ED; }
.section--dark  { background-color: #31413F; }
.section--white { background-color: #FFFFFF; }

/* ── Wave Divider ── */
.wave-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  line-height: 0;
  overflow: hidden;
  pointer-events: none;
}

.wave-divider svg {
  display: block;
  width: 100%;
}

/* ── Badge ── */
.badge {
  display: inline-block;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #477772;
  background: rgba(71,119,114,0.1);
  border: 1px solid rgba(71,119,114,0.25);
  border-radius: 100px;
  padding: 6px 16px;
}

.section--dark .badge {
  color: #EFB071;
  background: rgba(239,176,113,0.15);
  border-color: rgba(239,176,113,0.3);
}

/* ── Divider Line ── */
.divider {
  width: 48px;
  height: 4px;
  background: #EFB071;
  border-radius: 2px;
  margin: 14px auto 24px;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 30px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  line-height: 1;
}

.btn--amber {
  background: #EFB071;
  color: #31413F;
  box-shadow: 0 4px 16px rgba(239,176,113,0.4);
}
.btn--amber:hover {
  background: #D9935A;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(239,176,113,0.55);
  color: #31413F;
  text-decoration: none;
}

.btn--ghost-dark {
  background: transparent;
  color: #31413F;
  border: 2.5px solid #31413F;
}
.btn--ghost-dark:hover {
  background: #31413F;
  color: #F9F3ED;
  text-decoration: none;
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: #FFFFFF;
  border: 2.5px solid rgba(255,255,255,0.4);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.1);
  text-decoration: none;
  transform: translateY(-2px);
}

/* ── Grid System ── */
.grid {
  display: grid;
  gap: 24px;
}
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--5 { grid-template-columns: repeat(5, 1fr); }

/* ── Cards ── */
.card {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 32px;
  border: 1px solid rgba(71,119,114,0.1);
  box-shadow: 0 2px 12px rgba(0,0,0,0.05), 0 8px 32px rgba(0,0,0,0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1), 0 2px 8px rgba(0,0,0,0.06);
}

/* Cards on dark sections */
.section--dark .card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: none;
}
.section--dark .card:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-4px);
}

.card__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #477772, #31413F);
  color: #FFFFFF;
  margin-bottom: 20px;
}

.section--dark .card__icon {
  background: rgba(239,176,113,0.2);
  color: #EFB071;
}

.card__title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #31413F;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.section--dark .card__title { color: #FFFFFF; }

.card__text {
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
  font-size: 15px;
  color: #526361;
  line-height: 1.7;
}

.section--dark .card__text { color: rgba(255,255,255,0.72); }

/* ── Domain Cards ── */
.domain-grid { gap: 14px; }

.domain-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 20px 12px;
  background: #FFFFFF;
  border-radius: 14px;
  border: 1px solid rgba(71,119,114,0.1);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: all 0.2s ease;
  cursor: default;
}
.domain-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(71,119,114,0.15);
  border-color: rgba(239,176,113,0.5);
}

.section--dark .domain-card {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.1);
}
.section--dark .domain-card:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(239,176,113,0.4);
}

.domain-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.domain-card span {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #31413F;
  line-height: 1.3;
}

.section--dark .domain-card span { color: rgba(255,255,255,0.9); }

/* ── Hero ── */
.hero { padding: 140px 0 calc(80px + 4vw); }

.hero__grid {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 48px;
  align-items: center;
  margin-bottom: 56px;
}

.hero__content { display: flex; flex-direction: column; gap: 20px; }

.hero__actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

.hero__octopus {
  width: 340px;
  height: auto;
  margin: 0 auto;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 24px 48px rgba(49,65,63,0.15));
  animation: floatOcto 5s ease-in-out infinite alternate;
}

@keyframes floatOcto {
  0%   { transform: translateY(0px) rotate(-2deg); }
  100% { transform: translateY(-18px) rotate(2deg); }
}

/* ── Stat Bar ── */
.stat-bar { padding-top: 40px; border-top: 1px solid rgba(49,65,63,0.1); }

.stat-bar__row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.stat-bar__item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.stat-bar__item span {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #526361;
}

.stat-bar__separator {
  width: 1px;
  height: 22px;
  background: rgba(49,65,63,0.15);
}

/* ── Colored Feature Cards (ParentSquare style) ── */
/* Each feature card gets a soft colored background instead of all white */
.section--dark .grid--3 .card:nth-child(1) {
  background: rgba(71,119,114,0.15);
  border-color: rgba(71,119,114,0.2);
}
.section--dark .grid--3 .card:nth-child(2) {
  background: rgba(239,176,113,0.12);
  border-color: rgba(239,176,113,0.2);
}
.section--dark .grid--3 .card:nth-child(3) {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.1);
}

/* ── CTA Banner ── */
.cta-banner {
  background: linear-gradient(135deg, #31413F 0%, #477772 100%);
  border-radius: 20px;
  padding: 60px 48px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(49,65,63,0.3);
}

/* ── Contact Form ── */
.contact-form {
  max-width: 640px;
  margin: 0 auto;
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.contact-form__field {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.contact-form__field label {
  font-family: 'Open Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #31413F;
  margin-bottom: 8px;
}

.contact-form__field input,
.contact-form__field textarea {
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  font-weight: 300;
  color: #31413F;
  background: #FFFFFF;
  border: 1.5px solid rgba(71,119,114,0.22);
  border-radius: 10px;
  padding: 13px 16px;
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.contact-form__field input:focus,
.contact-form__field textarea:focus {
  outline: none;
  border-color: #477772;
  box-shadow: 0 0 0 3px rgba(71,119,114,0.12);
}

.contact-form__field textarea {
  resize: vertical;
  min-height: 140px;
}

/* ── Section dark text overrides ── */
.section--dark h2 { color: #FFFFFF; }
.section--dark h3 { color: #FFFFFF; }
.section--dark p  { color: rgba(255,255,255,0.75); }
.section--dark .text-muted { color: rgba(255,255,255,0.65); }
.section--dark .divider { background: #EFB071; }

/* ── Text utilities ── */
.text-center { text-align: center; }
.text-muted { color: #526361; font-size: 16px; line-height: 1.75; }

/* ── Floating Octopus Background ── */
#octo-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

/* ── Footer ── */
.site-footer {
  background-color: #31413F;
  color: rgba(255,255,255,0.7);
  padding: 64px 0 32px;
  border-top: 1px solid rgba(239,176,113,0.2);
  position: relative;
  z-index: 1;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__brand-logo {
  max-height: 52px;
  width: auto;
  margin-bottom: 16px;
}

.footer__desc {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  max-width: 260px;
}

.footer__heading {
  font-family: 'Open Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.15s;
}
.footer__links a:hover { color: #EFB071; text-decoration: none; }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer__copy {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

.footer__social {
  display: flex;
  gap: 16px;
}

.footer__social a {
  color: rgba(255,255,255,0.4);
  transition: color 0.15s;
}
.footer__social a:hover { color: #EFB071; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .grid--5 { grid-template-columns: repeat(4, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .hero { padding: 120px 0 calc(60px + 4vw); }
  .hero__grid { grid-template-columns: 1fr; text-align: center; gap: 32px; }
  .hero__octopus { width: 200px; order: -1; }
  .hero__actions { justify-content: center; }
  .stat-bar__row { flex-direction: column; gap: 16px; }
  .stat-bar__separator { display: none; }
  .grid--2,
  .grid--3,
  .grid--4 { grid-template-columns: 1fr; }
  .grid--5 { grid-template-columns: repeat(2, 1fr); }
  .contact-form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; gap: 16px; text-align: center; }
  .cta-banner { padding: 40px 24px; }
}

@media (max-width: 480px) {
  .grid--5 { grid-template-columns: repeat(2, 1fr); }
  h1 { font-size: 34px; }
  h2 { font-size: 26px; }
}

/* ── Animations ── */
@keyframes octoFloat {
  0%   { transform: translateY(0px) rotate(-4deg); }
  100% { transform: translateY(-28px) rotate(4deg); }
}

/* ── Section headers ── */
.section-header { margin-bottom: 56px; }
.section-header h2 { margin-top: 12px; }
.section-sub { font-size: 17px; color: #526361; max-width: 600px; margin: 0 auto; line-height: 1.75; }

/* ── Roles section ── */
.roles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.role-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 36px 28px;
  transition: all 0.25s ease;
}
.role-card:hover {
  background: rgba(255,255,255,0.13);
  transform: translateY(-4px);
  border-color: rgba(239,176,113,0.4);
}

.role-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(239,176,113,0.2);
  color: #EFB071;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.role-card h3 {
  color: #FFFFFF;
  font-size: 20px;
  margin-bottom: 12px;
}

.role-card p {
  color: rgba(255,255,255,0.72);
  font-size: 15px;
  line-height: 1.7;
}

/* ── Features section — ParentSquare style colored cards ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  border-radius: 20px;
  padding: 36px 28px;
  border: 1px solid transparent;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}
.feature-card:hover { transform: translateY(-5px); box-shadow: 0 16px 48px rgba(0,0,0,0.12); }

.feature-card--teal {
  background: #EAF4F2;
  border-color: rgba(71,119,114,0.2);
}
.feature-card--amber {
  background: #FDF3E7;
  border-color: rgba(239,176,113,0.25);
}
.feature-card--sage {
  background: #F0F5EC;
  border-color: rgba(100,140,80,0.2);
}

.feature-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-card--teal .feature-card__icon { background: rgba(71,119,114,0.15); color: #477772; }
.feature-card--amber .feature-card__icon { background: rgba(239,176,113,0.2); color: #C47B3A; }
.feature-card--sage .feature-card__icon { background: rgba(100,140,80,0.15); color: #5A7A3A; }

.feature-card h3 { color: #31413F; margin-bottom: 12px; font-size: 20px; }
.feature-card p { color: #526361; font-size: 15px; line-height: 1.7; margin-bottom: 20px; }

.feature-card__link {
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #477772;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}
.feature-card--amber .feature-card__link { color: #C47B3A; }
.feature-card__link:hover { gap: 8px; text-decoration: none; }

/* ── Story section ── */
.story-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 64px;
  align-items: start;
}

.story-photo {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 24px 64px rgba(49,65,63,0.15);
}

.story-content { display: flex; flex-direction: column; gap: 20px; }

.story-quote {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #477772;
  line-height: 1.5;
  border-left: 4px solid #EFB071;
  padding-left: 20px;
  margin: 4px 0;
  font-style: italic;
}

/* ── CTA section ── */
.cta-section { padding: calc(4vw + 80px) 0 calc(80px + 4vw); }

/* ── Contact section ── */
.contact-section { padding-top: calc(4vw + 80px); }

/* ── Responsive additions ── */
@media (max-width: 900px) {
  .roles-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: 1fr; gap: 40px; }
  .story-photo { max-width: 320px; }
}

@media (max-width: 768px) {
  .roles-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
}

/* ── About page ── */
.about-hero { padding: 160px 0 calc(80px + 4vw); }

.problem-block {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.problem-text {
  font-size: 18px;
  line-height: 1.85;
  color: #526361;
}

.story-credentials {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}

.credential-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  font-family: 'Open Sans', sans-serif;
}

/* Timeline */
.timeline {
  position: relative;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-top: 0;
}

.timeline__track { display: none; }

.timeline__items {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 0;
  position: relative;
  min-width: 700px;
}

.timeline__items::before {
  content: '';
  position: absolute;
  top: 52px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: rgba(71,119,114,0.2);
  z-index: 0;
}

.timeline__item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  padding: 0 16px;
  position: relative;
}

.timeline__year {
  font-family: 'Open Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #477772;
  text-transform: uppercase;
  margin-bottom: 12px;
  order: 1;
}

.timeline__dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #F9F3ED;
  border: 2.5px solid #477772;
  margin-bottom: 12px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  order: 2;
}

.timeline__dot--active {
  width: 22px;
  height: 22px;
  background: #477772;
  border-color: #477772;
  box-shadow: 0 0 0 6px rgba(71,119,114,0.15);
}

.timeline__item--active .timeline__year { color: #EFB071; }
.timeline__item--active .timeline__content h3 { color: #477772; }

.timeline__content { order: 3; }

.timeline__content h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #31413F;
  margin-bottom: 8px;
  line-height: 1.3;
}

.timeline__content p {
  font-size: 12px;
  color: #526361;
  line-height: 1.6;
}

/* Values grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.values-grid .value-card:last-child {
  grid-column: 1 / -1;
  max-width: 560px;
  margin: 0 auto;
  width: 100%;
}

.value-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 32px;
  transition: all 0.25s ease;
}
.value-card:hover {
  background: rgba(255,255,255,0.11);
  border-color: rgba(239,176,113,0.3);
  transform: translateY(-3px);
}

.value-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(239,176,113,0.15);
  color: #EFB071;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.value-card h3 {
  color: #FFFFFF;
  font-size: 18px;
  margin-bottom: 10px;
}

.value-card p {
  color: rgba(255,255,255,0.72);
  font-size: 15px;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .timeline__items { grid-template-columns: 1fr !important; min-width: unset; }
  .timeline__items::before { display: none; }
  .timeline__item { flex-direction: row !important; text-align: left !important; gap: 16px; padding: 0 0 28px 0; align-items: flex-start !important; }
  .timeline__year { order: 0; min-width: 36px; margin-bottom: 0; }
  .timeline__dot { order: 0; margin-bottom: 0; margin-top: 3px; }
  .timeline__content { order: 0; flex: 1; }
  .values-grid { grid-template-columns: 1fr; }
  .values-grid .value-card:last-child { max-width: 100%; }
}

/* ── Product page ── */
.product-hero { padding: 160px 0 calc(80px + 4vw); }

.module-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  padding: 72px 0;
  border-bottom: 1px solid rgba(71,119,114,0.1);
}
.module-section:last-of-type { border-bottom: none; }
.module-section--reverse .module-info { order: 2; }
.module-section--reverse .module-mockup { order: 1; }

.module-badge {
  font-family: 'Open Sans', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #477772;
  background: rgba(71,119,114,0.1);
  border: 1px solid rgba(71,119,114,0.2);
  border-radius: 100px;
  padding: 4px 12px;
  display: inline-block;
  margin-bottom: 16px;
}

.module-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 28px;
  color: #31413F;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.module-body {
  font-size: 16px;
  color: #526361;
  line-height: 1.75;
  margin-bottom: 20px;
}

.module-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.module-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #526361;
  line-height: 1.5;
}

.module-bullets li::before {
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(71,119,114,0.12);
  border: 1.5px solid #477772;
  flex-shrink: 0;
  margin-top: 1px;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4L3.5 6.5L9 1' stroke='%23477772' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.module-url {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #F0F5F4;
  border: 1px solid rgba(71,119,114,0.15);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 12px;
  font-family: monospace;
  color: #477772;
  font-weight: 600;
}

/* Mockup */
.module-mockup {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.18), 0 2px 8px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.08);
}

.mockup-chrome {
  background: #1E2A2A;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.mockup-chrome__dots { display: flex; gap: 5px; }
.mockup-chrome__dots span { width: 10px; height: 10px; border-radius: 50%; }
.mockup-chrome__dots span:nth-child(1) { background: #FF5F57; }
.mockup-chrome__dots span:nth-child(2) { background: #FFBD2E; }
.mockup-chrome__dots span:nth-child(3) { background: #28CA41; }

.mockup-chrome__url {
  flex: 1;
  background: rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  font-family: monospace;
  text-align: center;
}

.mockup-chrome__controls {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 3px;
}

.mockup-body {
  background: #F5F7F7;
  padding: 0;
  min-height: 280px;
  display: flex;
  overflow: hidden;
}

.mockup-sidebar {
  background: #1E2A2A;
  width: 100px;
  padding: 16px 0;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mockup-sidebar-item {
  padding: 8px 16px;
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  font-family: 'Open Sans', sans-serif;
  cursor: default;
  border-radius: 6px;
  margin: 0 6px;
}
.mockup-sidebar-item--active {
  background: rgba(71,119,114,0.3);
  color: #FFFFFF;
  font-weight: 600;
}

.mockup-content {
  flex: 1;
  padding: 16px;
  background: #F9F3ED;
}

.mockup-content-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #31413F;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mockup-badge {
  background: #477772;
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 100px;
}

.mockup-row {
  background: white;
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #31413F;
  border: 1px solid rgba(71,119,114,0.08);
  font-family: 'Open Sans', sans-serif;
}

.mockup-domain-tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 2px 7px;
  border-radius: 100px;
  text-transform: uppercase;
}
.mockup-domain-tag--safety { background: #FCE4EC; color: #C62828; }
.mockup-domain-tag--finance { background: #E8F5E9; color: #2E7D32; }
.mockup-domain-tag--vendor { background: #E8F0FE; color: #3B71CA; }
.mockup-domain-tag--people { background: #FFF3E0; color: #E67E22; }
.mockup-domain-tag--facilities { background: #E3F2FD; color: #1565C0; }

/* How it works */
.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.how-step {
  background: #F0EAE0;
  border-radius: 20px;
  padding: 36px 28px;
  text-align: center;
  border: 1px solid rgba(71,119,114,0.12);
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  cursor: default;
}

.how-step:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 16px 40px rgba(71,119,114,0.15) !important;
  background: #EAE0D4;
  border-color: rgba(71,119,114,0.25);
}

.how-step__number {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #477772, #31413F);
  color: white;
  border-radius: 50%;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.how-step h3 { color: #31413F; margin-bottom: 10px; }
.how-step p { color: #526361; font-size: 15px; line-height: 1.7; }

/* FAQ */
.faq-list { max-width: 760px; margin: 48px auto 0; }

.faq-item { border-bottom: 1px solid rgba(255,255,255,0.1); }

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #FFFFFF;
  text-align: left;
  gap: 16px;
}

.faq-question::after {
  content: '+';
  font-size: 22px;
  font-weight: 300;
  color: #EFB071;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-item.open .faq-question::after { transform: rotate(45deg); }

.faq-answer {
  display: none;
  padding: 0 0 20px 0;
  color: rgba(255,255,255,0.72);
  font-size: 15px;
  line-height: 1.75;
}

.faq-item.open .faq-answer { display: block; }

@media (max-width: 900px) {
  .module-section { grid-template-columns: 1fr; gap: 40px; }
  .how-steps { grid-template-columns: 1fr; }
}
.wave-divider { position: absolute; bottom: -1px; left: 0; width: 100%; line-height: 0; overflow: hidden; pointer-events: none; }
.faq-question { color: #FFFFFF !important; }
.faq-answer { color: rgba(255,255,255,0.72) !important; }

/* ── Founder Avatar ── */
.founder-avatar-wrap { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.founder-avatar-wrap svg { box-shadow: 0 24px 64px rgba(49,65,63,0.2); }

/* ── Credential chips ── */
.credential-chip {
  background: rgba(71,119,114,0.08);
  border: 1px solid rgba(71,119,114,0.15);
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #31413F;
  font-family: 'Open Sans', sans-serif;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section--dark .credential-chip {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.85);
}
.section--dark .credential-chip svg { stroke: #EFB071; }

.story-credentials {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 20px;
  width: 100%;
  max-width: 300px;
}

/* ── Domain cards on dark ── */
.section--dark .domain-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
}
.section--dark .domain-card:hover {
  background: rgba(255,255,255,0.11);
  border-color: rgba(239,176,113,0.4);
}
.section--dark .domain-card__icon {
  background: rgba(255,255,255,0.12) !important;
}
.section--dark .domain-card span {
  color: rgba(255,255,255,0.9);
}

/* ── Story photo ── */
.story-photo {
  width: 100%;
  max-width: 340px;
  border-radius: 20px;
  display: block;
  box-shadow: 0 24px 64px rgba(0,0,0,0.3);
  object-fit: cover;
  aspect-ratio: 1;
}

/* ── Value cards on cream ── */
.section--cream .value-card {
  background: #FFFFFF;
  border: 1px solid rgba(71,119,114,0.1);
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.section--cream .value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(71,119,114,0.12);
  border-color: rgba(71,119,114,0.2);
}
.section--cream .value-card h3 { color: #31413F; }
.section--cream .value-card p { color: #526361; }
