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

:root {
  --bg: #0c0c18;
  --bg-alt: #12122a;
  --surface: #1a1a38;
  --surface-hover: #22224a;
  --border: rgba(255, 255, 255, 0.12);
  --text: #f5f5ff;
  --text-muted: #a8a8cc;
  --accent: #00ffcc;
  --accent-dim: rgba(0, 255, 204, 0.22);
  --accent-glow: rgba(0, 255, 204, 0.5);
  --teal: #00ffcc;
  --cyan: #06b6d4;
  --purple: #c084fc;
  --violet: #8b5cf6;
  --blue: #60a5fa;
  --orange: #fb923c;
  --pink: #f472b6;
  --rose: #fb7185;
  --green: #4ade80;
  --yellow: #facc15;
  --red: #f87171;
  --gradient: linear-gradient(135deg, #00ffcc 0%, #60a5fa 30%, #c084fc 60%, #f472b6 100%);
  --gradient-warm: linear-gradient(135deg, #fb923c, #f472b6, #c084fc);
  --gradient-cool: linear-gradient(135deg, #00ffcc, #60a5fa, #8b5cf6);
  --radius: 10px;
  --radius-lg: 16px;
  --font: 'Syne', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', monospace;
  --nav-height: 76px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
  line-height: 1.55;
  overflow-x: hidden;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

.container {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.container-narrow {
  width: 100%;
  max-width: 720px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.grid-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  max-height: 100vh;
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 55% 45% at 5% 10%, rgba(192, 132, 252, 0.2), transparent),
    radial-gradient(ellipse 50% 40% at 95% 20%, rgba(0, 255, 204, 0.15), transparent),
    radial-gradient(ellipse 45% 40% at 80% 80%, rgba(244, 114, 182, 0.15), transparent),
    radial-gradient(ellipse 40% 35% at 15% 75%, rgba(96, 165, 250, 0.12), transparent),
    radial-gradient(ellipse 35% 30% at 50% 50%, rgba(251, 146, 60, 0.08), transparent),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: auto, auto, auto, auto, auto, 48px 48px, 48px 48px;
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, repeat, repeat;
  background-attachment: fixed;
  pointer-events: none;
  z-index: 0;
}

main,
.nav,
.footer {
  position: relative;
  z-index: 1;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}

.nav.scrolled {
  background: rgba(8, 8, 13, 0.85);
  backdrop-filter: blur(16px);
  border-color: var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--text);
  text-decoration: none;
  transition: filter 0.25s ease;
}

.logo:hover {
  filter: brightness(1.08);
}

.logo-mark {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
}

.logo-mark::before {
  content: '';
  position: absolute;
  inset: -4px;
  background: conic-gradient(from 180deg, #00ffcc, #60a5fa, #c084fc, #f472b6, #00ffcc);
  border-radius: 50%;
  opacity: 0.45;
  filter: blur(10px);
  animation: logo-glow 4s linear infinite;
}

.logo-icon {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.logo-hex {
  fill: url(#logo-grad-soft);
  stroke: url(#logo-grad);
  stroke-width: 1.4;
  stroke-linejoin: round;
}

.logo-footer .logo-hex {
  fill: rgba(0, 255, 204, 0.08);
  stroke: url(#logo-grad-footer);
}

.logo-hex-inner {
  fill: none;
  stroke: url(#logo-grad);
  stroke-width: 0.75;
  stroke-opacity: 0.55;
}

.logo-footer .logo-hex-inner {
  stroke: url(#logo-grad-footer);
}

.logo-glyph {
  fill: url(#logo-grad);
}

.logo-footer .logo-glyph {
  fill: url(#logo-grad-footer);
}

.logo-glyph-bar {
  stroke: #0c0c18;
  stroke-width: 2.2;
  stroke-linecap: round;
}

.logo-accent {
  stroke: url(#logo-grad);
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-opacity: 0.85;
}

.logo-footer .logo-accent {
  stroke: url(#logo-grad-footer);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  gap: 0.1rem;
  min-width: 0;
}

.logo-word {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-indent: 0.22em;
  background: linear-gradient(90deg, #f5f5ff 0%, #00ffcc 40%, #60a5fa 70%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 24px rgba(0, 255, 204, 0.15);
}

.logo-tagline {
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 500;
  color: var(--teal);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.85;
}

.logo-footer .logo-word {
  font-size: 1.2rem;
}

@keyframes logo-glow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--pink);
}

.nav-links a:nth-child(1):hover { color: var(--pink); }
.nav-links a:nth-child(2):hover { color: var(--teal); }
.nav-links a:nth-child(3):hover { color: var(--blue); }
.nav-links a:nth-child(4):hover { color: var(--orange); }
.nav-links a:nth-child(5):hover { color: var(--purple); }

.nav-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.nav-actions .btn {
  padding: 0.65rem 1.3rem;
  font-size: 0.95rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem clamp(1rem, 4vw, 2rem) calc(1.25rem + env(safe-area-inset-bottom));
  background: rgba(18, 18, 42, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  width: 100%;
}

.mobile-menu .btn {
  width: 100%;
}

.mobile-menu a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
}

.mobile-menu.open {
  display: flex;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.8rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--gradient-cool);
  color: #0c0c18;
}

.btn-primary:hover {
  box-shadow: 0 0 24px rgba(0, 255, 204, 0.45), 0 0 40px rgba(192, 132, 252, 0.25);
  filter: brightness(1.1);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
}

.btn-ghost:hover {
  color: var(--text);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(192, 132, 252, 0.4);
}

.btn-outline:hover {
  border-color: var(--pink);
  color: var(--pink);
  background: rgba(244, 114, 182, 0.08);
}

.btn-lg {
  padding: 0.65rem 1.35rem;
  font-size: 0.85rem;
}

.btn-block {
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  padding: calc(var(--nav-height) + 2.5rem) 0 3rem;
  background: transparent;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}

.hero-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 640px;
  width: 100%;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.15rem;
  background: linear-gradient(135deg, rgba(244, 114, 182, 0.25), rgba(192, 132, 252, 0.2), rgba(0, 255, 204, 0.15));
  border: 1px solid rgba(244, 114, 182, 0.5);
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 600;
  color: #ffd6ec;
  margin-bottom: 1rem;
  box-shadow: 0 0 20px rgba(244, 114, 182, 0.15);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--pink);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--pink);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  margin-bottom: 0.75rem;
}

.hero h1 .hero-line {
  display: block;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.hero h1 .hero-line-1 {
  font-size: clamp(1.65rem, 3.8vw, 2.75rem);
}

.hero h1 .hero-line-2 {
  font-size: clamp(1.15rem, 2.6vw, 1.85rem);
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-tagline {
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 500;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 1.25rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.stat:nth-child(1) strong { color: var(--teal); }
.stat:nth-child(2) strong { color: var(--blue); }
.stat:nth-child(3) strong { color: var(--pink); }

.stat {
  text-align: center;
}

.stat strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
}

.stat span {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.stat:nth-child(1) strong {
  font-size: 1.65rem;
}

.stat:nth-child(1) span {
  font-size: 0.95rem;
}

/* Hero before / after table */
.hero-compare {
  width: 100%;
  max-width: 820px;
  margin-top: 0.5rem;
}

.compare-table-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid rgba(192, 132, 252, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  background: linear-gradient(145deg, rgba(0, 255, 204, 0.06), rgba(96, 165, 250, 0.05), var(--surface));
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.compare-mobile-header {
  display: block;
}

.compare-mobile-legend {
  display: none;
}

.compare-heading {
  margin: 0;
  text-align: center;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.85rem 1rem 0.25rem;
}

.compare-table thead th {
  padding: 1rem 1.1rem;
  vertical-align: bottom;
  text-align: left;
  border-bottom: 1px solid rgba(192, 132, 252, 0.25);
}

.compare-feature-col {
  width: 22%;
}

.compare-col {
  width: 39%;
}

.compare-col-before {
  background: linear-gradient(180deg, rgba(248, 113, 113, 0.1), transparent);
}

.compare-col-after {
  background: linear-gradient(180deg, rgba(0, 255, 204, 0.1), transparent);
}

.compare-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.55rem;
  border-radius: 100px;
  margin-bottom: 0.35rem;
}

.compare-tag-before {
  background: rgba(248, 113, 113, 0.2);
  color: var(--red);
  border: 1px solid rgba(248, 113, 113, 0.35);
}

.compare-tag-after {
  background: rgba(0, 255, 204, 0.2);
  color: var(--teal);
  border: 1px solid rgba(0, 255, 204, 0.4);
}

.compare-col-title {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
}

.compare-col-before .compare-col-title {
  color: var(--orange);
}

.compare-col-after .compare-col-title {
  color: var(--teal);
}

.compare-table tbody th {
  padding: 0.85rem 1rem;
  text-align: left;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  vertical-align: top;
}

.compare-table tbody td {
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  vertical-align: top;
  line-height: 1.45;
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: none;
}

.compare-cell-before {
  color: var(--text-muted);
  background: rgba(248, 113, 113, 0.04);
}

.compare-cell-after {
  color: var(--text);
  background: rgba(0, 255, 204, 0.04);
}

.compare-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 700;
  margin-right: 0.35rem;
  vertical-align: middle;
}

.compare-icon-no {
  background: rgba(248, 113, 113, 0.2);
  color: var(--red);
}

.compare-icon-yes {
  background: rgba(0, 255, 204, 0.2);
  color: var(--green);
}

.compare-search-mock {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.65rem 0.75rem;
  font-size: 0.75rem;
}

.compare-search-query {
  padding: 0.35rem 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  color: var(--text-muted);
}

.compare-search-result {
  color: var(--text-muted);
}

.compare-search-result.highlight {
  color: var(--teal);
  font-weight: 600;
}

.compare-search-result.dim {
  opacity: 0.55;
}

/* Hero intro video */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 560px;
  overflow: visible;
}

.intro-video-card {
  position: relative;
  z-index: 2;
  overflow: visible;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 0.75rem;
  border: 1px solid rgba(192, 132, 252, 0.35);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45), 0 0 40px rgba(0, 255, 204, 0.12);
  animation: intro-card-in 0.8s ease-out both;
}

.intro-video-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius-lg) + 2px);
  background: conic-gradient(from var(--intro-angle, 0deg), var(--teal), var(--blue), var(--purple), var(--pink), var(--teal));
  z-index: -1;
  animation: intro-border-spin 4s linear infinite;
  opacity: 0.55;
}

.intro-video-card::after {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: calc(var(--radius-lg) - 1px);
  background: var(--surface);
  z-index: -1;
}

@keyframes intro-card-in {
  from { opacity: 0; transform: translateY(24px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes intro-border-spin {
  to { --intro-angle: 360deg; }
}

@property --intro-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

.intro-video-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.5rem 0.65rem;
  font-family: var(--mono);
  font-size: 0.72rem;
}

.intro-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 10px var(--pink);
  animation: pulse 1.5s ease-in-out infinite;
}

.intro-title {
  font-weight: 700;
  color: var(--teal);
}

.intro-subtitle {
  color: var(--text-muted);
  margin-left: auto;
}

.intro-video-wrap {
  border-radius: var(--radius);
  border: 2px solid rgba(96, 165, 250, 0.35);
  box-shadow: inset 0 0 30px rgba(139, 92, 246, 0.1);
  transition: transform 0.4s cubic-bezier(0.34, 1.4, 0.64, 1), box-shadow 0.4s ease, border-color 0.3s ease;
  transform-origin: center center;
  will-change: transform;
}

.intro-play-btn {
  flex-direction: column;
  gap: 0.25rem;
  width: 4.5rem;
  height: 4.5rem;
  font-size: 0.65rem;
  border-radius: 50%;
}

.intro-play-icon {
  font-size: 1.1rem;
  line-height: 1;
}

.intro-play-text {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.intro-scan {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  z-index: 4;
  pointer-events: none;
  animation: intro-scan-move 3s ease-in-out infinite;
  opacity: 0.7;
}

@keyframes intro-scan-move {
  0%, 100% { top: 10%; opacity: 0; }
  10% { opacity: 0.8; }
  50% { top: 85%; opacity: 0.8; }
  90% { opacity: 0; }
}

.intro-float {
  position: absolute;
  z-index: 4;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 100px;
  pointer-events: none;
  animation: intro-float 4s ease-in-out infinite;
}

.intro-float-1 {
  top: 12%;
  left: 6%;
  background: rgba(0, 255, 204, 0.2);
  color: var(--teal);
  border: 1px solid rgba(0, 255, 204, 0.4);
  animation-delay: 0s;
}

.intro-float-2 {
  top: 18%;
  right: 6%;
  background: rgba(96, 165, 250, 0.2);
  color: var(--blue);
  border: 1px solid rgba(96, 165, 250, 0.4);
  animation-delay: 0.6s;
}

.intro-float-3 {
  bottom: 18%;
  left: 8%;
  background: rgba(244, 114, 182, 0.2);
  color: var(--pink);
  border: 1px solid rgba(244, 114, 182, 0.4);
  animation-delay: 1.2s;
}

@keyframes intro-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.intro-progress {
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  margin: 0.65rem 0.25rem 0.5rem;
  overflow: hidden;
}

.intro-progress-bar {
  height: 100%;
  width: 35%;
  background: var(--gradient-cool);
  border-radius: 100px;
  animation: intro-progress 2.8s ease-in-out infinite;
}

@keyframes intro-progress {
  0% { transform: translateX(-100%); width: 30%; }
  50% { width: 55%; }
  100% { transform: translateX(320%); width: 30%; }
}

.intro-caption {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  padding: 0 0.25rem 0.15rem;
}

.intro-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(192, 132, 252, 0.25);
  pointer-events: none;
  z-index: 0;
}

.intro-ring-1 {
  width: 110%;
  height: 110%;
  top: -5%;
  left: -5%;
  animation: intro-ring-spin 18s linear infinite;
}

.intro-ring-2 {
  width: 125%;
  height: 125%;
  top: -12.5%;
  left: -12.5%;
  border-color: rgba(0, 255, 204, 0.15);
  animation: intro-ring-spin 24s linear infinite reverse;
}

@keyframes intro-ring-spin {
  to { transform: rotate(360deg); }
}

.intro-video-wrap.playing .intro-float,
.intro-video-wrap.playing .intro-scan {
  opacity: 0.35;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: -1;
}

.glow-1 {
  width: 300px;
  height: 300px;
  background: rgba(0, 255, 204, 0.35);
  top: -50px;
  right: -50px;
}

.glow-2 {
  width: 200px;
  height: 200px;
  background: rgba(244, 114, 182, 0.35);
  bottom: -30px;
  left: -30px;
}

/* Logos */
.logos {
  padding: 2rem 0;
  border-block: 1px solid rgba(192, 132, 252, 0.2);
  position: relative;
  background: transparent;
}

.logos-label {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.logos-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  padding-inline: 0.25rem;
}

.pill {
  font-weight: 600;
  font-size: 0.78rem;
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  border: 1px solid transparent;
}

.pill-teal { background: rgba(0, 255, 204, 0.2); color: #7fffe8; border-color: var(--teal); box-shadow: 0 0 12px rgba(0, 255, 204, 0.15); }
.pill-purple { background: rgba(192, 132, 252, 0.2); color: #e9d5ff; border-color: var(--purple); box-shadow: 0 0 12px rgba(192, 132, 252, 0.15); }
.pill-orange { background: rgba(251, 146, 60, 0.2); color: #fed7aa; border-color: var(--orange); box-shadow: 0 0 12px rgba(251, 146, 60, 0.15); }
.pill-pink { background: rgba(244, 114, 182, 0.2); color: #fbcfe8; border-color: var(--pink); box-shadow: 0 0 12px rgba(244, 114, 182, 0.15); }
.pill-blue { background: rgba(96, 165, 250, 0.2); color: #bfdbfe; border-color: var(--blue); box-shadow: 0 0 12px rgba(96, 165, 250, 0.15); }

.logos-attribution {
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 1.25rem;
  max-width: 640px;
  margin-inline: auto;
  line-height: 1.5;
}

.logos-attribution a {
  color: var(--teal);
  text-decoration: none;
}

.logos-attribution a:hover {
  text-decoration: underline;
}

/* Open data examples */
.section-examples {
  padding-top: 2rem;
}

.examples-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 1100px) {
  .examples-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.example-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(192, 132, 252, 0.25);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: border-color 0.2s, transform 0.2s;
}

.example-card:hover {
  border-color: rgba(0, 255, 204, 0.45);
  transform: translateY(-2px);
}

.example-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.example-category {
  font-family: var(--mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--purple);
}

.example-name {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

.example-location {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.example-search {
  font-size: 0.78rem;
  color: var(--teal);
  margin-top: 0.25rem;
}

.example-osm {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--blue);
  text-decoration: none;
}

.example-osm:hover {
  text-decoration: underline;
}

/* Sections */
.section {
  padding: 3.5rem 0;
  position: relative;
  background: transparent;
}

.section-alt,
.section-ai,
#features,
#pricing {
  background: transparent;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem;
}

.section-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  padding: 0.25rem 0.75rem;
  background: rgba(0, 255, 204, 0.1);
  border: 1px solid rgba(0, 255, 204, 0.3);
  border-radius: 100px;
}

.section-header h2 {
  font-size: clamp(1.5rem, 3.2vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.section-tag-ai {
  color: #fbcfe8 !important;
  background: rgba(244, 114, 182, 0.15) !important;
  border-color: var(--pink) !important;
}

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

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  border-top: 3px solid var(--card-accent, var(--teal));
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3), 0 0 20px var(--card-glow, rgba(0, 255, 204, 0.1));
}

.feature-card.color-teal { --card-accent: var(--teal); --card-glow: rgba(0, 255, 204, 0.2); background: linear-gradient(135deg, rgba(0, 255, 204, 0.08), var(--surface)); }
.feature-card.color-purple { --card-accent: var(--purple); --card-glow: rgba(192, 132, 252, 0.2); background: linear-gradient(135deg, rgba(192, 132, 252, 0.08), var(--surface)); }
.feature-card.color-blue { --card-accent: var(--blue); --card-glow: rgba(96, 165, 250, 0.2); background: linear-gradient(135deg, rgba(96, 165, 250, 0.08), var(--surface)); }
.feature-card.color-orange { --card-accent: var(--orange); --card-glow: rgba(251, 146, 60, 0.2); background: linear-gradient(135deg, rgba(251, 146, 60, 0.08), var(--surface)); }
.feature-card.color-pink { --card-accent: var(--pink); --card-glow: rgba(244, 114, 182, 0.2); background: linear-gradient(135deg, rgba(244, 114, 182, 0.08), var(--surface)); }
.feature-card.color-green { --card-accent: var(--green); --card-glow: rgba(74, 222, 128, 0.2); background: linear-gradient(135deg, rgba(74, 222, 128, 0.08), var(--surface)); }

.feature-icon {
  font-size: 1.35rem;
  margin-bottom: 0.6rem;
}

.feature-card h3 {
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.78rem;
}

/* Steps */
.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

.step {
  flex: 1;
  max-width: 280px;
  text-align: center;
  padding: 0 1rem;
}

.step:nth-child(1) .step-num { color: var(--teal); text-shadow: 0 0 20px rgba(0, 255, 204, 0.4); }
.step:nth-child(3) .step-num { color: var(--blue); text-shadow: 0 0 20px rgba(96, 165, 250, 0.4); }
.step:nth-child(5) .step-num { color: var(--pink); text-shadow: 0 0 20px rgba(244, 114, 182, 0.4); }

.step-num {
  font-family: var(--mono);
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 0.6rem;
}

.step h3 {
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

.step p {
  color: var(--text-muted);
  font-size: 0.76rem;
}

.step-connector {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--blue), var(--pink));
  margin-top: 3rem;
  flex-shrink: 0;
  opacity: 0.6;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  position: relative;
}

.pricing-card:nth-child(1) { border-color: rgba(0, 255, 204, 0.3); }
.pricing-card:nth-child(3) { border-color: rgba(251, 146, 60, 0.3); }

.pricing-card.featured {
  border-color: var(--purple);
  box-shadow: 0 0 40px rgba(192, 132, 252, 0.25), 0 0 60px rgba(244, 114, 182, 0.1);
  background: linear-gradient(180deg, rgba(192, 132, 252, 0.15), rgba(244, 114, 182, 0.08), var(--surface));
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-warm);
  color: #0c0c18;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 1rem;
  border-radius: 100px;
  white-space: nowrap;
  box-shadow: 0 0 16px rgba(251, 146, 60, 0.4);
}

.pricing-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.price {
  margin-bottom: 0.5rem;
}

.price .amount {
  font-size: 1.75rem;
  font-weight: 800;
}

.price .period {
  color: var(--text-muted);
  font-size: 1rem;
}

.price-inr {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--green);
  margin-top: 0.25rem;
}

.pricing-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.pricing-card ul {
  list-style: none;
  margin-bottom: 2rem;
}

.pricing-card li {
  padding: 0.5rem 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.pricing-card li::before {
  content: '✓ ';
  color: var(--accent);
  font-weight: 700;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  border-left: 3px solid var(--faq-color, var(--teal));
}

.faq-item:nth-child(1) { --faq-color: var(--teal); }
.faq-item:nth-child(2) { --faq-color: var(--blue); }
.faq-item:nth-child(3) { --faq-color: var(--purple); }
.faq-item:nth-child(4) { --faq-color: var(--orange); }
.faq-item:nth-child(5) { --faq-color: var(--pink); }
.faq-item:nth-child(6) { --faq-color: var(--green); }

.faq-item summary {
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--accent);
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* CTA */
.cta-section {
  padding: 6rem 0;
  position: relative;
  z-index: 1;
}

.cta-box {
  text-align: center;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.12), rgba(0, 255, 204, 0.08), rgba(244, 114, 182, 0.1));
  border: 2px solid transparent;
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  position: relative;
  overflow: hidden;
  background-clip: padding-box;
  box-shadow: 0 0 40px rgba(192, 132, 252, 0.15);
}

.cta-box::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: var(--gradient);
  border-radius: calc(var(--radius-lg) + 2px);
  z-index: -1;
  opacity: 0.35;
}

.cta-box::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 30%, rgba(0, 255, 204, 0.12) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 70%, rgba(244, 114, 182, 0.12) 0%, transparent 50%);
  pointer-events: none;
}

.cta-box > * {
  position: relative;
  z-index: 1;
}

.cta-box h2 {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  margin-bottom: 0.5rem;
}

.cta-box > p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  position: relative;
}

.cta-form {
  display: flex;
  gap: 0.75rem;
  max-width: 560px;
  margin: 0 auto 1rem;
  position: relative;
  flex-wrap: wrap;
  justify-content: center;
}

.cta-form input {
  flex: 1 1 200px;
  min-width: 180px;
  padding: 0.85rem 1.25rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}

.cta-form input:focus {
  border-color: var(--accent);
}

.cta-form input::placeholder {
  color: var(--text-muted);
}

.cta-contact {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  position: relative;
}

.cta-contact a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.cta-contact a:nth-child(1) { color: var(--green); }
.cta-contact a:nth-child(2) { color: var(--blue); }

.cta-contact a:hover {
  filter: brightness(1.2);
}

.cta-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  position: relative;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
  position: relative;
  background: transparent;
}

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

.footer-tagline {
  font-family: var(--mono);
  font-size: 0.75rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.75rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 1rem;
}

.footer-contact a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-contact a:first-child { color: var(--green); }
.footer-contact a:last-child { color: var(--blue); }

.footer-contact a:hover {
  filter: brightness(1.25);
}

.footer-links h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.footer-links a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.3rem 0;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-osm {
  margin-top: 0.5rem;
  font-size: 0.75rem;
}

.footer-osm a {
  color: var(--teal);
  text-decoration: none;
}

.footer-osm a:hover {
  text-decoration: underline;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Payment modal */
.payment-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 200;
}

.payment-modal {
  position: fixed;
  inset: 0;
  z-index: 201;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.payment-modal[hidden],
.payment-overlay[hidden] {
  display: none;
}

.payment-modal-inner {
  position: relative;
  width: min(440px, 100%);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
  max-height: 90vh;
  overflow-y: auto;
}

.payment-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.25rem;
}

.payment-close:hover {
  color: var(--text);
}

.payment-modal h2 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.payment-sub {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.payment-summary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
}

.payment-summary-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.25rem;
}

.payment-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.payment-form label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.payment-form .optional {
  font-weight: 400;
  font-size: 0.8rem;
}

.payment-form input {
  padding: 0.75rem 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}

.payment-form input:focus {
  border-color: var(--accent);
}

.payment-status {
  font-size: 0.85rem;
  min-height: 1.25rem;
}

.payment-status.error {
  color: #ff6b6b;
}

.payment-secure {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.payment-success {
  text-align: center;
  padding: 1rem 0;
}

.payment-success-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1rem;
  background: var(--accent-dim);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
}

.payment-success h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.payment-success p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.pricing-card .pay-btn {
  width: 100%;
}

/* AI + Video section */
.ai-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.ai-pill {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  border: 1px solid transparent;
}

.ai-pill-1 { background: rgba(0, 255, 204, 0.18); color: #7fffe8; border-color: var(--teal); }
.ai-pill-2 { background: rgba(192, 132, 252, 0.18); color: #e9d5ff; border-color: var(--purple); }
.ai-pill-3 { background: rgba(251, 146, 60, 0.18); color: #fed7aa; border-color: var(--orange); }
.ai-pill-4 { background: rgba(244, 114, 182, 0.18); color: #fbcfe8; border-color: var(--pink); }

.video-showcase {
  margin-bottom: 2rem;
  overflow: visible;
}

.videos-title {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
  font-weight: 600;
  text-align: center;
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  overflow: visible;
}

.video-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  overflow: visible;
}

.video-card-1 .video-wrap { border-color: rgba(168, 85, 247, 0.4); }
.video-card-2 .video-wrap { border-color: rgba(0, 229, 184, 0.4); }
.video-card-3 .video-wrap { border-color: rgba(59, 130, 246, 0.4); }
.video-card-4 .video-wrap { border-color: rgba(236, 72, 153, 0.4); }

.video-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  width: 100%;
  background: #000;
  border: 2px solid rgba(168, 85, 247, 0.35);
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.34, 1.4, 0.64, 1), box-shadow 0.4s ease, border-color 0.3s ease;
  transform-origin: center center;
  will-change: transform;
}

@media (hover: hover) {
  .video-wrap:hover {
    transform: scale(1.12);
    z-index: 30;
    border-color: var(--teal);
    box-shadow:
      0 24px 50px rgba(0, 0, 0, 0.55),
      0 0 0 1px rgba(0, 255, 204, 0.3),
      0 0 50px rgba(192, 132, 252, 0.35);
  }

  .video-card-2 .video-wrap:hover {
    border-color: var(--teal);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.55), 0 0 35px rgba(0, 255, 204, 0.35);
  }

  .video-card-3 .video-wrap:hover {
    border-color: var(--blue);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.55), 0 0 35px rgba(96, 165, 250, 0.35);
  }

  .video-card-4 .video-wrap:hover {
    border-color: var(--pink);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.55), 0 0 35px rgba(244, 114, 182, 0.35);
  }

  .intro-video-wrap:hover,
  .intro-video-wrap.is-popped {
    transform: scale(1.1);
    z-index: 30;
    border-color: var(--pink);
    box-shadow:
      0 24px 50px rgba(0, 0, 0, 0.55),
      0 0 0 1px rgba(244, 114, 182, 0.35),
      0 0 45px rgba(0, 255, 204, 0.3);
  }

  .video-wrap:hover .video-play-btn,
  .intro-video-wrap:hover .intro-play-btn {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1.1);
  }
}

.video-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  transition: opacity 0.35s ease;
}

.video-wrap.playing .video-thumb {
  opacity: 0;
  pointer-events: none;
}

.video-player {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  inset: 0;
  z-index: 1;
}

.video-play-btn {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--teal), var(--purple));
  color: #0a0a12;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s, opacity 0.2s;
  z-index: 3;
}

.video-wrap.playing .video-play-btn {
  opacity: 0;
  pointer-events: none;
}

.video-play-btn:hover {
  transform: scale(1.08);
}

.video-duration {
  position: absolute;
  bottom: 0.6rem;
  right: 0.6rem;
  font-family: var(--mono);
  font-size: 0.65rem;
  padding: 0.2rem 0.5rem;
  background: rgba(0, 0, 0, 0.7);
  color: var(--teal);
  border-radius: 4px;
  z-index: 4;
}

.video-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
  color: var(--text-muted);
  line-height: 1.3;
}

.ai-features-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.ai-feature-card {
  padding: 1.1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  border-left: 4px solid var(--card-accent);
}

.ai-feature-card.color-teal { --card-accent: var(--teal); background: linear-gradient(135deg, rgba(0, 255, 204, 0.1), var(--surface)); }
.ai-feature-card.color-purple { --card-accent: var(--purple); background: linear-gradient(135deg, rgba(192, 132, 252, 0.1), var(--surface)); }
.ai-feature-card.color-orange { --card-accent: var(--orange); background: linear-gradient(135deg, rgba(251, 146, 60, 0.1), var(--surface)); }

.ai-feature-icon {
  font-size: 1.2rem;
  display: block;
  margin-bottom: 0.4rem;
}

.ai-feature-card h4 {
  font-size: 0.85rem;
  margin-bottom: 0.3rem;
}

.ai-feature-card p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Responsive — tablet & mobile */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-card.featured {
    grid-column: 1 / -1;
    max-width: 520px;
    margin-inline: auto;
    width: 100%;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .section {
    padding: 3rem 0;
  }
}

@media (max-width: 900px) {
  :root {
    --nav-height: 64px;
  }

  .nav-links,
  .nav-actions {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .logo-tagline {
    display: none;
  }

  .logo-word {
    font-size: 1.1rem;
    letter-spacing: 0.14em;
    text-indent: 0.14em;
  }

  .logo-mark {
    width: 2.35rem;
    height: 2.35rem;
  }

  .hero {
    padding: calc(var(--nav-height) + 1.5rem) 0 2rem;
  }

  .hero-grid {
    gap: 1.75rem;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero h1 .hero-line {
    white-space: normal;
    text-wrap: balance;
  }

  .hero-sub {
    font-size: 0.95rem;
    padding-inline: 0.25rem;
  }

  .hero-cta {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .hero-cta .btn-lg {
    width: 100%;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    width: 100%;
  }

  .stat span {
    font-size: 0.62rem;
    line-height: 1.35;
    display: block;
    padding-inline: 0.15rem;
  }

  .examples-grid,
  .ai-features-row {
    grid-template-columns: 1fr;
  }

  .steps {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .step-connector {
    width: 2px;
    height: 40px;
    margin: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .cta-section {
    padding: 4rem 0;
  }

  .cta-box {
    padding: 2rem 1.25rem;
  }

  .cta-form {
    flex-direction: column;
    width: 100%;
  }

  .cta-form input,
  .cta-form .btn {
    width: 100%;
    min-width: 0;
  }

  .cta-contact {
    flex-direction: column;
    gap: 0.65rem;
  }

  .videos-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
  }

  /* Compare table → aligned 2-column cards on mobile/tablet */
  .compare-table-wrap {
    overflow: visible;
    padding: 0.75rem 0.75rem 1rem;
  }

  .compare-mobile-header {
    padding-inline: 0.65rem;
    margin-bottom: 0.65rem;
  }

  .compare-heading {
    width: 100%;
    box-sizing: border-box;
    padding: 0 0 0.6rem;
    margin: 0;
    text-wrap: balance;
    line-height: 1.4;
  }

  .compare-mobile-legend {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
  }

  .compare-legend-before,
  .compare-legend-after {
    text-align: center;
    font-family: var(--mono);
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.35rem 0.5rem;
    border-radius: 100px;
  }

  .compare-legend-before {
    color: var(--red);
    background: rgba(248, 113, 113, 0.15);
    border: 1px solid rgba(248, 113, 113, 0.3);
  }

  .compare-legend-after {
    color: var(--teal);
    background: rgba(0, 255, 204, 0.12);
    border: 1px solid rgba(0, 255, 204, 0.3);
  }

  .compare-table {
    min-width: 0;
    width: 100%;
    display: block;
  }

  .compare-table thead {
    display: none;
  }

  .compare-table tbody {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
  }

  .compare-table tbody tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "feature feature"
      "before after";
    gap: 0.5rem;
    align-items: stretch;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(192, 132, 252, 0.25);
    border-radius: var(--radius);
    padding: 0.65rem;
  }

  .compare-table tbody th {
    grid-area: feature;
    display: block;
    width: 100%;
    padding: 0 0 0.45rem;
    margin: 0 0 0.15rem;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.7rem;
    text-align: center;
  }

  .compare-table tbody td {
    display: block;
    min-width: 0;
    padding: 0.6rem 0.5rem;
    border: none;
    border-radius: 8px;
    font-size: 0.74rem;
    line-height: 1.45;
  }

  .compare-table tbody td:not(:has(.compare-search-mock)) {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.3rem;
  }

  .compare-table tbody td:has(.compare-search-mock) {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .compare-table tbody td.compare-cell-before {
    grid-area: before;
    margin: 0;
    background: rgba(248, 113, 113, 0.08);
    border: 1px solid rgba(248, 113, 113, 0.2);
  }

  .compare-table tbody td.compare-cell-after {
    grid-area: after;
    background: rgba(0, 255, 204, 0.06);
    border: 1px solid rgba(0, 255, 204, 0.2);
  }

  .compare-table tbody td.compare-cell-before::before,
  .compare-table tbody td.compare-cell-after::before {
    content: none;
    display: none;
  }

  .compare-icon {
    flex-shrink: 0;
    margin-top: 0.1rem;
  }

  .compare-search-mock {
    width: 100%;
    font-size: 0.65rem;
    padding: 0.5rem;
    gap: 0.25rem;
  }

  .compare-search-query {
    word-break: break-word;
    width: 100%;
  }

  .compare-search-result {
    width: 100%;
    word-break: break-word;
  }

  .payment-modal {
    align-items: flex-end;
    padding: 0;
  }

  .payment-modal-inner {
    width: 100%;
    max-height: 92vh;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    padding: 1.5rem 1.25rem calc(1.5rem + env(safe-area-inset-bottom));
  }
}

@media (max-width: 768px) {
  .features-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card.featured {
    max-width: none;
  }

  .section-header h2 {
    font-size: clamp(1.35rem, 5vw, 1.75rem);
  }

  .logos-label {
    font-size: 0.78rem;
    padding-inline: 0.5rem;
    line-height: 1.45;
  }

  .pill {
    font-size: 0.7rem;
    padding: 0.3rem 0.7rem;
  }
}

@media (max-width: 600px) {
  .videos-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .stat {
    min-width: 0;
    padding: 0.65rem 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(192, 132, 252, 0.15);
    border-radius: var(--radius);
  }

  .stat strong {
    font-size: 1.35rem;
  }

  .stat:nth-child(1) strong {
    font-size: 1.65rem;
  }

  .stat:nth-child(1) span {
    font-size: 0.95rem;
  }
}

@media (max-width: 380px) {
  .compare-table tbody tr {
    grid-template-columns: 1fr;
    grid-template-areas:
      "feature"
      "before"
      "after";
  }

  .compare-mobile-header {
    padding-inline: 0.65rem;
  }

  .compare-mobile-legend {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}

@media (max-width: 480px) {
  :root {
    --nav-height: 58px;
  }

  .container,
  .container-narrow {
    padding-inline: 1rem;
  }

  .hero h1 .hero-line-1 {
    font-size: clamp(1.45rem, 7vw, 1.85rem);
  }

  .hero h1 .hero-line-2 {
    font-size: clamp(1.05rem, 5.5vw, 1.35rem);
  }

  .hero-tagline {
    font-size: 0.75rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .ai-pill {
    font-size: 0.68rem;
  }

  .section {
    padding: 2.5rem 0;
  }

  .section-header {
    margin-bottom: 2rem;
  }
}

@media (hover: none), (pointer: coarse) {
  .video-wrap:hover {
    transform: none;
    box-shadow: none;
  }
}