/* ══════════════════════════════════════════════════════════
   KLIXD, Brand Identity Stylesheet
   A clinical-grade growth engine powered by AI.
   ══════════════════════════════════════════════════════════ */

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

:root {
  /* Brand Palette */
  --navy: #0A1A2F;
  --navy-90: rgba(10,26,47,0.9);
  --navy-80: rgba(10,26,47,0.8);
  --navy-60: rgba(10,26,47,0.6);
  --navy-light: #0F2440;
  --cyan: #00D4E8;
  --cyan-glow: rgba(0,212,232,0.15);
  --cyan-soft: rgba(0,212,232,0.08);
  --green: #00E68A;
  --green-glow: rgba(0,230,138,0.15);
  --green-dark: #00CC7A;

  /* Neutrals */
  --charcoal: #333F4F;
  --slate: #6B7B8D;
  --silver: #9CAAB8;
  --mist: #E8EDF2;
  --cloud: #F5F7FA;
  --white: #FFFFFF;

  /* Typography */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', Consolas, monospace;

  /* Spacing */
  --section-pad: clamp(60px, 8vw, 120px);
  --container: 1200px;

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Typography ── */
h1, h2, h3, h4 {
  color: var(--navy);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; font-weight: 600; }

p { color: var(--slate); line-height: 1.7; max-width: 680px; }

.overline {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 12px;
  display: inline-block;
}

.mono { font-family: var(--font-mono); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 10px;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--green);
  color: var(--navy);
}
.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--green-glow);
}

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-secondary:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--navy);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

.btn-sm { padding: 10px 24px; font-size: 0.9rem; }

.btn-group { display: flex; gap: 16px; flex-wrap: wrap; }

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.3s var(--ease);
}
.nav.scrolled {
  background: var(--navy-90);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 10px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.2);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}
.nav-logo span { color: var(--cyan); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }

.nav-cta {
  padding: 10px 24px !important;
  font-size: 0.875rem !important;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.3;
}
.hero-bg::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--cyan-glow) 0%, transparent 70%);
}
.hero-bg::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--green-glow) 0%, transparent 70%);
}

/* Grid dots pattern */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(0,212,232,0.08) 1px, transparent 1px);
  background-size: 40px 40px;
}

.hero .container {
  position: relative;
  z-index: 2;
  padding-top: 120px;
  padding-bottom: 80px;
}

.hero-content { max-width: 720px; }

.hero h1 {
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.1;
}
.hero h1 em {
  font-style: normal;
  color: var(--cyan);
}

.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.6);
  margin-bottom: 40px;
  max-width: 560px;
  line-height: 1.6;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-proof-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
}
.hero-proof-item svg { color: var(--green); flex-shrink: 0; }

/* ── Metrics Bar ── */
.metrics {
  background: var(--white);
  padding: 0;
  position: relative;
  z-index: 3;
  margin-top: -48px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(10,26,47,0.1);
  overflow: hidden;
}

.metric-card {
  padding: 40px 32px;
  text-align: center;
  position: relative;
}
.metric-card:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--mist);
}

.metric-number {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 8px;
}
.metric-number .accent { color: var(--cyan); }
.metric-label {
  font-size: 0.875rem;
  color: var(--slate);
  font-weight: 500;
}

/* ── Section helpers ── */
.section {
  padding: var(--section-pad) 0;
}
.section-dark {
  background: var(--navy);
  color: var(--white);
}
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,0.6); }
.section-light {
  background: var(--cloud);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}
.section-header p {
  margin: 16px auto 0;
}

/* ── Services (How It Works / Services Grid) ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card {
  background: var(--white);
  border-radius: 16px;
  padding: 40px 32px;
  border: 1px solid var(--mist);
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--green));
  opacity: 0;
  transition: opacity 0.3s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(10,26,47,0.08);
  border-color: transparent;
}
.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--cyan-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--cyan);
}

.service-card h3 { margin-bottom: 12px; }
.service-card p { font-size: 0.95rem; }

/* ── What We Do, Cost-Benefit Callout ── */
.what-we-do-callout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  max-width: 760px;
  margin: -16px auto 56px;
  padding: 36px 40px;
  background: var(--cloud);
  border-radius: 16px;
  border: 1px solid var(--mist);
}
.wwdo-stat {
  text-align: center;
  flex: 1;
}
.wwdo-stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 8px;
}
.wwdo-stat-num {
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.1;
}
.wwdo-stat-num span {
  font-size: 0.5em;
  font-weight: 400;
  color: var(--slate);
}
.wwdo-old {
  color: #dc2626;
  text-decoration: line-through;
  text-decoration-color: rgba(220,38,38,0.4);
}
.wwdo-new {
  color: #059669;
}
.wwdo-stat-sub {
  font-size: 0.8rem;
  color: var(--slate);
  margin-top: 6px;
}
.wwdo-vs {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--silver);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .what-we-do-callout {
    flex-direction: column;
    gap: 20px;
    padding: 28px 24px;
  }
}

/* ── How It Works Page, Expanded Steps ── */
.hiw-step {
  display: flex;
  gap: 40px;
  padding: 48px 0;
  border-bottom: 1px solid var(--mist);
}
.hiw-step:last-child { border-bottom: none; }
.hiw-step-number {
  font-family: var(--font-mono);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--cyan);
  opacity: 0.25;
  line-height: 1;
  flex-shrink: 0;
  width: 80px;
  text-align: center;
}
.hiw-step-content { flex: 1; }
.hiw-step-content h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  margin-bottom: 12px;
}
.hiw-step-content > p {
  margin-bottom: 24px;
}
.hiw-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}
.hiw-detail {
  background: var(--cloud);
  border-radius: 12px;
  padding: 24px 20px;
}
.hiw-detail h4 { margin-bottom: 8px; font-size: 0.95rem; }
.hiw-detail p { font-size: 0.875rem; }
.hiw-outcome {
  font-size: 0.95rem;
  color: var(--charcoal);
  padding: 16px 20px;
  background: var(--cyan-soft);
  border-radius: 10px;
  border-left: 3px solid var(--cyan);
}
.hiw-outcome strong { color: var(--navy); }

/* How It Works, Timeline */
.hiw-timeline {
  max-width: 680px;
  margin: 0 auto;
}
.hiw-tl-item {
  display: flex;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--mist);
  align-items: baseline;
}
.hiw-tl-item:last-child { border-bottom: none; }
.hiw-tl-time {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--cyan);
  min-width: 100px;
  flex-shrink: 0;
}
.hiw-tl-desc {
  font-size: 0.95rem;
  color: var(--charcoal);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .hiw-step { flex-direction: column; gap: 16px; }
  .hiw-step-number { width: auto; text-align: left; }
  .hiw-detail-grid { grid-template-columns: 1fr; }
  .hiw-tl-item { flex-direction: column; gap: 4px; }
}

/* ── Process Steps ── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}

.process-step {
  position: relative;
  padding: 32px 24px;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  counter-increment: step;
}
.process-step::before {
  content: '0' counter(step);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 16px;
}

.process-step h4 { margin-bottom: 8px; font-size: 1.1rem; }
.process-step p { font-size: 0.9rem; }

/* connector lines between steps */
.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -13px;
  width: 26px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), transparent);
  opacity: 0.4;
}

/* ── Niche Split (Two-Column Services) ── */
.niche-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.niche-card {
  border-radius: 20px;
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.niche-card--dental {
  background: linear-gradient(135deg, #0A1A2F 0%, #112D4A 100%);
}
.niche-card--health {
  background: linear-gradient(135deg, #0A1A2F 0%, #0A2F2A 100%);
}

.niche-card h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.niche-card p {
  color: rgba(255,255,255,0.6);
  margin-bottom: 24px;
}
.niche-card ul {
  margin-bottom: 32px;
}
.niche-card li {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
}
.niche-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
}
.niche-card--health li::before { background: var(--green); }
.niche-card .btn { margin-top: auto; align-self: flex-start; }

/* ── Pricing / Offer ── */
.offer-card {
  background: var(--white);
  border-radius: 20px;
  padding: 56px;
  box-shadow: 0 20px 60px rgba(10,26,47,0.08);
  border: 1px solid var(--mist);
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.offer-card h3 { margin-bottom: 8px; font-size: 2rem; }
.offer-price {
  font-family: var(--font-mono);
  font-size: 3rem;
  font-weight: 700;
  color: var(--navy);
  margin: 24px 0 8px;
}
.offer-price span { font-size: 1.2rem; color: var(--slate); font-weight: 400; }
.offer-sub { color: var(--slate); margin-bottom: 32px; }

.offer-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  text-align: left;
  margin-bottom: 40px;
}
.offer-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--charcoal);
}
.offer-feature svg { color: var(--green); flex-shrink: 0; margin-top: 2px; }

.offer-badges {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 24px;
}
.offer-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--slate);
}
.offer-badge svg { color: var(--cyan); }

/* ── AI Lift-Off / Pricing Section ── */
.liftoff-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 16px;
}
.liftoff-stat {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 32px 20px;
  text-align: center;
}
.liftoff-stat-num {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
}
.liftoff-stat-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.4;
}

.liftoff-compare {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}
.liftoff-col {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 32px 24px 28px;
  text-align: center;
  position: relative;
}
.liftoff-col h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.liftoff-col--featured {
  border: 2px solid var(--cyan);
  background: linear-gradient(180deg, rgba(0,212,232,0.06) 0%, rgba(255,255,255,0.02) 100%);
}
.liftoff-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--cyan), var(--green));
  color: var(--navy);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 20px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.liftoff-col-price {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  margin: 14px 0 2px;
}
.liftoff-col-note {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  margin-bottom: 20px;
}
.liftoff-col-list {
  text-align: left;
  padding: 0;
}
.liftoff-col-list li {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  padding: 9px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}
.liftoff-col--featured .liftoff-col-list li {
  color: rgba(255,255,255,0.75);
}
.liftoff-icon-x, .liftoff-icon-check {
  flex-shrink: 0;
  font-size: 0.9rem;
  margin-top: 1px;
}

.liftoff-message {
  background: linear-gradient(135deg, rgba(0,212,232,0.05), rgba(0,230,138,0.05));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 40px 36px;
  max-width: 720px;
  margin: 0 auto 48px;
}
.liftoff-message h4 {
  font-size: 1.25rem;
  margin-bottom: 16px;
}
.liftoff-message p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 14px;
  max-width: none;
}
.liftoff-message p:last-of-type { margin-bottom: 0; }
.liftoff-message strong { color: var(--white); }
.liftoff-callout {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 0.02em;
}

@media (max-width: 768px) {
  .liftoff-stats { grid-template-columns: 1fr; }
  .liftoff-compare { grid-template-columns: 1fr; }
  .liftoff-message { padding: 28px 24px; }
}

/* ── Testimonials / Social Proof ── */
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.proof-card {
  background: rgba(255,255,255,0.04);
  border-radius: 16px;
  padding: 32px;
  border: 1px solid rgba(255,255,255,0.06);
}
.proof-card .stars {
  color: #F5A623;
  font-size: 0.9rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}
.proof-card blockquote {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
  font-style: italic;
}
.proof-author {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
}
.proof-role {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

/* ── CTA Banner ── */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, #112D4A 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--cyan-glow) 0%, transparent 70%);
  opacity: 0.4;
}
.cta-section .container { position: relative; z-index: 2; }
.cta-section h2 { color: var(--white); margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.6); margin: 0 auto 32px; }

/* ── Footer ── */
.footer {
  background: var(--navy);
  padding: 64px 0 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

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

.footer-brand p {
  color: rgba(255,255,255,0.4);
  font-size: 0.9rem;
  margin-top: 16px;
  max-width: 300px;
}

.footer h4 {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}
.footer a {
  display: block;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  padding: 6px 0;
  transition: color 0.2s;
}
.footer a:hover { color: var(--cyan); }

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 0.8rem; display: inline; }

/* ── Page Hero (inner pages) ── */
.page-hero {
  background: var(--navy);
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero .hero-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(0,212,232,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,0.6); font-size: 1.15rem; max-width: 600px; }

/* ── Feature rows (alternating) ── */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 48px 0;
}
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }

.feature-visual {
  background: var(--cloud);
  border-radius: 20px;
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  position: relative;
  overflow: hidden;
}

.feature-visual--dashboard {
  background: var(--navy);
}

.feature-content h3 { margin-bottom: 16px; }
.feature-content p { margin-bottom: 24px; }

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  font-size: 0.95rem;
  color: var(--charcoal);
}
.check-list li svg { color: var(--green); flex-shrink: 0; margin-top: 3px; }

/* ── Stats Row ── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 48px 0;
}
.stat-block { text-align: center; }
.stat-block .metric-number { font-size: 2.5rem; }
.stat-block .metric-label { margin-top: 4px; }

/* ── FAQ ── */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--mist);
  padding: 24px 0;
}
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--navy);
  gap: 16px;
}
.faq-q svg {
  flex-shrink: 0;
  transition: transform 0.3s var(--ease);
  color: var(--cyan);
}
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s var(--ease), padding 0.3s var(--ease);
}
.faq-item.open .faq-a {
  max-height: 200px;
  padding-top: 16px;
}
.faq-a p { font-size: 0.95rem; }

/* ── Contact Form ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.form-group { margin-bottom: 24px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--mist);
  border-radius: 10px;
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--charcoal);
  background: var(--white);
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px var(--cyan-glow);
}
.form-group textarea { min-height: 120px; resize: vertical; }

.contact-info-card {
  background: var(--navy);
  border-radius: 20px;
  padding: 48px;
  color: var(--white);
}
.contact-info-card h3 { color: var(--white); margin-bottom: 24px; }
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}
.contact-info-item svg { color: var(--cyan); flex-shrink: 0; margin-top: 2px; }
.contact-info-item strong { display: block; color: var(--white); font-size: 0.9rem; margin-bottom: 4px; }
.contact-info-item span { color: rgba(255,255,255,0.5); font-size: 0.9rem; }

/* ── About page ── */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-image {
  background: linear-gradient(135deg, var(--navy) 0%, #112D4A 100%);
  border-radius: 20px;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.2);
  font-size: 1rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.value-card {
  text-align: center;
  padding: 40px 24px;
}
.value-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--cyan-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--cyan);
}
.value-card h4 { margin-bottom: 8px; }
.value-card p { font-size: 0.9rem; margin: 0 auto; }

/* ── Results page ── */
.results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.result-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--mist);
  transition: all 0.3s var(--ease);
}
.result-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(10,26,47,0.08);
}
.result-header {
  background: var(--navy);
  padding: 32px;
}
.result-header .overline { margin-bottom: 8px; }
.result-header h3 { color: var(--white); margin-bottom: 8px; }
.result-header p { color: rgba(255,255,255,0.5); font-size: 0.9rem; }
.result-body { padding: 32px; }
.result-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}
.result-metric .metric-number { font-size: 1.8rem; }
.result-metric .metric-label { font-size: 0.8rem; }
.result-before-after {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
}
.result-before, .result-after {
  text-align: center;
  padding: 16px;
  border-radius: 12px;
}
.result-before { background: var(--cloud); }
.result-after { background: var(--green-glow); }
.result-arrow { color: var(--cyan); font-size: 1.5rem; }

/* ── Animations ── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-step:nth-child(2)::after { display: none; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-row { grid-template-columns: 1fr; gap: 40px; }
  .feature-row.reverse { direction: ltr; }
  .about-story { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .metric-card:nth-child(2)::after { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .niche-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .process-step::after { display: none; }
  .proof-grid { grid-template-columns: 1fr; }
  .offer-features { grid-template-columns: 1fr; }
  .results-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; gap: 24px; }
  .values-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-proof { flex-direction: column; gap: 12px; }
  .offer-card { padding: 32px 24px; }
  .offer-badges { flex-direction: column; align-items: center; }

  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 24px;
    gap: 16px;
    border-top: 1px solid rgba(255,255,255,0.06);
  }
}
