/* ─── TOKENS ─────────────────────────────────────────── */
:root {
  --teal:       #2dc9a0;
  --blue:       #4a6cf7;
  --navy:       #1a2654;
  --navy-mid:   #2d3f8c;
  --bg:         #f4f7fd;
  --white:      #ffffff;
  --body:       #4a5678;
  --muted:      #8a95b5;
  --border:     #e2e8f5;
  --gradient:   linear-gradient(135deg, #2dc9a0 0%, #4a6cf7 100%);
  --radius:     10px;
  --radius-lg:  16px;
  --shadow-sm:  0 2px 8px rgba(26,38,84,0.07);
  --shadow-md:  0 8px 32px rgba(26,38,84,0.10);
}

/* ─── RESET ──────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Segoe UI', system-ui, -apple-system, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--navy);
  line-height: 1.6;
  font-size: 16px;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ─── LAYOUT HELPERS ─────────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: 88px 0;
}
.section--dark {
  background: var(--navy);
  color: var(--white);
}
.section--light {
  background: var(--bg);
}
.section--white {
  background: var(--white);
}

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

h1 { font-size: clamp(36px, 5vw, 58px); font-weight: 900; line-height: 1.08; letter-spacing: -1.5px; }
h2 { font-size: clamp(28px, 3.5vw, 40px); font-weight: 800; line-height: 1.15; letter-spacing: -0.8px; }
h3 { font-size: 18px; font-weight: 700; }
p  { color: var(--body); }
.section--dark p { color: rgba(255,255,255,0.72); }

.section-header {
  max-width: 640px;
  margin-bottom: 56px;
}
.section-header p {
  font-size: 17px;
  margin-top: 14px;
  line-height: 1.65;
}

/* ─── GRADIENT TEXT ──────────────────────────────────── */
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── BUTTON ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: transform .18s, box-shadow .18s, opacity .18s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(74,108,247,0.3); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--gradient);
  color: var(--white);
}
.btn-outline {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.3);
  color: var(--white);
}
.btn-outline:hover {
  border-color: var(--teal);
  box-shadow: 0 8px 20px rgba(45,201,160,0.2);
}
.btn-dark {
  background: var(--navy);
  color: var(--white);
}

/* ─── NAV ────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -0.5px;
}
.nav-logo .logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--body);
  transition: color .15s;
}
.nav-links a:hover { color: var(--navy); }
.nav-cta { display: flex; align-items: center; gap: 12px; }

/* ─── HERO ───────────────────────────────────────────── */
.hero {
  background: var(--navy);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 70% 50%, rgba(74,108,247,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 80% at 10% 80%, rgba(45,201,160,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 64px;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(45,201,160,0.15);
  border: 1px solid rgba(45,201,160,0.3);
  border-radius: 20px;
  padding: 5px 14px 5px 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.5px;
  margin-bottom: 24px;
}
.hero-badge .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; } 50% { opacity: 0.4; }
}
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero .hero-sub {
  font-size: 18px;
  line-height: 1.65;
  color: rgba(255,255,255,0.70);
  max-width: 520px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

.hero-visual {
  width: 300px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-lighthouse {
  width: 100%;
  max-width: 280px;
  filter: brightness(0) invert(1) drop-shadow(0 0 48px rgba(45,201,160,0.55));
  opacity: 0.88;
}

/* ─── STATS BAR ──────────────────────────────────────── */
.stats-bar {
  background: var(--white);
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
}
.stats-inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 32px;
  flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-item .s-val {
  font-size: 32px;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -1px;
  line-height: 1;
}
.stat-item .s-val span { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-item .s-label { font-size: 13px; color: var(--muted); margin-top: 4px; font-weight: 500; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* ─── PROBLEM ────────────────────────────────────────── */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.problem-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
}
.problem-card .p-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #fff0f0;
  color: #ef4444;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}
.problem-card h3 { font-size: 16px; margin-bottom: 8px; }
.problem-card p { font-size: 14px; line-height: 1.65; }

/* ─── HOW IT WORKS ───────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--blue));
  z-index: 0;
}
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}
.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient);
  color: var(--white);
  font-size: 18px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(74,108,247,0.3);
  flex-shrink: 0;
}
.step h3 { font-size: 15px; margin-bottom: 8px; }
.step p { font-size: 13.5px; line-height: 1.6; }

/* ─── FEATURES ───────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.feature-card .f-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(45,201,160,0.12), rgba(74,108,247,0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.feature-card h3 { font-size: 16px; margin-bottom: 8px; }
.feature-card p { font-size: 14px; line-height: 1.65; }

/* ─── FOR WHOM ───────────────────────────────────────── */
.whom-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.whom-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
}
.whom-card .w-icon {
  font-size: 28px;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.whom-card h3 { font-size: 16px; margin-bottom: 6px; }
.whom-card p { font-size: 14px; line-height: 1.6; }

/* ─── CONTACT ────────────────────────────────────────── */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}
.contact-copy h2 { margin-bottom: 16px; }
.contact-copy p  { font-size: 16px; margin-bottom: 28px; }
.contact-points { display: flex; flex-direction: column; gap: 16px; }
.contact-point {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.contact-point .cp-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(45,201,160,0.12);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.contact-point .cp-text strong { font-size: 14px; color: var(--navy); display: block; }
.contact-point .cp-text span  { font-size: 13px; color: var(--body); }

/* ─── FORM ───────────────────────────────────────────── */
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-md);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: var(--navy);
  background: var(--bg);
  transition: border-color .15s, box-shadow .15s;
  outline: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(74,108,247,0.1);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select { cursor: pointer; }

.form-submit { width: 100%; padding: 14px; font-size: 15px; border-radius: 8px; margin-top: 4px; }

.form-success {
  display: none;
  text-align: center;
  padding: 40px 24px;
}
.form-success .success-icon {
  font-size: 48px;
  margin-bottom: 16px;
}
.form-success h3 { margin-bottom: 8px; }
.form-success p { font-size: 14px; }

/* ─── FOOTER ─────────────────────────────────────────── */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.55);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 800;
  color: var(--white);
}
.footer-logo .logo-icon {
  width: 30px; height: 30px;
  border-radius: 7px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.footer-copy { font-size: 13px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.45); transition: color .15s; }
.footer-links a:hover { color: var(--white); }

/* ─── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .steps::before { display: none; }
  .problem-grid,
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-wrapper { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .nav-links { display: none; }
  .problem-grid,
  .features-grid,
  .whom-grid,
  .steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .stats-divider { display: none; }
  .stats-inner { gap: 20px; }
  .form-card { padding: 28px 20px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}
