/* ================================================================
   TOKENS
================================================================ */
:root {
  --primary:       #6C63FF;
  --primary-light: #8B84FF;
  --cyan:          #00F5FF;
  --pink:          #FF2D78;
  --accent:        #43E97B;
  --gold:          #FFD700;

  --bg:       #020208;
  --surface:  #070712;
  --surface2: #0C0C1E;
  --surface3: #121228;
  --border:        rgba(108,99,255,0.18);
  --border-cyan:   rgba(0,245,255,0.2);
  --text-primary:  #F0F0FF;
  --text-secondary:#7777AA;
  --text-muted:    #44445E;

  --glow-purple: 0 0 22px rgba(108,99,255,0.55), 0 0 60px rgba(108,99,255,0.2);
  --glow-cyan:   0 0 22px rgba(0,245,255,0.55),  0 0 60px rgba(0,245,255,0.2);
  --glow-pink:   0 0 22px rgba(255,45,120,0.55), 0 0 60px rgba(255,45,120,0.2);
}

/* ================================================================
   RESET & BASE
================================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Space Grotesk', sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--cyan); text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; padding: 0; margin: 0; }

/* ================================================================
   THREE.JS CANVAS (fixed background)
================================================================ */
#bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ================================================================
   SCANLINES overlay
================================================================ */
.scanlines {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.045) 2px,
    rgba(0,0,0,0.045) 4px
  );
}

/* ================================================================
   GRAIN / NOISE overlay
================================================================ */
.grain {
  position: fixed;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  z-index: 2;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-shift 0.4s steps(1) infinite;
}

@keyframes grain-shift {
  0%   { transform: translate(0,0); }
  20%  { transform: translate(-3%,-4%); }
  40%  { transform: translate(4%, 3%); }
  60%  { transform: translate(-2%, 5%); }
  80%  { transform: translate(3%,-2%); }
  100% { transform: translate(0,0); }
}

/* All content sits above canvas layers */
nav, section, footer, .cursor-trail { position: relative; z-index: 10; }

/* ================================================================
   NEON CURSOR TRAIL
================================================================ */
.cursor-trail {
  position: fixed;
  top: 0; left: 0;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,245,255,0.8), transparent 70%);
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: screen;
  will-change: transform;
}

/* ================================================================
   NAVBAR
================================================================ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(2,2,8,0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 0;
  gap: 20px;
}

.nav-logo { height: 38px; }

/* Desktop links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links .nav-link {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 7px 14px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  position: relative;
}

.nav-links .nav-link::after {
  content: '';
  position: absolute;
  bottom: 5px; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 1px;
  background: var(--cyan);
  box-shadow: 0 0 6px var(--cyan);
  transition: width 0.3s ease;
}

.nav-links .nav-link:hover { color: var(--text-primary); background: rgba(108,99,255,0.08); }
.nav-links .nav-link:hover::after { width: 55%; }

.nav-links .nav-cta {
  color: var(--cyan) !important;
  border: 1px solid rgba(0,245,255,0.28);
  background: rgba(0,245,255,0.05) !important;
}
.nav-links .nav-cta:hover {
  background: rgba(0,245,255,0.12) !important;
  box-shadow: var(--glow-cyan);
  border-color: rgba(0,245,255,0.5);
}
.nav-links .nav-cta::after { display: none; }

/* Right side */
.nav-right { display: flex; align-items: center; gap: 12px; }

.badge-soon {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(108,99,255,0.12);
  border: 1px solid rgba(108,99,255,0.3);
  color: var(--primary-light);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
}

.blink-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
  animation: blink 1.6s ease-in-out infinite;
}

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

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.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 menu */
.mobile-menu {
  display: none;
  padding: 10px 0 16px;
  border-top: 1px solid var(--border);
}
.mobile-menu.open { display: block; }
.mobile-menu ul   { display: flex; flex-direction: column; gap: 2px; }
.mobile-menu a {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 10px 4px;
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--cyan); }

/* ================================================================
   HERO
================================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 0 72px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 180px;
  background: linear-gradient(to top, var(--bg), transparent);
  pointer-events: none;
  z-index: 1;
}

.hero > .container { position: relative; z-index: 2; }

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--cyan);
  border: 1px solid rgba(0,245,255,0.22);
  background: rgba(0,245,255,0.06);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 1.4rem;
}

.hero-tag-dot {
  width: 6px; height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--cyan);
  animation: blink 2s ease-in-out infinite;
}

/* Hero title */
.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 1.4rem;
}

/* Gradient text */
.grad-text {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Glitch effect */
.glitch-text {
  position: relative;
  display: inline-block;
}
.glitch-text::before,
.glitch-text::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
}
.glitch-text::before {
  color: var(--cyan);
  clip-path: polygon(0 32%, 100% 32%, 100% 52%, 0 52%);
  animation: glitch-a 3.5s infinite;
  opacity: 0;
}
.glitch-text::after {
  color: var(--pink);
  clip-path: polygon(0 62%, 100% 62%, 100% 78%, 0 78%);
  animation: glitch-b 3.5s infinite;
  opacity: 0;
}

@keyframes glitch-a {
  0%,82%,100% { opacity: 0; transform: translate(0); }
  83%  { opacity: 0.85; transform: translate(-3px, 0); }
  84%  { opacity: 0; }
  88%  { opacity: 0.65; transform: translate(3px,  0); }
  89%,99% { opacity: 0; }
}
@keyframes glitch-b {
  0%,82%,100% { opacity: 0; transform: translate(0); }
  85%  { opacity: 0.75; transform: translate(3px,  0); }
  86%  { opacity: 0; }
  90%  { opacity: 0.55; transform: translate(-3px, 0); }
  91%,99% { opacity: 0; }
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.72;
  max-width: 500px;
  margin-bottom: 2rem;
}

/* Notify form */
.notify-row {
  display: flex;
  gap: 10px;
  max-width: 440px;
  margin-bottom: 0.55rem;
}

.notify-input {
  flex: 1;
  background: rgba(12,12,30,0.85);
  border: 1.5px solid rgba(108,99,255,0.28);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.9rem;
  padding: 13px 18px;
  border-radius: 12px;
  outline: none;
  backdrop-filter: blur(10px);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.notify-input::placeholder { color: var(--text-muted); }
.notify-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(108,99,255,0.14), var(--glow-purple);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #8B5CF6);
  color: #fff;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  border: none;
  padding: 13px 22px;
  border-radius: 12px;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  transition: left 0.5s;
}
.btn-primary:hover::before { left: 100%; }
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-purple), 0 8px 28px rgba(108,99,255,0.4);
}

.no-spam { font-size: 0.75rem; color: var(--text-muted); }

.notify-success {
  display: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  padding: 10px 0;
}

/* Pills */
.hero-pills { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.8rem; }
.hero-pill  {
  display: flex; align-items: center; gap: 7px;
  font-size: 0.82rem; color: var(--text-secondary); font-weight: 500;
}
.pill-check { color: var(--accent); font-size: 0.82rem; }

/* ================================================================
   3D PHONE (hero right)
================================================================ */
.phone-scene {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 60px 0;
  perspective: 1200px;
}

.phone-glow {
  position: absolute;
  width: 300px; height: 300px;
  background: radial-gradient(circle,
    rgba(108,99,255,0.45) 0%,
    rgba(0,245,255,0.18) 40%,
    transparent 70%
  );
  border-radius: 50%;
  filter: blur(44px);
  animation: pulse-glow 3.2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%,100% { transform: scale(1);    opacity: 0.8; }
  50%      { transform: scale(1.18); opacity: 1; }
}

.phone-3d {
  transform-style: preserve-3d;
  animation: float-phone 4.2s ease-in-out infinite;
}

@keyframes float-phone {
  0%,100% { transform: rotateY(-12deg) rotateX(4deg) translateY(0); }
  50%      { transform: rotateY(-8deg)  rotateX(2deg) translateY(-18px); }
}

.phone-frame {
  width: 230px;
  background: linear-gradient(150deg, #16163A, #080818);
  border: 2px solid rgba(108,99,255,0.55);
  border-radius: 42px;
  padding: 14px;
  position: relative;
  box-shadow:
    0 0 0 1px rgba(0,245,255,0.1),
    0 24px 70px rgba(108,99,255,0.55),
    0 0 100px rgba(108,99,255,0.18),
    inset 0 1px 0 rgba(255,255,255,0.07);
}

/* Notch */
.phone-frame::before {
  content: '';
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 64px; height: 8px;
  background: #020208;
  border-radius: 4px;
  z-index: 2;
}

/* Animated neon border */
.phone-frame::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 44px;
  background: linear-gradient(135deg, var(--primary), var(--cyan), var(--pink), var(--primary));
  background-size: 300% 300%;
  animation: neon-border 4s linear infinite;
  z-index: -1;
  opacity: 0.55;
}

@keyframes neon-border {
  0%   { background-position: 0%   50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0%   50%; }
}

.phone-screen {
  border-radius: 30px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 9/19;
}

.phone-screen img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease;
}
.phone-screen img.fading { opacity: 0; }

/* Floating badges */
.phone-badge {
  position: absolute;
  background: rgba(7,7,18,0.88);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}

.badge-xp {
  top: 22%; left: -22%;
  color: var(--accent);
  border-color: rgba(67,233,123,0.3);
  animation: badge-float 3.2s ease-in-out infinite;
}
.badge-streak {
  top: 50%; right: -26%;
  animation: badge-float 3.8s ease-in-out infinite 0.6s;
}
.badge-rank {
  bottom: 18%; left: -20%;
  color: var(--gold);
  border-color: rgba(255,215,0,0.3);
  animation: badge-float 4.4s ease-in-out infinite 1.2s;
}

@keyframes badge-float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 2;
}
.scroll-line {
  width: 1px; height: 38px;
  background: linear-gradient(to bottom, var(--primary), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%   { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50%  { opacity: 1; transform: scaleY(1); }
  100% { opacity: 0; transform: scaleY(0); transform-origin: bottom; }
}

/* ================================================================
   SECTION SHARED
================================================================ */
.section { padding: 100px 0; }

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

.section-tag {
  display: inline-block;
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cyan);
  background: rgba(0,245,255,0.07);
  border: 1px solid rgba(0,245,255,0.22);
  padding: 4px 14px; border-radius: 100px;
  margin-bottom: 18px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.022em;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 460px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ================================================================
   FEATURES
================================================================ */
.features-section { background: transparent; }

.feat-card {
  background: rgba(7,7,18,0.72);
  border: 1px solid rgba(108,99,255,0.16);
  border-radius: 20px;
  padding: 32px 26px;
  height: 100%;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  cursor: default;
  transition: border-color 0.3s, box-shadow 0.3s;
}

/* Holographic shimmer */
.feat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    130deg,
    rgba(0,245,255,0)    0%,
    rgba(0,245,255,0.06) 40%,
    rgba(108,99,255,0.08) 60%,
    rgba(255,45,120,0)   100%
  );
  opacity: 0;
  transition: opacity 0.35s;
  border-radius: 20px;
  pointer-events: none;
}
.feat-card:hover::before { opacity: 1; }

/* Corner accent */
.feat-card::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 56px; height: 56px;
  border-top:   2px solid rgba(0,245,255,0.25);
  border-right: 2px solid rgba(0,245,255,0.25);
  border-radius: 0 20px 0 0;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.feat-card:hover::after {
  border-color: var(--cyan);
  box-shadow: var(--glow-cyan);
}

.feat-card:hover {
  border-color: rgba(108,99,255,0.45);
  box-shadow: 0 0 36px rgba(108,99,255,0.18), inset 0 0 28px rgba(108,99,255,0.04);
}

/* Glow blob per card */
.feat-card-glow {
  position: absolute;
  top: -40px; right: -40px;
  width: 150px; height: 150px;
  border-radius: 50%;
  filter: blur(42px);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.feat-card:hover .feat-card-glow { opacity: 0.55; }

.feat-glow-purple { background: rgba(108,99,255,1); }
.feat-glow-cyan   { background: rgba(0,245,255,1); }
.feat-glow-pink   { background: rgba(255,45,120,1); }
.feat-glow-gold   { background: rgba(255,215,0,1); }
.feat-glow-green  { background: rgba(67,233,123,1); }

.feat-icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
}
.feat-icon-purple { background: rgba(108,99,255,0.14); }
.feat-icon-cyan   { background: rgba(0,245,255,0.11); }
.feat-icon-pink   { background: rgba(255,45,120,0.11); }
.feat-icon-gold   { background: rgba(255,215,0,0.11); }
.feat-icon-green  { background: rgba(67,233,123,0.11); }

.feat-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.feat-card p  { font-size: 0.87rem; color: var(--text-secondary); line-height: 1.65; }

/* ================================================================
   STATS
================================================================ */
.stats-section {
  padding: 64px 0;
  border-top:    1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(7,7,18,0.55);
  backdrop-filter: blur(12px);
}

.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}

.stat-item { text-align: center; padding: 0 44px; }

.stat-num-wrap {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 6px;
}

.stat-num {
  font-family: 'Orbitron', monospace;
  font-size: 2.8rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
  background: linear-gradient(135deg, var(--primary-light), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-suffix {
  font-family: 'Orbitron', monospace;
  font-size: 1.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary-light), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-lbl {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.stat-divider { width: 1px; height: 48px; background: var(--border); }

/* ================================================================
   SCREENSHOTS
================================================================ */
.screenshots-section { overflow: hidden; }

.swiper { padding: 20px 12px 56px !important; }
.swiper-slide { width: 220px !important; }

.ss-card {
  background: rgba(7,7,18,0.85);
  border: 2px solid rgba(108,99,255,0.18);
  border-radius: 32px;
  padding: 10px;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  box-shadow: 0 16px 48px rgba(0,0,0,0.65);
}
.ss-card img { border-radius: 24px; width: 100%; }
.ss-card:hover {
  transform: translateY(-14px) scale(1.03);
  border-color: var(--primary);
  box-shadow: 0 0 32px rgba(108,99,255,0.4), 0 24px 60px rgba(0,0,0,0.5);
}

.swiper-pagination-bullet {
  background: rgba(108,99,255,0.3) !important;
  opacity: 1 !important;
}
.swiper-pagination-bullet-active {
  background: var(--primary) !important;
  width: 24px !important;
  border-radius: 4px !important;
  box-shadow: 0 0 8px var(--primary) !important;
}

/* ================================================================
   FOR EVERYONE
================================================================ */
.for-everyone { background: transparent; }

.role-card {
  background: rgba(7,7,18,0.75);
  border: 1px solid rgba(108,99,255,0.18);
  border-radius: 22px;
  padding: 36px 28px;
  height: 100%;
  text-align: center;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.role-card-glow {
  position: absolute;
  bottom: -70px; left: 50%;
  transform: translateX(-50%);
  width: 220px; height: 220px;
  border-radius: 50%;
  filter: blur(55px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}
.role-card:hover .role-card-glow { opacity: 0.65; }

.role-card[data-role="student"] .role-card-glow { background: rgba(108,99,255,1); }
.role-card[data-role="teacher"] .role-card-glow { background: rgba(0,245,255,1); }
.role-card[data-role="parent"]  .role-card-glow { background: rgba(255,45,120,1); }

.role-card:hover {
  border-color: rgba(108,99,255,0.45);
  box-shadow: 0 20px 60px rgba(108,99,255,0.2);
  transform: translateY(-6px);
}

.role-emoji  { font-size: 2.5rem; display: block; margin-bottom: 1rem; }
.role-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; }
.role-desc {
  font-size: 0.87rem; color: var(--text-secondary);
  line-height: 1.6; margin-bottom: 1.2rem;
}
.role-feats  { text-align: left; display: flex; flex-direction: column; gap: 9px; }
.role-feats li {
  font-size: 0.84rem;
  color: var(--text-secondary);
  padding-left: 18px;
  position: relative;
}
.role-feats li::before { content: '▸'; position: absolute; left: 0; color: var(--primary); }

/* ================================================================
   CTA
================================================================ */
.cta-section {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
  text-align: center;
}

.cta-bg-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 700px; height: 500px;
  background: radial-gradient(ellipse, rgba(108,99,255,0.14) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section .section-title { margin: 18px 0 14px; }

.cta-sub {
  font-size: 1rem; color: var(--text-secondary);
  max-width: 470px; margin: 0 auto 2.4rem; line-height: 1.7;
}

/* Store buttons */
.store-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(12,12,30,0.85);
  border: 1px solid rgba(108,99,255,0.28);
  padding: 14px 22px;
  border-radius: 16px;
  cursor: not-allowed;
  backdrop-filter: blur(10px);
  position: relative;
  min-width: 188px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.store-btn:hover {
  border-color: rgba(108,99,255,0.5);
  box-shadow: var(--glow-purple);
}

.store-badge {
  position: absolute;
  top: -10px; right: -10px;
  background: linear-gradient(135deg, var(--primary), #8B5CF6);
  color: #fff;
  font-size: 0.63rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 2px 8px; border-radius: 100px;
  white-space: nowrap;
}

.store-icon  { width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.store-small { display: block; font-size: 0.64rem; color: var(--text-muted); }
.store-name  { display: block; font-size: 0.95rem; font-weight: 700; color: var(--text-primary); }

.cta-form { max-width: 460px; margin: 0 auto; }
.cta-notify-row { display: flex; gap: 10px; margin-bottom: 0.55rem; }

/* ================================================================
   FOOTER
================================================================ */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
}

.footer-logo { height: 34px; }

.footer-tagline {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-top: 14px;
  max-width: 360px;
}

.footer-col-title {
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 14px;
}

.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.87rem; color: var(--text-secondary); transition: color 0.2s; }
.footer-links a:hover { color: var(--cyan); }

.footer-bottom {
  margin-top: 48px; padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px;
}
.footer-bottom p { font-size: 0.78rem; color: var(--text-muted); margin: 0; }
.aiwebix-tag { font-size: 0.78rem; color: var(--text-muted); }
.aiwebix-tag strong { color: var(--primary-light); font-weight: 700; }

/* ================================================================
   TILT CARDS (JS updates transform directly)
================================================================ */
.tilt-card { transform-style: preserve-3d; }

/* ================================================================
   RESPONSIVE
================================================================ */
@media (max-width: 991px) {
  .phone-scene { margin-top: 60px; }
  .badge-xp, .badge-streak, .badge-rank { display: none; }
}

@media (max-width: 767px) {
  .section { padding: 70px 0; }
  .hero    { padding: 80px 0 50px; min-height: unset; }
  .nav-links  { display: none; }
  .hamburger  { display: flex; }
  .badge-soon { display: none; }
  .notify-row, .cta-notify-row { flex-direction: column; }
  .store-buttons { flex-direction: column; align-items: center; }
  .stat-item { padding: 0 22px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .stats-grid   { flex-direction: column; gap: 32px; }
  .stat-divider { width: 60px; height: 1px; }
}

/* ================================================================
   PHONE ORBIT RINGS
================================================================ */
.orbit {
  position: absolute;
  top: 50%; left: 50%;
  border-radius: 50%;
  pointer-events: none;
  transform-origin: center center;
}

.orbit-1 {
  width: 350px; height: 350px;
  margin-left: -175px; margin-top: -175px;
  border: 1px solid rgba(0,245,255,0.18);
  animation: orbit-spin-flat 10s linear infinite;
}
.orbit-1::before {
  content: '';
  position: absolute;
  top: -6px; left: calc(50% - 6px);
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 18px var(--cyan), 0 0 36px rgba(0,245,255,0.6);
}

.orbit-2 {
  width: 430px; height: 430px;
  margin-left: -215px; margin-top: -215px;
  border: 1px solid rgba(108,99,255,0.12);
  animation: orbit-spin-tilt 16s linear infinite reverse;
  transform: translateX(-50%) translateY(-50%) rotateX(72deg);
}
.orbit-2::before {
  content: '';
  position: absolute;
  top: -5px; left: calc(50% - 5px);
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--primary-light);
  box-shadow: 0 0 14px var(--primary), 0 0 28px rgba(108,99,255,0.5);
}

.orbit-3 {
  width: 290px; height: 290px;
  margin-left: -145px; margin-top: -145px;
  border: 1px solid rgba(255,45,120,0.12);
  animation: orbit-spin-tilt2 22s linear infinite;
  transform: translateX(-50%) translateY(-50%) rotateX(55deg) rotateY(30deg);
}
.orbit-3::before {
  content: '';
  position: absolute;
  bottom: -4px; left: calc(50% - 4px);
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 12px var(--pink), 0 0 24px rgba(255,45,120,0.5);
}

@keyframes orbit-spin-flat  { to { transform: rotate(360deg); } }
@keyframes orbit-spin-tilt  { from { transform: rotateX(72deg) rotate(0deg); } to { transform: rotateX(72deg) rotate(360deg); } }
@keyframes orbit-spin-tilt2 { from { transform: rotateX(55deg) rotateY(30deg) rotate(0deg); } to { transform: rotateX(55deg) rotateY(30deg) rotate(360deg); } }

/* ================================================================
   PHONE SCREEN SCAN LINE
================================================================ */
.phone-screen { position: relative; overflow: hidden; }

.screen-scan {
  position: absolute;
  left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, transparent, rgba(0,245,255,0.7), transparent);
  top: 0;
  animation: screen-scan 3.5s ease-in-out infinite;
  pointer-events: none;
  z-index: 3;
}

@keyframes screen-scan {
  0%   { top: 0%;   opacity: 0; }
  5%   { opacity: 0.9; }
  90%  { opacity: 0.7; }
  100% { top: 100%; opacity: 0; }
}

/* ================================================================
   CARD HOLOGRAPHIC SWEEP
================================================================ */
.card-sweep {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    108deg,
    transparent 0%,
    transparent 40%,
    rgba(255,255,255,0.055) 50%,
    transparent 60%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: card-sweep 4s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes card-sweep {
  0%,100% { background-position: -100% 0; }
  50%      { background-position:  200% 0; }
}

/* ================================================================
   SECTION NEON DIVIDERS
================================================================ */
.neon-divider {
  position: relative;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(108,99,255,0.5), rgba(0,245,255,0.5), transparent);
  margin: 0;
  overflow: visible;
}
.neon-divider::before {
  content: '';
  position: absolute;
  top: -3px; left: 50%; transform: translateX(-50%);
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 16px var(--cyan), 0 0 32px rgba(0,245,255,0.6);
}

/* ================================================================
   HERO DEPTH DECORATION (corner hex shapes)
================================================================ */
.hero-deco {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  opacity: 0.12;
}
.hero-deco-tl {
  top: 12%; left: 2%;
  width: 80px; height: 80px;
  border: 2px solid var(--cyan);
  clip-path: polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%);
  animation: hex-spin 12s linear infinite;
}
.hero-deco-br {
  bottom: 18%; right: 3%;
  width: 56px; height: 56px;
  border: 2px solid var(--primary);
  clip-path: polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%);
  animation: hex-spin 9s linear infinite reverse;
}
@keyframes hex-spin { to { transform: rotate(360deg); } }

/* ================================================================
   ANIMATED GRADIENT TEXT (grad-text pulses)
================================================================ */
.grad-text {
  background-size: 200% auto;
  animation: grad-shift 4s ease infinite;
}
@keyframes grad-shift {
  0%   { background-position: 0%   center; }
  50%  { background-position: 100% center; }
  100% { background-position: 0%   center; }
}

/* ================================================================
   INNER PAGE BASE (contact / privacy / terms)
================================================================ */
.page-hero {
  padding: 120px 0 60px;
  text-align: center;
  position: relative;
}
.page-hero-glow {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(108,99,255,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.8rem;
}
.page-hero p {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}

.page-content {
  padding: 0 0 100px;
  position: relative;
}
.page-card {
  background: rgba(7,7,18,0.75);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 44px;
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}
.page-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 80px; height: 80px;
  border-top: 2px solid rgba(0,245,255,0.2);
  border-right: 2px solid rgba(0,245,255,0.2);
  border-radius: 0 20px 0 0;
}

.page-section-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--cyan);
  margin: 2rem 0 0.7rem;
  letter-spacing: 0.02em;
}
.page-section-title:first-child { margin-top: 0; }

.page-card p, .page-card li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.78;
  margin-bottom: 0.5rem;
}
.page-card ul { padding-left: 1.2rem; }
.page-card li { list-style: disc; }
.page-card a  { color: var(--primary-light); }
.page-card a:hover { color: var(--cyan); }

/* Contact form */
.contact-grid { display: grid; gap: 16px; }
.contact-grid.two-col { grid-template-columns: 1fr 1fr; }

.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); }

.form-input, .form-select, .form-textarea {
  background: rgba(12,12,30,0.85);
  border: 1.5px solid rgba(108,99,255,0.22);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.9rem;
  padding: 12px 16px;
  border-radius: 10px;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
  width: 100%;
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-muted); }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(108,99,255,0.13), var(--glow-purple);
}
.form-select { appearance: none; cursor: pointer; }
.form-textarea { resize: vertical; min-height: 140px; }

.form-submit { margin-top: 8px; }

.contact-info-box {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(0,245,255,0.05);
  border: 1px solid rgba(0,245,255,0.15);
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 16px;
}
.contact-info-icon { font-size: 1.4rem; flex-shrink: 0; }
.contact-info-title { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 2px; }
.contact-info-value { font-size: 0.92rem; color: var(--text-primary); }
.contact-info-value a { color: var(--cyan); }

.form-success {
  display: none;
  text-align: center;
  padding: 32px;
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 600;
}
.form-success .success-icon { font-size: 2.5rem; display: block; margin-bottom: 12px; }

@media (max-width: 640px) {
  .contact-grid.two-col { grid-template-columns: 1fr; }
  .page-card { padding: 28px 22px; }
}
