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

:root {
  --navy-900: #0f1c2e;
  --navy-800: #152238;
  --navy-700: #1b2d42;
  --navy-600: #23394f;
  --navy-500: #2c4660;
  --navy-400: #3d5a78;
  --navy-300: #5a7a9b;
  --navy-200: #8eabc4;
  --navy-100: #c5d7e8;
  --navy-50: #edf2f7;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-400: #9ca3af;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50: #f9fafb;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 2px 8px rgba(15,28,46,.08);
  --shadow-lg: 0 8px 32px rgba(15,28,46,.12);
  --ease-out: cubic-bezier(.22,1,.36,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--gray-600);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ========== Animation primitives ========== */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  animation: fadeUp .9s var(--ease-out) forwards;
}
.fade-up.d-1 { animation-delay: .12s; }
.fade-up.d-2 { animation-delay: .24s; }
.fade-up.d-3 { animation-delay: .36s; }
.fade-up.d-4 { animation-delay: .48s; }
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
/* Staggered children delays are set inline by JS */

@media (prefers-reduced-motion: reduce) {
  .fade-up, .reveal { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ========== Buttons ========== */
.btn {
  display: inline-block; padding: 16px 36px; border-radius: 8px;
  font-weight: 700; font-size: 1.05rem; cursor: pointer;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), background .25s;
  border: none; text-align: center;
  letter-spacing: .3px; position: relative; overflow: hidden;
}
.btn::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.18) 50%, transparent 60%);
  transform: translateX(-120%);
  transition: transform .6s var(--ease-out);
}
.btn:hover::after { transform: translateX(120%); }
.btn-primary {
  background: var(--navy-700);
  color: var(--white); box-shadow: 0 4px 20px rgba(27,45,66,.25);
}
.btn-primary:hover { background: var(--navy-800); transform: translateY(-3px); box-shadow: 0 10px 32px rgba(27,45,66,.35); }
.btn-light { background: var(--white); color: var(--navy-800); box-shadow: 0 4px 20px rgba(0,0,0,.15); }
.btn-light:hover { background: var(--gray-100); transform: translateY(-3px); box-shadow: 0 10px 32px rgba(0,0,0,.25); }
.btn-lg { padding: 20px 48px; font-size: 1.15rem; }
.btn-block { display: block; width: 100%; }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }

/* ========== Navigation ========== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.nav.scrolled { border-bottom-color: var(--gray-200); box-shadow: 0 2px 16px rgba(15,28,46,.06); background: rgba(255,255,255,.97); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { height: 56px; width: auto; transition: transform .3s var(--ease-out); }
.nav-logo:hover img { transform: scale(1.05); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a:not(.btn) {
  font-size: .9rem; font-weight: 500; color: var(--gray-500);
  transition: color .2s; position: relative;
}
.nav-links a:not(.btn)::before {
  content: ''; position: absolute; left: 0; bottom: -6px; height: 2px; width: 100%;
  background: var(--navy-600); border-radius: 2px;
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease-out);
}
.nav-links a:not(.btn):hover { color: var(--navy-700); }
.nav-links a:not(.btn):hover::before { transform: scaleX(1); }
.nav-cta { padding: 10px 24px !important; font-size: .9rem !important; }

.mobile-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }
.mobile-toggle span { display: block; width: 24px; height: 2px; background: var(--navy-700); border-radius: 2px; transition: all .3s; }

/* ========== Hero ========== */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding-top: 84px; position: relative;
  background: linear-gradient(135deg, var(--navy-50) 0%, var(--white) 50%, var(--gray-50) 100%);
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-orb {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5;
  animation: drift 14s ease-in-out infinite alternate;
}
.hero-orb-1 { width: 480px; height: 480px; background: var(--navy-100); top: -120px; left: -100px; }
.hero-orb-2 { width: 380px; height: 380px; background: var(--navy-50); bottom: -80px; right: -60px; animation-delay: -7s; }
@keyframes drift {
  from { transform: translate(0,0) scale(1); }
  to { transform: translate(40px, 30px) scale(1.1); }
}
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; position: relative; }
.hero-tag {
  display: inline-block; padding: 6px 16px; border-radius: 50px;
  background: rgba(27,45,66,.06); color: var(--navy-500); border: 1px solid rgba(27,45,66,.1);
  font-size: .82rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 800;
  color: var(--navy-900); line-height: 1.12; margin-bottom: 24px;
  letter-spacing: -.5px;
}
.hero h1 em {
  font-style: normal; color: var(--navy-500); position: relative; display: inline-block;
}
.hero h1 em::after {
  content: ''; position: absolute; left: 0; bottom: 4px; width: 100%; height: 10px;
  background: var(--navy-100); z-index: -1; border-radius: 3px;
  transform: scaleX(0); transform-origin: left;
  animation: underline .8s var(--ease-out) 1s forwards;
}
@keyframes underline { to { transform: scaleX(1); } }
.hero-sub { font-size: 1.15rem; color: var(--gray-500); max-width: 500px; margin-bottom: 36px; line-height: 1.75; }
.hero-proof { display: flex; align-items: center; gap: 16px; margin-top: 32px; }
.hero-proof-text { font-size: .85rem; color: var(--gray-500); }
.hero-proof-text strong { color: var(--navy-800); }

.hero-visual {
  background: var(--white);
  border-radius: 16px; border: 1px solid var(--gray-200);
  padding: 48px 40px; position: relative; overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.hero-visual:hover { transform: translateY(-6px); box-shadow: 0 20px 48px rgba(15,28,46,.16); }
.hero-stat { text-align: center; margin-bottom: 32px; }
.hero-stat-num { font-size: 4rem; font-weight: 800; color: var(--navy-700); line-height: 1; }
.hero-stat-label { font-size: .9rem; color: var(--gray-500); margin-top: 8px; }
.hero-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.metric-card {
  background: var(--gray-50); border-radius: 10px; padding: 20px;
  border: 1px solid var(--gray-200);
  transition: transform .3s var(--ease-out), border-color .3s;
}
.metric-card:hover { transform: translateY(-3px); border-color: var(--navy-200); }
.metric-num { font-size: 1.5rem; font-weight: 700; color: var(--navy-800); }
.metric-label { font-size: .78rem; color: var(--gray-500); margin-top: 4px; }
.metric-bar { height: 4px; border-radius: 2px; background: var(--gray-200); margin-top: 12px; overflow: hidden; }
.metric-bar-fill {
  height: 100%; border-radius: 2px; background: var(--navy-600);
  width: 0; transition: width 1.4s var(--ease-out) .3s;
}

.scroll-hint {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid var(--navy-300); border-radius: 14px;
  display: flex; justify-content: center; opacity: .7;
  transition: opacity .3s;
}
.scroll-hint:hover { opacity: 1; }
.scroll-hint span {
  display: block; width: 4px; height: 8px; background: var(--navy-400); border-radius: 2px;
  margin-top: 7px; animation: scrollNudge 1.8s ease-in-out infinite;
}
@keyframes scrollNudge {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(10px); opacity: .3; }
}

/* ========== Problem Section ========== */
.problem { padding: 120px 0; border-top: 1px solid var(--gray-200); }
.problem-tag {
  display: inline-block; padding: 6px 16px; border-radius: 50px;
  background: rgba(220,38,38,.06); color: #dc2626; border: 1px solid rgba(220,38,38,.12);
  font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px;
  margin-bottom: 16px;
}
.section-head { text-align: center; max-width: 680px; margin: 0 auto 64px; }
.section-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800;
  color: var(--navy-900); line-height: 1.2; margin-bottom: 20px;
}
.section-head p { font-size: 1.05rem; color: var(--gray-500); line-height: 1.7; }
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pain-card {
  background: var(--white); border-radius: var(--radius); padding: 36px 28px;
  border: 1px solid var(--gray-200);
  transition: border-color .3s, box-shadow .4s var(--ease-out), transform .4s var(--ease-out), opacity .8s var(--ease-out);
}
.pain-card:hover { border-color: rgba(220,38,38,.2); box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.pain-icon { font-size: 1.8rem; margin-bottom: 16px; transition: transform .3s var(--ease-out); }
.pain-card:hover .pain-icon { transform: scale(1.2) rotate(-6deg); }
.pain-card h3 { font-size: 1.1rem; color: var(--navy-800); margin-bottom: 10px; font-weight: 700; }
.pain-card p { font-size: .9rem; color: var(--gray-500); line-height: 1.65; }

/* ========== Solution Section ========== */
.solution { padding: 120px 0; background: var(--gray-50); border-top: 1px solid var(--gray-200); }
.solution-tag {
  display: inline-block; padding: 6px 16px; border-radius: 50px;
  background: rgba(27,45,66,.06); color: var(--navy-500); border: 1px solid rgba(27,45,66,.1);
  font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px;
  margin-bottom: 16px;
}
.solution-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.solution-card {
  background: var(--white); border-radius: var(--radius); padding: 36px 28px;
  border: 1px solid var(--gray-200); position: relative; overflow: hidden;
  transition: box-shadow .4s var(--ease-out), transform .4s var(--ease-out), opacity .8s var(--ease-out);
}
.solution-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.solution-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--navy-700), var(--navy-400));
  transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease-out);
}
.solution-card:hover::before, .solution-card.visible::before { transform: scaleX(1); }
.solution-num { font-size: .75rem; font-weight: 700; color: var(--navy-500); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 16px; }
.solution-card h3 { font-size: 1.15rem; color: var(--navy-800); margin-bottom: 12px; font-weight: 700; }
.solution-card p { font-size: .9rem; color: var(--gray-500); line-height: 1.65; }

/* ========== Social Proof ========== */
.proof { padding: 120px 0; border-top: 1px solid var(--gray-200); }
.results-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 64px; }
.result-card {
  background: var(--navy-700); border-radius: var(--radius); padding: 32px 24px;
  text-align: center; position: relative; overflow: hidden;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), opacity .8s var(--ease-out);
}
.result-card:hover { transform: translateY(-6px) scale(1.02); box-shadow: 0 14px 36px rgba(15,28,46,.3); }
.result-num { font-size: 2.4rem; font-weight: 800; color: var(--white); }
.result-label { font-size: .85rem; color: var(--navy-200); margin-top: 8px; }
.testimonial-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.test-card {
  background: var(--gray-50); border-radius: var(--radius); padding: 36px;
  border: 1px solid var(--gray-200);
  transition: box-shadow .4s var(--ease-out), transform .4s var(--ease-out), opacity .8s var(--ease-out);
}
.test-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.test-quote { font-size: 1.05rem; color: var(--gray-600); line-height: 1.75; font-style: italic; margin-bottom: 20px; }
.test-author { font-size: .88rem; font-weight: 600; color: var(--navy-800); }
.test-role { font-size: .8rem; color: var(--gray-500); }

/* ========== Process ========== */
.process { padding: 120px 0; background: var(--gray-50); border-top: 1px solid var(--gray-200); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.step-card { text-align: center; padding: 20px; }
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--navy-700);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; font-weight: 800; color: var(--white);
  margin: 0 auto 24px; box-shadow: 0 4px 20px rgba(27,45,66,.2);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.step-card:hover .step-num { transform: scale(1.12); box-shadow: 0 8px 28px rgba(27,45,66,.35); }
.step-card h3 { font-size: 1.15rem; color: var(--navy-800); margin-bottom: 10px; font-weight: 700; }
.step-card p { font-size: .9rem; color: var(--gray-500); line-height: 1.65; max-width: 300px; margin: 0 auto; }

/* ========== Final CTA / Lead Form ========== */
.final-cta {
  padding: 120px 0; text-align: center;
  background: var(--navy-800); position: relative; overflow: hidden;
  border-top: 1px solid var(--gray-200);
}
.final-cta::before {
  content: ''; position: absolute; width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(90,122,155,.18) 0%, transparent 70%);
  top: -200px; right: -150px; pointer-events: none;
  animation: drift 16s ease-in-out infinite alternate;
}
.final-cta h2 {
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 800;
  color: var(--white); line-height: 1.15; margin-bottom: 20px;
}
.final-cta > .container > p { font-size: 1.1rem; color: var(--navy-200); max-width: 560px; margin: 0 auto 48px; line-height: 1.7; }
.cta-guarantee { font-size: .85rem; color: var(--navy-300); margin-top: 24px; }
.cta-guarantee strong { color: var(--white); }

.lead-form {
  max-width: 720px; margin: 0 auto; text-align: left;
  background: var(--navy-700); border: 1px solid var(--navy-500);
  border-radius: 16px; padding: 40px;
  display: flex; flex-direction: column; gap: 20px;
  position: relative;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label { font-size: .85rem; font-weight: 600; color: var(--navy-100); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 14px 16px; border-radius: 8px;
  border: 1px solid var(--navy-500); background: var(--navy-800);
  color: var(--white); font-family: inherit; font-size: .95rem;
  transition: border-color .25s, box-shadow .25s;
  resize: vertical;
}
.form-field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%238eabc4' d='M6 8L0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; cursor: pointer; }
.form-field select:invalid { color: var(--navy-300); }
.form-field option { color: var(--white); background: var(--navy-800); }
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--navy-300); }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--navy-200);
  box-shadow: 0 0 0 3px rgba(142,171,196,.15);
}
.form-status { font-size: .95rem; text-align: center; min-height: 1.4em; color: var(--navy-100); }
.form-status.success { color: #4ade80; font-weight: 600; }
.form-status.error { color: #f87171; font-weight: 600; }

/* ========== Footer ========== */
.footer {
  background: var(--navy-900); color: var(--navy-300);
  padding: 40px 0; border-top: 1px solid rgba(255,255,255,.06);
  text-align: center; font-size: .85rem;
}
.footer-inner { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.footer-logo { height: 32px; width: auto; border-radius: 6px; }

/* ========== Responsive ========== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .pain-grid, .solution-grid, .steps-grid { grid-template-columns: 1fr 1fr; }
  .results-grid { grid-template-columns: 1fr 1fr; }
  .testimonial-row { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .pain-grid, .solution-grid, .steps-grid, .results-grid { grid-template-columns: 1fr; }
  .nav-links {
    display: none; flex-direction: column; position: absolute;
    top: 84px; left: 0; right: 0; background: var(--white);
    padding: 24px; gap: 16px; box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--gray-200);
  }
  .nav-links.open { display: flex; }
  .nav-links a { color: var(--gray-600); font-size: 1rem; }
  .mobile-toggle { display: flex; }
  .mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .mobile-toggle.active span:nth-child(2) { opacity: 0; }
  .mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
  .hero { padding-top: 110px; }
  .lead-form { padding: 28px 20px; }
  .scroll-hint { display: none; }
}
