/* ============================================
   EXAMBOOK — Premium Website Stylesheet
   Dark Purple · Violet · Black Theme
   ============================================ */

:root {
  --bg-primary: #030308;
  --bg-secondary: #07061A;
  --bg-card: #0C0B1E;
  --bg-card-hover: #110F28;
  --border: #1A1535;
  --border-light: #28205A;
  --purple: #8B5CF6;
  --purple-dark: #7C3AED;
  --purple-mid: #6D28D9;
  --purple-light: #A78BFA;
  --violet: #C026D3;
  --pink: #DB2777;
  --blue: #4F7CFF;
  --green: #22C55E;
  --text-primary: #F0F4FF;
  --text-secondary: #A8B4CC;
  --text-muted: #60708A;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0,0,0,0.5);
  --shadow-purple: 0 4px 40px rgba(139,92,246,0.3);
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
  --grad: linear-gradient(135deg, #7C3AED, #C026D3);
  --grad-light: linear-gradient(135deg, #8B5CF6, #D946EF);
  --grad-text: linear-gradient(135deg, #A78BFA, #F0ABFC);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}
h1,h2,h3,h4,h5 { font-family: 'Poppins', 'Inter', sans-serif; font-weight: 700; line-height: 1.2; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ---- UTILITIES ---- */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.text-purple { color: var(--purple-light); }
.text-center { text-align: center; }

.badge {
  display: inline-block;
  background: rgba(139,92,246,0.12);
  color: var(--purple-light);
  border: 1px solid rgba(139,92,246,0.3);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.section-title { font-size: clamp(1.75rem, 4vw, 2.75rem); margin-bottom: 16px; }
.section-subtitle { font-size: 1.05rem; color: var(--text-secondary); max-width: 560px; margin: 0 auto; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
  font-family: inherit;
}
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 4px 24px rgba(124,58,237,0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 36px rgba(124,58,237,0.55); }
.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border-light);
}
.btn-outline:hover { background: rgba(139,92,246,0.08); border-color: var(--purple); color: var(--purple-light); }
.btn-lg { padding: 16px 36px; font-size: 1rem; border-radius: 12px; }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }
.btn-green {
  background: linear-gradient(135deg, #16A34A, #15803D);
  color: white;
  box-shadow: 0 4px 20px rgba(22,163,74,0.35);
}
.btn-green:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(22,163,74,0.45); }

/* ---- NAVIGATION ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: var(--transition);
}
.nav.scrolled {
  background: rgba(3,3,8,0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 32px rgba(0,0,0,0.6);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1160px;
  margin: 0 auto;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { height: 34px; width: auto; }
.nav-logo span {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--text-secondary); font-size: 0.88rem; font-weight: 500; transition: color var(--transition); }
.nav-links a:hover { color: var(--text-primary); }
.nav-cta { display: flex; align-items: center; gap: 10px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: rgba(139,92,246,0.12);
  border: 1px solid rgba(139,92,246,0.25);
  border-radius: 8px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1001; /* always above mobile-nav overlay */
}
.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--purple-light);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}
/* X state when nav is open */
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- MOBILE NAV ---- */
.mobile-nav {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #07061A;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  overflow: hidden;
}
.mobile-nav::before {
  content: '';
  position: absolute;
  top: -200px; left: 50%; transform: translateX(-50%);
  width: 500px; height: 500px;
  background: radial-gradient(ellipse, rgba(124,58,237,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a.mobile-nav-link {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color var(--transition);
  position: relative;
  z-index: 1;
}
.mobile-nav a.mobile-nav-link:hover { color: var(--purple-light); }
.mobile-nav-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 40px; height: 40px;
  background: rgba(139,92,246,0.12);
  border: 1px solid rgba(139,92,246,0.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--text-secondary);
  transition: var(--transition);
  z-index: 1;
}
.mobile-nav-close:hover { background: rgba(139,92,246,0.2); color: var(--purple-light); }
.mobile-nav-cta { position: relative; z-index: 1; }

/* ---- HERO ---- */
.hero {
  padding: 140px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -300px; left: 40%;
  width: 900px; height: 900px;
  background: radial-gradient(ellipse, rgba(124,58,237,0.1) 0%, transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(ellipse, rgba(192,38,211,0.07) 0%, transparent 65%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 56px;
  position: relative;
  z-index: 1;
}
.hero-eyebrow { margin-bottom: 20px; }
.hero-title { font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.15; margin-bottom: 20px; }
.hero-title .highlight {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc { font-size: 1.05rem; color: var(--text-secondary); margin-bottom: 36px; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 44px; }
.hero-stats { display: flex; gap: 28px; flex-wrap: wrap; }
.hero-stat strong { display: block; font-size: 1.4rem; font-weight: 800; color: var(--purple-light); }
.hero-stat span { font-size: 0.78rem; color: var(--text-muted); }

.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-mockup { position: relative; width: 100%; max-width: 380px; }
.phone-frame {
  background: linear-gradient(160deg, #110E2A, #07061A);
  border-radius: 40px;
  padding: 14px;
  border: 1.5px solid var(--border-light);
  box-shadow: 0 32px 80px rgba(0,0,0,0.7), 0 0 60px rgba(124,58,237,0.15), inset 0 1px 0 rgba(255,255,255,0.04);
  aspect-ratio: 9/17;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.phone-screen {
  background: linear-gradient(160deg, #0D0B20, #100D28);
  border-radius: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 20px;
  overflow: hidden;
}
.phone-screen-logo {
  width: 64px; height: 64px;
  background: none;
  border-radius: 0;
  display: flex; align-items: center; justify-content: center;
  box-shadow: none;
}
.phone-screen-title { font-size: 1.2rem; font-weight: 700; text-align: center; }
.phone-screen-sub { font-size: 0.72rem; color: var(--text-muted); text-align: center; }
.phone-screen-features { width: 100%; display: flex; flex-direction: column; gap: 7px; }
.phone-feature-item {
  background: rgba(139,92,246,0.08);
  border: 1px solid rgba(139,92,246,0.15);
  border-radius: 8px;
  padding: 9px 12px;
  display: flex; align-items: center; gap: 9px;
  font-size: 0.74rem;
  color: var(--text-secondary);
}
.hero-float-badge {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: var(--shadow);
}
.hero-float-badge.top-right { top: 8%; right: -8%; color: var(--green); }
.hero-float-badge.bottom-left { bottom: 18%; left: -6%; font-size: 0.75rem; line-height: 1.5; }

/* ---- TICKER ---- */
.ticker-wrap {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  overflow: hidden;
}
.ticker { display: flex; gap: 48px; animation: ticker 24s linear infinite; width: max-content; }
.ticker-item { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; color: var(--text-secondary); white-space: nowrap; }
.ticker-item .dot { color: var(--purple-light); font-size: 1rem; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ---- REVISION USP BANNER ---- */
.revision-banner {
  background: linear-gradient(135deg, rgba(124,58,237,0.15), rgba(192,38,211,0.08));
  border: 1px solid rgba(139,92,246,0.25);
  border-radius: 20px;
  padding: 40px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: 0 0 80px;
}
.revision-banner::before {
  content: '';
  position: absolute;
  top: -80px; left: 50%; transform: translateX(-50%);
  width: 400px; height: 300px;
  background: radial-gradient(ellipse, rgba(139,92,246,0.12) 0%, transparent 70%);
}
.revision-banner h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); position: relative; margin-bottom: 12px; }
.revision-banner p { color: var(--text-secondary); max-width: 560px; margin: 0 auto; position: relative; }

/* ---- STATS BAR ---- */
.stats-bar {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-item { text-align: center; }
.stat-number {
  font-size: 2.1rem;
  font-weight: 800;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 6px;
}
.stat-label { font-size: 0.83rem; color: var(--text-secondary); font-weight: 500; }

/* ---- FEATURES ---- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad);
  opacity: 0;
  transition: var(--transition);
}
.feature-card:hover { border-color: rgba(139,92,246,0.3); background: var(--bg-card-hover); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(124,58,237,0.15); }
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, rgba(139,92,246,0.15), rgba(139,92,246,0.05));
  border: 1px solid rgba(139,92,246,0.2);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}
.feature-title { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.feature-desc { font-size: 0.86rem; color: var(--text-secondary); line-height: 1.65; }

/* ---- PRICING ---- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
  align-items: start;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
  transition: var(--transition);
}
.pricing-card:hover { transform: translateY(-4px); border-color: rgba(139,92,246,0.3); }
.pricing-card.popular {
  background: linear-gradient(160deg, #100D28, #160F35);
  border: 2px solid var(--purple);
  box-shadow: var(--shadow-purple);
  transform: scale(1.03);
}
.pricing-card.popular:hover { transform: scale(1.03) translateY(-4px); }
.popular-tag {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--grad);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 18px;
  border-radius: 100px;
  white-space: nowrap;
  letter-spacing: 0.06em;
}
.plan-name { font-size: 0.82rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; }
.plan-price { display: flex; align-items: flex-end; gap: 4px; margin-bottom: 4px; }
.plan-price .currency { font-size: 1.2rem; font-weight: 700; color: var(--purple-light); margin-bottom: 6px; }
.plan-price .amount { font-size: 2.6rem; font-weight: 800; line-height: 1; color: var(--text-primary); }
.plan-price .period { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 8px; }
.plan-daily { font-size: 0.8rem; color: var(--green); font-weight: 600; margin-bottom: 18px; }
.plan-divider { height: 1px; background: var(--border); margin: 18px 0; }
.plan-features { display: flex; flex-direction: column; gap: 11px; margin-bottom: 24px; }
.plan-feature { display: flex; align-items: center; gap: 10px; font-size: 0.86rem; color: var(--text-secondary); }
.plan-feature .check { color: var(--green); font-size: 0.9rem; flex-shrink: 0; }
.pricing-trial-note {
  text-align: center;
  margin-top: 36px;
  padding: 18px 24px;
  background: rgba(79,124,255,0.06);
  border: 1px solid rgba(79,124,255,0.18);
  border-radius: var(--radius);
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.7;
}
.pricing-trial-note strong { color: #93C5FD; }

/* ---- HOW IT WORKS ---- */
.how-it-works { background: var(--bg-secondary); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 56px;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 36px; left: calc(16.66% + 20px); right: calc(16.66% + 20px);
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--violet));
  opacity: 0.25;
}
.step-item { text-align: center; }
.step-number {
  width: 72px; height: 72px;
  background: var(--bg-card);
  border: 2px solid var(--border-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 22px;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  transition: var(--transition);
}
.step-number.active {
  background: var(--grad);
  border: none;
  box-shadow: 0 4px 28px rgba(124,58,237,0.45);
}
.step-title { font-size: 1.05rem; margin-bottom: 10px; }
.step-desc { font-size: 0.86rem; color: var(--text-secondary); }

/* ---- SUBJECTS ---- */
.subjects-grid { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 44px; }
.subject-chip {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 10px 20px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: var(--transition);
  display: flex; align-items: center; gap: 8px;
}
.subject-chip:hover { background: rgba(139,92,246,0.1); border-color: rgba(139,92,246,0.35); color: var(--purple-light); }

/* ---- FAQ ---- */
.faq-list { max-width: 760px; margin: 52px auto 0; display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.open { border-color: rgba(139,92,246,0.35); }
.faq-question {
  padding: 18px 22px;
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.93rem;
  user-select: none;
  gap: 12px;
}
.faq-toggle {
  width: 28px; height: 28px;
  background: var(--bg-secondary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
  font-size: 1.1rem;
  color: var(--text-muted);
}
.faq-item.open .faq-toggle { background: var(--grad); color: white; transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 22px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.75;
}
.faq-item.open .faq-answer { max-height: 300px; padding: 0 22px 18px; }

/* ---- CTA BANNER ---- */
.cta-banner {
  background: linear-gradient(135deg, #0E0B24, #160F35);
  border: 1px solid rgba(139,92,246,0.25);
  border-radius: 24px;
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -100px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(124,58,237,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 14px; position: relative; }
.cta-banner p { color: var(--text-secondary); margin-bottom: 36px; font-size: 1rem; position: relative; }
.cta-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; position: relative; }

/* ---- FOOTER ---- */
.footer { background: var(--bg-secondary); border-top: 1px solid var(--border); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { color: var(--text-secondary); font-size: 0.88rem; line-height: 1.7; margin: 14px 0 20px; max-width: 300px; }
.footer-col h4 { font-size: 0.82rem; font-weight: 700; color: var(--text-primary); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col ul li a { font-size: 0.85rem; color: var(--text-secondary); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--purple-light); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px;
}
.footer-bottom p { font-size: 0.78rem; color: var(--text-muted); }
.footer-bottom-links { display: flex; gap: 18px; }
.footer-bottom-links a { font-size: 0.78rem; color: var(--text-muted); transition: color var(--transition); }
.footer-bottom-links a:hover { color: var(--purple-light); }

/* ---- PAGE HEADER ---- */
.page-header {
  background: linear-gradient(160deg, var(--bg-secondary), var(--bg-primary));
  border-bottom: 1px solid var(--border);
  padding: 116px 0 52px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: -100px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(124,58,237,0.08) 0%, transparent 70%);
}
.page-header h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 12px; position: relative; }
.page-header p { color: var(--text-secondary); font-size: 1rem; position: relative; }

/* ---- CONTENT PAGE ---- */
.content-wrap { max-width: 820px; margin: 0 auto; padding: 60px 24px 96px; }
.content-wrap h2 { font-size: 1.3rem; margin: 40px 0 12px; color: var(--purple-light); }
.content-wrap h3 { font-size: 1.02rem; margin: 22px 0 10px; color: var(--text-primary); }
.content-wrap p { color: var(--text-secondary); margin-bottom: 14px; line-height: 1.75; font-size: 0.94rem; }
.content-wrap ul { list-style: disc; padding-left: 24px; margin-bottom: 14px; }
.content-wrap ul li { color: var(--text-secondary); margin-bottom: 8px; font-size: 0.94rem; line-height: 1.65; }
.content-wrap .last-updated { font-size: 0.8rem; color: var(--text-muted); margin-top: -8px; margin-bottom: 36px; padding-bottom: 28px; border-bottom: 1px solid var(--border); }
.info-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--purple);
  border-radius: 8px;
  padding: 18px 22px;
  margin: 18px 0;
}
.info-box p { margin-bottom: 0; }

/* ---- CHECKOUT ---- */
.checkout-section { padding: 116px 0 80px; }
.checkout-grid { display: grid; grid-template-columns: 1fr 400px; gap: 28px; align-items: start; }
.checkout-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.checkout-form-wrap h2 { font-size: 1.4rem; margin-bottom: 8px; }
.checkout-form-wrap p { color: var(--text-secondary); font-size: 0.88rem; margin-bottom: 28px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--text-secondary); margin-bottom: 8px; }
.form-group label span.required { color: #F87171; margin-left: 3px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--bg-secondary);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 12px 15px;
  color: var(--text-primary);
  font-size: 0.92rem;
  transition: border-color var(--transition);
  outline: none;
  font-family: inherit;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--purple); }
.form-group select option { background: #0C0B1E; }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pay-btn {
  width: 100%;
  padding: 15px;
  font-size: 0.98rem;
  font-weight: 700;
  background: linear-gradient(135deg, #00B9F1, #0083C1);
  color: white;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition);
  display: flex; align-items: center; justify-content: center; gap: 10px;
  box-shadow: 0 4px 20px rgba(0,185,241,0.3);
  margin-top: 6px;
  font-family: inherit;
}
.pay-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,185,241,0.4); }
.pay-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.paytm-badge { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; font-size: 0.76rem; color: var(--text-muted); }
.security-badges { display: flex; justify-content: center; gap: 14px; margin-top: 14px; flex-wrap: wrap; }
.security-badge { display: flex; align-items: center; gap: 5px; font-size: 0.73rem; color: var(--text-muted); }
.security-badge .icon { color: var(--green); }
.order-summary {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: sticky;
  top: 90px;
}
.order-summary h3 { font-size: 1rem; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.order-plan-card {
  background: linear-gradient(135deg, rgba(139,92,246,0.1), rgba(139,92,246,0.03));
  border: 1px solid rgba(139,92,246,0.22);
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 18px;
}
.order-plan-name { font-size: 0.77rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; }
.order-plan-price { font-size: 1.9rem; font-weight: 800; color: var(--purple-light); }
.order-plan-price span { font-size: 0.9rem; color: var(--text-muted); font-weight: 400; }
.order-plan-duration { font-size: 0.82rem; color: var(--text-secondary); margin-top: 4px; }
.order-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.order-feature { display: flex; align-items: center; gap: 9px; font-size: 0.83rem; color: var(--text-secondary); }
.order-feature .check { color: var(--green); }
.order-divider { height: 1px; background: var(--border); margin: 14px 0; }
.order-total { display: flex; justify-content: space-between; font-weight: 700; font-size: 0.95rem; }
.order-total .price { color: var(--purple-light); }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--text-secondary); font-size: 0.86rem; margin-bottom: 28px; transition: color var(--transition); }
.back-link:hover { color: var(--purple-light); }

/* ---- THANK YOU ---- */
.thankyou-section {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 110px 24px 80px;
}
.thankyou-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 52px 44px;
  text-align: center;
  max-width: 600px;
  width: 100%;
  position: relative;
  overflow: hidden;
}
.thankyou-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad);
}
.success-icon {
  width: 80px; height: 80px;
  background: linear-gradient(135deg, rgba(34,197,94,0.18), rgba(34,197,94,0.04));
  border: 2px solid var(--green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.9rem;
  margin: 0 auto 26px;
}
.thankyou-card h1 { font-size: 1.9rem; margin-bottom: 12px; }
.thankyou-card p { color: var(--text-secondary); margin-bottom: 32px; line-height: 1.7; }
.download-btn-large {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  background: linear-gradient(135deg, #16A34A, #15803D);
  color: white;
  border-radius: 16px;
  padding: 16px 28px;
  font-size: 0.98rem;
  font-weight: 700;
  box-shadow: 0 8px 32px rgba(22,163,74,0.3);
  transition: var(--transition);
  margin-bottom: 18px;
}
.download-btn-large:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(22,163,74,0.4); }
.download-btn-large-inner strong { display: block; font-size: 1rem; }
.download-btn-large-inner span { font-size: 0.76rem; opacity: 0.8; }
.thankyou-steps { margin-top: 28px; }
.thankyou-steps h3 { font-size: 0.82rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }
.thankyou-step-list { display: flex; flex-direction: column; gap: 10px; text-align: left; }
.thankyou-step {
  display: flex; align-items: center; gap: 12px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.thankyou-step .step-num {
  width: 26px; height: 26px;
  background: var(--grad);
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ---- CONTACT ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; margin-top: 52px; }
.contact-info { display: flex; flex-direction: column; gap: 22px; }
.contact-info-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-info-icon {
  width: 42px; height: 42px;
  background: rgba(139,92,246,0.1);
  border: 1px solid rgba(139,92,246,0.2);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
}
.contact-info-text strong { display: block; font-size: 0.88rem; margin-bottom: 4px; }
.contact-info-text span { font-size: 0.83rem; color: var(--text-secondary); }
.contact-form { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; }
.contact-form h3 { font-size: 1.15rem; margin-bottom: 22px; }
.form-submit {
  width: 100%; padding: 13px;
  background: var(--grad); color: white;
  border: none; border-radius: 10px;
  font-weight: 700; font-size: 0.93rem;
  cursor: pointer; transition: var(--transition); font-family: inherit;
}
.form-submit:hover { transform: translateY(-2px); box-shadow: var(--shadow-purple); }

/* ---- ABOUT ---- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin: 56px 0; }
.about-values { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 52px; }
.value-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; transition: var(--transition); }
.value-card:hover { border-color: rgba(139,92,246,0.3); transform: translateY(-3px); }
.value-card .icon { font-size: 1.7rem; margin-bottom: 12px; }
.value-card h4 { font-size: 0.93rem; margin-bottom: 8px; }
.value-card p { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.6; }

/* ---- COMPARISON GRID ---- */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
}
@media (max-width: 640px) {
  .compare-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ---- ALERT ---- */
.alert { padding: 13px 16px; border-radius: 8px; font-size: 0.86rem; margin-bottom: 14px; }
.alert-success { background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.3); color: var(--green); }
.alert-error { background: rgba(248,113,113,0.1); border: 1px solid rgba(248,113,113,0.3); color: #F87171; }

/* ---- ANIMATIONS ---- */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .pricing-card.popular { transform: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .checkout-grid { grid-template-columns: 1fr; }
  .order-summary { position: static; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .hero { padding: 100px 0 56px; }

  /* Hero: content first, phone mockup second */
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero-visual { order: 1; } /* after content */
  /* Constrain phone mockup tightly on mobile */
  .hero-mockup { max-width: 260px; margin: 0 auto; }
  .phone-frame { border-radius: 28px; padding: 10px; }
  .phone-screen { border-radius: 20px; padding: 16px; gap: 10px; }
  .phone-screen-logo { width: 56px; height: 56px; }
  .phone-screen-title { font-size: 1rem; }
  .phone-screen-sub { font-size: 0.65rem; }
  .phone-feature-item { padding: 7px 10px; font-size: 0.7rem; gap: 7px; white-space: nowrap; overflow: hidden; }
  .hero-float-badge { display: none; }

  .features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .pricing-card.popular { transform: none; }
  .steps-grid { grid-template-columns: 1fr; gap: 28px; }
  .steps-grid::before { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-banner { padding: 36px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .thankyou-card { padding: 36px 20px; }
  .checkout-form-wrap { padding: 22px; }
  .revision-banner { padding: 28px 20px; }

  /* Nav: hide text links, show hamburger */
  .nav-links { display: none; }
  .nav-cta .btn-outline { display: none; }
  .hamburger { display: flex; }
  /* Keep Get Started button visible on mobile */
  .nav-cta .btn-primary { padding: 10px 18px; font-size: 0.82rem; }
}

@media (max-width: 480px) {
  .hero-stats { gap: 16px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions .btn { width: 100%; max-width: 340px; justify-content: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .nav-inner { padding: 14px 16px; }
}
