@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500&display=swap');

:root {
  /* dark surfaces (nav, hero, cta, footer) */
  --bg-dark: #1a2238;
  --bg-dark-surface: #1e2a42;
  --bg-nav: rgba(20, 28, 46, 0.96);
  --text-inv: #ffffff;
  --text-inv-muted: rgba(255, 255, 255, 0.70);
  --text-inv-faint: rgba(255, 255, 255, 0.30);
  --border-dark: rgba(255, 255, 255, 0.08);
  --accent-dim-dark: rgba(61, 209, 255, 0.10);

  /* light surfaces (content sections) */
  --bg-light: #ffffff;
  --bg-light-alt: #f4f7fb;
  --bg-light-card: #edf2fa;
  --text: #1a2238;
  --text-muted: #5a6785;
  --text-faint: #9aa0b4;
  --border-light: rgba(26, 34, 56, 0.08);
  --label-light: #0e7ab5;

  /* shared */
  --accent: #3dd1ff;
  --gold: #c9a84c;
  --radius: 10px;
  --max-w: 1080px;
  --nav-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg-light);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

/* ——— Layout ——— */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.75rem; }
section { padding: 5.5rem 0; }
.divider { height: 1px; background: var(--border-light); }

/* ——— Nav (dark) ——— */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-nav);
  border-bottom: 1px solid var(--border-dark);
  backdrop-filter: blur(14px);
  height: var(--nav-h);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.75rem;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.nav-logo { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }
.nav-logo img { width: 40px; height: auto; }
.nav-logo span {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--text-inv);
  letter-spacing: 0.04em;
}
.nav-links { display: flex; align-items: center; gap: 0.15rem; }
.nav-links a {
  padding: 0.4rem 0.9rem;
  font-size: 0.9rem;
  color: var(--text-inv-muted);
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover { color: var(--text-inv); background: rgba(255,255,255,0.05); }
.nav-links a.active { color: var(--text-inv); }
.nav-right { display: flex; align-items: center; gap: 1rem; justify-content: flex-end; }

/* ——— Hamburger button ——— */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-inv);
  border-radius: 2px;
  transition: transform 0.22s, opacity 0.15s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ——— Mobile nav menu ——— */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: var(--bg-nav);
  border-bottom: 1px solid var(--border-dark);
  backdrop-filter: blur(14px);
  padding: 0.5rem 1.75rem 1.5rem;
  flex-direction: column;
  z-index: 99;
}
.nav-mobile.open { display: flex; }
.nav-mobile-links { display: flex; flex-direction: column; }
.nav-mobile-links a {
  color: var(--text-inv-muted);
  font-size: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border-dark);
  transition: color 0.15s;
}
.nav-mobile-links a.active,
.nav-mobile-links a:hover { color: var(--text-inv); }
.nav-mobile .btn {
  margin-top: 1.25rem;
  text-align: center;
  justify-content: center;
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.3rem;
  border-radius: 7px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.1s;
  border: none;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { opacity: 0.85; }
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--accent); color: #1a2238; font-weight: 600; }
.btn-ghost {
  background: transparent;
  color: var(--text-inv);
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.btn-ghost:hover { background: rgba(255,255,255,0.06); opacity: 1; }
/* ghost on light bg */
.btn-ghost-dark {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(26, 34, 56, 0.25);
}
.btn-ghost-dark:hover { background: var(--bg-light-alt); opacity: 1; }
.btn-lg { padding: 0.8rem 1.8rem; font-size: 1rem; }

/* ——— Typography ——— */
.label {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--label-light);
  margin-bottom: 0.85rem;
}
/* label on dark sections */
.dark-section .label,
.hero .label,
.hero-eyebrow {
  color: var(--accent);
}
h2.serif, .serif-head {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  line-height: 1.2;
  color: var(--text);
}

/* ——— Section head ——— */
.section-head { text-align: center; margin-bottom: 3.5rem; }
.section-head h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 0.9rem;
  color: var(--text);
}
.section-head p { color: var(--text-muted); max-width: 560px; margin: 0 auto; font-size: 1.05rem; }

/* ——— Hero (dark) ——— */
.hero {
  background: var(--bg-dark);
  padding: clamp(5rem, 10vh, 7.5rem) 0 clamp(6rem, 14vh, 11rem);
  text-align: center;
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 500px;
  background: radial-gradient(ellipse at center, rgba(61,209,255,0.06) 0%, transparent 68%);
  pointer-events: none;
}
.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.75rem, 7.5vw, 5rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-inv);
}
.hero-sub {
  color: var(--text-inv-muted);
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  max-width: 610px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-video {
  margin-top: 3rem;
}
.hero-video video {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}
.hero-operators { margin-top: 4.5rem; }
.hero-operators-label {
  color: var(--text-inv-faint);
  font-size: 0.75rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.hero-operators-list { display: flex; justify-content: center; gap: 2.5rem; flex-wrap: wrap; }
.hero-operators-list span { font-size: 0.9rem; color: var(--text-inv-faint); font-weight: 500; letter-spacing: 0.03em; }

/* ——— Problem band (light alt) ——— */
.problem-band {
  background: var(--bg-light-alt);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 4rem 0;
  text-align: center;
}
.problem-band h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 400;
  margin-bottom: 1rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text);
}
.problem-band p { color: var(--text-muted); max-width: 600px; margin: 0 auto; font-size: 1.05rem; line-height: 1.75; }

/* ——— Cards (light) ——— */
.card {
  background: var(--bg-light-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 2rem;
}
.card-icon {
  width: 44px; height: 44px;
  background: rgba(14, 122, 181, 0.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.3rem;
}
.card h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 0.6rem; color: var(--text); }
.card p { color: var(--text-muted); font-size: 0.93rem; line-height: 1.65; }
/* card on dark bg (CTA section ROI card) */
.card-dark {
  background: var(--bg-dark-surface);
  border: 1px solid var(--border-dark);
}
.card-dark h3, .card-dark .label { color: var(--text-inv); }
.card-dark p { color: var(--text-inv-muted); }
.card-dark .divider { background: var(--border-dark); }

/* ——— Grid ——— */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

/* ——— Stats band (light alt) ——— */
.stats-band {
  text-align: center;
  background: var(--bg-light-alt);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 4rem 0;
}
.stats-row { display: flex; justify-content: center; gap: 5rem; flex-wrap: wrap; }
.stat { text-align: center; }
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: var(--bg-dark);
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-label { color: var(--text-muted); font-size: 0.88rem; max-width: 140px; line-height: 1.4; }

/* ——— CTA section (dark) ——— */
.cta-section {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
  text-align: center;
  padding: 5.5rem 0;
}
.cta-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 400;
  margin-bottom: 1rem;
  color: var(--text-inv);
}
.cta-section p { color: var(--text-inv-muted); margin-bottom: 2.25rem; font-size: 1.05rem; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ——— Page hero (dark) ——— */
.page-hero {
  background: var(--bg-dark);
  padding: 5.5rem 0 4.5rem;
  text-align: center;
  border-bottom: 1px solid var(--border-dark);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 500px; height: 300px;
  background: radial-gradient(ellipse at center, rgba(61,209,255,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.1rem, 5vw, 3.25rem);
  font-weight: 400;
  margin-bottom: 1rem;
  color: var(--text-inv);
}
.page-hero p { color: var(--text-inv-muted); max-width: 520px; margin: 0 auto; font-size: 1.05rem; line-height: 1.7; }
.page-hero .label { color: var(--accent); }

/* ——— Feature rows (light) ——— */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  padding: 4.5rem 0;
  border-bottom: 1px solid var(--border-light);
}
.feature-row:last-of-type { border-bottom: none; }
.feature-row.reverse .feature-visual { order: -1; }
.feature-content .label { margin-bottom: 0.6rem; }
.feature-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-weight: 400;
  margin-bottom: 1rem;
  line-height: 1.2;
  color: var(--text);
}
.feature-content > p { color: var(--text-muted); line-height: 1.75; margin-bottom: 1.25rem; }
.feature-list { display: flex; flex-direction: column; gap: 0.55rem; }
.feature-list li {
  color: var(--text-muted);
  padding-left: 1.3rem;
  position: relative;
  font-size: 0.93rem;
  line-height: 1.55;
}
.feature-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--label-light);
  font-size: 0.82rem;
  top: 0.15em;
}
.feature-visual {
  background: var(--bg-light-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--text-faint);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.feature-visual-icon { font-size: 2.5rem; margin-bottom: 0.5rem; opacity: 0.3; }

/* ——— About (light) ——— */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
  padding: 5.5rem 0;
}
.about-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 1.5rem;
  color: var(--text);
}
.about-content p { color: var(--text-muted); line-height: 1.8; margin-bottom: 1rem; font-size: 0.98rem; }
.about-values { display: flex; flex-direction: column; gap: 1.75rem; padding-top: 0.5rem; }
.about-value { display: flex; gap: 1rem; align-items: flex-start; }
.about-value-icon {
  width: 38px; height: 38px;
  background: rgba(14, 122, 181, 0.08);
  border: 1px solid rgba(14, 122, 181, 0.12);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1.15rem;
}
.about-value-text h3 { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.3rem; color: var(--text); }
.about-value-text p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.6; }
.market-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }

/* ——— Contact (light) ——— */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  padding: 5.5rem 0;
  align-items: start;
}
.contact-info h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 400;
  margin-bottom: 1rem;
  color: var(--text);
}
.contact-info > p { color: var(--text-muted); line-height: 1.75; margin-bottom: 2.25rem; font-size: 0.98rem; }
.contact-email-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--label-light);
  font-size: 1.15rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(14, 122, 181, 0.3);
  padding-bottom: 0.25rem;
  transition: border-color 0.15s;
}
.contact-email-link:hover { border-color: var(--label-light); }
.contact-details { display: flex; flex-direction: column; gap: 1.75rem; margin-top: 3rem; }
.contact-detail h4 {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-faint);
  margin-bottom: 0.35rem;
}
.contact-detail p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.6; }
.contact-sidebar .card { position: sticky; top: calc(var(--nav-h) + 1.5rem); }
.contact-sidebar h3 { font-size: 1rem; font-weight: 600; margin-bottom: 1.25rem; color: var(--text); }
.expect-list { display: flex; flex-direction: column; gap: 1.25rem; }
.expect-item { display: flex; gap: 0.9rem; align-items: flex-start; }
.expect-num {
  width: 26px; height: 26px;
  background: rgba(14, 122, 181, 0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--label-light);
}
.expect-item p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.55; padding-top: 0.2rem; }

/* ——— Contact form ——— */
.contact-form { display: flex; flex-direction: column; gap: 1.1rem; margin-top: 1.75rem; }
.form-group { display: flex; flex-direction: column; gap: 0.35rem; }
.form-group label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.form-group .optional {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.75rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.6rem 0.85rem;
  border: 1px solid rgba(26, 34, 56, 0.15);
  border-radius: 7px;
  background: var(--bg-light);
  color: var(--text);
  font-size: 0.95rem;
  font-family: inherit;
  line-height: 1.5;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-faint); }
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.13);
}
.form-group textarea { resize: vertical; min-height: 96px; }
.form-message { font-size: 0.83rem; margin-top: 0.1rem; }
.form-message.error { color: #b91c1c; }
.contact-form-submit { margin-top: 0.5rem; }
.form-success {
  background: var(--bg-light-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
}
.form-success h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.6rem;
}
.form-success p { color: var(--text-muted); font-size: 0.93rem; line-height: 1.65; }
.contact-email-fallback {
  margin-top: 1.75rem;
  font-size: 0.85rem;
  color: var(--text-faint);
}
.contact-email-fallback a { color: var(--label-light); border-bottom: 1px solid rgba(14, 122, 181, 0.25); padding-bottom: 0.1rem; }
.contact-email-fallback a:hover { border-color: var(--label-light); }

/* ——— ROI card (appears in light section, needs explicit dark) ——— */
.roi-card {
  background: var(--bg-dark);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 2.5rem;
  color: var(--text-inv);
}
.roi-card .label { color: var(--accent); }
.roi-card .divider { background: var(--border-dark); }
.roi-card .roi-label { color: var(--text-inv-muted); font-size: 0.85rem; margin-top: 0.25rem; }
.roi-card .roi-value { font-size: 1.5rem; font-family: 'Playfair Display', serif; color: var(--text-inv); }
.roi-card .roi-total { font-size: 1.75rem; font-family: 'Playfair Display', serif; color: var(--gold); }
.roi-card .roi-total-label { color: var(--gold); }

/* ——— Footer (dark) ——— */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-dark);
  padding: 2.75rem 0;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-logo { display: flex; align-items: center; gap: 0.5rem; }
.footer-logo img { width: 20px; }
.footer-logo span {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--text-inv-muted);
}
.footer-links { display: flex; gap: 2rem; }
.footer-links a { color: var(--text-inv-faint); font-size: 0.85rem; transition: color 0.15s; }
.footer-links a:hover { color: var(--text-inv-muted); }
.footer-copy { color: var(--text-inv-faint); font-size: 0.78rem; }

/* ——— Responsive ——— */
.feature-row-wide-visual { grid-template-columns: 1fr 1.4fr; }
.feature-row-wide-visual-left { grid-template-columns: 1.6fr 1fr; }

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .feature-row,
  .feature-row-wide-visual,
  .feature-row-wide-visual-left { grid-template-columns: 1fr; gap: 2.5rem; }
  .feature-row.reverse .feature-visual { order: 0; }
  .about-grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .market-cards { grid-template-columns: 1fr 1fr; }
  .contact-sidebar .card { position: static; }
}

@media (max-width: 640px) {
  section { padding: 3.5rem 0; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-right .btn-primary { display: none; }
  .nav-hamburger { display: flex; }
  .nav-inner { display: flex; justify-content: space-between; align-items: center; }
  .stats-row { gap: 2.5rem; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  .market-cards { grid-template-columns: 1fr; }
  .hero { padding: 5rem 0 4.5rem; min-height: calc(100vh - var(--nav-h)); }
}
