/* ── RouteMan Landing Page — Precision Signal Design ── */

:root {
  --bg-primary: #06080c;
  --bg-secondary: #0c1017;
  --bg-tertiary: #111720;
  --bg-card: #0f1520;
  --bg-card-hover: #141c2a;
  --border: #1a2233;
  --border-subtle: rgba(0, 229, 199, 0.08);
  --text-primary: #e2e8f0;
  --text-secondary: #8892a4;
  --text-muted: #4a5568;
  --text-tertiary: #5a6578;
  --accent: #00e5c7;
  --accent-dim: rgba(0, 229, 199, 0.1);
  --accent-glow: rgba(0, 229, 199, 0.2);
  --purple: #a78bfa;
  --green: #22c55e;
  --orange: #f59e0b;
  --blue: #3b82f6;
  --font-sans: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

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

.text-accent { color: var(--accent); }

.hero-title .text-accent {
  background: linear-gradient(90deg, #00e5c7 0%, #00b4d8 40%, #00e5c7 80%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 6s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(6, 8, 12, 0.85);
  backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 16px;
  flex-shrink: 0;
}

.nav-logo { width: 28px; height: 28px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 1;
}

.nav-links a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.15s;
  font-weight: 400;
  position: relative;
}

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

.nav-links a:hover::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  opacity: 0.5;
}

.nav-links a:focus-visible {
  outline: none;
  color: var(--text-primary);
}

.nav-links a:focus-visible::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-family: var(--font-mono);
  cursor: pointer;
  transition: all 0.15s;
}

.lang-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.nav-github {
  display: flex;
  align-items: center;
  color: var(--text-secondary);
  transition: color 0.15s;
}

.nav-github:hover { color: var(--text-primary); }

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

.nav-mobile-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 1px;
  transition: all 0.2s;
}

.nav-mobile-menu {
  display: none;
  flex-direction: column;
  padding: 12px 24px 20px;
  gap: 4px;
}

.nav-mobile-menu a {
  padding: 10px 0;
  font-size: 15px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}

/* ── Hero ── */
.hero {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 100px 0 60px;
  overflow: hidden;
}

.hero-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.4;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}

.hero-badge {
  display: inline-block;
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(0, 229, 199, 0.15);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.hero-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 500px;
  margin-bottom: 32px;
}

.hero-cta {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-meta {
  font-size: 13px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-dot { opacity: 0.4; }

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  will-change: transform;
}

.hero-glow-1 {
  width: 500px;
  height: 500px;
  top: 10%;
  left: 20%;
  background: radial-gradient(circle, rgba(0, 229, 199, 0.08) 0%, transparent 70%);
  animation: glowFloat1 18s ease-in-out infinite;
}

.hero-glow-2 {
  width: 400px;
  height: 400px;
  top: 40%;
  right: 10%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.06) 0%, transparent 70%);
  animation: glowFloat2 22s ease-in-out infinite;
}

.hero-glow-3 {
  width: 350px;
  height: 350px;
  bottom: 10%;
  left: 40%;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.05) 0%, transparent 70%);
  animation: glowFloat3 20s ease-in-out infinite;
}

@keyframes glowFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

@keyframes glowFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-30px, 40px) scale(1.05); }
  66% { transform: translate(20px, -20px) scale(0.9); }
}

@keyframes glowFloat3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -40px) scale(1.08); }
}

/* ── Mockup ── */
/* ── Device Frame (Hero + Showcase) ── */
.device-frame {
  width: 100%;
  max-width: 560px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.5),
    0 0 120px rgba(0, 229, 199, 0.08),
    0 0 0 1px rgba(0, 229, 199, 0.06);
}

.hero-visual .device-frame {
  animation: deviceFloat 8s ease-in-out infinite;
}

@keyframes deviceFloat {
  0%, 100% { transform: translateY(0) rotateX(0deg) rotateY(0deg); }
  25% { transform: translateY(-8px) rotateX(1deg) rotateY(-0.5deg); }
  50% { transform: translateY(-4px) rotateX(0deg) rotateY(0.5deg); }
  75% { transform: translateY(-10px) rotateX(-0.5deg) rotateY(0deg); }
}

.device-topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-tertiary);
}

.device-dots {
  display: flex;
  gap: 6px;
}

.device-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
  opacity: 0.5;
}

.device-title {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.device-screen {
  display: block;
  width: 100%;
  height: auto;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: all 0.15s;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #06080c;
}

.btn-primary:hover {
  background: #00ffd9;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(0, 229, 199, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

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

.btn-lg {
  padding: 14px 28px;
  font-size: 15px;
}

/* ── Sections ── */
.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 48px;
  text-align: center;
}

/* ── Trust Bar ── */
.trust-bar {
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg-secondary);
}

.trust-items {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
}

.trust-item svg {
  color: var(--accent);
  flex-shrink: 0;
}

.trust-stars {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
}

/* ── How It Works ── */
.how-it-works {
  padding: 100px 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg-secondary);
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.how-step {
  text-align: center;
  padding: 36px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-secondary);
  transition: all 0.25s ease;
}

.how-step:hover {
  border-color: rgba(0, 229, 199, 0.12);
  transform: translateY(-2px);
}

.how-step-num {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.how-step h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.how-step p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── Scenario Code Snippets ── */
.scenario-code {
  margin-top: 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.7;
  overflow-x: auto;
  color: var(--text-secondary);
}

.scenario-code .code-label {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 4px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.scenario-code .code-label--after {
  margin-top: 8px;
  color: var(--accent);
}

.scenario-code .code-comment {
  color: var(--text-muted);
}

.scenario-code .code-route {
  color: var(--accent);
}

.scenario-code .code-url {
  color: var(--text-primary);
}

/* ── FAQ ── */
.faq-section {
  padding: 120px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-secondary);
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item summary {
  padding: 20px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color 0.15s;
}

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

.faq-item summary::after {
  content: '+';
  font-size: 18px;
  font-weight: 300;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  content: '\2212';
}

.faq-item summary:hover {
  color: var(--accent);
}

.faq-answer {
  padding: 0 0 20px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.faq-answer code {
  font-family: var(--font-mono);
  font-size: 13px;
  background: var(--bg-tertiary);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--accent);
}

/* ── Features ── */
.features {
  padding: 120px 0;
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.25s ease;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(0, 229, 199, 0.12);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.feature-card--wide {
  grid-column: span 2;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 32px;
}

.feature-card--wide .feature-text {
  flex: 1;
  min-width: 0;
}

.feature-card--wide .feature-text h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.feature-card--wide .feature-text p {
  font-size: 15px;
  line-height: 1.7;
}

.feature-icon--lg {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  flex-shrink: 0;
}

.feature-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  flex-shrink: 0;
}

.feature-icon--teal { background: var(--accent-dim); color: var(--accent); }
.feature-icon--purple { background: rgba(167, 139, 250, 0.1); color: var(--purple); }
.feature-icon--green { background: rgba(34, 197, 94, 0.1); color: var(--green); }
.feature-icon--orange { background: rgba(245, 158, 11, 0.1); color: var(--orange); }
.feature-icon--blue { background: rgba(59, 130, 246, 0.1); color: var(--blue); }

.feature-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.feature-card:not(.feature-card--wide) {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ── Scenarios ── */
.scenarios {
  padding: 120px 0;
  border-top: 1px solid var(--border);
}

.scenarios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.scenario-card {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-primary);
  transition: all 0.25s ease;
}

.scenario-card:hover {
  border-color: rgba(0, 229, 199, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.scenario-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.scenario-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.scenario-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── Comparison ── */
.comparison {
  padding: 120px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.comparison-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  position: relative;
}

.comparison-table-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 40px;
  background: linear-gradient(to right, transparent, var(--bg-tertiary));
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.comparison-table th,
.comparison-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.comparison-table th {
  font-weight: 500;
  color: var(--text-muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--bg-tertiary);
}

.comparison-table tr:hover td {
  background: rgba(0, 229, 199, 0.02);
}

.comparison-table td:first-child {
  color: var(--text-secondary);
  font-weight: 400;
}

.comparison-table td {
  color: var(--text-secondary);
}

.comparison-highlight {
  color: var(--accent) !important;
  font-weight: 500;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

/* ── Documentation Section ── */
.docs-section {
  padding: 120px 0;
  border-top: 1px solid var(--border);
}

.section-subtitle {
  text-align: center;
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 520px;
  margin: -8px auto 56px;
  line-height: 1.6;
}

.docs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}

.doc-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
  position: relative;
}

.doc-card:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.doc-card:hover .doc-arrow {
  opacity: 1;
  transform: translateX(4px);
  color: var(--accent);
}

.doc-card--wide {
  grid-column: span 2;
}

.doc-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.doc-icon--teal { background: rgba(0, 229, 199, 0.1); color: #00e5c7; }
.doc-icon--purple { background: rgba(139, 92, 246, 0.1); color: #8b5cf6; }
.doc-icon--blue { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }
.doc-icon--orange { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }
.doc-icon--green { background: rgba(34, 197, 94, 0.1); color: #22c55e; }

.doc-info {
  flex: 1;
  min-width: 0;
}

.doc-info h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 4px;
  color: var(--text-primary);
}

.doc-info p {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}

.doc-arrow {
  color: var(--text-tertiary);
  opacity: 0.4;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

/* ── Download ── */
.download {
  padding: 120px 0;
  border-top: 1px solid var(--border);
}

.download-card {
  text-align: center;
  padding: 60px 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.download-card:hover {
  border-color: rgba(0, 229, 199, 0.1);
  box-shadow: 0 0 60px rgba(0, 229, 199, 0.04);
}

.download-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.7;
}

.download-card h2 {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.download-card p {
  color: var(--text-secondary);
  margin-bottom: 32px;
  font-size: 16px;
}

.download-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.download-all {
  margin-top: 16px;
}

.download-all-link {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.15s;
}

.download-all-link:hover {
  color: var(--accent);
}

/* ── Footer ── */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  background: var(--bg-secondary);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
}

.footer-logo { width: 20px; height: 20px; }

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.15s;
}

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

.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
}

/* ── Showcase Section ── */
.showcase {
  padding: 120px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.showcase-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 36px;
}

.showcase-tab {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.2s ease;
}

.showcase-tab:hover {
  color: var(--text-primary);
  border-color: var(--text-muted);
  background: var(--bg-tertiary);
}

.showcase-tab.active {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-dim);
  box-shadow: 0 0 12px rgba(0, 229, 199, 0.1);
}

.showcase-content {
  text-align: center;
}

.showcase-desc {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 28px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.showcase-frame {
  max-width: 920px;
  margin: 0 auto;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow:
    0 30px 100px rgba(0, 0, 0, 0.5),
    0 0 100px rgba(0, 229, 199, 0.05),
    0 0 0 1px rgba(0, 229, 199, 0.04);
}

.showcase-frame .device-screen {
  transition: opacity 0.25s ease;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-visual { order: -1; }
  .device-frame { max-width: 440px; }
  .hero-content { text-align: center; }
  .hero-cta { justify-content: center; }
  .hero-meta { justify-content: center; }
  .hero-badge { margin-left: auto; margin-right: auto; }
  .scenarios-grid { grid-template-columns: repeat(2, 1fr); }
  .how-steps { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-mobile-toggle { display: flex; }
  .nav-mobile-menu.open { display: flex; }

  .hero { padding: 80px 0 40px; min-height: auto; }
  .hero-title { font-size: 32px; }

  .features-grid { grid-template-columns: 1fr; }
  .feature-card--wide { grid-column: span 1; grid-template-columns: 1fr; }

  .scenarios-grid { grid-template-columns: 1fr; }

  .section-title { margin-bottom: 32px; }
  .features, .showcase, .scenarios, .comparison, .download, .docs-section, .how-it-works, .faq-section { padding: 80px 0; }

  .comparison-table-wrap::after { opacity: 1; }

  .docs-grid { grid-template-columns: 1fr; }
  .doc-card--wide { grid-column: span 1; }

  .trust-bar { padding: 24px 0; }
  .trust-items { gap: 20px; }
  .trust-item { font-size: 13px; }

  .how-steps { grid-template-columns: 1fr; gap: 12px; }
  .how-step { padding: 24px 20px; }

  .faq-section { padding: 80px 0; }
  .faq-item summary { font-size: 14px; padding: 16px 0; }
  .faq-answer { font-size: 13px; padding-bottom: 16px; }

  .scenario-code { font-size: 11px; padding: 10px 12px; }

  .showcase-tabs { gap: 6px; }
  .showcase-tab { font-size: 12px; padding: 6px 12px; }

  .download-card { padding: 40px 20px; }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}

/* ── Scroll Animations ── */
.anim-target {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--stagger, 0s);
}

.anim-in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .anim-target {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-glow, .hero-visual .device-frame, .hero-title .text-accent {
    animation: none;
  }
  .hero-particles { display: none; }
}
