/* ============================================
   STUDENTAI.FR — CYBERPUNK GAMING THEME
   Dark / Neon / Glitch / Scanlines
   ============================================ */

/* --- Google Fonts (loaded in HTML) --- */
/* Rajdhani (bold gaming), Share Tech Mono (monospace terminal) */

/* --- Custom Properties --- */
:root {
  --bg:         #0a0a0f;
  --bg-surface: #12121a;
  --bg-card:    #0e0e18;
  --primary:    #ff006e;
  --secondary:  #00f5ff;
  --accent:     #39ff14;
  --text:       #ffffff;
  --text-muted: #a0a0b0;
  --text-dim:   #5a5a70;
  --border:     rgba(0, 245, 255, 0.12);
  --border-hot: rgba(255, 0, 110, 0.25);
  --glow-pink:  0 0 20px rgba(255, 0, 110, 0.5), 0 0 60px rgba(255, 0, 110, 0.2);
  --glow-cyan:  0 0 20px rgba(0, 245, 255, 0.5), 0 0 60px rgba(0, 245, 255, 0.2);
  --glow-green: 0 0 20px rgba(57, 255, 20, 0.5), 0 0 60px rgba(57, 255, 20, 0.2);
  --font-head:  'Rajdhani', 'Impact', sans-serif;
  --font-mono:  'Share Tech Mono', 'Courier New', monospace;
  --font-body:  'Inter', -apple-system, sans-serif;
  --radius:     4px;
  --radius-lg:  8px;
  --section-gap: 120px;
  --container:  1200px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

/* Global scanline overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.04) 2px,
    rgba(0, 0, 0, 0.04) 4px
  );
  pointer-events: none;
  z-index: 9999;
  animation: scanline-drift 8s linear infinite;
}

@keyframes scanline-drift {
  0%   { background-position: 0 0; }
  100% { background-position: 0 100vh; }
}

/* Global grid background */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,245,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,245,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

img, svg { display: block; max-width: 100%; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* --- Layout --- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ============================================
   KEYFRAME ANIMATIONS
   ============================================ */

@keyframes glitch-1 {
  0%   { clip-path: inset(0 0 95% 0); transform: translate(-3px, 0); }
  20%  { clip-path: inset(40% 0 45% 0); transform: translate(3px, 0); }
  40%  { clip-path: inset(70% 0 10% 0); transform: translate(-2px, 0); }
  60%  { clip-path: inset(20% 0 70% 0); transform: translate(2px, 0); }
  80%  { clip-path: inset(85% 0 5% 0); transform: translate(-3px, 0); }
  100% { clip-path: inset(0 0 95% 0); transform: translate(0, 0); }
}

@keyframes glitch-2 {
  0%   { clip-path: inset(50% 0 30% 0); transform: translate(2px, 0); color: var(--primary); }
  25%  { clip-path: inset(10% 0 80% 0); transform: translate(-2px, 0); color: var(--secondary); }
  50%  { clip-path: inset(75% 0 10% 0); transform: translate(3px, 0); color: var(--primary); }
  75%  { clip-path: inset(30% 0 55% 0); transform: translate(-1px, 0); color: var(--secondary); }
  100% { clip-path: inset(50% 0 30% 0); transform: translate(2px, 0); color: var(--primary); }
}

@keyframes neon-pulse-pink {
  0%, 100% { box-shadow: 0 0 10px rgba(255,0,110,0.4), 0 0 30px rgba(255,0,110,0.2), inset 0 0 10px rgba(255,0,110,0.05); }
  50%       { box-shadow: 0 0 20px rgba(255,0,110,0.8), 0 0 60px rgba(255,0,110,0.4), 0 0 100px rgba(255,0,110,0.1), inset 0 0 20px rgba(255,0,110,0.1); }
}

@keyframes neon-pulse-cyan {
  0%, 100% { box-shadow: 0 0 10px rgba(0,245,255,0.4), 0 0 30px rgba(0,245,255,0.2), inset 0 0 10px rgba(0,245,255,0.05); }
  50%       { box-shadow: 0 0 20px rgba(0,245,255,0.8), 0 0 60px rgba(0,245,255,0.4), 0 0 100px rgba(0,245,255,0.1), inset 0 0 20px rgba(0,245,255,0.1); }
}

@keyframes neon-pulse-green {
  0%, 100% { box-shadow: 0 0 10px rgba(57,255,20,0.4), 0 0 30px rgba(57,255,20,0.2); }
  50%       { box-shadow: 0 0 20px rgba(57,255,20,0.8), 0 0 60px rgba(57,255,20,0.4); }
}

@keyframes float-up-down {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-12px); }
}

@keyframes float-down-up {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(12px); }
}

@keyframes blink-cursor {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

@keyframes reveal-up {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

@keyframes corner-flash {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 1; }
}

@keyframes rgb-shift {
  0%   { text-shadow: 2px 0 0 rgba(255,0,110,0.7), -2px 0 0 rgba(0,245,255,0.7); }
  25%  { text-shadow: -2px 0 0 rgba(255,0,110,0.7), 2px 0 0 rgba(0,245,255,0.7); }
  50%  { text-shadow: 2px 0 0 rgba(57,255,20,0.7), -2px 0 0 rgba(255,0,110,0.7); }
  75%  { text-shadow: -2px 0 0 rgba(57,255,20,0.7), 2px 0 0 rgba(0,245,255,0.7); }
  100% { text-shadow: 2px 0 0 rgba(255,0,110,0.7), -2px 0 0 rgba(0,245,255,0.7); }
}

@keyframes counter-up {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

@keyframes border-spin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--primary);
  padding: 14px 32px;
  border: 2px solid var(--primary);
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  transition: all 0.2s ease;
  position: relative;
  cursor: pointer;
  white-space: nowrap;
  text-shadow: none;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  opacity: 0;
  transition: opacity 0.2s;
}

.btn-primary:hover {
  background: #ff3388;
  box-shadow: var(--glow-pink);
  transform: translateY(-2px);
}

.btn-primary:hover::before { opacity: 1; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--secondary);
  background: transparent;
  padding: 14px 32px;
  border: 2px solid var(--secondary);
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn-secondary:hover {
  background: rgba(0,245,255,0.08);
  box-shadow: var(--glow-cyan);
  transform: translateY(-2px);
}

.btn-sm {
  font-size: 0.875rem;
  padding: 10px 22px;
}

/* ============================================
   HEADER / NAV
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0;
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.site-header.scrolled {
  border-color: rgba(0,245,255,0.25);
  box-shadow: 0 0 40px rgba(0,245,255,0.06);
}

.navbar {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 70px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-mark {
  display: flex;
  align-items: center;
  color: var(--secondary);
  filter: drop-shadow(0 0 8px rgba(0,245,255,0.6));
}

.logo-text {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
}

.logo-text span {
  color: var(--primary);
  filter: drop-shadow(0 0 6px rgba(255,0,110,0.7));
}

.logo-text small {
  font-size: 0.65rem;
  color: var(--secondary);
  letter-spacing: 0.15em;
  display: block;
  line-height: 1;
  font-family: var(--font-mono);
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.nav-links a {
  font-family: var(--font-head);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  box-shadow: 0 0 8px rgba(255,0,110,0.8);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s;
}

.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.nav-status {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 6px;
  text-shadow: 0 0 6px rgba(57,255,20,0.6);
}

.nav-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(57,255,20,0.8);
  animation: neon-pulse-green 1.5s ease-in-out infinite;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--secondary);
  border-radius: 0;
  transition: transform 0.25s, opacity 0.25s;
  box-shadow: 0 0 6px rgba(0,245,255,0.6);
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 300px;
  max-width: 85vw;
  background: var(--bg-surface);
  z-index: 200;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  border-left: 1px solid var(--border);
  box-shadow: -20px 0 60px rgba(0,245,255,0.05);
}

.mobile-drawer.open { transform: translateX(0); }

.drawer-close {
  align-self: flex-end;
  padding: 6px;
  color: var(--text-muted);
  margin-bottom: 24px;
  transition: color 0.15s;
}
.drawer-close:hover { color: var(--primary); }

.drawer-link {
  display: block;
  font-family: var(--font-head);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.15s;
}
.drawer-link:hover { color: var(--secondary); }

.drawer-cta {
  margin-top: auto;
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 199;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.drawer-overlay.visible {
  opacity: 1;
  pointer-events: all;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  padding-top: 140px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

/* Radial glow backgrounds */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-bg-glow-1 {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,0,110,0.12) 0%, transparent 70%);
  top: -200px;
  right: -100px;
  animation: float-up-down 8s ease-in-out infinite;
}

.hero-bg-glow-2 {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,245,255,0.08) 0%, transparent 70%);
  bottom: -150px;
  left: -100px;
  animation: float-down-up 10s ease-in-out infinite;
}

.hero-bg-glow-3 {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(57,255,20,0.05) 0%, transparent 70%);
  top: 50%;
  left: 40%;
  transform: translate(-50%, -50%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Hero content */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
  background: rgba(57,255,20,0.06);
  border: 1px solid rgba(57,255,20,0.2);
  padding: 6px 16px;
  margin-bottom: 28px;
  text-shadow: 0 0 8px rgba(57,255,20,0.6);
  letter-spacing: 0.12em;
}

.hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(57,255,20,0.8);
  animation: neon-pulse-green 1.5s ease-in-out infinite;
}

/* Glitch headline */
.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(3.2rem, 6vw, 6rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 8px;
  position: relative;
}

.hero-headline-main {
  display: block;
  position: relative;
}

.hero-headline-main::before,
.hero-headline-main::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
}

.hero-headline-main::before {
  color: var(--primary);
  animation: glitch-1 4s infinite linear;
  z-index: -1;
}

.hero-headline-main::after {
  color: var(--secondary);
  animation: glitch-2 4s infinite linear 0.5s;
  z-index: -2;
}

.hero-headline-accent {
  display: block;
  color: var(--primary);
  filter: drop-shadow(0 0 20px rgba(255,0,110,0.5));
  font-size: clamp(3.8rem, 7vw, 7rem);
}

.hero-sub {
  font-family: var(--font-mono);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 40px;
  border-left: 3px solid var(--secondary);
  padding-left: 16px;
}

.hero-sub span {
  color: var(--secondary);
  text-shadow: 0 0 8px rgba(0,245,255,0.6);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

/* Floating stats */
.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-stat-value {
  font-family: var(--font-mono);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--secondary);
  text-shadow: 0 0 12px rgba(0,245,255,0.7);
  line-height: 1;
}

.hero-stat-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--border), transparent);
  align-self: center;
}

/* Hero right: App mockup */
.hero-mockup {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.cyber-terminal {
  background: var(--bg-card);
  border: 1px solid rgba(0,245,255,0.2);
  width: 100%;
  max-width: 480px;
  position: relative;
  box-shadow: 0 0 40px rgba(0,245,255,0.08), 0 0 80px rgba(255,0,110,0.04);
  animation: float-up-down 7s ease-in-out infinite;
}

/* Angular corners */
.cyber-terminal::before,
.cyber-terminal::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  animation: corner-flash 2s ease-in-out infinite;
}
.cyber-terminal::before {
  top: -2px; left: -2px;
  border-top: 2px solid var(--primary);
  border-left: 2px solid var(--primary);
  box-shadow: -4px -4px 12px rgba(255,0,110,0.4);
}
.cyber-terminal::after {
  bottom: -2px; right: -2px;
  border-bottom: 2px solid var(--secondary);
  border-right: 2px solid var(--secondary);
  box-shadow: 4px 4px 12px rgba(0,245,255,0.4);
}

.terminal-header {
  background: rgba(0,245,255,0.04);
  border-bottom: 1px solid rgba(0,245,255,0.12);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--secondary);
  letter-spacing: 0.1em;
  text-shadow: 0 0 6px rgba(0,245,255,0.6);
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.t-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.t-dot:nth-child(1) { background: var(--primary); box-shadow: 0 0 6px rgba(255,0,110,0.6); }
.t-dot:nth-child(2) { background: #ffd700; box-shadow: 0 0 6px rgba(255,215,0,0.6); }
.t-dot:nth-child(3) { background: var(--accent); box-shadow: 0 0 6px rgba(57,255,20,0.6); }

.terminal-body {
  padding: 20px;
}

.terminal-messages {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 16px;
  min-height: 200px;
}

.t-msg { display: flex; flex-direction: column; }

.t-msg--user { align-items: flex-end; }

.t-msg--ai {
  align-items: flex-start;
  flex-direction: row;
  gap: 10px;
}

.t-msg-avatar {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  background: rgba(255,0,110,0.1);
  border: 1px solid rgba(255,0,110,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.t-msg-avatar svg { color: var(--primary); }

.t-msg-bubble {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.6;
  padding: 10px 14px;
  max-width: 85%;
}

.t-msg--user .t-msg-bubble {
  background: rgba(255,0,110,0.08);
  border: 1px solid rgba(255,0,110,0.25);
  color: var(--text);
  border-radius: 0 8px 0 8px;
}

.t-msg--ai .t-msg-content { flex: 1; }

.t-msg--ai .t-msg-bubble {
  background: rgba(0,245,255,0.04);
  border: 1px solid rgba(0,245,255,0.15);
  color: var(--text-muted);
  border-radius: 8px 0 8px 0;
}

.t-msg-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--primary);
  margin-bottom: 4px;
  letter-spacing: 0.08em;
}

.t-cursor {
  display: inline-block;
  width: 8px;
  height: 1em;
  background: var(--secondary);
  margin-left: 2px;
  vertical-align: text-bottom;
  box-shadow: 0 0 6px rgba(0,245,255,0.8);
  animation: blink-cursor 1s step-end infinite;
}

.terminal-input-row {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(0,245,255,0.15);
  background: rgba(0,245,255,0.03);
  padding: 8px 12px;
}

.terminal-prompt {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
  text-shadow: 0 0 6px rgba(57,255,20,0.6);
  flex-shrink: 0;
}

.terminal-input {
  flex: 1;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-dim);
  outline: none;
  background: transparent;
  border: none;
}

.terminal-send {
  width: 30px;
  height: 30px;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: white;
  transition: all 0.2s;
}
.terminal-send:hover {
  background: #ff3388;
  box-shadow: 0 0 12px rgba(255,0,110,0.6);
}

/* Floating accent cards */
.float-card {
  position: absolute;
  background: var(--bg-surface);
  border: 1px solid rgba(0,245,255,0.2);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  z-index: 10;
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
  box-shadow: 0 0 20px rgba(0,245,255,0.1);
}

.float-card--1 {
  bottom: -30px;
  left: -40px;
  animation: float-down-up 6s ease-in-out infinite;
  border-color: rgba(57,255,20,0.3);
  box-shadow: 0 0 20px rgba(57,255,20,0.1);
}

.float-card--2 {
  top: 10px;
  right: -36px;
  animation: float-up-down 8s ease-in-out infinite;
}

.float-card-icon {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--accent);
  text-shadow: 0 0 8px rgba(57,255,20,0.8);
}

.float-card-icon--cyan {
  color: var(--secondary);
  text-shadow: 0 0 8px rgba(0,245,255,0.8);
}

.float-card-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.float-card-value {
  font-family: var(--font-head);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text);
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
  background: var(--bg-surface);
  border-top: 1px solid rgba(0,245,255,0.1);
  border-bottom: 1px solid rgba(0,245,255,0.1);
  padding: 0;
  overflow: hidden;
  position: relative;
}

.stats-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--secondary), var(--primary), var(--secondary), transparent);
}

.stats-bar-inner {
  display: flex;
  align-items: stretch;
}

.stat-item {
  flex: 1;
  padding: 32px 24px;
  text-align: center;
  border-right: 1px solid rgba(0,245,255,0.08);
  position: relative;
  transition: background 0.3s;
}

.stat-item:last-child { border-right: none; }

.stat-item:hover {
  background: rgba(0,245,255,0.03);
}

.stat-value {
  font-family: var(--font-mono);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 400;
  line-height: 1;
  margin-bottom: 8px;
  display: block;
}

.stat-value--pink  { color: var(--primary); text-shadow: 0 0 20px rgba(255,0,110,0.5); }
.stat-value--cyan  { color: var(--secondary); text-shadow: 0 0 20px rgba(0,245,255,0.5); }
.stat-value--green { color: var(--accent); text-shadow: 0 0 20px rgba(57,255,20,0.5); }

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-dim);
}

.stat-prefix {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features-section {
  padding: var(--section-gap) 0;
  background: var(--bg);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  text-shadow: 0 0 8px rgba(57,255,20,0.5);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1.05;
  margin-bottom: 16px;
}

.section-title span {
  color: var(--primary);
  filter: drop-shadow(0 0 12px rgba(255,0,110,0.4));
}

.section-sub {
  font-family: var(--font-mono);
  font-size: 0.9375rem;
  color: var(--text-dim);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.8;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid rgba(0,245,255,0.1);
  padding: 36px;
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
}

/* Corner accents */
.feature-card::before,
.feature-card::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  transition: all 0.3s;
}
.feature-card::before {
  top: 0; left: 0;
  border-top: 2px solid transparent;
  border-left: 2px solid transparent;
}
.feature-card::after {
  bottom: 0; right: 0;
  border-bottom: 2px solid transparent;
  border-right: 2px solid transparent;
}

.feature-card:hover {
  border-color: rgba(255,0,110,0.3);
  box-shadow: 0 0 40px rgba(255,0,110,0.07), 0 20px 40px rgba(0,0,0,0.4);
  transform: translateY(-4px);
  background: rgba(255,0,110,0.03);
}

.feature-card:hover::before {
  border-top-color: var(--primary);
  border-left-color: var(--primary);
}
.feature-card:hover::after {
  border-bottom-color: var(--primary);
  border-right-color: var(--primary);
}

/* Glow swipe on hover */
.feature-card .card-glow {
  position: absolute;
  top: -100%;
  left: -100%;
  width: 300%;
  height: 300%;
  background: radial-gradient(circle at center, rgba(255,0,110,0.04) 0%, transparent 60%);
  pointer-events: none;
  transition: all 0.5s;
  opacity: 0;
}
.feature-card:hover .card-glow { opacity: 1; top: -50%; left: -50%; }

.feat-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  position: relative;
}

.feat-icon--pink  { color: var(--primary); filter: drop-shadow(0 0 10px rgba(255,0,110,0.6)); }
.feat-icon--cyan  { color: var(--secondary); filter: drop-shadow(0 0 10px rgba(0,245,255,0.6)); }
.feat-icon--green { color: var(--accent); filter: drop-shadow(0 0 10px rgba(57,255,20,0.6)); }
.feat-icon--gold  { color: #ffd700; filter: drop-shadow(0 0 10px rgba(255,215,0,0.6)); }

.feat-icon-bg {
  position: absolute;
  inset: 0;
  background: currentColor;
  opacity: 0.07;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.feat-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  border: 1px solid rgba(255,0,110,0.2);
  padding: 3px 10px;
  margin-bottom: 12px;
}

.feat-title {
  font-family: var(--font-head);
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 12px;
}

.feat-desc {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--text-muted);
}

.feat-bar {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.feat-bar-track {
  flex: 1;
  height: 3px;
  background: rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
}

.feat-bar-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--primary);
  box-shadow: 0 0 8px rgba(255,0,110,0.8);
  animation: neon-pulse-pink 2s ease-in-out infinite;
  width: 0;
  transition: width 1s ease;
}

.feat-bar-fill--cyan {
  background: var(--secondary);
  box-shadow: 0 0 8px rgba(0,245,255,0.8);
  animation: neon-pulse-cyan 2s ease-in-out infinite;
}

.feat-bar-fill--green {
  background: var(--accent);
  box-shadow: 0 0 8px rgba(57,255,20,0.8);
  animation: neon-pulse-green 2s ease-in-out infinite;
}

.feat-bar-val {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  flex-shrink: 0;
}

/* ============================================
   HOW IT WORKS — CONTROLS
   ============================================ */
.controls-section {
  padding: var(--section-gap) 0;
  background: var(--bg-surface);
  border-top: 1px solid rgba(0,245,255,0.08);
  border-bottom: 1px solid rgba(0,245,255,0.08);
  position: relative;
  overflow: hidden;
}

.controls-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(255,0,110,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  position: relative;
  z-index: 1;
}

.step-card {
  background: var(--bg-card);
  padding: 48px 36px;
  position: relative;
  border: 1px solid rgba(0,245,255,0.06);
  transition: all 0.3s ease;
  text-align: center;
}

.step-card:hover {
  background: rgba(255,0,110,0.02);
  border-color: rgba(255,0,110,0.2);
}

.step-number {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--primary);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 24px;
  text-shadow: 0 0 8px rgba(255,0,110,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.step-number::before,
.step-number::after {
  content: '';
  flex: 1;
  max-width: 30px;
  height: 1px;
  background: rgba(255,0,110,0.3);
}

.step-icon {
  width: 80px;
  height: 80px;
  border: 1px solid rgba(0,245,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  color: var(--secondary);
  position: relative;
  clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
  background: rgba(0,245,255,0.03);
  transition: all 0.3s;
}

.step-card:hover .step-icon {
  color: var(--primary);
  border-color: rgba(255,0,110,0.3);
  background: rgba(255,0,110,0.05);
  filter: drop-shadow(0 0 12px rgba(255,0,110,0.4));
}

.step-title {
  font-family: var(--font-head);
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 16px;
}

.step-desc {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--text-muted);
}

.step-arrow {
  position: absolute;
  right: -18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  color: var(--primary);
  filter: drop-shadow(0 0 6px rgba(255,0,110,0.5));
}

/* ============================================
   TESTIMONIALS — PLAYER REVIEWS
   ============================================ */
.testimonials-section {
  padding: var(--section-gap) 0;
  background: var(--bg);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testi-card {
  background: var(--bg-card);
  border: 1px solid rgba(0,245,255,0.08);
  padding: 32px;
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
}

.testi-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: opacity 0.3s;
}

.testi-card:hover {
  border-color: rgba(0,245,255,0.2);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.testi-card:hover::before { opacity: 1; }

.testi-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.testi-avatar {
  width: 44px;
  height: 44px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.testi-info { flex: 1; }

.testi-name {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 2px;
}

.testi-role {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
  letter-spacing: 0.08em;
}

.testi-rank {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent);
  text-shadow: 0 0 6px rgba(57,255,20,0.5);
  background: rgba(57,255,20,0.06);
  border: 1px solid rgba(57,255,20,0.2);
  padding: 3px 10px;
  letter-spacing: 0.1em;
}

.testi-quote {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 20px;
  border-left: 2px solid rgba(0,245,255,0.2);
  padding-left: 14px;
}

.testi-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.testi-stars {
  display: flex;
  gap: 3px;
}

.testi-stars svg {
  width: 12px;
  height: 12px;
  fill: #ffd700;
  filter: drop-shadow(0 0 4px rgba(255,215,0,0.5));
}

.testi-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--primary);
  letter-spacing: 0.1em;
  text-shadow: 0 0 6px rgba(255,0,110,0.4);
}

/* ============================================
   CTA SECTION — READY TO GRIND
   ============================================ */
.cta-section {
  padding: var(--section-gap) 0;
  background: var(--bg-surface);
  position: relative;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta-bg-glow-1 {
  position: absolute;
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(255,0,110,0.1) 0%, transparent 60%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.cta-bg-lines {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 30px,
    rgba(255,0,110,0.015) 30px,
    rgba(255,0,110,0.015) 31px
  );
}

.cta-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-dim);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.cta-headline {
  font-family: var(--font-head);
  font-size: clamp(3rem, 7vw, 7rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 0.9;
  margin-bottom: 32px;
}

.cta-headline-line1 {
  display: block;
  color: var(--text);
}

.cta-headline-line2 {
  display: block;
  color: var(--primary);
  filter: drop-shadow(0 0 30px rgba(255,0,110,0.5));
  animation: rgb-shift 3s ease-in-out infinite;
}

.cta-sub {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto 48px;
  line-height: 1.8;
}

.cta-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-note {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 24px;
  letter-spacing: 0.1em;
}

/* ============================================
   SCROLLING DATA STRIP
   ============================================ */
.data-strip {
  background: var(--bg-card);
  border-top: 1px solid rgba(0,245,255,0.08);
  border-bottom: 1px solid rgba(0,245,255,0.08);
  overflow: hidden;
  padding: 10px 0;
  position: relative;
}

.data-strip::before,
.data-strip::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
}
.data-strip::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg-card), transparent);
}
.data-strip::after {
  right: 0;
  background: linear-gradient(-90deg, var(--bg-card), transparent);
}

.data-strip-inner {
  display: flex;
  gap: 0;
  animation: data-scroll 20s linear infinite;
  width: max-content;
}

.data-item {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
  letter-spacing: 0.15em;
  padding: 0 28px;
  white-space: nowrap;
  border-right: 1px solid rgba(0,245,255,0.06);
}

.data-item span {
  color: var(--secondary);
  text-shadow: 0 0 6px rgba(0,245,255,0.4);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--bg-card);
  border-top: 1px solid rgba(0,245,255,0.1);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {}

.footer-logo { margin-bottom: 16px; }

.footer-tagline {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.8;
  max-width: 260px;
  margin-bottom: 24px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.social-icon {
  width: 36px;
  height: 36px;
  background: rgba(0,245,255,0.04);
  border: 1px solid rgba(0,245,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  transition: all 0.2s;
  clip-path: polygon(4px 0%, 100% 0%, calc(100% - 4px) 100%, 0% 100%);
}

.social-icon:hover {
  color: var(--secondary);
  border-color: rgba(0,245,255,0.4);
  background: rgba(0,245,255,0.08);
  box-shadow: 0 0 12px rgba(0,245,255,0.2);
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--secondary);
  text-shadow: 0 0 6px rgba(0,245,255,0.4);
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col li a {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: all 0.15s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-col li a::before {
  content: '>';
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--primary);
  opacity: 0;
  transition: opacity 0.15s;
}

.footer-col li a:hover {
  color: var(--text);
}
.footer-col li a:hover::before { opacity: 1; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(0,245,255,0.06);
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 0.06em;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  transition: color 0.15s;
  letter-spacing: 0.06em;
}
.footer-legal a:hover { color: var(--secondary); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px;
  }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  :root { --section-gap: 80px; }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .hero-mockup { max-width: 500px; margin: 0 auto; }

  .features-grid { grid-template-columns: 1fr; }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .step-arrow { display: none; }

  .testimonials-grid { grid-template-columns: 1fr; }

  .stats-bar-inner { flex-direction: column; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(0,245,255,0.08); }
  .stat-item:last-child { border-bottom: none; }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .hamburger { display: flex; }

  .hero-headline { font-size: clamp(2.6rem, 8vw, 4rem); }
  .hero-sub { font-size: 0.9375rem; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-actions { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }

  .hero { padding-top: 110px; }
  .hero-headline { font-size: 2.5rem; }
  .hero-stats { gap: 16px; }
  .hero-stat-value { font-size: 1.375rem; }

  .float-card--2 { display: none; }

  .section-title { font-size: 1.875rem; }

  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-legal { flex-direction: column; gap: 10px; }
}
