/* =================================================
   HERMES — Discord AI Agent Service
   Design: Cyberpunk / Neon / Terminal vibes
   ================================================= */

:root {
  --bg-base: #02020A;
  --bg-deep: #000004;
  --bg-elevated: #0A0A18;
  --bg-card: rgba(10, 10, 24, 0.7);
  --bg-card-hover: rgba(15, 15, 35, 0.9);
  --bg-terminal: #050510;
  
  --border: rgba(0, 255, 198, 0.12);
  --border-strong: rgba(0, 255, 198, 0.3);
  
  --text-primary: #E8F8FF;
  --text-secondary: #8A9BAB;
  --text-tertiary: #4A5A6A;
  --text-mute: #2A3540;
  
  --neon-cyan: #00FFC6;
  --neon-pink: #FF3CB4;
  --neon-violet: #A050FF;
  --neon-yellow: #FFE74C;
  --neon-blue: #00B4FF;
  
  --gradient-cyber: linear-gradient(135deg, #00FFC6 0%, #FF3CB4 50%, #A050FF 100%);
  
  --font-body: 'Geist', system-ui, sans-serif;
  --font-italic: 'Instrument Serif', serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 12px;
}

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

html, body {
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  overflow-x: hidden;
}

body { position: relative; min-height: 100vh; }
a { color: inherit; text-decoration: none; }
button { background: none; border: none; cursor: pointer; font: inherit; color: inherit; }

::selection { background: var(--neon-cyan); color: var(--bg-base); }

/* ============== 3D BACKGROUND CANVAS ============== */
#bg-3d {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
}

/* ============== HERO 3D OBJECT ============== */
.hero-3d {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 550px;
  height: 550px;
  z-index: 0;
  pointer-events: none;
  opacity: 0.45;
  mix-blend-mode: screen;
}
.hero-3d canvas {
  width: 100% !important;
  height: 100% !important;
}

@media (max-width: 768px) {
  .hero-3d { width: 340px; height: 340px; opacity: 0.35; }
}

/* ============== 3D TILT EFFECT ============== */
.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.4s ease, border-color 0.4s ease, background 0.4s ease;
  will-change: transform;
}
.tilt-card .feature-icon,
.tilt-card .usecase-emoji {
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}
.tilt-card:hover .feature-icon,
.tilt-card:hover .usecase-emoji {
  transform: translateZ(30px) scale(1.05);
}
.tilt-card h3, .tilt-card h4 {
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}
.tilt-card:hover h3,
.tilt-card:hover h4 {
  transform: translateZ(20px);
}

/* Scanlines */
body::before {
  content: '';
  position: fixed; inset: 0;
  background: repeating-linear-gradient(0deg, transparent 0, transparent 2px, rgba(0, 255, 198, 0.015) 2px, rgba(0, 255, 198, 0.015) 4px);
  pointer-events: none; z-index: 999;
  mix-blend-mode: overlay;
}
body::after {
  content: '';
  position: fixed; inset: 0;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(0,0,0,0.6) 100%);
  pointer-events: none; z-index: 998;
}

.bg-grid {
  position: fixed; inset: 0;
  background-image: linear-gradient(to right, rgba(0, 255, 198, 0.04) 1px, transparent 1px), linear-gradient(to bottom, rgba(0, 255, 198, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, black 20%, transparent 75%);
  z-index: 0; pointer-events: none;
  animation: gridShift 30s linear infinite;
}
@keyframes gridShift { 0% { background-position: 0 0; } 100% { background-position: 60px 60px; } }

.bg-gradient {
  position: fixed; inset: 0;
  background: 
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(0, 255, 198, 0.18), transparent 60%),
    radial-gradient(ellipse 50% 40% at 90% 30%, rgba(255, 60, 180, 0.18), transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 70%, rgba(160, 80, 255, 0.15), transparent 60%);
  z-index: 0; pointer-events: none;
}

.bg-noise {
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence baseFrequency='0.9' /></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.5'/></svg>");
  opacity: 0.05; z-index: 1; pointer-events: none; mix-blend-mode: overlay;
}

.orb {
  position: fixed; border-radius: 50%; filter: blur(100px);
  z-index: 0; pointer-events: none; opacity: 0.6;
}
.orb-1 { width: 500px; height: 500px; background: radial-gradient(circle, var(--neon-cyan), transparent 70%); top: -100px; left: -200px; animation: float1 20s ease-in-out infinite; }
.orb-2 { width: 400px; height: 400px; background: radial-gradient(circle, var(--neon-pink), transparent 70%); top: 30%; right: -100px; animation: float2 25s ease-in-out infinite; }
.orb-3 { width: 350px; height: 350px; background: radial-gradient(circle, var(--neon-violet), transparent 70%); bottom: 10%; left: 30%; animation: float3 30s ease-in-out infinite; }
@keyframes float1 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(50px, 80px); } }
@keyframes float2 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-60px, 40px); } }
@keyframes float3 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(40px, -60px); } }

/* ============== NAV ============== */
.nav {
  position: sticky; top: 0; z-index: 100;
  padding: 16px 32px;
  backdrop-filter: blur(20px) saturate(180%);
  background: rgba(2, 2, 10, 0.85);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(0, 255, 198, 0.1), 0 20px 60px -20px rgba(0,0,0,0.8);
}
.nav-inner { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.logo { display: flex; align-items: center; gap: 14px; }
.logo-mark { width: 88px; height: 64px; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 0 12px rgba(0, 255, 198, 0.5)); }
.logo-mark svg { width: 100%; height: 100%; }

/* Section-уудын хооронд гарч ирэх ТОМ декор лого */
.logo-decoration {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
  z-index: 2;
}
.logo-decoration .logo-mark-large {
  width: 220px;
  height: 160px;
  filter: drop-shadow(0 0 24px rgba(0, 255, 198, 0.45)) drop-shadow(0 0 40px rgba(255, 60, 180, 0.25));
  opacity: 0.9;
  animation: logoFloat 6s ease-in-out infinite;
}
.logo-decoration .logo-mark-large svg { width: 100%; height: 100%; }

/* Хажуу талд жижиг шил лого (corner decoration) */
.logo-corner {
  position: absolute;
  width: 70px;
  height: 50px;
  opacity: 0.35;
  pointer-events: none;
  filter: drop-shadow(0 0 10px rgba(0, 255, 198, 0.5));
  z-index: 1;
}
.logo-corner svg { width: 100%; height: 100%; }
.logo-corner.top-right { top: 24px; right: 32px; }
.logo-corner.bottom-left { bottom: 24px; left: 32px; }
.logo-corner.mid-left { top: 40%; left: 24px; }
.logo-corner.mid-right { top: 60%; right: 24px; }

@keyframes logoFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-10px) scale(1.04); }
}

/* Section-ын дунд нэмэлт 3D scene container-ууд (hero-3d-тэй адил) */
.section-3d-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 480px;
  height: 480px;
  z-index: 0;
  pointer-events: none;
  opacity: 0.35;
  mix-blend-mode: screen;
}
.section-3d-bg canvas {
  width: 100% !important;
  height: 100% !important;
}
@media (max-width: 768px) {
  .section-3d-bg { width: 300px; height: 300px; opacity: 0.25; }
  .logo-decoration .logo-mark-large { width: 150px; height: 110px; }
  .logo-corner { display: none; }
}
.logo-text {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.25em;
  color: var(--neon-cyan);
  text-shadow: 0 0 12px rgba(0, 255, 198, 0.6);
}

/* Logo animations */
@keyframes logoFlow { 0% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -40; } }
@keyframes logoPulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.4); opacity: 0.7; } }
@keyframes logoFlicker { 0%,100% { opacity: 1; } 5%, 50% { opacity: 0.5; } }

.logo-flow { stroke-dasharray: 4 4; animation: logoFlow 1.5s linear infinite; }
.logo-pulse { animation: logoPulse 2s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
.logo-pulse-delayed { animation: logoPulse 2s ease-in-out infinite 0.5s; transform-origin: center; transform-box: fill-box; }
.logo-flicker { animation: logoFlicker 4s ease-in-out infinite; }
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
  transition: all 0.2s;
  position: relative;
}
.nav-links a::before { content: '> '; opacity: 0; transition: opacity 0.2s; color: var(--neon-cyan); }
.nav-links a:hover { color: var(--neon-cyan); text-shadow: 0 0 8px rgba(0, 255, 198, 0.5); }
.nav-links a:hover::before { opacity: 1; }
.nav-actions { display: flex; gap: 12px; align-items: center; }

/* ============== BUTTONS ============== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-size: 13px; font-weight: 600;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  white-space: nowrap; position: relative; overflow: hidden;
}
.btn svg { width: 14px; height: 14px; }
.btn-lg { padding: 14px 26px; font-size: 14px; }
.btn-lg svg { width: 16px; height: 16px; }

.btn-primary {
  background: var(--neon-cyan);
  color: var(--bg-deep);
  box-shadow: 0 0 20px rgba(0, 255, 198, 0.5), 0 0 40px rgba(0, 255, 198, 0.25), inset 0 1px 0 rgba(255,255,255,0.2);
  border: 1px solid var(--neon-cyan);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 30px rgba(0, 255, 198, 0.8), 0 0 60px rgba(0, 255, 198, 0.4), inset 0 1px 0 rgba(255,255,255,0.3);
}
.btn-primary::after {
  content: ''; position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s;
}
.btn-primary:hover::after { left: 100%; }

.btn-ghost {
  color: var(--text-primary);
  background: rgba(0, 255, 198, 0.05);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  background: rgba(0, 255, 198, 0.1);
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  box-shadow: 0 0 20px rgba(0, 255, 198, 0.3);
}

.btn-outline {
  color: var(--text-primary);
  background: transparent;
  border: 1px solid var(--border-strong);
}
.btn-outline:hover {
  background: rgba(0, 255, 198, 0.05);
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  box-shadow: 0 0 20px rgba(0, 255, 198, 0.3);
}
.btn-block { width: 100%; justify-content: center; }

/* ============== HERO ============== */
.hero { position: relative; padding: 80px 32px 100px; z-index: 2; overflow: hidden; }
.hero-inner { max-width: 1280px; margin: 0 auto; text-align: center; position: relative; z-index: 2; }

.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px;
  background: rgba(0, 255, 198, 0.08);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  font-size: 12px;
  color: var(--neon-cyan);
  margin-bottom: 36px;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  animation: fadeInUp 0.6s ease-out;
  box-shadow: 0 0 20px rgba(0, 255, 198, 0.15);
}
.badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--neon-cyan);
  box-shadow: 0 0 12px var(--neon-cyan);
  animation: pulse 1.5s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; box-shadow: 0 0 12px var(--neon-cyan); } 50% { opacity: 0.4; } }

.hero-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(28px, 4.2vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 32px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.6s ease-out 0.1s both;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hero-title .line-1 {
  font-size: 0.5em;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  font-family: var(--font-mono);
  margin-bottom: 8px;
  opacity: 0.8;
}
.hero-title .line-1::before { content: '— '; color: var(--neon-cyan); }
.hero-title .line-1::after { content: ' —'; color: var(--neon-cyan); }

.hero-title .line-2 {
  font-size: 1.3em;
  font-weight: 700;
  letter-spacing: -0.04em;
  text-shadow: 0 0 40px rgba(0, 255, 198, 0.15);
  margin-bottom: 4px;
}

.hero-title .ai-mark {
  background: var(--gradient-cyber);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 4s ease-in-out infinite;
  font-weight: 800;
}

.hero-title .line-3 {
  font-size: 0.7em;
  font-weight: 400;
  color: var(--text-secondary);
  margin-top: 4px;
}

.hero-title .line-4 {
  font-size: 0.95em;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.title-italic {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 400;
  color: var(--neon-pink);
  text-shadow: 0 0 20px rgba(255, 60, 180, 0.4);
}
.title-gradient {
  background: var(--gradient-cyber);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 4s ease-in-out infinite;
  filter: drop-shadow(0 0 25px rgba(0, 255, 198, 0.3));
}
@keyframes shimmer { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

.hero-sub {
  font-size: clamp(14px, 1.1vw, 16px);
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
  animation: fadeInUp 0.6s ease-out 0.2s both;
}
.hero-sub strong {
  color: var(--neon-cyan);
  font-weight: 600;
  text-shadow: 0 0 10px rgba(0, 255, 198, 0.4);
}
.hero-cta {
  display: flex; gap: 16px; justify-content: center;
  margin-bottom: 80px;
  animation: fadeInUp 0.6s ease-out 0.3s both;
  flex-wrap: wrap;
}
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ============== DEMO CARD ============== */
.demo-card {
  max-width: 720px; margin: 0 auto 60px;
  background: var(--bg-terminal);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(20px);
  box-shadow: 0 0 0 1px rgba(0, 255, 198, 0.15) inset, 0 40px 80px -20px rgba(0, 255, 198, 0.2), 0 0 100px -20px rgba(0, 255, 198, 0.3);
  text-align: left;
  animation: fadeInUp 0.8s ease-out 0.4s both;
  position: relative;
}
.demo-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
  animation: scanline 3s ease-in-out infinite;
}
@keyframes scanline { 0%,100% { opacity: 0.3; } 50% { opacity: 1; } }

.demo-card-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  background: rgba(0, 255, 198, 0.02);
  font-family: var(--font-mono);
}
.demo-channels { display: flex; gap: 4px; font-size: 13px; flex-wrap: wrap; }
.demo-channel {
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  color: var(--text-tertiary);
  font-family: var(--font-mono);
  font-size: 12px;
  display: flex; align-items: center; gap: 6px;
}
.demo-channel.active {
  background: rgba(0, 255, 198, 0.1);
  color: var(--neon-cyan);
  border: 1px solid rgba(0, 255, 198, 0.3);
}
.demo-bot-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--neon-cyan); box-shadow: 0 0 8px var(--neon-cyan); }
.demo-status {
  font-size: 11px; color: var(--neon-cyan);
  display: flex; align-items: center; gap: 6px;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--neon-cyan); box-shadow: 0 0 12px var(--neon-cyan); animation: pulse 2s infinite; }

.demo-card-body {
  padding: 24px;
  display: flex; flex-direction: column; gap: 20px;
  background: linear-gradient(180deg, rgba(0, 255, 198, 0.02), transparent), var(--bg-terminal);
}

.demo-msg { display: flex; gap: 12px; }
.demo-avatar {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px;
  flex-shrink: 0;
  background: var(--neon-pink);
  color: var(--bg-deep);
  font-family: var(--font-mono);
  box-shadow: 0 0 16px rgba(255, 60, 180, 0.4);
}
.demo-avatar-bot {
  background: rgba(0, 255, 198, 0.1);
  border: 1px solid var(--neon-cyan);
  padding: 6px;
  box-shadow: 0 0 16px rgba(0, 255, 198, 0.4);
}
.demo-avatar-bot svg { width: 100%; height: 100%; filter: drop-shadow(0 0 4px var(--neon-cyan)); }
.demo-msg-content { flex: 1; font-size: 14px; font-family: var(--font-mono); }
.demo-msg-head {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 6px; font-size: 12px;
  color: var(--text-secondary);
}
.demo-msg-head strong { color: var(--text-primary); font-weight: 700; }
.bot-tag {
  display: inline-block; padding: 1px 6px;
  background: var(--neon-cyan); color: var(--bg-deep);
  font-size: 9px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  letter-spacing: 0.1em;
}
.typing { display: inline-flex; gap: 3px; margin-left: 4px; }
.typing span { width: 4px; height: 4px; border-radius: 50%; background: var(--neon-cyan); box-shadow: 0 0 6px var(--neon-cyan); animation: typingdot 1.4s infinite; }
.typing span:nth-child(2) { animation-delay: 0.2s; }
.typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingdot { 0%, 60%, 100% { transform: translateY(0); opacity: 0.4; } 30% { transform: translateY(-4px); opacity: 1; } }

.demo-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.demo-action {
  padding: 5px 10px;
  background: rgba(0, 255, 198, 0.08);
  border: 1px solid rgba(0, 255, 198, 0.3);
  border-radius: var(--radius-sm);
  font-size: 11px;
  color: var(--neon-cyan);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============== TRUST STRIP ============== */
.trust-strip {
  margin-top: 20px; padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  animation: fadeInUp 0.8s ease-out 0.5s both;
}
.trust-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--text-tertiary);
  margin-bottom: 14px;
  font-family: var(--font-mono);
}
.trust-label::before { content: '[ '; color: var(--neon-cyan); }
.trust-label::after { content: ' ]'; color: var(--neon-cyan); }
.trust-logos {
  display: flex; flex-wrap: wrap;
  justify-content: center; align-items: center;
  gap: 14px;
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
  font-family: var(--font-mono);
}
.trust-logos span:not(.dot):hover { color: var(--neon-cyan); text-shadow: 0 0 8px rgba(0, 255, 198, 0.5); cursor: default; }
.trust-logos .dot { color: var(--neon-cyan); opacity: 0.5; }

/* ============== SECTION HEADER ============== */
.section-header {
  text-align: center; margin-bottom: 64px;
  max-width: 800px;
  margin-left: auto; margin-right: auto;
}
.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--neon-cyan);
  margin-bottom: 20px;
  padding: 5px 14px;
  background: rgba(0, 255, 198, 0.06);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  box-shadow: 0 0 20px rgba(0, 255, 198, 0.15);
}
.section-tag::before { content: '// '; opacity: 0.6; }
.section-title {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.section-sub { font-size: 16px; color: var(--text-secondary); margin-top: 16px; font-family: var(--font-mono); }

/* ============== FEATURES ============== */
.features { padding: 100px 32px; position: relative; z-index: 2; max-width: 1280px; margin: 0 auto; perspective: 1500px; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.feature-card::after {
  content: ''; position: absolute; top: 0; left: 0;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-strong);
  transform: translateY(-3px);
  box-shadow: 0 20px 60px -20px rgba(0, 255, 198, 0.25);
}
.feature-card:hover::after { opacity: 1; }
.feature-card-lg {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(0, 255, 198, 0.06), rgba(160, 80, 255, 0.03));
}
.feature-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.feature-icon svg { width: 22px; height: 22px; }
.icon-purple { background: rgba(160, 80, 255, 0.1); color: var(--neon-violet); border: 1px solid rgba(160, 80, 255, 0.3); box-shadow: 0 0 20px rgba(160, 80, 255, 0.2); }
.icon-cyan { background: rgba(0, 255, 198, 0.1); color: var(--neon-cyan); border: 1px solid rgba(0, 255, 198, 0.3); box-shadow: 0 0 20px rgba(0, 255, 198, 0.2); }
.icon-pink { background: rgba(255, 60, 180, 0.1); color: var(--neon-pink); border: 1px solid rgba(255, 60, 180, 0.3); box-shadow: 0 0 20px rgba(255, 60, 180, 0.2); }
.icon-amber { background: rgba(255, 231, 76, 0.1); color: var(--neon-yellow); border: 1px solid rgba(255, 231, 76, 0.3); box-shadow: 0 0 20px rgba(255, 231, 76, 0.2); }
.icon-green { background: rgba(0, 255, 198, 0.1); color: var(--neon-cyan); border: 1px solid rgba(0, 255, 198, 0.3); box-shadow: 0 0 20px rgba(0, 255, 198, 0.2); }
.icon-blue { background: rgba(0, 180, 255, 0.1); color: var(--neon-blue); border: 1px solid rgba(0, 180, 255, 0.3); box-shadow: 0 0 20px rgba(0, 180, 255, 0.2); }

.feature-card h3 { font-size: 19px; font-weight: 600; margin-bottom: 10px; letter-spacing: -0.01em; font-family: var(--font-body); }
.feature-card p { color: var(--text-secondary); font-size: 14px; line-height: 1.6; }
.feature-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.feature-tags span {
  padding: 3px 10px;
  background: rgba(0, 255, 198, 0.05);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--neon-cyan);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============== HOW IT WORKS ============== */
.how { padding: 100px 32px; position: relative; z-index: 2; max-width: 1280px; margin: 0 auto; }
.steps { display: flex; align-items: stretch; justify-content: center; gap: 16px; flex-wrap: wrap; }
.step {
  flex: 1; min-width: 240px; max-width: 340px;
  padding: 32px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  text-align: left;
  position: relative;
  transition: all 0.3s;
}
.step:hover {
  border-color: var(--border-strong);
  box-shadow: 0 0 40px -10px rgba(0, 255, 198, 0.3);
  transform: translateY(-3px);
}
.step-num {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--neon-cyan);
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--border-strong);
  text-shadow: 0 0 10px rgba(0, 255, 198, 0.4);
}
.step-num::before { content: '$ STEP_'; opacity: 0.6; }
.step h3 { font-size: 20px; font-weight: 600; margin-bottom: 10px; font-family: var(--font-body); }
.step p { color: var(--text-secondary); font-size: 14px; line-height: 1.6; }
.step-arrow { flex-shrink: 0; display: flex; align-items: center; }
.step-arrow svg { width: 40px; height: 12px; }

/* ============== PRICING ============== */
.pricing { padding: 100px 32px; position: relative; z-index: 2; max-width: 1280px; margin: 0 auto; }
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 980px; margin: 0 auto; }
.plan {
  padding: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  position: relative;
  display: flex; flex-direction: column;
  transition: all 0.3s;
}
.plan:hover { transform: translateY(-3px); }
.plan-basic:hover {
  border-color: var(--border-strong);
  box-shadow: 0 0 60px -20px rgba(0, 255, 198, 0.3);
}
.plan-pro {
  background: linear-gradient(180deg, rgba(255, 60, 180, 0.08), rgba(160, 80, 255, 0.04));
  border: 1px solid var(--neon-pink);
  box-shadow: 0 0 0 1px rgba(255, 60, 180, 0.2) inset, 0 30px 80px -20px rgba(255, 60, 180, 0.3), 0 0 80px -20px rgba(255, 60, 180, 0.4);
}
.plan-pro::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-pink), var(--neon-violet), transparent);
  animation: scanline 3s ease-in-out infinite;
}
.plan-badge {
  position: absolute; top: -12px; right: 28px;
  padding: 5px 14px;
  background: var(--neon-pink);
  color: var(--bg-deep);
  font-size: 11px; font-weight: 700;
  border-radius: var(--radius-sm);
  letter-spacing: 0.1em;
  font-family: var(--font-mono);
  text-transform: uppercase;
  box-shadow: 0 0 20px rgba(255, 60, 180, 0.6);
}
.plan-header { margin-bottom: 24px; }
.plan-name {
  display: flex; align-items: center; gap: 10px;
  font-size: 22px; font-weight: 700;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.plan-basic .plan-name { color: var(--neon-cyan); }
.plan-pro .plan-name { color: var(--neon-pink); }
.plan-icon { font-size: 22px; }
.plan-desc { color: var(--text-secondary); font-size: 13px; font-family: var(--font-mono); }

.plan-price {
  margin-bottom: 24px;
  display: flex; align-items: baseline; gap: 6px;
  padding: 20px 0;
  border-top: 1px dashed var(--border-strong);
  border-bottom: 1px dashed var(--border-strong);
}
.price-currency { font-size: 22px; color: var(--text-secondary); font-weight: 500; font-family: var(--font-mono); }
.price-amount { font-size: 44px; font-weight: 800; letter-spacing: -0.03em; font-family: var(--font-mono); }
.plan-basic .price-amount { color: var(--neon-cyan); text-shadow: 0 0 20px rgba(0, 255, 198, 0.5); }
.plan-pro .price-amount { color: var(--neon-pink); text-shadow: 0 0 20px rgba(255, 60, 180, 0.5); }
.price-period { font-size: 13px; color: var(--text-tertiary); margin-left: 6px; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.05em; }

.plan-features { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.features-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-tertiary);
  font-family: var(--font-mono);
  margin-bottom: 8px;
}
.features-label::before { content: '// '; opacity: 0.6; }
.plan-feature { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.plan-feature .check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 16px; height: 16px;
  border-radius: var(--radius-sm);
  background: rgba(0, 255, 198, 0.15);
  color: var(--neon-cyan);
  font-size: 10px; font-weight: 700;
  flex-shrink: 0;
  border: 1px solid rgba(0, 255, 198, 0.3);
}
.plan-feature .x {
  display: inline-flex; align-items: center; justify-content: center;
  width: 16px; height: 16px;
  color: var(--text-mute);
  font-size: 14px; flex-shrink: 0;
}
.plan-feature.feature-muted { color: var(--text-mute); }
.plan-feature.highlight { color: var(--text-primary); font-weight: 500; }
.plan-pro .plan-feature.highlight .check {
  background: var(--neon-pink);
  color: var(--bg-deep);
  border-color: var(--neon-pink);
  box-shadow: 0 0 10px rgba(255, 60, 180, 0.5);
}

.pricing-note {
  margin-top: 40px;
  max-width: 760px; margin-left: auto; margin-right: auto;
  padding: 20px 24px;
  background: rgba(255, 231, 76, 0.04);
  border: 1px solid rgba(255, 231, 76, 0.2);
  border-radius: var(--radius-md);
  display: flex; gap: 14px;
  align-items: flex-start;
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.7;
  font-family: var(--font-mono);
}
.note-icon { font-size: 18px; flex-shrink: 0; }
.pricing-note strong { color: var(--neon-yellow); text-shadow: 0 0 10px rgba(255, 231, 76, 0.3); }

/* ============== USE CASES ============== */
.usecases { padding: 100px 32px; position: relative; z-index: 2; max-width: 1280px; margin: 0 auto; perspective: 1500px; }
.usecase-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.usecase {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  transition: all 0.3s;
}
.usecase:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-strong);
  transform: translateY(-3px);
  box-shadow: 0 0 40px -15px rgba(0, 255, 198, 0.4);
}
.usecase-emoji { font-size: 32px; margin-bottom: 14px; filter: drop-shadow(0 0 8px rgba(0, 255, 198, 0.3)); }
.usecase h4 { font-size: 16px; font-weight: 600; margin-bottom: 8px; font-family: var(--font-body); }
.usecase p { color: var(--text-secondary); font-size: 13.5px; line-height: 1.6; }

/* ============== FAQ ============== */
.faq { padding: 100px 32px; position: relative; z-index: 2; max-width: 800px; margin: 0 auto; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(20px);
  overflow: hidden;
  transition: all 0.2s;
}
.faq-item:hover { border-color: var(--border-strong); }
.faq-item[open] {
  background: var(--bg-card-hover);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 30px -15px rgba(0, 255, 198, 0.4);
}
.faq-item summary {
  padding: 18px 22px;
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer;
  font-size: 14.5px;
  font-weight: 500;
  list-style: none;
  font-family: var(--font-mono);
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary span:first-child::before {
  content: '? ';
  color: var(--neon-cyan);
  font-weight: 700;
}
.faq-icon {
  font-size: 20px;
  color: var(--neon-cyan);
  transition: transform 0.3s;
  font-weight: 300;
  flex-shrink: 0;
}
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-answer {
  padding: 0 22px 20px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
  font-family: var(--font-mono);
}
.faq-answer::before { content: '> '; color: var(--neon-cyan); }

/* ============== CTA ============== */
.cta { padding: 100px 32px; position: relative; z-index: 2; max-width: 1280px; margin: 0 auto; }
.cta-inner {
  background: linear-gradient(135deg, rgba(0, 255, 198, 0.08), rgba(255, 60, 180, 0.05));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 80px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
  box-shadow: 0 0 80px -20px rgba(0, 255, 198, 0.3);
}
.cta-inner::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon-cyan), var(--neon-pink), transparent);
}
.cta-bg-orb {
  position: absolute; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0, 255, 198, 0.3), transparent 70%);
  border-radius: 50%;
  filter: blur(80px);
  top: -50%; left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}
.cta-title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  position: relative;
}
.cta-sub {
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: 36px;
  position: relative;
  font-family: var(--font-mono);
}
.cta-actions { display: flex; gap: 12px; justify-content: center; position: relative; flex-wrap: wrap; }

/* ============== FOOTER ============== */
.footer {
  border-top: 1px solid var(--border-strong);
  padding: 80px 32px 32px;
  position: relative; z-index: 2;
  background: rgba(2, 2, 10, 0.8);
  backdrop-filter: blur(20px);
}
.footer-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  margin-bottom: 60px;
}
.footer-tag {
  color: var(--text-secondary);
  font-size: 13px;
  margin-top: 16px;
  max-width: 280px;
  font-family: var(--font-mono);
}
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--neon-cyan);
  font-family: var(--font-mono);
  margin-bottom: 8px;
}
.footer-col-title::before { content: '// '; opacity: 0.5; }
.footer-col a {
  font-size: 13.5px;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  transition: all 0.2s;
}
.footer-col a:hover { color: var(--neon-cyan); text-shadow: 0 0 8px rgba(0, 255, 198, 0.4); }
.footer-bottom {
  max-width: 1280px; margin: 0 auto;
  padding-top: 32px;
  border-top: 1px dashed var(--border-strong);
  display: flex; justify-content: space-between;
  font-size: 12px;
  color: var(--text-tertiary);
  flex-wrap: wrap; gap: 12px;
  font-family: var(--font-mono);
}

/* ============== RESPONSIVE ============== */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card-lg { grid-column: span 2; }
  .usecase-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .nav { padding: 12px 16px; }
  .nav-links { display: none; }
  .nav-inner { gap: 16px; }
  .logo-text { font-size: 14px; letter-spacing: 0.2em; }
  .logo-mark { width: 64px; height: 46px; }
  
  .hero { padding: 48px 16px 60px; }
  .hero-title { font-size: clamp(22px, 8vw, 36px); }
  .hero-title .line-1 { font-size: 0.42em; letter-spacing: 0.2em; }
  .hero-cta { flex-direction: column; align-items: stretch; padding: 0 8px; }
  .hero-cta .btn { justify-content: center; }
  
  .features, .how, .pricing, .usecases, .faq, .cta { padding: 60px 16px; }
  
  .features-grid { grid-template-columns: 1fr; }
  .feature-card-lg { grid-column: auto; }
  
  .step-arrow { transform: rotate(90deg); }
  
  .pricing-grid { grid-template-columns: 1fr; }
  .plan { padding: 28px 22px; }
  .price-amount { font-size: 36px; }
  
  .usecase-grid { grid-template-columns: 1fr; }
  
  .cta-inner { padding: 48px 24px; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { justify-content: center; }
  
  .footer { padding: 48px 16px 24px; }
  .footer-cols { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  
  .demo-card { margin: 0 -4px 40px; }
  .demo-channels { gap: 2px; }
  .demo-channel { padding: 4px 8px; font-size: 11px; }
}
