/* ═══════════════════════════════════════════════════════════
   PrepBattle — Global Stylesheet
   Animations · Glassmorphism · Modern UI
   ═══════════════════════════════════════════════════════════ */

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

:root {
  --indigo:        #6366f1;
  --indigo-dark:   #4f46e5;
  --indigo-xdark:  #3730a3;
  --indigo-light:  #e0e7ff;
  --violet:        #8b5cf6;
  --violet-dark:   #7c3aed;
  --pink:          #ec4899;
  --slate-900:     #0f172a;
  --slate-800:     #1e293b;
  --slate-700:     #334155;
  --slate-500:     #64748b;
  --slate-300:     #cbd5e1;
  --slate-100:     #f1f5f9;
  --slate-50:      #f8fafc;
  --white:         #ffffff;
  --glass:         rgba(255,255,255,0.08);
  --glass-border:  rgba(255,255,255,0.15);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--slate-900);
  background: var(--white);
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--slate-900); }
::-webkit-scrollbar-thumb { background: var(--indigo); border-radius: 3px; }

/* ══════════════════════════════════════════
   KEYFRAME ANIMATIONS
   ══════════════════════════════════════════ */

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-18px); }
}
@keyframes floatSlow {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50%       { transform: translateY(-10px) rotate(3deg); }
}
@keyframes pulse-ring {
  0%   { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.6); opacity: 0; }
}
@keyframes gradient-shift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes bounce-dot {
  0%, 80%, 100% { transform: scale(0); }
  40%            { transform: scale(1); }
}
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes counter-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes bar-fill {
  from { width: 0%; }
  to   { width: var(--target-width); }
}
@keyframes blob {
  0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  50%       { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
}

/* ── Intersection Observer fade-in classes ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(.22,1,.36,1), transform 0.7s cubic-bezier(.22,1,.36,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left {
  opacity: 0; transform: translateX(-32px);
  transition: opacity 0.7s cubic-bezier(.22,1,.36,1), transform 0.7s cubic-bezier(.22,1,.36,1);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0; transform: translateX(32px);
  transition: opacity 0.7s cubic-bezier(.22,1,.36,1), transform 0.7s cubic-bezier(.22,1,.36,1);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* ══════════════════════════════════════════
   LOGO SVG COMPONENT
   ══════════════════════════════════════════ */
.pb-logo-wrap {
  display: flex; align-items: center; gap: 11px;
  font-weight: 800; font-size: 1.3rem; letter-spacing: -0.5px;
}
.pb-logo-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  position: relative;
}
.pb-logo-light .pb-wordmark { color: var(--slate-900); }
.pb-logo-dark  .pb-wordmark { color: #fff; }

/* ══════════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════════ */
nav {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(99,102,241,0.1);
  padding: 0 24px;
  transition: background 0.3s, box-shadow 0.3s;
}
nav.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 4px 24px rgba(99,102,241,0.1);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.nav-links { display: flex; gap: 36px; }
.nav-links a {
  font-size: 0.9rem; font-weight: 600;
  color: var(--slate-700);
  position: relative; padding-bottom: 2px;
  transition: color 0.2s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 2px; background: var(--indigo);
  border-radius: 2px; transition: width 0.3s cubic-bezier(.22,1,.36,1);
}
.nav-links a:hover { color: var(--indigo); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--indigo); }
.nav-links a.active::after { width: 100%; }

.nav-cta {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  color: #fff; padding: 10px 22px;
  border-radius: 10px; font-size: 0.875rem; font-weight: 700;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(99,102,241,0.35);
}
.nav-cta::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--violet), var(--indigo));
  opacity: 0; transition: opacity 0.3s;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(99,102,241,0.5); }
.nav-cta:hover::before { opacity: 1; }
.nav-cta span { position: relative; z-index: 1; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { width: 24px; height: 2px; background: var(--slate-900); border-radius: 2px; transition: all 0.3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; flex-direction: column;
  padding: 0 24px;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--slate-100);
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s cubic-bezier(.22,1,.36,1), padding 0.3s;
}
.mobile-menu.open {
  display: flex; max-height: 400px; padding: 12px 24px 20px;
}
.mobile-menu a {
  padding: 12px 0; font-weight: 600; font-size: 0.95rem;
  color: var(--slate-700); border-bottom: 1px solid var(--slate-100);
  transition: color 0.2s, padding-left 0.2s;
}
.mobile-menu a:hover { color: var(--indigo); padding-left: 6px; }

/* ══════════════════════════════════════════
   HERO
   ══════════════════════════════════════════ */
.hero {
  background: linear-gradient(135deg, #0a0a1a 0%, #0f0c29 30%, #1a0533 60%, #0f172a 100%);
  color: #fff; padding: 100px 24px 80px;
  position: relative; overflow: hidden;
  min-height: 88vh; display: flex; align-items: center;
}
/* Animated gradient orbs */
.hero::before {
  content: ''; position: absolute; top: -20%; right: -10%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(99,102,241,0.3) 0%, transparent 65%);
  animation: floatSlow 8s ease-in-out infinite;
}
.hero::after {
  content: ''; position: absolute; bottom: -20%; left: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(139,92,246,0.2) 0%, transparent 65%);
  animation: floatSlow 10s ease-in-out infinite reverse;
}
.hero-blob {
  position: absolute; top: 20%; left: 30%;
  width: 300px; height: 300px;
  background: rgba(236,72,153,0.06);
  animation: blob 12s ease-in-out infinite;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
}
.hero-inner {
  max-width: 1200px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center;
  position: relative; z-index: 1;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(99,102,241,0.15);
  border: 1px solid rgba(99,102,241,0.4);
  padding: 7px 16px; border-radius: 100px;
  font-size: 0.8rem; font-weight: 700; color: #a5b4fc;
  margin-bottom: 24px;
  animation: fadeInLeft 0.8s cubic-bezier(.22,1,.36,1) both;
}
.hero-badge .pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #a5b4fc; position: relative;
}
.hero-badge .pulse-dot::after {
  content: ''; position: absolute; inset: -3px;
  border-radius: 50%; background: #a5b4fc;
  animation: pulse-ring 1.5s ease-out infinite;
}
.hero-content { animation: fadeInLeft 0.9s cubic-bezier(.22,1,.36,1) 0.1s both; }
.hero h1 {
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  font-weight: 900; line-height: 1.05;
  margin-bottom: 24px; letter-spacing: -1.5px;
}
.hero h1 .gradient-text {
  background: linear-gradient(135deg, #a5b4fc 0%, #c4b5fd 40%, #f9a8d4 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: shimmer 3s linear infinite;
}
.hero p {
  font-size: 1.1rem; color: #94a3b8; line-height: 1.8;
  margin-bottom: 40px; max-width: 500px;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

.btn-primary {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  color: #fff; padding: 15px 32px;
  border-radius: 12px; font-weight: 700; font-size: 1rem;
  display: inline-flex; align-items: center; gap: 10px;
  box-shadow: 0 8px 32px rgba(99,102,241,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--violet), var(--pink));
  opacity: 0; transition: opacity 0.3s;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 48px rgba(99,102,241,0.5); }
.btn-primary:hover::after { opacity: 1; }
.btn-primary span { position: relative; z-index: 1; }
.btn-primary .btn-icon { position: relative; z-index: 1; font-size: 1.1rem; }

.btn-outline {
  border: 2px solid rgba(255,255,255,0.25);
  color: #fff; padding: 15px 32px;
  border-radius: 12px; font-weight: 700; font-size: 1rem;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(8px);
  transition: all 0.3s; display: inline-flex; align-items: center; gap: 10px;
}
.btn-outline:hover {
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.12);
  transform: translateY(-2px);
}

/* App Mockup — floating card */
.hero-visual {
  display: flex; justify-content: center; align-items: center;
  animation: fadeInRight 0.9s cubic-bezier(.22,1,.36,1) 0.2s both;
}
.app-mockup-wrap {
  position: relative;
}
.app-mockup {
  width: 290px;
  background: rgba(15,12,41,0.8);
  backdrop-filter: blur(24px);
  border-radius: 36px;
  border: 1px solid rgba(99,102,241,0.4);
  padding: 28px 24px;
  box-shadow: 0 48px 96px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.05) inset;
  animation: float 6s ease-in-out infinite;
  display: flex; flex-direction: column; gap: 14px;
}
.mockup-notch {
  width: 80px; height: 6px; background: rgba(255,255,255,0.15);
  border-radius: 3px; margin: 0 auto 8px;
}
.mockup-header {
  display: flex; align-items: center; gap: 10px;
  background: rgba(99,102,241,0.15);
  border: 1px solid rgba(99,102,241,0.3);
  border-radius: 14px; padding: 10px 14px;
}
.mockup-header-icon { font-size: 1.3rem; }
.mockup-header-text { flex: 1; }
.mockup-header-text .mh-title { font-size: 0.75rem; font-weight: 800; color: #fff; }
.mockup-header-text .mh-sub { font-size: 0.65rem; color: #a5b4fc; margin-top: 1px; }
.mockup-live {
  background: #ef4444; color: #fff;
  padding: 2px 7px; border-radius: 100px;
  font-size: 0.6rem; font-weight: 800; letter-spacing: 0.05em;
  animation: pulse-ring 1.5s ease-out infinite;
}
.mockup-stats-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
}
.mockup-stat-box {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px; padding: 10px 8px; text-align: center;
}
.mockup-stat-box .msb-val { font-size: 1.1rem; font-weight: 900; color: #fff; }
.mockup-stat-box .msb-lbl { font-size: 0.6rem; color: #94a3b8; margin-top: 2px; font-weight: 500; }
.mockup-divider { height: 1px; background: rgba(255,255,255,0.07); }
.mockup-progress-block { display: flex; flex-direction: column; gap: 8px; }
.mockup-prog-row { display: flex; flex-direction: column; gap: 4px; }
.mockup-prog-meta { display: flex; justify-content: space-between; font-size: 0.68rem; color: #94a3b8; }
.mockup-prog-track {
  height: 5px; background: rgba(255,255,255,0.08);
  border-radius: 3px; overflow: hidden;
}
.mockup-prog-fill {
  height: 100%; border-radius: 3px;
  animation: bar-fill 2s cubic-bezier(.22,1,.36,1) 1s both;
}
.fill-indigo { background: linear-gradient(90deg, var(--indigo), var(--violet)); --target-width: 87%; }
.fill-violet { background: linear-gradient(90deg, var(--violet), var(--pink)); --target-width: 72%; }
.fill-green  { background: linear-gradient(90deg, #10b981, #34d399); --target-width: 94%; }

.mockup-streak {
  background: linear-gradient(135deg, rgba(251,146,60,0.2), rgba(239,68,68,0.1));
  border: 1px solid rgba(251,146,60,0.3);
  border-radius: 12px; padding: 10px 14px;
  display: flex; align-items: center; gap: 8px;
}
.mockup-streak .ms-icon { font-size: 1.2rem; }
.mockup-streak .ms-text { flex: 1; }
.mockup-streak .ms-text .ms-title { font-size: 0.72rem; font-weight: 800; color: #fb923c; }
.mockup-streak .ms-text .ms-sub { font-size: 0.62rem; color: #94a3b8; margin-top: 1px; }
.mockup-streak .ms-val { font-size: 1.3rem; font-weight: 900; color: #fb923c; }

/* Floating badges around mockup */
.floating-badge {
  position: absolute; background: rgba(255,255,255,0.1);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 14px; padding: 10px 16px;
  display: flex; align-items: center; gap: 8px;
  white-space: nowrap;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.floating-badge .fb-icon { font-size: 1.2rem; }

.floating-badge .fb-text .fb-val { font-size: 0.85rem; font-weight: 800; color: #fff; }
.floating-badge .fb-text .fb-lbl { font-size: 0.65rem; color: #94a3b8; }
.fb-1 { top: 10%; left: -28%; animation: float 5s ease-in-out 0.5s infinite; }
.fb-2 { bottom: 20%; right: -25%; animation: float 6s ease-in-out 1s infinite reverse; }
.fb-3 { top: 55%; left: -32%; animation: float 7s ease-in-out 0.2s infinite; }

/* ══════════════════════════════════════════
   SECTIONS
   ══════════════════════════════════════════ */
section { padding: 88px 24px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--indigo); margin-bottom: 14px;
}
.section-label::before {
  content: ''; width: 20px; height: 2px;
  background: linear-gradient(90deg, var(--indigo), var(--violet));
  border-radius: 1px;
}
.section-title {
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  font-weight: 900; color: var(--slate-900); margin-bottom: 16px;
  letter-spacing: -0.5px; line-height: 1.15;
}
.section-sub {
  font-size: 1.05rem; color: var(--slate-500);
  line-height: 1.75; max-width: 600px;
}
.section-header { text-align: center; margin-bottom: 64px; }
.section-header .section-sub { margin: 0 auto; }
.section-header .section-label { justify-content: center; }

/* ══════════════════════════════════════════
   FEATURE CARDS — GLASSMORPHISM
   ══════════════════════════════════════════ */
.features { background: linear-gradient(180deg, var(--slate-50) 0%, #fff 100%); }
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.feature-card {
  background: var(--white);
  border-radius: 20px; padding: 32px 28px;
  border: 1px solid rgba(99,102,241,0.08);
  position: relative; overflow: hidden;
  transition: transform 0.35s cubic-bezier(.22,1,.36,1), box-shadow 0.35s;
  cursor: default;
}
.feature-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(99,102,241,0.04), transparent);
  opacity: 0; transition: opacity 0.35s;
}
.feature-card::after {
  content: ''; position: absolute;
  top: -80px; right: -80px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(99,102,241,0.08), transparent 70%);
  opacity: 0; transition: opacity 0.35s;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 20px 48px rgba(99,102,241,0.14); }
.feature-card:hover::before { opacity: 1; }
.feature-card:hover::after { opacity: 1; }
.feature-icon-wrap {
  width: 56px; height: 56px; border-radius: 16px;
  background: linear-gradient(135deg, var(--indigo-light), rgba(139,92,246,0.15));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 20px;
  transition: transform 0.3s;
}
.feature-card:hover .feature-icon-wrap { transform: scale(1.1) rotate(-4deg); }
.feature-card h3 {
  font-size: 1.05rem; font-weight: 800;
  margin-bottom: 10px; color: var(--slate-900);
}
.feature-card p { font-size: 0.88rem; color: var(--slate-500); line-height: 1.7; }
.feature-tag {
  display: inline-block; margin-top: 14px;
  background: var(--indigo-light); color: var(--indigo-dark);
  padding: 3px 10px; border-radius: 100px;
  font-size: 0.7rem; font-weight: 700;
}

/* ══════════════════════════════════════════
   EXAM PILLS
   ══════════════════════════════════════════ */
.exams-section { background: #fff; }
.exams-wrap {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
}
.exam-pill {
  background: var(--white);
  border: 1.5px solid rgba(99,102,241,0.2);
  color: var(--indigo-dark);
  padding: 10px 20px; border-radius: 100px;
  font-size: 0.875rem; font-weight: 700;
  transition: all 0.3s cubic-bezier(.22,1,.36,1);
  position: relative; overflow: hidden;
  cursor: default;
}
.exam-pill::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  opacity: 0; transition: opacity 0.3s;
  border-radius: 100px;
}
.exam-pill:hover { color: #fff; transform: scale(1.06); box-shadow: 0 6px 20px rgba(99,102,241,0.3); }
.exam-pill:hover::before { opacity: 1; }
.exam-pill span { position: relative; z-index: 1; }

/* ══════════════════════════════════════════
   WHY SECTION — DARK GLASS CARDS
   ══════════════════════════════════════════ */
.why {
  background: linear-gradient(135deg, #0a0a1a 0%, #0f0c29 50%, #1a0533 100%);
  color: #fff; position: relative; overflow: hidden;
}
.why::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 30%, rgba(99,102,241,0.15) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 80% 70%, rgba(139,92,246,0.1) 0%, transparent 60%);
}
.why .section-inner { position: relative; z-index: 1; }
.why .section-title { color: #fff; }
.why .section-sub { color: #94a3b8; }
.why .section-label { color: #a5b4fc; }
.why .section-label::before { background: linear-gradient(90deg, #a5b4fc, #c4b5fd); }
.why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px; margin-top: 0;
}
.why-card {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px; padding: 32px 28px;
  position: relative; overflow: hidden;
  transition: transform 0.35s cubic-bezier(.22,1,.36,1), border-color 0.3s, background 0.3s;
}
.why-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(99,102,241,0.08), transparent);
  opacity: 0; transition: opacity 0.35s;
}
.why-card:hover {
  transform: translateY(-6px);
  border-color: rgba(99,102,241,0.35);
  background: rgba(99,102,241,0.07);
}
.why-card:hover::before { opacity: 1; }
.why-num {
  font-size: 3.5rem; font-weight: 900;
  background: linear-gradient(135deg, rgba(99,102,241,0.5), rgba(139,92,246,0.3));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px; line-height: 1;
}
.why-card h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 10px; color: #fff; }
.why-card p { font-size: 0.88rem; color: #94a3b8; line-height: 1.7; }
.why-card .why-icon {
  font-size: 1.5rem; margin-bottom: 12px;
  display: flex; align-items: center;
}

/* ══════════════════════════════════════════
   STATS ROW
   ══════════════════════════════════════════ */
.stats-section {
  background: linear-gradient(135deg, var(--indigo) 0%, var(--violet-dark) 50%, var(--violet) 100%);
  background-size: 200% 200%;
  animation: gradient-shift 6s ease infinite;
  color: #fff; padding: 72px 24px;
}
.stats-grid {
  max-width: 900px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  text-align: center;
}
.stat-item .si-val {
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 900;
  line-height: 1; margin-bottom: 8px;
}
.stat-item .si-lbl { font-size: 0.875rem; color: rgba(255,255,255,0.75); font-weight: 500; }

/* ══════════════════════════════════════════
   CTA BANNER
   ══════════════════════════════════════════ */
.cta-banner {
  background: linear-gradient(135deg, #0a0a1a 0%, #0f0c29 50%, #1a0533 100%);
  color: #fff; text-align: center; padding: 96px 24px;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; top: -50%; left: 50%; transform: translateX(-50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(99,102,241,0.2) 0%, transparent 60%);
}
.cta-banner .section-inner { position: relative; z-index: 1; }
.cta-banner h2 {
  font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 900;
  margin-bottom: 20px; letter-spacing: -0.5px;
}
.cta-banner h2 .gradient-text {
  background: linear-gradient(135deg, #a5b4fc, #c4b5fd, #f9a8d4);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.cta-banner p { font-size: 1.1rem; color: #94a3b8; margin-bottom: 36px; max-width: 520px; margin-left: auto; margin-right: auto; }
.btn-white {
  background: #fff; color: var(--indigo-dark);
  padding: 16px 36px; border-radius: 12px;
  font-weight: 800; font-size: 1rem;
  display: inline-flex; align-items: center; gap: 10px;
  box-shadow: 0 8px 32px rgba(255,255,255,0.2);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-white:hover { transform: translateY(-3px); box-shadow: 0 16px 48px rgba(255,255,255,0.3); }

/* ══════════════════════════════════════════
   PAGE HERO (inner pages)
   ══════════════════════════════════════════ */
.page-hero {
  background: linear-gradient(135deg, #0a0a1a 0%, #0f0c29 50%, #1a0533 100%);
  color: #fff; padding: 80px 24px 72px;
  text-align: center; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 30%, rgba(99,102,241,0.25) 0%, transparent 70%);
}
.page-hero .section-inner { position: relative; z-index: 1; }
.page-hero .ph-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(99,102,241,0.15); border: 1px solid rgba(99,102,241,0.35);
  color: #a5b4fc; padding: 6px 16px; border-radius: 100px;
  font-size: 0.8rem; font-weight: 700; margin-bottom: 20px;
  animation: fadeInUp 0.6s both;
}
.page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 900;
  margin-bottom: 16px; letter-spacing: -0.5px;
  animation: fadeInUp 0.6s 0.1s both;
}
.page-hero p {
  font-size: 1.05rem; color: #94a3b8;
  max-width: 540px; margin: 0 auto; line-height: 1.75;
  animation: fadeInUp 0.6s 0.2s both;
}
.page-hero .meta {
  font-size: 0.85rem; color: #64748b; margin-top: 10px;
  animation: fadeInUp 0.6s 0.25s both;
}

/* ══════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════ */
footer {
  background: linear-gradient(180deg, #0a0a1a 0%, #0f172a 100%);
  color: #94a3b8; padding: 64px 24px 36px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: 2.2fr 1fr 1fr;
  gap: 56px; margin-bottom: 48px;
}
.footer-brand p {
  margin-top: 16px; font-size: 0.9rem; line-height: 1.8;
  max-width: 300px; color: #64748b;
}
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; transition: background 0.2s, transform 0.2s;
}
.footer-social a:hover { background: var(--indigo); transform: translateY(-2px); }
.footer-col h4 {
  font-size: 0.75rem; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: #e2e8f0; margin-bottom: 18px;
}
.footer-col a {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.88rem; margin-bottom: 12px;
  color: #64748b; transition: color 0.2s, gap 0.2s;
}
.footer-col a::before { content: '→'; opacity: 0; transition: opacity 0.2s; font-size: 0.75rem; }
.footer-col a:hover { color: #fff; gap: 8px; }
.footer-col a:hover::before { opacity: 1; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px; font-size: 0.83rem; color: #475569;
}

/* ══════════════════════════════════════════
   LEGAL PAGES
   ══════════════════════════════════════════ */
.legal-wrap { max-width: 820px; margin: 0 auto; padding: 64px 24px 80px; }
.legal-toc {
  background: linear-gradient(135deg, rgba(99,102,241,0.05), rgba(139,92,246,0.03));
  border: 1px solid rgba(99,102,241,0.15);
  border-radius: 16px; padding: 28px 32px; margin-bottom: 52px;
}
.legal-toc h3 {
  font-size: 0.78rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .1em; color: var(--indigo); margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
}
.legal-toc h3::before { content: ''; width: 20px; height: 2px; background: var(--indigo); border-radius: 1px; }
.legal-toc ol { padding-left: 22px; }
.legal-toc li { font-size: 0.9rem; margin-bottom: 7px; line-height: 1.5; }
.legal-toc a { color: var(--indigo); font-weight: 500; transition: color 0.2s; }
.legal-toc a:hover { color: var(--violet); }

.legal-section { margin-bottom: 52px; }
.legal-section h2 {
  font-size: 1.4rem; font-weight: 900; color: var(--slate-900);
  margin-bottom: 18px; padding-bottom: 14px;
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(90deg, var(--indigo), var(--violet), transparent) 1;
  display: flex; align-items: center; gap: 10px;
}
.legal-section h3 {
  font-size: 1rem; font-weight: 800; color: var(--slate-900);
  margin: 22px 0 10px;
}
.legal-section p {
  font-size: 0.95rem; color: var(--slate-700);
  line-height: 1.85; margin-bottom: 14px;
}
.legal-section ul, .legal-section ol { padding-left: 22px; margin-bottom: 16px; }
.legal-section li {
  font-size: 0.95rem; color: var(--slate-700);
  line-height: 1.85; margin-bottom: 8px;
}
.legal-section a { color: var(--indigo); }
.legal-section a:hover { text-decoration: underline; }

.highlight-box {
  background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(139,92,246,0.05));
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: 12px; padding: 18px 22px; margin: 18px 0;
}
.highlight-box p { color: var(--indigo-dark); font-weight: 600; font-size: 0.9rem; margin: 0; }
.warning-box {
  background: rgba(239,68,68,0.06); border-left: 4px solid #ef4444;
  border-radius: 0 12px 12px 0; padding: 16px 20px; margin: 18px 0;
}
.warning-box p { color: #991b1b; font-weight: 600; font-size: 0.9rem; margin: 0; }
.info-box {
  background: rgba(16,185,129,0.07); border-left: 4px solid #10b981;
  border-radius: 0 12px 12px 0; padding: 16px 20px; margin: 18px 0;
}
.info-box p { color: #065f46; font-size: 0.9rem; line-height: 1.6; margin: 0; }
.data-table {
  width: 100%; border-collapse: collapse; margin: 16px 0 24px;
  font-size: 0.875rem; border-radius: 12px; overflow: hidden;
}
.data-table th {
  background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(139,92,246,0.05));
  text-align: left; padding: 12px 16px; font-weight: 800;
  color: var(--slate-700); border: 1px solid rgba(99,102,241,0.1);
}
.data-table td {
  padding: 11px 16px; color: var(--slate-700);
  border: 1px solid var(--slate-100); vertical-align: top; line-height: 1.65;
}
.data-table tr:nth-child(even) td { background: var(--slate-50); }

/* Steps */
.steps { margin: 20px 0; }
.step { display: flex; gap: 18px; margin-bottom: 20px; }
.step-num {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 0.85rem;
  box-shadow: 0 4px 12px rgba(99,102,241,0.35);
}
.step-content h4 { font-size: 0.95rem; font-weight: 800; margin-bottom: 4px; color: var(--slate-900); }
.step-content p { font-size: 0.875rem; color: var(--slate-500); line-height: 1.65; margin: 0; }

/* Summary cards (refund page) */
.summary-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 52px; }
.summary-card { border-radius: 16px; padding: 22px 20px; text-align: center; }
.summary-card.green { background: #ecfdf5; border: 1px solid #a7f3d0; }
.summary-card.yellow { background: #fef3c7; border: 1px solid #fde68a; }
.summary-card.blue { background: var(--indigo-light); border: 1px solid #c7d2fe; }
.summary-card .icon { font-size: 1.8rem; margin-bottom: 10px; }
.summary-card h4 { font-size: 0.875rem; font-weight: 800; margin-bottom: 6px; }
.summary-card.green h4 { color: #065f46; }
.summary-card.yellow h4 { color: #92400e; }
.summary-card.blue h4 { color: var(--indigo-dark); }
.summary-card p { font-size: 0.78rem; line-height: 1.6; }
.summary-card.green p { color: #047857; }
.summary-card.yellow p { color: #b45309; }
.summary-card.blue p { color: var(--indigo-dark); }

/* ══════════════════════════════════════════
   CONTACT PAGE
   ══════════════════════════════════════════ */
.contact-section { background: var(--slate-50); }
.contact-inner {
  max-width: 1040px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.7fr; gap: 64px; align-items: start;
}
.contact-info h2 { font-size: 1.6rem; font-weight: 900; margin-bottom: 14px; }
.contact-info > p { font-size: 0.95rem; color: var(--slate-500); line-height: 1.75; margin-bottom: 32px; }
.info-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 22px; }
.info-icon {
  width: 46px; height: 46px; border-radius: 14px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--indigo-light), rgba(139,92,246,0.15));
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
  transition: transform 0.3s;
}
.info-item:hover .info-icon { transform: scale(1.1) rotate(-4deg); }
.info-text .label {
  font-size: 0.72rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .07em; color: var(--slate-500); margin-bottom: 3px;
}
.info-text .val { font-size: 0.95rem; font-weight: 700; color: var(--slate-900); }
.info-text .val a { color: var(--indigo); }
.response-note {
  background: linear-gradient(135deg, rgba(99,102,241,0.06), rgba(139,92,246,0.04));
  border: 1px solid rgba(99,102,241,0.15);
  border-radius: 14px; padding: 18px 20px; margin-top: 32px;
  font-size: 0.875rem; color: var(--slate-500); line-height: 1.7;
}
.response-note strong { color: var(--slate-900); }
.contact-form {
  background: var(--white);
  border-radius: 24px; padding: 40px;
  border: 1px solid rgba(99,102,241,0.1);
  box-shadow: 0 8px 48px rgba(99,102,241,0.08);
}
.contact-form h3 { font-size: 1.25rem; font-weight: 900; margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 0.82rem; font-weight: 700;
  color: var(--slate-700); margin-bottom: 7px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--slate-100);
  border-radius: 12px; font-family: 'Inter', sans-serif;
  font-size: 0.9rem; color: var(--slate-900);
  background: var(--slate-50);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--indigo);
  box-shadow: 0 0 0 4px rgba(99,102,241,0.1);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.submit-btn {
  width: 100%; padding: 15px;
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  color: #fff; border: none; border-radius: 12px;
  font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 800;
  cursor: pointer; transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 8px 24px rgba(99,102,241,0.35);
}
.submit-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(99,102,241,0.45); }
.success-msg {
  display: none; background: #ecfdf5;
  border: 1px solid #a7f3d0; border-radius: 12px;
  padding: 16px; margin-top: 16px;
  color: #065f46; font-size: 0.9rem; font-weight: 600; text-align: center;
  animation: fadeInUp 0.4s both;
}
.success-msg.show { display: block; }

/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .fb-1, .fb-2, .fb-3 { display: none; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero { padding: 72px 24px 60px; min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 48px; }
  .hero-btns { justify-content: center; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero-visual { order: -1; }
  .app-mockup { width: 240px; }
  .features-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 22px; }
  .summary-grid { grid-template-columns: 1fr; }
  section { padding: 64px 24px; }
}
