/* ============ NUVALINKS — Bicolor futurist landing ============ */
:root {
  --ink: #0A0E1A;
  --ink-2: #11162A;
  --paper: #F5F4EE;
  --paper-2: #ECEAE0;
  --line: rgba(10, 14, 26, 0.08);
  --line-dark: rgba(255, 255, 255, 0.08);
  --blue: #1E63FF;
  --blue-2: #3B82F6;
  --cyan: #22D3EE;
  --grad: linear-gradient(135deg, #1E63FF 0%, #22D3EE 100%);
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --sans: 'Inter', -apple-system, system-ui, sans-serif;
  --display: 'Instrument Serif', 'Inter', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Custom cursor (subtle) */
.cursor-dot {
  position: fixed;
  width: 8px; height: 8px;
  background: var(--blue);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transition: transform 0.15s ease, width 0.2s, height 0.2s;
  transform: translate(-50%, -50%);
  display: none;
}
@media (pointer: fine) { .cursor-dot { display: block; } }
.cursor-dot.large { width: 40px; height: 40px; background: rgba(34, 211, 238, 0.6); }

/* Selection */
::selection { background: var(--blue); color: white; }

/* Reusable */
.container { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 720px) { .container { padding: 0 20px; } }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  opacity: 0.7;
}
.eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--blue);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 12px var(--blue);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: -0.02em; line-height: 1; }
.h-display { font-size: clamp(56px, 9vw, 132px); letter-spacing: -0.04em; line-height: 0.92; }
.h-section { font-size: clamp(40px, 6vw, 88px); letter-spacing: -0.03em; line-height: 0.95; }
.h-italic { font-style: italic; font-weight: 400; }

.lede { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.55; max-width: 56ch; opacity: 0.7; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 14px; font-weight: 500;
  font-family: var(--sans);
  text-decoration: none;
  border: none; cursor: pointer;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--ink);
  color: var(--paper);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(10, 14, 26, 0.2); }
.btn-primary .arr { transition: transform 0.3s; }
.btn-primary:hover .arr { transform: translateX(4px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--ink); }

.btn-glow {
  background: var(--grad);
  color: white;
  box-shadow: 0 8px 32px rgba(30, 99, 255, 0.3);
}
.btn-glow:hover { box-shadow: 0 12px 48px rgba(30, 99, 255, 0.5); transform: translateY(-2px); }

/* Dark sections */
.dark { background: var(--ink); color: var(--paper); }
.dark .btn-primary { background: var(--paper); color: var(--ink); }
.dark .btn-ghost { color: var(--paper); border-color: var(--line-dark); }
.dark .btn-ghost:hover { border-color: var(--paper); }

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  mix-blend-mode: difference;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 24px;
  border-radius: 999px;
  transition: all 0.4s;
}
.nav.scrolled .nav-inner {
  background: rgba(245, 244, 238, 0.04);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
  color: white;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.02em;
}
.nav-links {
  display: flex; gap: 32px;
  list-style: none;
}
.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 14px;
  opacity: 0.7;
  transition: opacity 0.2s;
  position: relative;
}
.nav-links a:hover { opacity: 1; }
.nav-right { display: flex; align-items: center; gap: 16px; }
.lang-toggle {
  display: flex;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.lang-toggle button {
  background: transparent;
  border: none;
  color: white;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  opacity: 0.5;
  transition: all 0.2s;
  font-family: inherit;
  font-size: inherit;
  letter-spacing: inherit;
}
.lang-toggle button.active {
  background: white;
  color: var(--ink);
  opacity: 1;
}
.nav-cta {
  background: white;
  color: var(--ink);
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: transform 0.2s;
}
.nav-cta:hover { transform: translateY(-1px); }

@media (max-width: 880px) {
  .nav-links { display: none; }
}

/* ============ HERO ============ */
.hero {
  min-height: 100vh;
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
  padding: 140px 0 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Animated grid background */
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  pointer-events: none;
}

/* Glow orbs */
.hero-glow {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
  pointer-events: none;
}
.hero-glow.blue { background: var(--blue); top: -100px; right: -200px; animation: float 18s ease-in-out infinite; }
.hero-glow.cyan { background: var(--cyan); bottom: -200px; left: -100px; animation: float 22s ease-in-out infinite reverse; opacity: 0.2; }
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, -40px) scale(1.1); }
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
}

.hero-content .eyebrow { color: var(--paper); margin-bottom: 28px; }
.hero h1 { margin-bottom: 28px; }
.hero h1 .glow-word {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
}
.hero p { color: rgba(245, 244, 238, 0.65); margin-bottom: 36px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }

.hero-trust {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 12px;
  font-family: var(--mono);
  color: rgba(245, 244, 238, 0.5);
  letter-spacing: 0.05em;
}
.hero-trust .dot { width: 4px; height: 4px; background: currentColor; border-radius: 50%; }
.hero-trust .num { color: var(--cyan); font-weight: 500; }

/* Hero visualization — clinic digitalizing live */
.hero-viz {
  position: relative;
  aspect-ratio: 1.1;
  width: 100%;
}

/* ============ SECTION COMMONS ============ */
section {
  padding: 140px 0;
  position: relative;
}
@media (max-width: 720px) {
  section { padding: 80px 0; }
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  row-gap: 32px;
  margin-bottom: 80px;
  flex-wrap: wrap;
}
.section-head .left { max-width: 720px; flex: 1 1 480px; }
.section-head .lede { flex: 1 1 320px; }
@media (max-width: 880px) {
  .section-head { flex-direction: column; align-items: flex-start; }
  .section-head .lede { flex-basis: auto; }
}
.section-head .eyebrow { margin-bottom: 24px; }
.section-head h2 { margin-bottom: 0; }

/* ============ PROBLEM ============ */
.problem {
  background: var(--paper);
  color: var(--ink);
  position: relative;
}
.problem-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 1024px) { .problem-grid { grid-template-columns: 1fr; gap: 48px; } }

.problem-list { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.problem-item {
  display: flex; gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
  cursor: default;
  transition: padding 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.problem-item:hover { padding-left: 16px; }
.problem-item .num {
  font-family: var(--mono);
  font-size: 12px;
  opacity: 0.4;
  width: 32px; flex-shrink: 0;
  padding-top: 4px;
}
.problem-item .body h3 {
  font-family: var(--sans);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  line-height: 1.3;
}
.problem-item .body p {
  font-size: 14px;
  opacity: 0.6;
  line-height: 1.5;
}

.problem-stat {
  background: var(--ink);
  color: var(--paper);
  border-radius: 24px;
  padding: 48px 40px;
  position: sticky;
  top: 100px;
}
.problem-stat .big {
  font-family: var(--display);
  font-size: clamp(80px, 12vw, 140px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 16px;
}
.problem-stat .label {
  font-size: 14px;
  opacity: 0.7;
  line-height: 1.5;
  margin-bottom: 28px;
}
.problem-stat .source {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.4;
}

/* ============ CLINIC TYPES ============ */
.clinics {
  background: var(--ink);
  color: var(--paper);
}
.clinics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
  border-radius: 24px;
  overflow: hidden;
}
@media (max-width: 880px) { .clinics-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .clinics-grid { grid-template-columns: 1fr; } }

.clinic-card {
  background: var(--ink);
  padding: 36px 32px 32px;
  position: relative;
  cursor: default;
  transition: background 0.5s;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.clinic-card:hover { background: var(--ink-2); }
.clinic-card .icon {
  width: 56px; height: 56px;
  border: 1px solid var(--line-dark);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  transition: all 0.4s;
}
.clinic-card:hover .icon {
  border-color: var(--cyan);
  background: rgba(34, 211, 238, 0.05);
  transform: rotate(-4deg) scale(1.05);
}
.clinic-card .icon svg { width: 24px; height: 24px; stroke: var(--paper); fill: none; stroke-width: 1.4; }
.clinic-card h3 {
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.clinic-card p { font-size: 13px; opacity: 0.55; line-height: 1.5; margin-bottom: 20px; }
.clinic-card .tags {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: auto;
}
.clinic-card .tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  padding: 5px 10px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  opacity: 0.6;
}
.clinic-card::after {
  content: '↗';
  position: absolute;
  top: 32px; right: 28px;
  font-size: 18px;
  opacity: 0.2;
  transition: all 0.3s;
}
.clinic-card:hover::after { opacity: 1; color: var(--cyan); transform: translate(2px, -2px); }

/* ============ DEMO ============ */
.demo {
  background: var(--paper);
  color: var(--ink);
}
.demo-shell {
  margin-top: 60px;
  background: var(--ink);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(10, 14, 26, 0.15), 0 0 0 1px var(--line);
  position: relative;
}

.demo-tabs {
  display: flex;
  gap: 4px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--line-dark);
  align-items: center;
}
.demo-traffic { display: flex; gap: 6px; margin-right: 16px; }
.demo-traffic span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.12); }
.demo-tab {
  padding: 8px 14px;
  font-size: 12px;
  color: rgba(245, 244, 238, 0.5);
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--sans);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.demo-tab svg { width: 14px; height: 14px; }
.demo-tab:hover { color: var(--paper); }
.demo-tab.active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--paper);
}

.demo-body {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 560px;
  color: var(--paper);
}
@media (max-width: 720px) {
  .demo-body { grid-template-columns: 1fr; }
  .demo-sidebar { display: none; }
}

.demo-sidebar {
  border-right: 1px solid var(--line-dark);
  padding: 24px 16px;
  display: flex; flex-direction: column; gap: 4px;
}
.demo-sidebar .group {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.4;
  padding: 16px 12px 8px;
}
.demo-side-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 13px;
  color: rgba(245, 244, 238, 0.7);
  cursor: pointer;
  transition: all 0.2s;
}
.demo-side-item:hover { background: rgba(255, 255, 255, 0.04); color: var(--paper); }
.demo-side-item.active {
  background: rgba(30, 99, 255, 0.15);
  color: var(--paper);
  border: 1px solid rgba(30, 99, 255, 0.3);
}
.demo-side-item svg { width: 14px; height: 14px; flex-shrink: 0; opacity: 0.7; }
.demo-side-item .badge {
  margin-left: auto;
  background: var(--blue);
  color: white;
  font-size: 10px;
  font-family: var(--mono);
  padding: 1px 6px;
  border-radius: 999px;
}

.demo-main { padding: 32px; }
.demo-main h4 {
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.demo-main .sub {
  font-size: 13px;
  opacity: 0.55;
  margin-bottom: 28px;
}

/* Demo — Calendar */
.cal-header {
  display: grid;
  grid-template-columns: 80px repeat(5, 1fr);
  border-bottom: 1px solid var(--line-dark);
  padding-bottom: 12px;
  margin-bottom: 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 244, 238, 0.4);
}
.cal-header .day { text-align: center; }
.cal-header .day .num { display: block; font-family: var(--display); font-size: 22px; color: var(--paper); margin-top: 4px; }
.cal-header .day.today .num { color: var(--cyan); }

.cal-grid {
  display: grid;
  grid-template-columns: 80px repeat(5, 1fr);
  position: relative;
}
.cal-time { padding: 10px 0; font-family: var(--mono); font-size: 10px; color: rgba(245, 244, 238, 0.35); }
.cal-cell {
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
  height: 56px;
  position: relative;
}
.cal-cell:last-child { border-right: 1px solid var(--line-dark); }

.appt {
  position: absolute;
  left: 4px; right: 4px;
  border-radius: 6px;
  padding: 6px 8px;
  font-size: 11px;
  line-height: 1.3;
  cursor: pointer;
  transition: transform 0.2s;
  border-left: 2px solid;
}
.appt:hover { transform: translateY(-1px) scale(1.02); z-index: 5; }
.appt .name { font-weight: 500; color: var(--paper); }
.appt .type { opacity: 0.6; font-size: 10px; }
.appt.blue { background: rgba(30, 99, 255, 0.15); border-color: var(--blue); }
.appt.cyan { background: rgba(34, 211, 238, 0.12); border-color: var(--cyan); }
.appt.gray { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.3); }

/* Demo — Patients */
.patients-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.patients-table th {
  text-align: left;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 244, 238, 0.4);
  font-weight: 400;
  padding: 12px 8px;
  border-bottom: 1px solid var(--line-dark);
}
.patients-table td {
  padding: 14px 8px;
  border-bottom: 1px solid var(--line-dark);
}
.patients-table tr { transition: background 0.2s; cursor: pointer; }
.patients-table tr:hover { background: rgba(255, 255, 255, 0.02); }
.pat-name { display: flex; align-items: center; gap: 10px; }
.pat-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: white;
}
.pat-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
}
.pat-status.active { background: rgba(34, 211, 238, 0.1); color: var(--cyan); }
.pat-status.pending { background: rgba(255, 200, 50, 0.1); color: #FFC832; }
.pat-status.done { background: rgba(255, 255, 255, 0.05); color: rgba(245, 244, 238, 0.5); }
.pat-status .dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }

/* Demo — Automations */
.auto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 720px) { .auto-grid { grid-template-columns: 1fr; } }
.auto-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-dark);
  border-radius: 12px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.auto-card:hover { border-color: rgba(34, 211, 238, 0.4); transform: translateY(-2px); }
.auto-card .auto-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.auto-card .auto-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(30, 99, 255, 0.15);
  display: flex; align-items: center; justify-content: center;
}
.auto-card .auto-icon svg { width: 18px; height: 18px; stroke: var(--cyan); fill: none; stroke-width: 1.6; }
.auto-card h5 {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 4px;
}
.auto-card p { font-size: 12px; opacity: 0.55; line-height: 1.5; margin-bottom: 12px; }
.auto-card .auto-stat {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--cyan);
}
.toggle {
  width: 36px; height: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  position: relative;
  transition: background 0.3s;
  cursor: pointer;
  flex-shrink: 0;
}
.toggle.on { background: var(--blue); }
.toggle::after {
  content: '';
  position: absolute;
  top: 2px; left: 2px;
  width: 16px; height: 16px;
  background: white;
  border-radius: 50%;
  transition: transform 0.3s;
}
.toggle.on::after { transform: translateX(16px); }

/* ============ METRICS ============ */
.metrics {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}
@media (max-width: 880px) { .metrics-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .metrics-grid { grid-template-columns: 1fr; } }

.metric {
  padding: 48px 32px;
  border-right: 1px solid var(--line-dark);
  position: relative;
}
.metric:last-child { border-right: none; }
@media (max-width: 880px) {
  .metric:nth-child(2n) { border-right: none; }
  .metric:nth-child(1), .metric:nth-child(2) { border-bottom: 1px solid var(--line-dark); }
}
.metric .label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.5;
  margin-bottom: 16px;
}
.metric .value {
  font-family: var(--display);
  font-size: clamp(48px, 7vw, 80px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
  display: flex;
  align-items: baseline;
}
.metric .value .unit {
  font-size: 0.4em;
  opacity: 0.5;
  margin-left: 4px;
  font-family: var(--sans);
}
.metric .desc {
  font-size: 13px;
  opacity: 0.6;
  line-height: 1.4;
}
.metric .spark {
  height: 36px;
  margin-top: 16px;
}

/* ============ METHODOLOGY ============ */
.methodology {
  background: #f9f8f6;
  color: var(--ink);
}
.methodology-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.method-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.method-num {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: #9ca3af;
}
.method-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #111;
  line-height: 1.35;
}
.method-card p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #6b7280;
}
@media (max-width: 900px) {
  .methodology-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .methodology-grid { grid-template-columns: 1fr; }
}

/* ============ SERVICES ============ */
.services {
  background: var(--paper);
  color: var(--ink);
}
.services-list {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--line);
}
.service-row {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 32px;
  padding: 36px 16px;
  border-bottom: 1px solid var(--line);
  align-items: center;
  cursor: default;
  transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
}
.service-row:hover { background: var(--ink); color: var(--paper); padding-left: 32px; }
.service-row .svc-num {
  font-family: var(--mono);
  font-size: 12px;
  opacity: 0.4;
}
.service-row .svc-body { display: flex; flex-direction: column; gap: 4px; }
.service-row h3 {
  font-family: var(--display);
  font-size: clamp(28px, 3.5vw, 44px);
  letter-spacing: -0.02em;
  font-weight: 400;
  line-height: 1.05;
}
.service-row .svc-desc { font-size: 14px; opacity: 0.6; max-width: 60ch; line-height: 1.5; }
.service-row:hover .svc-desc { opacity: 0.7; }
.service-row .svc-arrow {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s;
}
.service-row:hover .svc-arrow {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--ink);
  transform: rotate(-45deg);
}
.service-row .svc-arrow svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.5; }

@media (max-width: 720px) {
  .service-row { grid-template-columns: 32px 1fr 32px; gap: 16px; padding: 24px 8px; }
  .service-row .svc-arrow { width: 32px; height: 32px; }
}

/* ============ OFFERS ============ */
.offers {
  background: var(--ink);
  color: var(--paper);
}
.offers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 60px;
  align-items: start;
}
@media (max-width: 900px) { .offers-grid { grid-template-columns: 1fr; } }

.offer-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-dark);
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
.offer-card.featured {
  background: rgba(30, 99, 255, 0.07);
  border-color: rgba(30, 99, 255, 0.4);
}
.offer-phase {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--cyan);
  margin-bottom: 1.25rem;
}
.offer-badge {
  position: absolute;
  top: -11px; left: 2rem;
  background: var(--grad);
  color: #fff;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  padding: 3px 10px;
  border-radius: 999px;
}
.offer-card h3 {
  font-family: var(--display);
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}
.offer-desc {
  font-size: 0.8rem;
  opacity: 0.55;
  margin-bottom: 1.5rem;
}
.offer-includes {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  opacity: 0.4;
  margin-bottom: 0.75rem;
}
.offer-feat-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 1.75rem;
}
.offer-feat-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.8rem;
  line-height: 1.5;
}
.offer-feat-list svg {
  width: 13px; height: 13px;
  stroke: var(--cyan);
  fill: none; stroke-width: 2;
  flex-shrink: 0;
  margin-top: 3px;
}
.offer-price {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line-dark);
}
.offer-price-value {
  font-family: var(--display);
  font-size: 1.75rem;
  letter-spacing: -0.02em;
}
.offer-price-note {
  font-family: var(--mono);
  font-size: 0.65rem;
  opacity: 0.4;
}
.offer-cta {
  display: block;
  width: 100%;
  padding: 13px;
  border-radius: 999px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.25s;
}
.featured-cta {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--paper);
  cursor: pointer;
}
.featured-cta:hover { background: #fff; transform: translateY(-1px); }
.ghost-cta {
  background: transparent;
  color: rgba(245, 244, 238, 0.35);
  border: 1px solid var(--line-dark);
  cursor: default;
  pointer-events: none;
}
.offer-disclaimer {
  font-size: 0.7rem;
  opacity: 0.4;
  line-height: 1.5;
  margin-top: 1rem;
  font-family: var(--mono);
}

/* ============ PRICING ============ */
.pricing {
  background: var(--ink);
  color: var(--paper);
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 60px;
}
@media (max-width: 880px) { .pricing-grid { grid-template-columns: 1fr; } }

.price-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line-dark);
  border-radius: 20px;
  padding: 40px 32px;
  position: relative;
  transition: all 0.4s;
  display: flex; flex-direction: column;
}
.price-card:hover { border-color: rgba(255, 255, 255, 0.2); transform: translateY(-4px); }
.price-card.featured {
  background: linear-gradient(180deg, rgba(30, 99, 255, 0.08), transparent);
  border-color: rgba(30, 99, 255, 0.4);
}
.price-card.featured::before {
  content: 'POPULAR';
  position: absolute;
  top: -10px; left: 32px;
  background: var(--grad);
  color: white;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 999px;
}
.price-card .name {
  font-family: var(--display);
  font-size: 28px;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.price-card .tagline {
  font-size: 13px;
  opacity: 0.6;
  margin-bottom: 28px;
  min-height: 40px;
}
.price-card .price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 4px;
}
.price-card .price .amount {
  font-family: var(--display);
  font-size: 56px;
  letter-spacing: -0.04em;
}
.price-card .price .currency { font-size: 24px; opacity: 0.5; }
.price-card .price .per { font-size: 13px; opacity: 0.5; }
.price-card .billed { font-family: var(--mono); font-size: 11px; opacity: 0.4; margin-bottom: 28px; }
.price-card .feat-list {
  list-style: none;
  display: flex; flex-direction: column; gap: 12px;
  margin-bottom: 32px;
  flex: 1;
}
.price-card .feat-list li {
  display: flex; align-items: start; gap: 10px;
  font-size: 13px;
  line-height: 1.45;
}
.price-card .feat-list svg {
  width: 14px; height: 14px;
  stroke: var(--cyan);
  fill: none; stroke-width: 2;
  flex-shrink: 0;
  margin-top: 3px;
}
.price-card .feat-list li.muted { opacity: 0.4; }
.price-card .feat-list li.muted svg { stroke: rgba(245, 244, 238, 0.4); }
.price-card .price-cta {
  width: 100%;
  padding: 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--paper);
  border: 1px solid var(--line-dark);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
  font-family: var(--sans);
}
.price-card .price-cta:hover { background: rgba(255, 255, 255, 0.1); }
.price-card.featured .price-cta {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}
.price-card.featured .price-cta:hover { background: white; transform: translateY(-1px); }

.bill-toggle {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  font-size: 13px;
}
.bill-toggle .label { opacity: 0.6; transition: opacity 0.2s; }
.bill-toggle .label.active { opacity: 1; }
.bill-toggle .save {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--cyan);
  margin-left: 6px;
}

/* ============ FAQ ============ */
.faq {
  background: var(--paper);
  color: var(--ink);
}
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 1024px) { .faq-grid { grid-template-columns: 1fr; gap: 40px; } }

.faq-list {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
  cursor: pointer;
  transition: padding 0.3s;
}
.faq-item:hover { padding-left: 8px; }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  font-family: var(--sans);
}
.faq-q .plus {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s;
  font-size: 16px;
}
.faq-item.open .faq-q .plus { background: var(--ink); color: var(--paper); border-color: var(--ink); transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, margin-top 0.3s;
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.7;
  max-width: 60ch;
}
.faq-item.open .faq-a { max-height: 300px; margin-top: 16px; }

/* ============ FOOTER / CTA ============ */
.cta-final {
  background: var(--ink);
  color: var(--paper);
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
}
.cta-final-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(30, 99, 255, 0.3), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(34, 211, 238, 0.25), transparent 50%);
  filter: blur(60px);
  opacity: 0.6;
}
.cta-final-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}
.cta-final h2 {
  font-size: clamp(48px, 8vw, 120px);
  margin-bottom: 24px;
  letter-spacing: -0.04em;
}
.cta-final h2 em { font-style: italic; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cta-final p { font-size: 18px; opacity: 0.7; max-width: 50ch; margin: 0 auto 40px; }
.cta-final-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

footer {
  background: var(--ink);
  color: var(--paper);
  border-top: 1px solid var(--line-dark);
  padding: 60px 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
@media (max-width: 880px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 480px) { .footer-top { grid-template-columns: 1fr; } }

.footer-brand .logo-row {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 16px;
}
.footer-brand .logo-row span {
  font-size: 18px; font-weight: 600; letter-spacing: -0.02em;
}
.footer-brand p { font-size: 13px; opacity: 0.55; line-height: 1.6; max-width: 36ch; }

.footer-col h5 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  opacity: 0.5;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  color: var(--paper);
  text-decoration: none;
  font-size: 14px;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.footer-col a:hover { opacity: 1; }

.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  opacity: 0.5;
  flex-wrap: wrap;
  gap: 16px;
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }

/* Marquee */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 24px 0;
  background: var(--paper);
}
.marquee-track {
  display: flex;
  gap: 80px;
  animation: marquee 40s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.marquee-item {
  font-family: var(--display);
  font-size: 32px;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 80px;
  font-style: italic;
  opacity: 0.8;
}
.marquee-item .star {
  width: 18px; height: 18px;
  background: var(--blue);
  display: inline-block;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0 L14 10 L24 12 L14 14 L12 24 L10 14 L0 12 L10 10 Z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0 L14 10 L24 12 L14 14 L12 24 L10 14 L0 12 L10 10 Z'/%3E%3C/svg%3E") center/contain no-repeat;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
