/* ══════════════════════════════════════════════════════════════
   AUROAI — Unified Design System
   Generated with ui-ux-pro-max skill
   Style: Dark Glassmorphism | Purple-Cyan Gradients
   Fonts: Plus Jakarta Sans (headings) + Inter (body)
   ══════════════════════════════════════════════════════════════ */

/* ── CSS Custom Properties ── */
:root {
  --bg-primary: #050510;
  --bg-surface: #0e1230;
  --bg-surface-alt: #131b2e;
  --bg-footer: #030308;
  --text-primary: #dae2fd;
  --text-muted: rgba(218, 226, 253, 0.55);
  --text-dim: rgba(218, 226, 253, 0.35);
  --accent-purple: #7c5cfc;
  --accent-purple-light: #c0c1ff;
  --accent-cyan: #4cd7f6;
  --accent-amber: #fbbf24;
  --accent-orange: #f97316;
  --border-subtle: rgba(124, 92, 252, 0.08);
  --border-hover: rgba(124, 92, 252, 0.25);
  --glass-bg: rgba(14, 17, 40, 0.55);
  --glass-blur: 24px;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-primary);
  font-family: 'Inter', sans-serif;
  color: var(--text-primary);
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}
.font-jakarta { font-family: 'Plus Jakarta Sans', sans-serif; }

/* ── Gradient Text ── */
.gradient-text {
  background: linear-gradient(135deg, #c0c1ff 0%, #7c5cfc 50%, #4cd7f6 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.gradient-text-warm {
  background: linear-gradient(135deg, #fbbf24 0%, #f97316 50%, #ef4444 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ── Glass Panels ── */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--border-subtle);
  transition: border-color 0.4s, transform 0.4s, box-shadow 0.4s;
}
.glass-panel:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(124, 92, 252, 0.08);
}
.glass-panel-strong {
  background: rgba(19, 27, 46, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(192, 193, 255, 0.15);
  border-radius: 12px;
}
/* Static glass — no hover transform (for forms, info panels) */
.glass-panel-static {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--border-subtle);
}

/* ── Buttons ── */
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #f97316 100%);
  color: #0a0a0a; font-weight: 800; padding: 18px 40px; border-radius: 12px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 40px rgba(251, 191, 36, 0.3);
  font-size: 15px; letter-spacing: -0.01em;
  text-decoration: none; cursor: pointer; border: none;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 60px rgba(251, 191, 36, 0.5); }
.btn-secondary {
  display: inline-block;
  border: 1px solid rgba(192, 193, 255, 0.3); color: #c0c1ff; font-weight: 700;
  padding: 18px 40px; border-radius: 12px; transition: all 0.2s; font-size: 15px;
  text-decoration: none; cursor: pointer; background: transparent;
}
.btn-secondary:hover { border-color: #7c5cfc; background: rgba(124, 92, 252, 0.08); }

/* ── Pill Tags ── */
.pill {
  display: inline-block; padding: 6px 16px; border-radius: 8px;
  border: 1px solid rgba(124, 92, 252, 0.25); font-size: 13px; font-weight: 500;
  color: #c0c1ff; background: rgba(124, 92, 252, 0.06); transition: all 0.2s;
}
.pill:hover { border-color: #7c5cfc; background: rgba(124, 92, 252, 0.15); }

/* ── Bento Grid Cards ── */
.bento-card {
  background: rgba(14, 17, 40, 0.5); border: 1px solid var(--border-subtle);
  border-radius: 12px; overflow: hidden; position: relative;
  transition: border-color 0.4s, transform 0.4s, box-shadow 0.4s;
  cursor: pointer;
}
.bento-card:hover {
  border-color: var(--border-hover); transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(124, 92, 252, 0.08);
}
.bento-card .card-glow {
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(124, 92, 252, 0.4) 50%, transparent 100%);
  opacity: 0; transition: opacity 0.4s;
}
.bento-card:hover .card-glow { opacity: 1; }

/* ── Light Section ── */
.light-section {
  background: linear-gradient(180deg, #f5f5f7 0%, #e8e8ed 100%);
  color: #1a1a2e;
}
.light-section .light-card {
  background: #fff; border: 1px solid rgba(0,0,0,0.06); border-radius: 12px;
  transition: transform 0.3s, box-shadow 0.3s; cursor: pointer;
}
.light-section .light-card:hover {
  transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* ── Grid Lines Background ── */
.grid-lines {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(124, 92, 252, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 92, 252, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
}

/* ── Glow Divider ── */
.glow-divider { height: 1px; background: linear-gradient(90deg, transparent 0%, rgba(124, 92, 252, 0.4) 50%, transparent 100%); }

/* ── Scroll Reveal System ── */
.reveal { opacity: 0; transform: translateY(50px); transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-60px); transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(60px); transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.reveal-scale { opacity: 0; transform: scale(0.9); transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-scale.visible { opacity: 1; transform: scale(1); }
.stagger-1 { transition-delay: 0.1s; } .stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; } .stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }

/* ── Stat Numbers ── */
.stat-number {
  display: inline-block;
  background: linear-gradient(135deg, #7c5cfc, #4cd7f6);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ── Form Inputs ── */
.form-input {
  background-color: #171f33;
  border: 1px solid rgba(76, 68, 81, 0.15);
  color: var(--text-primary);
  transition: all 0.3s ease;
}
.form-input:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(76, 215, 246, 0.1);
  outline: none;
}
.form-input::placeholder { color: rgba(218, 226, 253, 0.4); }
.form-input option { background-color: #131b2e; color: var(--text-primary); }

/* ── Newsletter Input ── */
.newsletter-input {
  background: rgba(14, 17, 40, 0.6); border: 1px solid rgba(124, 92, 252, 0.2);
  border-radius: 12px; padding: 14px 24px; color: var(--text-primary); outline: none; transition: border-color 0.2s;
}
.newsletter-input:focus { border-color: var(--accent-purple); }
.newsletter-input::placeholder { color: rgba(218, 226, 253, 0.3); }

/* ── Floating Badge ── */
.badge-new {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px;
  background: linear-gradient(135deg, rgba(124, 92, 252, 0.15), rgba(124, 92, 252, 0.05));
  border: 1px solid rgba(124, 92, 252, 0.3); border-radius: 8px;
  font-size: 13px; font-weight: 600; color: #c0c1ff;
}

/* ── CTA Dramatic Orb ── */
.cta-orb {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 500px; height: 500px; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(124,92,252,0.3), rgba(76,215,246,0.2), rgba(249,115,22,0.2), rgba(124,92,252,0.3));
  filter: blur(100px); animation: ctaSpin 15s linear infinite;
  pointer-events: none;
}
@keyframes ctaSpin { 0% { transform: translate(-50%,-50%) rotate(0deg); } 100% { transform: translate(-50%,-50%) rotate(360deg); } }

/* ── Ticker ── */
.ticker-wrapper { overflow: hidden; }
.ticker-track {
  display: flex; gap: 2rem; animation: ticker 25s linear infinite; width: max-content;
}
@keyframes ticker {
  0% { transform: translateX(0); } 100% { transform: translateX(-50%); }
}
.ticker-item {
  white-space: nowrap; font-size: 14px; font-weight: 500; color: rgba(218, 226, 253, 0.4);
  display: flex; align-items: center; gap: 0.5rem;
}
.ticker-dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(124, 92, 252, 0.4); }

/* ── Mobile Navigation ── */
.mobile-menu {
  position: fixed; top: 0; right: -100%; width: 80%; max-width: 360px; height: 100vh;
  background: rgba(5, 5, 16, 0.97); backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  z-index: 100; transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-left: 1px solid var(--border-subtle);
  padding: 80px 32px 32px;
}
.mobile-menu.open { right: 0; }
.mobile-menu-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5);
  z-index: 99; opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.mobile-menu-overlay.open { opacity: 1; pointer-events: auto; }
.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  background: none; border: none; padding: 8px;
  z-index: 101;
}
.hamburger span {
  display: block; width: 22px; height: 2px; background: var(--text-primary);
  transition: all 0.3s; border-radius: 2px;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
@media (max-width: 767px) {
  .hamburger { display: flex; }
}

/* ── Accessibility ── */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border-width: 0;
}
.sr-only:focus {
  position: fixed; top: 8px; left: 8px; width: auto; height: auto;
  padding: 12px 24px; margin: 0; overflow: visible; clip: auto;
  white-space: normal; z-index: 9999;
  background: var(--accent-purple); color: white; border-radius: 8px;
  font-weight: 700; font-size: 14px;
}

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right, .reveal-scale { transition: none; opacity: 1; transform: none; }
  .ticker-track { animation: none; }
  .cta-orb { animation: none; }
  .glass-panel, .bento-card, .light-card { transition: none; }
  .btn-primary, .btn-secondary { transition: none; }
}

/* ── Stat Accent Colors (for case study) ── */
.stat-accent-green { color: #22c55e; }
.stat-accent-cyan { color: #4cd7f6; }
.stat-accent-amber { color: #f59e0b; }
.stat-accent-primary { color: #c0c1ff; }

/* ── Timeline (for case study) ── */
.timeline-dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: #c0c1ff; border: 3px solid var(--bg-primary);
  position: absolute; left: -22px; top: 6px;
}
.timeline-line {
  position: absolute; left: -7px; top: 30px;
  width: 2px; height: 120px;
  background: linear-gradient(180deg, #c0c1ff 0%, transparent 100%);
}
@media (max-width: 768px) {
  .timeline-dot { left: -18px; width: 10px; height: 10px; }
}
