:root {
  --ac-bg: #06080d;
  --ac-bg-card: #0c1018;
  --ac-bg-elevated: #111827;
  --ac-primary: #3b82f6;
  --ac-primary-soft: rgba(59, 130, 246, 0.12);
  --ac-accent: #f97316;
  --ac-accent-soft: rgba(249, 115, 22, 0.12);
  --ac-accent-glow: rgba(249, 115, 22, 0.25);
  --ac-green: #22c55e;
  --ac-green-soft: rgba(34, 197, 94, 0.12);
  --ac-text: #f1f5f9;
  --ac-text-secondary: #94a3b8;
  --ac-text-muted: #64748b;
  --ac-border: rgba(255, 255, 255, 0.06);
  --ac-border-hover: rgba(255, 255, 255, 0.12);
  --ac-radius: 12px;
  --ac-radius-lg: 20px;
  --ac-radius-xl: 28px;
  --ac-font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --ac-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  font-family: var(--ac-font);
  color: var(--ac-text);
  background: var(--ac-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ========================================
   NAVBAR
   ======================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 24px;
  transition: background var(--ac-transition), box-shadow var(--ac-transition);
}

.navbar.scrolled {
  background: rgba(6, 8, 13, 0.85);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  box-shadow: 0 1px 0 var(--ac-border);
}

.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ac-text);
}

.navbar-brand-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--ac-accent), #fb923c);
  border-radius: 8px;
  font-size: 16px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.5px;
}

.navbar-brand-text {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 2px;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navbar-links a {
  color: var(--ac-text-secondary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: color var(--ac-transition);
}

.navbar-links a:hover {
  color: var(--ac-text);
}

.navbar-cta {
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid rgba(249, 115, 22, 0.25);
  padding: 8px 20px;
  border-radius: 8px;
  color: var(--ac-accent) !important;
  font-weight: 600 !important;
  transition: all var(--ac-transition) !important;
}

.navbar-cta:hover {
  background: rgba(249, 115, 22, 0.18) !important;
  border-color: rgba(249, 115, 22, 0.4) !important;
  box-shadow: 0 0 20px rgba(249, 115, 22, 0.15);
}

/* ========================================
   HERO
   ======================================== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px 24px 80px;
  gap: 60px;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 30%, transparent 100%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

.hero-glow-1 {
  top: 10%;
  left: 15%;
  width: 500px;
  height: 500px;
  background: rgba(249, 115, 22, 0.07);
  animation: glowFloat 8s ease-in-out infinite;
}

.hero-glow-2 {
  bottom: 10%;
  right: 10%;
  width: 400px;
  height: 400px;
  background: rgba(59, 130, 246, 0.06);
  animation: glowFloat 10s ease-in-out infinite reverse;
}

.hero-glow-3 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: rgba(249, 115, 22, 0.03);
  animation: glowPulse 6s ease-in-out infinite;
}

@keyframes glowFloat {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(20px, -30px); }
  66% { transform: translate(-15px, 20px); }
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.15); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 560px;
  flex-shrink: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ac-accent-soft);
  border: 1px solid rgba(249, 115, 22, 0.2);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
  animation: fadeInUp 0.6s ease both;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--ac-accent);
  border-radius: 50%;
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { opacity: 0.6; box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.4); }
  50% { opacity: 1; box-shadow: 0 0 0 4px rgba(249, 115, 22, 0); }
}

#hero-badge-text {
  color: var(--ac-accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.hero-title {
  margin-bottom: 20px;
  animation: fadeInUp 0.6s ease 0.1s both;
}

.hero-title-main {
  display: block;
  font-size: clamp(52px, 7vw, 76px);
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1;
  background: linear-gradient(135deg, var(--ac-accent) 0%, #fb923c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title-suffix {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--ac-text-muted);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-top: 8px;
}

.hero-subtitle {
  font-size: clamp(18px, 2.5vw, 24px);
  color: var(--ac-text-secondary);
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 12px;
  animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-description {
  font-size: 15px;
  color: var(--ac-text-muted);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 36px;
  animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease 0.4s both;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Hero Visual (floating cards) --- */

.hero-visual {
  position: relative;
  z-index: 1;
  width: 320px;
  height: 360px;
  flex-shrink: 0;
}

.hero-card {
  position: absolute;
  background: var(--ac-bg-card);
  border: 1px solid var(--ac-border);
  border-radius: var(--ac-radius);
  padding: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  backdrop-filter: blur(10px);
  animation: cardFloat 6s ease-in-out infinite;
  width: 240px;
}

.hero-card-1 {
  top: 0;
  left: 0;
  animation-delay: 0s;
}

.hero-card-2 {
  top: 120px;
  left: 60px;
  animation-delay: -2s;
}

.hero-card-3 {
  top: 240px;
  left: 10px;
  animation-delay: -4s;
}

@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--ac-primary-soft);
  color: var(--ac-primary);
  flex-shrink: 0;
}

.hero-card-icon-accent {
  background: var(--ac-accent-soft);
  color: var(--ac-accent);
}

.hero-card-icon-green {
  background: var(--ac-green-soft);
  color: var(--ac-green);
}

.hero-card-lines {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 4px;
}

.hero-card-line {
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.06);
}

.hero-card-line-accent {
  background: rgba(249, 115, 22, 0.2);
}

.hero-card-line-green {
  background: rgba(34, 197, 94, 0.2);
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--ac-font);
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all var(--ac-transition);
  position: relative;
  overflow: hidden;
}

.btn-glow {
  background: linear-gradient(135deg, var(--ac-accent), #fb923c);
  color: #fff;
  box-shadow: 0 0 20px rgba(249, 115, 22, 0.2);
}

.btn-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(249, 115, 22, 0.35), 0 8px 24px rgba(249, 115, 22, 0.2);
}

.btn-glow::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--ac-transition);
}

.btn-glow:hover::after {
  opacity: 1;
}

.btn-ghost {
  background: transparent;
  color: var(--ac-text-secondary);
  border: 1px solid var(--ac-border-hover);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--ac-text);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 15px;
  border-radius: 12px;
}

/* ========================================
   STATS
   ======================================== */

.stats {
  padding: 64px 24px;
  background: var(--ac-bg-card);
  border-top: 1px solid var(--ac-border);
  border-bottom: 1px solid var(--ac-border);
}

.stats-inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 36px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--ac-text), var(--ac-text-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}

.stat-label {
  font-size: 13px;
  color: var(--ac-text-muted);
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--ac-border);
}

/* ========================================
   FEATURES
   ======================================== */

.features {
  padding: 120px 24px;
  position: relative;
}

.features-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.features-header {
  text-align: center;
  margin-bottom: 64px;
}

.features-title {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--ac-text);
  margin-bottom: 14px;
}

.features-subtitle {
  font-size: 15px;
  color: var(--ac-text-muted);
  max-width: 520px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  position: relative;
  background: var(--ac-bg-card);
  border: 1px solid var(--ac-border);
  border-radius: var(--ac-radius-lg);
  padding: 32px 28px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.feature-card-glow {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--ac-accent-soft);
  filter: blur(50px);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.feature-card:hover {
  border-color: var(--ac-border-hover);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.feature-card:hover .feature-card-glow {
  opacity: 1;
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--ac-accent-soft);
  color: var(--ac-accent);
  margin-bottom: 20px;
  transition: all var(--ac-transition);
}

.feature-card:hover .feature-icon {
  background: var(--ac-accent-glow);
  box-shadow: 0 0 20px rgba(249, 115, 22, 0.15);
}

.feature-card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--ac-text);
  margin-bottom: 10px;
}

.feature-card-desc {
  font-size: 14px;
  color: var(--ac-text-muted);
  line-height: 1.65;
}

/* ========================================
   CTA
   ======================================== */

.cta {
  padding: 120px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  color: var(--ac-text);
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.cta-subtitle {
  font-size: 15px;
  color: var(--ac-text-muted);
  margin-bottom: 36px;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
  border-top: 1px solid var(--ac-border);
  padding: 64px 24px 0;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--ac-text);
  margin-bottom: 12px;
}

.footer-brand-desc {
  font-size: 13px;
  color: var(--ac-text-muted);
  line-height: 1.6;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  color: var(--ac-text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 13px;
  color: var(--ac-text-muted);
  text-decoration: none;
  padding: 4px 0;
  transition: color var(--ac-transition);
}

.footer-col a:hover {
  color: var(--ac-text);
}

.footer-bottom {
  border-top: 1px solid var(--ac-border);
  padding: 20px 0;
  max-width: 1100px;
  margin: 0 auto;
}

.footer-bottom p {
  font-size: 12px;
  color: var(--ac-text-muted);
}

/* ========================================
   SCROLL ANIMATIONS
   ======================================== */

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1023px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 140px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    display: none;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 639px) {
  .navbar-links a:not(.navbar-cta) {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 300px;
  }

  .stats-inner {
    flex-direction: column;
    gap: 28px;
  }

  .stat-divider {
    width: 40px;
    height: 1px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .features {
    padding: 80px 16px;
  }
}
