/* ===========================================
   TRADEZYLO WAITLIST — COMPLETE REDESIGN
   Colors: #00E5FF (Cyan) | #141055 (Navy) | #0a0d1a (BG)
   Font: Plus Jakarta Sans
   =========================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* PERF: Use system font stack as fallback to avoid FOUT */
body { font-family: -apple-system, BlinkMacSystemFont, 'Plus Jakarta Sans', sans-serif; }

:root {
  /* Colors */
  --bg:        #08091a;
  --bg-2:      #0d1028;
  --navy:      #141055;
  --cyan:      #00E5FF;
  --cyan-dim:  rgba(0, 229, 255, 0.12);
  --cyan-glow: rgba(0, 229, 255, 0.25);
  --teal:      #26DBE4;
  --surface:   rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border:    rgba(255, 255, 255, 0.08);
  --border-c:  rgba(0, 229, 255, 0.2);
  --text:      #e8eeff;
  --text-muted:#7a8ab0;
  --positive:  #00E5FF;
  --negative:  #26DBE4;
  --success:   #00E5FF;

  /* Typography */
  --font: 'Plus Jakarta Sans', -apple-system, sans-serif;

  /* Spacing */
  --radius:    16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
  font-size: 16px;
  font-weight: 400;
}

/* ========== UTILITY ========== */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.cyan-text {
  color: var(--cyan);
}

.section {
  padding: 100px 0;
}

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--cyan);
  background: var(--cyan-dim);
  border: 1px solid var(--border-c);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 18px;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin-bottom: 14px;
  color: var(--text);
}

.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
  font-weight: 400;
}

/* GLOBAL SPACING FIX:
   Apply exactly 56px margin between section headers and their grids */
.section-title + div,
.section-sub + div,
.waitlist-title + div,
.waitlist-sub + div {
  margin-top: 56px;
}

/* ========== NAVBAR ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  height: 68px;
  transition: background 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(8, 9, 26, 0.92);
  backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}

.nav-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  width: 34px;
  height: 34px;
  background: var(--cyan-dim);
  border: 1px solid var(--border-c);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.logo-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.3px;
}

/* Logo image (replaces text logo) */
.logo-img {
  height: 40px; /* Kept slightly larger for better visibility without changing constraints */
  width: auto;
  object-fit: contain;
  display: block;
  /* Origin colour preserved */
}

.footer-logo-img {
  height: 30px;
}

/* SVG icon containers */
.feat-icon-wrap {
  width: 48px;
  height: 48px;
  background: var(--cyan-dim);
  border: 1px solid var(--border-c);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--cyan-dim);
  border: 1px solid var(--border-c);
  border-radius: 14px;
  margin: 0 auto 12px;
}

.problem-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(255, 107, 138, 0.1);
  border: 1px solid rgba(255, 107, 138, 0.2);
  border-radius: 10px;
  margin-bottom: 14px;
}

.fc-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.success-emoji {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}

.ms-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
  flex: 1;
  justify-content:center;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 9px 22px;
  background: #141055;
  color: #fff;
  border: 1px solid rgba(0,229,255,0.3);
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-cta:hover { background: #1c1680; border-color: rgba(0,229,255,0.5); transform: translateY(-1px); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.hamburger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; display: block; }

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  padding-top: 68px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-glow-1 {
  position: absolute;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.1) 0%, transparent 70%);
  top: -100px;
  left: -200px;
  animation: floatGlow 10s ease-in-out infinite;
  will-change: transform;
}

.hero-glow-2 {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(20, 16, 85, 0.6) 0%, transparent 70%);
  bottom: 0;
  right: -100px;
  animation: floatGlow 12s ease-in-out infinite reverse;
  will-change: transform;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

@keyframes floatGlow {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}


/* GLOBAL SECTION SPACING STANDARDIZATION */
.section-title + div,
.section-sub + div,
.waitlist-title + div,
.waitlist-sub + div {
  margin-top: 56px;
}

.hero-inner {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 80px 24px 60px;
  max-width: 1160px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero-content {
  flex: 1;
  min-width: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: var(--cyan-dim);
  border: 1px solid var(--border-c);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--cyan);
  margin-bottom: 24px;
}

.badge-pulse {
  width: 8px;
  height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.2); }
}

.badge-pulse { will-change: transform, opacity; }

.hero-title {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
  color: #fff;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 460px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  background: #141055;
  color: #fff;
  border: 1px solid rgba(0,229,255,0.3);
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font);
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s;
  letter-spacing: 0.2px;
}
.btn-primary:hover { transform: translateY(-2px); background: #1c1680; border-color: rgba(0,229,255,0.5); box-shadow: 0 8px 30px rgba(20,16,85,0.5); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.25s;
}
.btn-ghost:hover { border-color: var(--border-c); color: var(--text); }

.hero-trust {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.check-icon { color: var(--cyan); font-weight: 700; }

/* Hero Visual */
.hero-visual {
  flex: 1;
  min-width: 300px;
  position: relative;
}

.chart-card {
  background: rgba(13, 16, 40, 0.95);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(0, 229, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.chart-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0.5;
}

.chart-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.chart-dots { display: flex; gap: 6px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }

.chart-title-label { font-size: 13px; color: var(--text-muted); font-weight: 500; flex: 1; }

.chart-badge {
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
}
.chart-badge.positive { background: rgba(0,229,255,0.1); color: var(--cyan); border: 1px solid rgba(0,229,255,0.2); }

.chart-body {
  position: relative;
  height: 140px;
  margin-bottom: 20px;
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 100%;
  position: absolute;
  inset: 0;
  padding: 0 4px;
}

.bar-wrap { flex: 1; height: 100%; display: flex; align-items: flex-end; }
.bar { width: 100%; height: var(--h); position: relative; border-radius: 4px 4px 0 0; overflow: hidden; background: var(--c); }
.bar-fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,229,255,0.6), rgba(0,229,255,0.2));
  border-radius: 4px 4px 0 0;
  transform: scaleY(0);
  transform-origin: bottom;
  animation: growBar 0.8s ease var(--delay) forwards;
}
.bar-fill.bar-red {
  background: linear-gradient(180deg, rgba(255,107,138,0.6), rgba(255,107,138,0.2));
}

@keyframes growBar {
  to { transform: scaleY(1); }
}

.chart-line {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.animated-line {
  opacity: 0;
  animation: drawLine 1.5s ease 0.5s forwards;
  will-change: opacity;
}
@keyframes drawLine { to { opacity: 1; } }

.chart-stats {
  display: flex;
  gap: 20px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.chart-stat { display: flex; flex-direction: column; gap: 2px; }
.cs-label { font-size: 11px; color: var(--text-muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; }
.cs-val { font-size: 16px; font-weight: 700; color: var(--text); }
.cs-val.cyan { color: var(--cyan); }

/* Floating mini cards */
.floating-card {
  position: absolute;
  background: rgba(13, 16, 40, 0.95);
  border: 1px solid var(--border-c);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  animation: floatCard 3s ease-in-out infinite;
  will-change: transform;
  z-index: 2;
}

.fc-1 { top: -20px; right: -20px; animation-delay: 0s; }
.fc-2 { bottom: 20px; left: -30px; animation-delay: 1.5s; }

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.fc-icon { font-size: 20px; }
.fc-title { font-size: 13px; font-weight: 700; color: var(--text); }
.fc-sub { font-size: 11px; color: var(--cyan); font-weight: 500; }

/* ========== TICKER ========== */
.ticker-wrap {
  position: relative;
  z-index: 1;
  background: rgba(0, 229, 255, 0.04);
  border-top: 1px solid var(--border-c);
  border-bottom: 1px solid var(--border-c);
  overflow: hidden;
  padding: 12px 0;
}

.ticker-track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: ticker 30s linear infinite;
}

@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.tick {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  padding: 0 4px;
}
.tick.up { color: var(--cyan); }
.tick.down { color: var(--negative); }

/* ========== PROBLEM SECTION ========== */
.problem-section {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  text-align: center;
}


.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.problem-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: left;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
}

.problem-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.problem-card:hover {
  border-color: rgba(38, 219, 228, 0.25);
  background: rgba(38, 219, 228, 0.04);
  transform: translateY(-4px);
}

.problem-icon { font-size: 24px; margin-bottom: 12px; }
.problem-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; color: var(--text); }
.problem-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ========== FEATURES ========== */
.features-section { 
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
  text-align: center; 
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: left;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
}

.feature-card.visible { opacity: 1; transform: translateY(0); }

.feature-card:hover {
  border-color: var(--border-c);
  background: rgba(0, 229, 255, 0.03);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.feat-icon-wrap {
  width: 48px;
  height: 48px;
  background: var(--cyan-dim);
  border: 1px solid var(--border-c);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.feature-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; color: var(--text); }
.feature-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ========== MARKETS ========== */
.markets-section { 
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); 
  text-align: center; 
}

.markets-table-wrap {
  overflow-x: auto;
}

.markets-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.markets-table th {
  padding: 16px 24px;
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
}

.markets-table td {
  padding: 16px 24px;
  font-size: 15px;
  color: var(--text);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-weight: 500;
}

.markets-table tbody tr:last-child td { border-bottom: none; }
.markets-table tbody tr:hover td { background: rgba(255,255,255,0.02); }

.check { font-size: 16px; font-weight: 700; }
.check.cyan { color: var(--cyan); }
.check.muted { color: var(--text-muted); }

/* ========== STEPS ========== */
.steps-section { 
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
  text-align: center; 
}

.steps-grid {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.step-card {
  flex: 1;
  min-width: 200px;
  max-width: 280px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
}

.step-card.visible { opacity: 1; transform: translateY(0); }
.step-card:hover { border-color: var(--border-c); transform: translateY(-4px); }

.step-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.step-icon { font-size: 32px; margin-bottom: 12px; }
.step-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.step-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

.step-arrow {
  font-size: 24px;
  color: var(--text-muted);
  flex-shrink: 0;
}

/* ========== PLATFORM PREVIEW ========== */
.preview-section { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }

.preview-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.tab-btn {
  padding: 9px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  transition: all 0.2s;
}

.tab-btn.active, .tab-btn:hover {
  background: var(--cyan-dim);
  border-color: var(--border-c);
  color: var(--cyan);
}

.preview-screen {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #0a0c1e;
  box-shadow: 0 40px 80px rgba(0,0,0,0.4);
}

.screen-mock { font-size: 13px; }

.mock-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
}

.mock-dots { display: flex; gap: 6px; }
.mock-dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.1); }

.mock-url {
  flex: 1;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  background: rgba(255,255,255,0.04);
  padding: 4px 14px;
  border-radius: 6px;
  border: 1px solid var(--border);
}

.mock-body {
  display: flex;
  min-height: 320px;
}

.mock-sidebar {
  width: 180px;
  border-right: 1px solid var(--border);
  padding: 20px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-shrink: 0;
}

.ms-item {
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
}
.ms-item.active { background: var(--cyan-dim); color: var(--cyan); border: 1px solid var(--border-c); }
.ms-item:hover:not(.active) { background: var(--surface-2); color: var(--text); }

.mock-content { flex: 1; padding: 24px; }
.mock-title { font-size: 16px; font-weight: 700; margin-bottom: 16px; color: var(--text); }

.positive { color: var(--cyan); }
.negative { color: var(--negative); }

/* ========== COMPARISON ========== */
.compare-section { 
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
  text-align: center; 
}

.compare-wrap { overflow-x: auto; }

.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.compare-table th {
  padding: 16px 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
}
.compare-table th:first-child { text-align: left; }

.compare-table td {
  padding: 14px 20px;
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.compare-table td:first-child { text-align: left; color: var(--text); font-weight: 500; }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody tr:hover td { background: rgba(255,255,255,0.02); }

.tz-col { background: rgba(0, 229, 255, 0.04) !important; border-left: 1px solid var(--border-c); border-right: 1px solid var(--border-c); }
.logo-small { color: var(--cyan); font-weight: 700; }

.check-y { color: var(--cyan); font-size: 16px; font-weight: 700; }
.cross { color: var(--text-muted); font-size: 14px; }

/* ========== TESTIMONIALS ========== */
.testimonials-section { 
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  text-align: center; 
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  }

.testi-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: left;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
}
.testi-card.visible { opacity: 1; transform: translateY(0); }
.testi-card:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(0,0,0,0.3); }
.testi-card.featured { border-color: var(--border-c); background: rgba(0, 229, 255, 0.03); }

.stars { color: #26DBE4; font-size: 16px; margin-bottom: 14px; letter-spacing: 2px; }

.testi-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testi-user { display: flex; align-items: center; gap: 12px; }

.testi-avatar {
  width: 40px;
  height: 40px;
  background: var(--cyan-dim);
  border: 1px solid var(--border-c);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--cyan);
  flex-shrink: 0;
}

.testi-name { font-size: 14px; font-weight: 600; color: var(--text); }
.testi-role { font-size: 12px; color: var(--text-muted); }

/* ========== UNIVERSITY ========== */
.university-section { 
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%); 
  text-align: center; 
}

.uni-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.uni-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: left;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
}
.uni-card.visible { opacity: 1; transform: translateY(0); }
.uni-card:hover { border-color: var(--border-c); transform: translateY(-4px); }

.uni-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--cyan);
  background: var(--cyan-dim);
  border: 1px solid var(--border-c);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 14px;
}

.uni-card h3 { font-size: 16px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.uni-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; }
.uni-free { font-size: 13px; font-weight: 700; color: var(--success); }

/* ========== FAQ ========== */
.faq-section { 
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  text-align: center; 
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item.open { border-color: var(--border-c); }

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  background: none;
  border: none;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  text-align: left;
  gap: 12px;
  transition: color 0.2s;
}
.faq-item.open .faq-q { color: var(--cyan); }

.faq-arrow {
  font-size: 18px;
  color: var(--text-muted);
  transition: transform 0.3s;
  flex-shrink: 0;
}
.faq-item.open .faq-arrow { transform: rotate(180deg); color: var(--cyan); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  padding: 0 22px;
}
.faq-item.open .faq-a {
  max-height: 200px;
  padding: 0 22px 18px;
}

/* ========== WAITLIST CTA ========== */
.waitlist-section {
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-2) 0%, rgba(0, 229, 255, 0.05) 50%, var(--bg) 100%);
}

.waitlist-glow {
  position: absolute;
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(0, 229, 255, 0.08) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.waitlist-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.waitlist-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.waitlist-form-wrap {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.waitlist-form { margin-bottom: 16px; }

.wl-inputs {
  display: flex;
  gap: 10px;
  background: rgba(13, 16, 40, 0.9);
  border: 1px solid var(--border-c);
  border-radius: var(--radius-sm);
  padding: 8px;
  box-shadow: 0 0 0 1px rgba(0, 229, 255, 0.05), 0 20px 60px rgba(0,0,0,0.4);
}

.wl-inputs input {
  flex: 1;
  padding: 12px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 15px;
  font-family: var(--font);
  outline: none;
  transition: all 0.2s;
  min-width: 0;
}
.wl-inputs input::placeholder { color: rgba(122, 138, 176, 0.5); }
.wl-inputs input:focus { border-color: var(--border-c); background: rgba(0,229,255,0.04); }

.wl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  background: #141055;
  border: 1px solid rgba(0,229,255,0.3);
  border-radius: 8px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font);
  cursor: pointer;
  transition: all 0.25s;
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 140px;
}
.wl-btn:hover { background: #1c1680; border-color: rgba(0,229,255,0.5); transform: translateY(-1px); }
.wl-btn:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }

.wl-trust {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.wl-success {
  padding: 32px 24px;
  animation: scaleIn 0.4s ease;
}
.success-emoji { font-size: 48px; margin-bottom: 12px; }
.wl-success h3 { font-size: 22px; font-weight: 700; color: var(--success); margin-bottom: 6px; }
.wl-success p { font-size: 15px; color: var(--text-muted); }
.success-pos { margin-top: 10px; font-size: 14px; color: var(--cyan); font-weight: 700; }

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

.wl-error {
  margin-top: 10px;
  padding: 10px 16px;
  background: rgba(38, 219, 228, 0.1);
  border: 1px solid rgba(38, 219, 228, 0.25);
  border-radius: 8px;
  font-size: 13px;
  color: var(--negative);
}

/* Spinner */
.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  display: inline-block;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ========== FOOTER — MODERN PREMIUM ========== */
.footer {
  background: linear-gradient(180deg, var(--bg) 0%, #07081a 100%);
  border-top: none;
  padding: 64px 0 28px;
  position: relative;
  overflow: hidden;
}

.footer-glow {
  position: absolute;
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(0,229,255,0.04) 0%, transparent 70%);
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

/* Brand block — centered */
.footer-brand-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px; /* Reduced gap so text stays closer to the logo */
  margin-bottom: 36px;
  text-align: center;
}

.footer-logo-img {
  height: 120px;
  width: auto;
  max-width: 100%;
  margin-bottom:10px;
}

.footer-tagline {
  font-size: 17px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  line-height: 1.65;
  max-width: 420px;
  letter-spacing: -0.1px;
}
.footer-tagline strong {
  color: #fff;
  font-weight: 700;
}

/* Social section */
.footer-social-section {
  text-align: center;
  margin-bottom: 48px;
}

.footer-social-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 18px;
}

/* Icon-only social grid */
.footer-social-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 600px;
  margin: 0 auto;
}

.fsocial-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-family: var(--font);
  transition: all 0.2s ease;
  flex-shrink: 0;
  cursor: pointer;
  padding: 0;
}

.fsocial-btn svg { flex-shrink: 0; }
.fsocial-btn span { display: none; }

.fsocial-btn:hover {
  background: rgba(0,229,255,0.12);
  border-color: rgba(0,229,255,0.5);
  color: var(--cyan);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,229,255,0.15);
}

.fsocial-more-btn {
  border-style: dashed;
  background: transparent;
}
.fsocial-more-btn.active {
  background: rgba(0,229,255,0.08);
  border-color: rgba(0,229,255,0.5);
  color: var(--cyan);
}

.footer-social-extra {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}

/* Divider */
.footer-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 24px;
}

/* Bottom bar */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  position: relative;
}

.admin-secret {
  color: transparent;
  font-size: 6px;
  user-select: none;
  cursor: default;
  position: absolute;
  right: 0;
}

/* Hide old footer classes (no longer used) */
.footer-top, .footer-brand, .footer-links, .footer-col, .footer-legal, .footer-social, .social-btn { display: none; }


/* ========== SCROLL TO TOP ========== */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: #141055;
  border: 1px solid rgba(0,229,255,0.3);
  color: #fff;
  border-radius: 50%;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(20,16,85,0.4);
}
.scroll-top.show { opacity: 1; transform: translateY(0); }
.scroll-top:hover { transform: translateY(-3px); background: #1c1680; }

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .hero-inner { flex-direction: column; padding: 60px 24px 40px; }
  .hero-visual { width: 100%; }
  .floating-card { display: none; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--bg-2); border-bottom: 1px solid var(--border); padding: 16px 24px; gap: 4px; }
  .nav-links.open { display: flex; }
  .nav-links li a { padding: 10px 0; display: block; }
  .hamburger { display: flex; }
  .nav-cta { display: none; }
  .steps-grid { flex-direction: column; align-items: center; }
  .step-arrow { transform: rotate(90deg); }
}

@media (max-width: 810px) {
  .testi-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
}

@media (max-width: 640px) {
  .section { padding: 70px 0; }
  .section-title { letter-spacing: -0.3px; }
  .wl-inputs { flex-direction: column; }
  .wl-btn { width: 100%; min-width: unset; }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-ghost { text-align: center; justify-content: center; }
  .mock-sidebar { display: none; }
  .compare-table th:nth-child(3), .compare-table td:nth-child(3),
  .compare-table th:nth-child(4), .compare-table td:nth-child(4) { display: none; }
}