/* Ashlr AO — Landing Page: Mission Control Noir */

/* ===== Ambient Orbs ===== */
.ambient-orbs {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.35;
  animation: orbFloat 25s ease-in-out infinite;
}

.ambient-orb:nth-child(1) {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(112, 108, 240, 0.3), transparent 70%);
  top: -10%; left: -5%;
  animation-duration: 30s;
}

.ambient-orb:nth-child(2) {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(139, 135, 245, 0.2), transparent 70%);
  bottom: 10%; right: -10%;
  animation-duration: 22s;
  animation-delay: -8s;
}

.ambient-orb:nth-child(3) {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(88, 84, 199, 0.15), transparent 70%);
  top: 40%; left: 50%;
  animation-duration: 28s;
  animation-delay: -15s;
}



@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -40px) scale(1.05); }
  50% { transform: translate(-20px, 20px) scale(0.95); }
  75% { transform: translate(15px, 30px) scale(1.02); }
}

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-height) + var(--space-3xl)) var(--space-lg) var(--space-2xl);
  position: relative;
  overflow: hidden;
}

#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Hero radial spotlight — intensified */
.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 140%;
  height: 700px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(112, 108, 240, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 30% 20%, rgba(139, 135, 245, 0.09) 0%, transparent 40%),
    radial-gradient(ellipse at 70% 20%, rgba(88, 84, 199, 0.09) 0%, transparent 40%);
  pointer-events: none;
  z-index: 1;
}

/* Beam line */
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 160px;
  background: linear-gradient(to bottom, var(--accent), rgba(112, 108, 240, 0.1), transparent);
  opacity: 0.5;
  z-index: 1;
}

/* ===== AO Hero Mark ===== */
.hero-ao-mark {
  position: relative;
  width: 140px;
  height: 140px;
  margin-bottom: var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: aoFadeIn 1.2s ease-out 0.1s both;
}

/* Radial glow behind the mark */
.hero-ao-mark::before {
  content: '';
  position: absolute;
  inset: -30px;
  background: radial-gradient(circle, rgba(112, 108, 240, 0.2) 0%, rgba(112, 108, 240, 0.05) 50%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: aoGlowPulse 4s ease-in-out infinite;
}

@keyframes aoGlowPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

.hero-ao-logo {
  width: 120px;
  height: auto;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 25px rgba(112, 108, 240, 0.4));
}

.ao-ring {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1.5px solid rgba(112, 108, 240, 0.2);
  animation: aoRingSpin 20s linear infinite;
}

.ao-ring::before {
  content: '';
  position: absolute;
  top: -3px;
  left: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent), 0 0 30px var(--accent-glow);
}

.ao-ring-2 {
  inset: -24px;
  border-color: rgba(112, 108, 240, 0.1);
  animation-duration: 30s;
  animation-direction: reverse;
}

.ao-ring-2::before {
  width: 4px;
  height: 4px;
  background: rgba(112, 108, 240, 0.5);
  box-shadow: 0 0 10px rgba(112, 108, 240, 0.4);
}

@keyframes aoFadeIn {
  from { opacity: 0; transform: scale(0.8); filter: blur(10px); }
  to { opacity: 1; transform: scale(1); filter: blur(0); }
}

@keyframes aoRingSpin {
  to { transform: rotate(360deg); }
}



.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--accent-light);
  margin-bottom: var(--space-2xl);
  padding: 7px 16px;
  border: 1px solid var(--border-accent);
  border-radius: 100px;
  background: var(--accent-bg);
  animation: fadeInDown 0.8s ease-out 0.2s both;
}

.hero-badge .pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero h1 {
  max-width: 800px;
  margin-bottom: var(--space-lg);
  animation: fadeInUp 0.8s ease-out 0.3s both;
  line-height: 1.05;
}

.hero-sub {
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto var(--space-2xl);
  animation: fadeInUp 0.8s ease-out 0.4s both;
  color: var(--text-secondary);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeInUp 0.8s ease-out 0.5s both;
}

.hero-downloads {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  margin-top: 20px;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(8px);
  color: var(--text-primary);
  cursor: pointer;
  white-space: nowrap;
}

.download-btn img {
  flex-shrink: 0;
}

.download-btn span {
  line-height: 1;
}

.download-meta {
  font-size: 0.7rem;
  color: var(--text-tertiary);
  padding-left: 8px;
  border-left: 1px solid rgba(255,255,255,0.1);
  font-weight: 400;
}

.download-mac {
  border-color: rgba(112,108,240,0.25);
  background: rgba(112,108,240,0.08);
}

.download-mac:hover {
  background: rgba(112,108,240,0.15);
  border-color: rgba(112,108,240,0.45);
  box-shadow: 0 4px 20px rgba(112,108,240,0.2);
  transform: translateY(-2px);
}

.download-windows {
  opacity: 0.45;
  cursor: default;
  pointer-events: none;
}

@keyframes terminalFadeIn {
  from { opacity: 0; transform: translateX(-4px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ===== Dashboard Demo ===== */
.dashboard-demo {
  margin-top: var(--space-3xl);
  max-width: 960px;
  width: 100%;
  position: relative;
  z-index: 2;
  animation: fadeInUp 1s ease-out 0.7s both;
}

.demo-glow {
  position: absolute;
  inset: -60px;
  background: radial-gradient(ellipse at 50% 60%, rgba(112, 108, 240, 0.18) 0%, transparent 65%);
  filter: blur(60px);
  pointer-events: none;
  animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.demo-frame {
  position: relative;
  background: rgba(10, 10, 18, 0.85);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 24px 80px rgba(0, 0, 0, 0.6),
    0 0 120px rgba(112, 108, 240, 0.1);
  transform: perspective(1000px) rotateX(3deg);
  transform-origin: center bottom;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.dashboard-demo:hover .demo-frame {
  transform: perspective(1000px) rotateX(0deg);
}

/* Scanline overlay for mission control feel */
.demo-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.03) 2px,
    rgba(0, 0, 0, 0.03) 4px
  );
  pointer-events: none;
  z-index: 10;
}

.demo-titlebar {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  background: rgba(17, 17, 24, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  gap: var(--space-md);
}

.demo-traffic {
  display: flex;
  gap: 6px;
}

.demo-traffic span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.demo-traffic span:nth-child(1) { background: #ff5f57; }
.demo-traffic span:nth-child(2) { background: #febc2e; }
.demo-traffic span:nth-child(3) { background: #28c840; }

.demo-titlebar-text {
  flex: 1;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-tertiary);
}

.demo-titlebar-right {
  display: flex;
  gap: 6px;
}

.demo-pill {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-tertiary);
  background: rgba(255, 255, 255, 0.04);
  padding: 3px 8px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.demo-indicator {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.5);
  animation: pulse 2s ease-in-out infinite;
}

.demo-body {
  padding: 16px;
}

.demo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.demo-card {
  background: rgba(14, 14, 24, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-md);
  padding: 14px;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out, box-shadow 0.3s;
}

/* Animation class added by JS */
.demo-card.animate-in {
  animation: demoCardIn 0.5s ease-out forwards;
}

/* Pre-animation state — set by JS before triggering */
.demo-card.pre-animate {
  opacity: 0;
  transform: translateY(12px);
}

@keyframes demoCardIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.demo-card:hover {
  box-shadow: 0 0 20px rgba(112, 108, 240, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.demo-card-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.demo-role {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  background: color-mix(in srgb, var(--rc) 12%, transparent);
  color: var(--rc);
  flex-shrink: 0;
}

.demo-name {
  flex: 1;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-primary);
}

.demo-status {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: 100px;
}

.demo-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
}

.demo-status.working {
  color: var(--accent-light);
  background: rgba(112, 108, 240, 0.1);
}

.demo-status.working .demo-dot {
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent-glow);
  animation: pulse 2s ease-in-out infinite;
}

.demo-status.waiting {
  color: #F59E0B;
  background: rgba(245, 158, 11, 0.1);
}

.demo-status.waiting .demo-dot {
  background: #F59E0B;
  box-shadow: 0 0 6px rgba(245, 158, 11, 0.4);
  animation: pulse 1.2s ease-in-out infinite;
}

.demo-status.complete {
  color: var(--success);
  background: rgba(34, 197, 94, 0.1);
}

.demo-status.complete .demo-dot {
  background: var(--success);
}

.demo-output {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  line-height: 1.6;
  min-height: 32px;
  color: var(--text-tertiary);
}

.demo-output .demo-line {
  display: block;
  opacity: 0;
  animation: terminalFadeIn 0.3s ease-out forwards;
}

.demo-output .demo-line.dim {
  color: rgba(85, 85, 106, 0.7);
}

.demo-output .demo-line.success {
  color: var(--success);
}

.demo-output .demo-line.attention {
  color: #F59E0B;
}

.demo-bar {
  height: 2px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 1px;
  margin-top: 10px;
  overflow: hidden;
}

.demo-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--card-color), color-mix(in srgb, var(--card-color) 40%, transparent));
  border-radius: inherit;
  animation: fillBar 2.5s ease-out forwards;
  animation-delay: calc(1.5s + var(--i, 0) * 0.15s);
}

@keyframes fillBar {
  to { width: var(--w, 50%); }
}


@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Features Grid ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.feature-card {
  padding: var(--space-xl) var(--space-lg);
  position: relative;
  overflow: hidden;
}

/* Accent line at top of each card */
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: var(--space-lg);
  right: var(--space-lg);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-glow), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card:hover {
  box-shadow: 0 0 30px rgba(112, 108, 240, 0.08), 0 8px 24px rgba(0, 0, 0, 0.2);
}

.feature-card .feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  position: relative;
}

/* Individual icon backgrounds */
.feature-card:nth-child(1) .feature-icon { background: rgba(112, 108, 240, 0.1); color: #706CF0; }
.feature-card:nth-child(2) .feature-icon { background: rgba(59, 130, 246, 0.1); color: #3B82F6; }
.feature-card:nth-child(3) .feature-icon { background: rgba(139, 92, 246, 0.1); color: #8B5CF6; }
.feature-card:nth-child(4) .feature-icon { background: rgba(245, 158, 11, 0.1); color: #F59E0B; }
.feature-card:nth-child(5) .feature-icon { background: rgba(6, 182, 212, 0.1); color: #06B6D4; }
.feature-card:nth-child(6) .feature-icon { background: rgba(236, 72, 153, 0.1); color: #EC4899; }

.feature-card h3 {
  margin-bottom: var(--space-sm);
  font-size: 1.05rem;
  font-weight: 600;
}

.feature-card p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-tertiary);
}

/* ===== How It Works ===== */
.steps-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

/* Connecting line */
.steps-line {
  position: absolute;
  top: 48px;
  left: 80px;
  right: 80px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), var(--border-accent), var(--accent));
  opacity: 0.3;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  position: relative;
}

.step {
  text-align: center;
  padding: var(--space-xl) var(--space-md);
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 2px solid var(--border-accent);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1rem;
  color: var(--accent);
  margin: 0 auto var(--space-lg);
  position: relative;
  box-shadow: 0 0 20px var(--accent-glow);
}

.step h3 {
  margin-bottom: var(--space-sm);
  font-size: 1.1rem;
}

.step p {
  margin: 0 auto;
  font-size: 0.85rem;
  color: var(--text-tertiary);
}

.step code {
  display: inline-block;
  margin-bottom: var(--space-xs);
}

/* ===== Backends ===== */
.backends-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.backend-card {
  text-align: center;
  padding: var(--space-xl) var(--space-lg);
  position: relative;
}

.backend-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-md);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  font-family: var(--font-mono);
  letter-spacing: -0.02em;
  transition: transform 0.3s, box-shadow 0.3s;
  overflow: hidden;
}

.backend-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.backend-card:hover .backend-icon {
  transform: scale(1.08);
}

/* Individual backend brand colors */
.backend-card:nth-child(1) .backend-icon {
  background: rgba(212, 165, 116, 0.08);
  border: 1px solid rgba(212, 165, 116, 0.2);
  box-shadow: 0 0 20px rgba(212, 165, 116, 0.06);
}
.backend-card:nth-child(2) .backend-icon {
  background: rgba(16, 163, 127, 0.08);
  border: 1px solid rgba(16, 163, 127, 0.2);
  box-shadow: 0 0 20px rgba(16, 163, 127, 0.06);
}
.backend-card:nth-child(3) .backend-icon {
  background: rgba(88, 214, 141, 0.08);
  border: 1px solid rgba(88, 214, 141, 0.2);
  box-shadow: 0 0 20px rgba(88, 214, 141, 0.06);
}
.backend-card:nth-child(4) .backend-icon {
  background: rgba(244, 114, 182, 0.08);
  border: 1px solid rgba(244, 114, 182, 0.2);
  box-shadow: 0 0 20px rgba(244, 114, 182, 0.06);
}

.backend-card .backend-name {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: var(--space-xs);
}

.backend-card .backend-desc {
  font-size: 0.78rem;
  color: var(--text-tertiary);
  line-height: 1.5;
}

/* ===== Keyboard Shortcuts ===== */
.shortcuts-showcase {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
  max-width: 700px;
  margin: 0 auto;
}

.shortcut-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
}

.shortcut-keys {
  display: flex;
  gap: 3px;
  flex-shrink: 0;
}

.key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 30px;
  padding: 0 8px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-hover);
  border-bottom: 3px solid var(--border-hover);
  border-radius: 7px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-shadow: 0 1px 0 rgba(0,0,0,0.3);
  box-shadow: 0 2px 4px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.04);
  transition: all 0.15s;
}

.shortcut-item:hover .key {
  background: var(--accent-bg);
  border-color: var(--border-accent);
  color: var(--accent-light);
  transform: translateY(-1px);
  box-shadow: 0 3px 6px rgba(0,0,0,0.3), 0 0 12px var(--accent-glow);
}

.shortcut-label {
  font-size: 0.82rem;
  color: var(--text-tertiary);
}

.shortcut-item:hover .shortcut-label {
  color: var(--text-secondary);
}

/* ===== Open Source ===== */
.oss-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  max-width: 900px;
  margin: 0 auto;
}

.oss-card {
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
}

.oss-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--accent-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  color: var(--accent);
}

.oss-card h3 {
  margin-bottom: var(--space-sm);
  font-size: 1.05rem;
}

.oss-card p {
  font-size: 0.85rem;
  color: var(--text-tertiary);
  line-height: 1.6;
  margin: 0 auto;
}

.oss-cta {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-2xl);
}

/* ===== Pricing ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  max-width: 1080px;
  margin: 0 auto;
}

.pricing-card {
  padding: var(--space-2xl);
  position: relative;
}

.pricing-card.featured {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.pricing-card.featured::before {
  content: 'RECOMMENDED';
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  background: var(--accent);
  color: #fff;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  box-shadow: 0 0 20px var(--accent-glow);
}

.pricing-tier {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-tertiary);
  margin-bottom: var(--space-sm);
}

.pricing-price {
  font-size: 2.75rem;
  font-weight: 700;
  margin-bottom: var(--space-lg);
  letter-spacing: -0.03em;
}

.pricing-price span {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-tertiary);
}

.pricing-desc {
  font-size: 0.85rem;
  color: var(--text-tertiary);
  margin-bottom: var(--space-lg);
}

.pricing-features {
  margin-bottom: var(--space-xl);
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 7px 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.pricing-features li::before {
  content: '';
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent-bg);
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23706CF0' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
}

.pricing-card .btn { width: 100%; justify-content: center; }

/* ===== Tech Stack ===== */
.tech-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
}

.tech-item {
  padding: var(--space-sm) var(--space-lg);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-tertiary);
  font-family: var(--font-mono);
  border-radius: var(--radius-md);
}

/* ===== CTA Section ===== */
.cta-section {
  text-align: center;
  padding: var(--space-5xl) 0;
  position: relative;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(112, 108, 240, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.cta-section h2 { margin-bottom: var(--space-md); }
.cta-section p { margin: 0 auto var(--space-xl); }

/* ===== FAQ ===== */
.faq-grid {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: var(--space-lg) 0;
}

.faq-item summary {
  font-weight: 600;
  cursor: pointer;
  font-size: 0.95rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-primary);
  transition: color 0.2s;
}

.faq-item summary:hover {
  color: var(--accent-light);
}

.faq-item summary::after {
  content: '+';
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--text-tertiary);
  transition: transform 0.3s, color 0.3s;
  flex-shrink: 0;
  margin-left: var(--space-md);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
  color: var(--accent);
}

.faq-item summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

.faq-item p {
  margin-top: var(--space-md);
  font-size: 0.88rem;
  line-height: 1.7;
}

/* ===== Section divider ===== */
.section-alt {
  background: var(--bg-secondary);
  position: relative;
}

.section-alt::before,
.section-alt::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.section-alt::before { top: 0; }
.section-alt::after { bottom: 0; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .backends-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .oss-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
}

@media (max-width: 768px) {
  .hero { min-height: auto; padding-top: calc(var(--nav-height) + var(--space-2xl)); }
  .hero h1 { font-size: 2.25rem; }
  .hero::after { display: none; }
  .hero-ao-mark { width: 100px; height: 100px; }
  .hero-ao-logo { width: 80px; }
  .features-grid,
  .steps,
  .shortcuts-showcase { grid-template-columns: 1fr; }
  .steps-line { display: none; }
  .backends-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
  .hero-actions { flex-direction: column; }
  .hero-downloads { flex-wrap: wrap; }
  .demo-grid { grid-template-columns: 1fr; }
  .demo-titlebar-right { display: none; }
  .oss-cta { flex-direction: column; align-items: center; }
}
