/* ========================================
   FOCUSCLOSE - Award-Winning Landing Page
   Premium CSS Design System
   ======================================== */

/* Reset & CSS Custom Properties */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Color System */
  --bg-primary: #070a0f;
  --bg-secondary: #0d1117;
  --bg-card: rgba(13, 17, 23, 0.6);
  --bg-card-hover: rgba(16, 185, 129, 0.03);
  --border-color: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(16, 185, 129, 0.2);

  --text-primary: #f0fdf4;
  --text-secondary: #d1d5db;
  --text-muted: #6b7280;

  --accent: #10b981;
  --accent-light: #34d399;
  --accent-dark: #059669;
  --accent-glow: rgba(16, 185, 129, 0.12);
  --accent-glow-strong: rgba(16, 185, 129, 0.25);

  --danger: #ef4444;
  --warning: #f59e0b;
  --success: #10b981;

  /* Typography */
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Animation */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.25, 0.1, 0.25, 1);

  /* Spacing */
  --section-padding: 8rem 2rem;
  --container-max: 1200px;
}

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

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

/* ========================================
   NOISE TEXTURE OVERLAY
   ======================================== */
.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* ========================================
   FLOATING GRADIENT ORBS
   ======================================== */
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 1;
  will-change: transform;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
  top: -10%;
  right: -10%;
  animation: orbFloat1 20s ease-in-out infinite;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.05) 0%, transparent 70%);
  bottom: 20%;
  left: -15%;
  animation: orbFloat2 25s ease-in-out infinite;
}

.orb-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.04) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  animation: orbFloat3 18s ease-in-out infinite;
}

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

@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(60px, -50px) scale(1.05); }
  66% { transform: translate(-30px, 70px) scale(0.9); }
}

@keyframes orbFloat3 {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.15); }
}

/* ========================================
   CURSOR GLOW EFFECT
   ======================================== */
.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 2;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
  will-change: left, top;
}

/* ========================================
   SCROLL REVEAL ANIMATIONS
   ======================================== */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
  transition-delay: var(--delay, 0s);
}

.reveal-up.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   NAVIGATION
   ======================================== */
.nav-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.4s var(--ease-smooth);
}

.nav-container.scrolled {
  background: rgba(7, 10, 15, 0.85);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border-bottom: 1px solid var(--border-color);
}

.nav-content {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 1.2rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-primary);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 0 20px var(--accent-glow);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.03);
}

.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--accent);
  color: #06090e;
  padding: 0.55rem 1.3rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.3s var(--ease-spring);
  box-shadow: 0 0 20px var(--accent-glow);
}

.nav-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 25px var(--accent-glow-strong);
}

/* Mobile menu button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 1px;
  transition: all 0.3s ease;
}

.mobile-menu {
  display: none;
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: flex; }
  
  .mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(7, 10, 15, 0.97);
    backdrop-filter: blur(20px);
    z-index: 999;
    align-items: center;
    justify-content: center;
  }

  .mobile-menu.open {
    display: flex;
  }

  .mobile-menu-inner {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .mobile-menu-inner a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.5rem;
    font-family: var(--font-display);
    font-weight: 600;
  }
}

/* ========================================
   MAGNETIC BUTTON EFFECT
   ======================================== */
.magnetic-btn {
  position: relative;
  overflow: hidden;
}

.btn-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.1) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: none;
}

.magnetic-btn:hover .btn-shine {
  animation: shine 0.6s forwards;
}

@keyframes shine {
  to { transform: translateX(100%); }
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
  min-height: 100vh;
  padding: 8rem 2rem 4rem 2rem;
  max-width: var(--container-max);
  margin: 0 auto;
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
  flex-grow: 1;
}

@media (max-width: 900px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
}

.promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.1rem;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.15);
  color: var(--accent-light);
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 4.8rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.title-line {
  display: block;
}

.gradient-text {
  background: linear-gradient(135deg, #34d399 0%, #10b981 40%, #6ee7b7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text-block .subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  line-height: 1.7;
  max-width: 520px;
}

.hero-text-block .subtitle em {
  color: var(--accent-light);
  font-style: normal;
  font-weight: 600;
}

@media (max-width: 900px) {
  .hero-text-block .subtitle { max-width: 100%; }
}

.hero-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 3rem;
}

@media (max-width: 900px) {
  .hero-actions { justify-content: center; flex-wrap: wrap; }
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: #06090e;
  padding: 0.85rem 2rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s var(--ease-spring);
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-glow-strong);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 0.85rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

/* Trust indicators */
.trust-row {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .trust-row { justify-content: center; }
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.trust-avatars {
  display: flex;
}

.avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--bg-primary);
  margin-right: -8px;
}

/* ========================================
   DEVICE MOCKUP
   ======================================== */
.hero-widget-block {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.device-glow {
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow-strong) 0%, transparent 70%);
  z-index: -1;
  animation: orbFloat3 12s ease-in-out infinite;
}

.device-mockup {
  width: 300px;
  height: 620px;
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  border: 3px solid rgba(255, 255, 255, 0.08);
  border-radius: 40px;
  position: relative;
  box-shadow: 
    0 25px 50px -12px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.device-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 28px;
  background: #000;
  border-radius: 14px;
  z-index: 30;
}

.device-screen {
  width: 100%;
  height: 100%;
  background: #0a0e18;
  position: relative;
  display: flex;
  flex-direction: column;
}

.screen-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2.8rem 1.5rem 0.5rem 1.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  z-index: 25;
}

.status-indicators {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* Phone UI */
.focus-phone-app {
  flex-grow: 1;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.phone-app-header h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}

.phone-app-header p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.app-selector-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.app-btn {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--text-primary);
}

.app-btn:hover { background: rgba(255, 255, 255, 0.05); }

.app-btn.active {
  border-color: var(--accent);
  background: rgba(16, 185, 129, 0.06);
  box-shadow: 0 0 12px var(--accent-glow);
}

.app-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: block;
}

.insta-gradient { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.yt-red { background: #ff0000; }
.tt-black { background: #000; border: 1px solid rgba(255,255,255,0.2); }
.rd-orange { background: #ff4500; }

.app-label { font-size: 0.7rem; font-weight: 600; }

.timer-config { margin-top: auto; }

.timer-heading {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.timer-value { color: var(--accent); font-family: var(--font-mono); }

.slider-track { position: relative; }

.range-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  outline: none;
  position: relative;
  z-index: 2;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  box-shadow: 0 0 10px var(--accent-glow-strong);
  transition: transform 0.15s ease;
}

.range-slider::-webkit-slider-thumb:hover { transform: scale(1.2); }

.slider-fill {
  position: absolute;
  top: 50%;
  left: 0;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 1;
}

.btn-activate {
  width: 100%;
  padding: 0.8rem;
  background: var(--accent);
  color: #06090e;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.btn-activate:hover {
  box-shadow: 0 4px 15px var(--accent-glow-strong);
  transform: translateY(-1px);
}

/* Overlays inside phone */
.app-screen-overlay {
  position: absolute;
  inset: 0;
  background: #0f0f0f;
  z-index: 40;
  transform: translateY(100%);
  transition: transform 0.45s var(--ease-out-expo);
  display: flex;
  flex-direction: column;
}

.app-screen-overlay.active { transform: translateY(0); }

.target-app-bar {
  padding: 3rem 1.5rem 0.75rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-weight: 600;
  font-size: 0.9rem;
}

.back-btn { font-size: 1.5rem; cursor: pointer; }

.target-app-body {
  flex-grow: 1;
  padding: 1rem;
  overflow-y: auto;
}

.mock-post {
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.mock-post-header {
  height: 40px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  padding: 0 10px;
  font-size: 0.7rem;
  font-weight: 700;
  gap: 6px;
}

.mock-post-image {
  height: 180px;
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  flex-direction: column;
  gap: 6px;
}

/* HUD timer overlay */
.floating-hud {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.5rem 1rem;
  background: rgba(0, 0, 0, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  backdrop-filter: blur(8px);
  z-index: 45;
}

.hud-ring {
  width: 22px;
  height: 22px;
}

.circular-timer {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.timer-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 3;
}

.timer-fill {
  fill: none;
  stroke: var(--danger);
  stroke-width: 3;
  stroke-linecap: round;
  transition: stroke-dasharray 0.1s linear;
}

.floating-hud strong {
  color: var(--danger);
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

/* Success screen */
.success-screen-overlay {
  position: absolute;
  inset: 0;
  background: var(--bg-primary);
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  transform: scale(0.9);
  opacity: 0;
  pointer-events: none;
  transition: all 0.5s var(--ease-out-expo);
}

.success-screen-overlay.active {
  transform: scale(1);
  opacity: 1;
  pointer-events: auto;
}

.success-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.success-checkmark {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  animation: checkmark-pop 0.5s var(--ease-spring);
}

@keyframes checkmark-pop {
  0% { transform: scale(0); }
  100% { transform: scale(1); }
}

.success-screen-overlay h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}

.success-screen-overlay p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.stat-highlight {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--accent);
  background: rgba(16, 185, 129, 0.06);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(16, 185, 129, 0.12);
}

.btn-reset {
  padding: 0.7rem 1.4rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.82rem;
  transition: all 0.3s ease;
}

.btn-reset:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
}

/* Scroll indicator */
.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 2rem 0;
  animation: fade-bounce 2s infinite;
}

.scroll-mouse {
  width: 24px;
  height: 36px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  position: relative;
}

.scroll-wheel {
  width: 3px;
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll-anim 2s infinite;
}

@keyframes scroll-anim {
  0% { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

.scroll-indicator span {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

@keyframes fade-bounce {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* ========================================
   MARQUEE / LOGO CLOUD
   ======================================== */
.marquee-section {
  padding: 3rem 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
  position: relative;
  z-index: 10;
}

.marquee-label {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.5rem;
}

.marquee-track {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, black 15%, black 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 15%, black 85%, transparent 100%);
}

.marquee-inner {
  display: flex;
  gap: 2rem;
  animation: marquee 30s linear infinite;
  width: max-content;
}

.marquee-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.15);
  white-space: nowrap;
}

.marquee-dot {
  color: rgba(255, 255, 255, 0.08);
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ========================================
   FEATURES BENTO GRID
   ======================================== */
.features-section {
  padding: var(--section-padding);
  position: relative;
  z-index: 10;
}

.features-container {
  max-width: var(--container-max);
  margin: 0 auto;
}

.section-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.12);
  color: var(--accent-light);
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 550px;
  margin-bottom: 4rem;
  line-height: 1.6;
}

.bento-features {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.bento-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at var(--card-x, 0px) var(--card-y, 0px), rgba(16, 185, 129, 0.04), transparent 40%);
  z-index: 1;
  pointer-events: none;
}

.bento-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.bento-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  position: relative;
  z-index: 2;
}

.bento-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
  position: relative;
  z-index: 2;
}

.bento-large { grid-column: span 7; min-height: 320px; }
.bento-medium { grid-column: span 5; }
.bento-wide { grid-column: span 7; display: flex; gap: 2rem; align-items: center; }
.bento-accent {
  grid-column: span 5;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(16, 185, 129, 0.02) 100%);
  border-color: rgba(16, 185, 129, 0.15);
}

@media (max-width: 900px) {
  .bento-large, .bento-medium, .bento-wide, .bento-accent {
    grid-column: span 12;
  }
  .bento-wide { flex-direction: column; }
}

.bento-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--accent);
  position: relative;
  z-index: 2;
}

.bento-visual {
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

/* Process animation in bento card */
.process-animation {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1.5rem 0;
  flex-wrap: wrap;
  justify-content: center;
}

.process-node {
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  font-weight: 500;
  border: 1px solid var(--border-color);
  background: rgba(255,255,255,0.02);
  position: relative;
}

.node-active { border-color: var(--accent); color: var(--accent); }
.node-target { border-color: var(--warning); color: var(--warning); }
.node-killed { border-color: var(--danger); color: var(--danger); }

.node-pulse {
  position: absolute;
  inset: -2px;
  border-radius: 10px;
  border: 2px solid var(--accent);
  animation: node-pulse-anim 2s infinite;
}

.pulse-red { border-color: var(--danger); }

@keyframes node-pulse-anim {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0; transform: scale(1.15); }
}

.process-line {
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--warning));
}

.line-red {
  background: linear-gradient(90deg, var(--warning), var(--danger));
}

.card-badge {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.3rem 0.8rem;
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.1);
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  font-family: var(--font-mono);
  position: relative;
  z-index: 2;
}

/* Warning bar animation */
.warning-demo {
  margin-top: 1rem;
  position: relative;
  z-index: 2;
}

.warning-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  overflow: hidden;
}

.warning-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--warning), var(--danger));
  border-radius: 2px;
  animation: warning-progress 4s infinite;
}

@keyframes warning-progress {
  0% { width: 0%; }
  70% { width: 70%; background: linear-gradient(90deg, var(--accent), var(--warning)); }
  100% { width: 100%; background: linear-gradient(90deg, var(--warning), var(--danger)); }
}

.warning-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
  display: block;
}

.accent-number {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 800;
  color: rgba(16, 185, 129, 0.15);
  line-height: 1;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

/* Platform chips */
.platform-icons {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.platform-chip {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ========================================
   STATS SECTION
   ======================================== */
.stats-section {
  padding: var(--section-padding);
  position: relative;
  z-index: 10;
}

.stats-container {
  max-width: var(--container-max);
  margin: 0 auto;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}

@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 500px) {
  .stats-grid { grid-template-columns: 1fr; }
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  transition: all 0.4s var(--ease-out-expo);
}

.stat-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.stat-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.stat-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  overflow: hidden;
}

.stat-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: 2px;
  transition: width 1.5s var(--ease-out-expo);
}

.stat-card.revealed .stat-bar-fill {
  width: var(--fill);
}

/* ========================================
   COMPARISON TABLE
   ======================================== */
.comparison-section {
  padding: var(--section-padding);
  position: relative;
  z-index: 10;
}

.comparison-container {
  max-width: 800px;
  margin: 0 auto;
}

.comparison-table {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
  margin-top: 4rem;
  backdrop-filter: blur(12px);
}

.comp-header, .comp-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1rem;
  padding: 1rem 1.5rem;
}

.comp-header {
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border-color);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.comp-row {
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  align-items: center;
  transition: background 0.2s ease;
}

.comp-row:last-child { border-bottom: none; }
.comp-row:hover { background: rgba(255, 255, 255, 0.02); }

.comp-feature { font-size: 0.9rem; font-weight: 600; }
.comp-them, .comp-us { font-size: 0.85rem; }

.badge-positive {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  background: rgba(16, 185, 129, 0.08);
  color: var(--accent);
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.8rem;
}

.badge-negative {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  background: rgba(239, 68, 68, 0.08);
  color: var(--danger);
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.8rem;
}

.badge-neutral {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  background: rgba(245, 158, 11, 0.08);
  color: var(--warning);
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.8rem;
}

@media (max-width: 600px) {
  .comp-header, .comp-row { font-size: 0.75rem; padding: 0.75rem 1rem; }
}

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonials-section {
  padding: var(--section-padding);
  position: relative;
  z-index: 10;
}

.testimonials-container {
  max-width: var(--container-max);
  margin: 0 auto;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}

@media (max-width: 900px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.4s var(--ease-out-expo);
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-3px);
}

.testimonial-featured {
  border-color: rgba(16, 185, 129, 0.15);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.04) 0%, var(--bg-card) 100%);
}

.testimonial-stars {
  color: #fbbf24;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-size: 0.9rem;
}

.testimonial-author span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ========================================
   TIMELINE / HOW IT WORKS
   ======================================== */
.timeline-section {
  padding: var(--section-padding);
  position: relative;
  z-index: 10;
}

.timeline-container {
  max-width: 900px;
  margin: 0 auto;
}

.timeline {
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
  align-items: center;
}

@media (max-width: 600px) {
  .timeline-item { grid-template-columns: 1fr; }
}

.timeline-number {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 800;
  color: rgba(16, 185, 129, 0.12);
  line-height: 1;
  min-width: 80px;
}

.timeline-content h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.timeline-content p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.timeline-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mini-app-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

.mini-app {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.mini-app.selected {
  border-color: var(--accent);
  background: rgba(16, 185, 129, 0.06);
}

.mini-timer {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 3px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  position: relative;
}

.mini-timer-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  animation: node-pulse-anim 2s infinite;
}

.mini-kill {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.kill-x {
  font-size: 2rem;
  color: var(--danger);
  font-weight: 900;
}

.kill-text {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--danger);
  font-weight: 700;
  letter-spacing: 0.1em;
}

/* ========================================
   FAQ SECTION
   ======================================== */
.faq-section {
  padding: var(--section-padding);
  position: relative;
  z-index: 10;
}

.faq-container {
  max-width: 750px;
  margin: 0 auto;
}

.faq-list {
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq-item:hover { border-color: rgba(255, 255, 255, 0.1); }
.faq-item.open { border-color: var(--border-hover); }

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-body);
}

.faq-chevron {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.3s var(--ease-out-expo);
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out-expo), padding 0.4s var(--ease-out-expo);
  padding: 0 1.5rem;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 1.5rem 1.5rem 1.5rem;
}

.faq-answer p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
  padding: var(--section-padding);
  position: relative;
  z-index: 10;
}

.cta-container {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.cta-glow {
  position: absolute;
  width: 500px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
}

.cta-content {
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 4rem 3rem;
  backdrop-filter: blur(12px);
}

.cta-section h2 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.cta-section p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.cta-form {
  display: flex;
  gap: 0.75rem;
  max-width: 480px;
  margin: 0 auto;
}

@media (max-width: 600px) {
  .cta-form { flex-direction: column; }
  .cta-content { padding: 3rem 1.5rem; }
}

.input-wrapper {
  flex-grow: 1;
  position: relative;
  display: flex;
  align-items: center;
}

.input-wrapper svg {
  position: absolute;
  left: 1rem;
  color: var(--text-muted);
  pointer-events: none;
}

.input-wrapper input {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  padding: 0.9rem 1rem 0.9rem 2.8rem;
  border-radius: 12px;
  color: var(--text-primary);
  outline: none;
  font-size: 0.95rem;
  transition: border-color 0.3s ease;
  font-family: var(--font-body);
}

.input-wrapper input:focus { border-color: var(--accent); }

.cta-form .btn-primary { white-space: nowrap; }

.form-feedback {
  font-size: 0.9rem;
  margin-top: 1rem;
  font-weight: 500;
  min-height: 1.4em;
}

.form-feedback.success { color: var(--accent); }

.cta-disclaimer {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
  border-top: 1px solid var(--border-color);
  position: relative;
  z-index: 10;
}

.footer-content {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 4rem 2rem 2rem 2rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (max-width: 600px) {
  .footer-links { grid-template-columns: 1fr; }
}

.footer-col h4 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.3rem 0;
  transition: color 0.2s ease;
}

.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.footer-socials a {
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.footer-socials a:hover { color: var(--accent); }

/* ========================================
   SHAKE ANIMATION
   ======================================== */
@keyframes shake {
  0%, 100% { transform: translate(0, 0); }
  10%, 30%, 50%, 70%, 90% { transform: translate(-4px, 0); }
  20%, 40%, 60%, 80% { transform: translate(4px, 0); }
}

.shake-animation { animation: shake 0.5s ease; }

/* ========================================
   CUSTOM SCROLLBAR
   ======================================== */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.15);
}
