*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #FFFFFF;
  --surface: #F8FAFC;
  --surface-2: #F1F5F9;
  --text: #1A2744;
  --text-2: #64748B;
  --text-3: #94A3B8;
  --navy: #1A2744;
  --blue: #2D6BBF;
  --teal: #2D6BBF;
  --green: #1B6B3F;
  --rose: #AD4B71;
  --grad: linear-gradient(135deg, #38b3cc 0%, #d1d4ad 36%, #ad4b71 69%, #432841 100%);
  --border: #E2E8F0;
  --nav-h: 72px;
  --max-w: 1100px;
  --font-d: 'Space Grotesk', sans-serif;
  --font-b: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-b);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

/* ── NAVIGATION ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 40px;
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo img {
  height: 40px;
  width: auto;
}

.nav-logo-text {
  font-family: var(--font-d);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1.3;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
  padding-bottom: 3px;
}

.nav-links a:hover { color: var(--text); }

.nav-links a.active {
  color: var(--text);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
}

.nav-hamburger {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--navy);
  padding: 8px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  font-family: var(--font-d);
  font-weight: 600;
  border-radius: 7px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s, transform 0.15s;
  white-space: nowrap;
}

.btn:hover { opacity: 0.85; transform: translateY(-1px); }

.btn-sm  { font-size: 13px; padding: 9px 20px; }
.btn-md  { font-size: 14px; padding: 12px 26px; }
.btn-lg  { font-size: 15px; padding: 15px 34px; border-radius: 8px; }

.btn-primary  { background: var(--navy); color: #fff; }
.btn-grad     { background: var(--green); color: #fff; }
.btn-outline  { background: transparent; color: var(--navy); border: 1px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; opacity: 1; transform: none; }

/* ── LAYOUT ── */
.section          { padding: 96px 40px; }
.section-surface  { background: var(--surface); }
.section-black    { background: var(--navy); }
.section-black .label       { color: rgba(255,255,255,0.5); }
.section-black .heading     { color: #fff; }
.section-black .body-text   { color: rgba(255,255,255,0.65); }
.section-black .grad-text   { color: #4ade80; }

/* restore dark text inside spotlight cards on navy sections */
.section-black .spotlight .label     { color: var(--blue); }
.section-black .spotlight .heading   { color: var(--navy); }
.section-black .spotlight .body-text { color: var(--text-2); }

.section-inner        { max-width: var(--max-w); margin: 0 auto; }
.section-inner-narrow { max-width: 760px; margin: 0 auto; }

/* ── TYPOGRAPHY ── */
.label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}

.heading {
  font-family: var(--font-d);
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.8px;
  line-height: 1.15;
  margin-bottom: 20px;
}

.heading-line {
  display: block;
  width: 40px;
  height: 3px;
  background: var(--green);
  border-radius: 2px;
  margin-bottom: 24px;
}

.body-text {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.76;
  max-width: 680px;
}

.body-text + .body-text { margin-top: 18px; }

.grad-text {
  color: var(--green);
}

/* ── HERO ── */
.page-hero {
  padding: 96px 40px 88px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(135deg, #0f1d3a 0%, #1a2744 60%, #1e3a6e 100%);
}
.page-hero .label      { color: #38b3cc; }
.page-hero .hero-headline { color: #fff; }
.page-hero .hero-sub   { color: rgba(255,255,255,0.72); }
.page-hero .hero-tagline  { color: #38b3cc; }
.page-hero .grad-text  { color: #4ade80; }
.page-hero .btn-outline {
  color: #fff;
  border-color: rgba(255,255,255,0.35);
  background: transparent;
}
.page-hero .btn-outline:hover { background: rgba(255,255,255,0.1); color: #fff; }

.hero-inner { max-width: var(--max-w); margin: 0 auto; }

.hero-headline {
  font-family: var(--font-d);
  font-size: clamp(38px, 5.5vw, 68px);
  font-weight: 700;
  letter-spacing: -1.8px;
  line-height: 1.08;
  max-width: 900px;
  margin-bottom: 26px;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-2);
  max-width: 580px;
  line-height: 1.72;
  margin-bottom: 44px;
}

.hero-tagline {
  font-family: var(--font-d);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

/* ── CARDS ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 56px;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 28px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.section-surface .card { background: #fff; }

.card:hover { border-color: #cbd5e1; box-shadow: 0 4px 16px rgba(26,39,68,0.08); }

.card-num {
  font-family: var(--font-d);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 18px;
  color: var(--green);
}

.card-title {
  font-family: var(--font-d);
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}

.card-body {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.7;
}

/* ── CYCLE STEPS (About) ── */
.cycle-steps {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0;
  margin: 52px 0 40px;
  position: relative;
}

.cycle-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--green);
  opacity: 0.4;
}

.cycle-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  position: relative;
  z-index: 1;
}

.step-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid transparent;
  background-clip: padding-box;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  position: relative;
}

.step-circle::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: var(--green);
  z-index: -1;
}

.step-circle::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #fff;
  z-index: -1;
}

.step-num {
  font-family: var(--font-d);
  font-size: 15px;
  font-weight: 700;
  color: var(--green);
  position: relative;
  z-index: 1;
}

.step-name {
  font-family: var(--font-d);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.3px;
}

.step-arrow {
  font-size: 16px;
  color: var(--text-3);
  align-self: center;
  flex-shrink: 0;
  margin-top: -30px;
  padding: 0 4px;
}

/* ── CLARITY LIST (About) ── */
.clarity-list {
  list-style: none;
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.clarity-list li {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.65;
  padding-left: 20px;
  position: relative;
}

.clarity-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

/* ── FORMS ── */
.form-wrap {
  max-width: 600px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group { margin-bottom: 20px; }

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  margin-bottom: 7px;
  letter-spacing: 0.2px;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 15px;
  color: var(--text);
  font-family: var(--font-b);
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}

.form-input:focus,
.form-textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(45,107,191,0.1); }

.form-input::placeholder,
.form-textarea::placeholder { color: var(--text-3); }

.form-textarea {
  resize: vertical;
  min-height: 150px;
  line-height: 1.6;
}

.form-message {
  padding: 14px 20px;
  border-radius: 8px;
  font-size: 15px;
  margin-bottom: 24px;
  display: none;
}

.form-message.success {
  background: rgba(56, 179, 204, 0.12);
  border: 1px solid rgba(56, 179, 204, 0.3);
  color: var(--teal);
}

.form-message.error {
  background: rgba(173, 75, 113, 0.12);
  border: 1px solid rgba(173, 75, 113, 0.3);
  color: #d4789a;
}

/* ── FOOTER ── */
footer {
  background: var(--navy);
  border-top: none;
  padding: 56px 40px;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  flex-wrap: wrap;
}

.footer-brand { display: flex; flex-direction: column; gap: 12px; }

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.footer-logo img { height: 32px; width: auto; }

.footer-logo-text {
  font-family: var(--font-d);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text);
}

.footer-tagline {
  font-size: 13px;
  color: var(--text-3);
  font-style: italic;
  padding-left: 2px;
}

.footer-copy {
  font-size: 12px;
  color: var(--text-3);
  padding-left: 2px;
}

.footer-nav {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.footer-nav-col { display: flex; flex-direction: column; gap: 10px; }

.footer-nav-col h4 {
  font-family: var(--font-d);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 4px;
}

.footer-nav-col a {
  font-size: 14px;
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-nav-col a:hover { color: var(--text); }

/* ── DIVIDER ── */
.section-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* ── SPOTLIGHT BLOCK ── */
.spotlight {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 52px 48px;
  position: relative;
  overflow: hidden;
}

.spotlight::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56,179,204,0.07) 0%, transparent 70%);
  pointer-events: none;
}

/* ── MOBILE ── */
@media (max-width: 800px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 20px;
    gap: 16px;
  }
  .nav-hamburger { display: block; }
  .nav-right { gap: 16px; }

  .section { padding: 64px 20px; }
  .page-hero { padding: 60px 20px 52px; }
  .hero-headline { letter-spacing: -1px; }
  .hero-sub { font-size: 16px; }

  .cards-grid { grid-template-columns: 1fr; }

  .cycle-steps { flex-direction: column; align-items: flex-start; gap: 24px; }
  .cycle-steps::before { display: none; }
  .cycle-step { flex-direction: row; text-align: left; gap: 16px; }
  .step-circle { flex-shrink: 0; margin-bottom: 0; }
  .step-arrow { display: none; }

  .form-row { grid-template-columns: 1fr; }

  footer { padding: 40px 20px; }
  .footer-inner { flex-direction: column; gap: 32px; }
  .footer-nav { gap: 32px; }

  .spotlight { padding: 36px 24px; }
}
