/* ============================================================
   SHIKSHA PLANET – Premium Landing Page Styles
   Deep Blue & Clean White | Modern, Premium Design
============================================================ */

/* ── CSS Custom Properties ── */
:root {
  --blue-950: #0c1a40;
  --blue-900: #0f2257;
  --blue-800: #1e3a8a;
  --blue-700: #1d4ed8;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-400: #60a5fa;
  --blue-100: #dbeafe;
  --blue-50:  #eff6ff;

  --white:    #ffffff;
  --gray-50:  #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-500: #64748b;
  --gray-700: #334155;
  --gray-900: #0f172a;

  --green-wa: #25D366;
  --green-wa-dark: #128C7E;
  --yt-red:   #FF0000;
  --ig-grad:  linear-gradient(135deg, #f58529, #dd2a7b, #8134af);

  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:  0 4px 16px rgba(0,0,0,.1), 0 2px 8px rgba(0,0,0,.06);
  --shadow-lg:  0 10px 40px rgba(0,0,0,.12), 0 4px 16px rgba(0,0,0,.08);
  --shadow-xl:  0 20px 60px rgba(0,0,0,.15), 0 8px 24px rgba(0,0,0,.1);

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  28px;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.18s ease;

  --navbar-h:  72px;
}

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

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

body {
  font-family: 'Inter', sans-serif;
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ── Container ── */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Section spacing ── */
.section { padding: 96px 0; }

/* ============================================================
   SHARED BUTTONS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-icon  { width: 18px; height: 18px; flex-shrink: 0; }
.btn-icon-right { width: 16px; height: 16px; flex-shrink: 0; }

.btn-large { padding: 15px 32px; font-size: 1rem; }

.btn-primary {
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37,99,235,.35);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-400));
  box-shadow: 0 8px 30px rgba(37,99,235,.5);
  transform: translateY(-2px);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: rgba(255,255,255,.12);
  color: var(--white);
  border-color: rgba(255,255,255,.35);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.22);
  border-color: rgba(255,255,255,.6);
  transform: translateY(-2px);
}

.btn-outline-primary {
  background: transparent;
  color: var(--blue-700);
  border-color: var(--blue-700);
}
.btn-outline-primary:hover {
  background: var(--blue-700);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,99,235,.3);
}

.btn-portal {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: var(--gray-900);
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(245,158,11,.4);
  border-color: transparent;
}
.btn-portal:hover {
  background: linear-gradient(135deg, #fcd34d, #fbbf24);
  box-shadow: 0 8px 24px rgba(245,158,11,.55);
  transform: translateY(-2px);
}

.btn-buy {
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  color: var(--white);
  padding: 10px 20px;
  font-size: 0.88rem;
  box-shadow: 0 4px 14px rgba(37,99,235,.3);
}
.btn-buy:hover {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-400));
  box-shadow: 0 6px 20px rgba(37,99,235,.45);
  transform: translateY(-1px);
}

/* ============================================================
   SECTION SHARED TYPOGRAPHY
============================================================ */
.section-tag {
  display: inline-block;
  background: var(--blue-50);
  color: var(--blue-700);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid var(--blue-100);
  margin-bottom: 16px;
}

.section-tag--light {
  background: rgba(255,255,255,.15);
  color: var(--white);
  border-color: rgba(255,255,255,.25);
}

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

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.22;
  margin-bottom: 12px;
}

.section-title--light { color: var(--white); }

.section-subtitle {
  color: var(--gray-500);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}
.section-subtitle--light { color: rgba(255,255,255,.75); }

/* ============================================================
   NAVBAR
============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--navbar-h);
  z-index: 1000;
  background: rgba(12,26,64,.92);
  backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(8,20,54,.97);
  box-shadow: 0 4px 30px rgba(0,0,0,.3);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--navbar-h);
  gap: 16px;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand-logo { width: 38px; height: 38px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-main {
  font-weight: 800;
  font-size: 0.82rem;
  color: var(--white);
  letter-spacing: -.01em;
}
.brand-sub {
  font-size: 0.72rem;
  color: var(--blue-400);
  font-weight: 500;
  letter-spacing: .04em;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  color: rgba(255,255,255,.8);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  letter-spacing: .01em;
}
.nav-link:hover {
  color: var(--white);
  background: rgba(255,255,255,.1);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition-fast);
}
.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 Nav Overlay */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8,20,54,.97);
  backdrop-filter: blur(20px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}
.mobile-nav-close {
  position: absolute;
  top: 20px; right: 24px;
  color: var(--white);
  font-size: 1.5rem;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.1);
  transition: var(--transition-fast);
  z-index: 100;
  cursor: pointer;
}
.mobile-nav-close:hover { background: rgba(255,255,255,.2); }
.mobile-nav-links { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.mobile-nav-link {
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 700;
  padding: 14px 40px;
  letter-spacing: .02em;
  transition: var(--transition-fast);
  border-radius: var(--radius-md);
}
.mobile-nav-link:hover { background: rgba(255,255,255,.1); color: var(--blue-400); }
.mobile-portal-btn { margin-top: 24px; }

/* ============================================================
   HERO
============================================================ */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--blue-950) 0%, var(--blue-900) 50%, #0d2a6b 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--navbar-h);
}

/* Background shapes */
.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; }
.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
}
.shape-1 {
  width: 600px; height: 600px;
  background: var(--blue-700);
  top: -200px; right: -100px;
  animation: shapeDrift1 12s ease-in-out infinite alternate;
}
.shape-2 {
  width: 400px; height: 400px;
  background: #4f46e5;
  bottom: -100px; left: -80px;
  animation: shapeDrift2 15s ease-in-out infinite alternate;
}
.shape-3 {
  width: 300px; height: 300px;
  background: var(--blue-500);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  opacity: 0.12;
  animation: shapeDrift1 20s ease-in-out infinite alternate-reverse;
}

@keyframes shapeDrift1 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(40px, 30px) scale(1.08); }
}
@keyframes shapeDrift2 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-30px, -20px) scale(1.05); }
}

/* Particles */
.particles {
  position: absolute;
  inset: 0;
}
.particle {
  position: absolute;
  width: 3px; height: 3px;
  background: rgba(255,255,255,.5);
  border-radius: 50%;
  animation: float var(--dur, 8s) ease-in-out infinite var(--delay, 0s);
}
@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); opacity: .4; }
  50%       { transform: translateY(-30px) scale(1.4); opacity: .9; }
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 24px;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.9);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 100px;
  backdrop-filter: blur(8px);
  margin-bottom: 28px;
  animation: fadeInUp .7s ease both;
}
.badge-dot {
  width: 8px; height: 8px;
  background: #34d399;
  border-radius: 50%;
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(1.4); }
}

.hero-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 24px;
  animation: fadeInUp .7s ease .1s both;
}

.hero-gradient-text {
  background: linear-gradient(90deg, #60a5fa, #a78bfa, #f472b6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: clamp(1rem, 2vw, 1.18rem);
  color: rgba(255,255,255,.75);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.75;
  animation: fadeInUp .7s ease .2s both;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
  animation: fadeInUp .7s ease .3s both;
}

.badge-new-batch {
  position: absolute;
  top: -10px;
  right: 10px;
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 24px;
  font-size: 0.75rem;
  font-weight: 800;
  box-shadow: 0 10px 20px rgba(239, 68, 68, 0.4);
  z-index: 10;
  pointer-events: none;
  border: 2px solid var(--white);
  animation: pulseBadge 2s infinite;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
@keyframes pulseBadge {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 12px rgba(239, 68, 68, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}


.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  animation: fadeInUp .7s ease .4s both;
}
.stat-item {
  padding: 0 32px;
  text-align: center;
}
.stat-num {
  display: block;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.02em;
  line-height: 1.1;
}
.stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,.6);
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.15);
}

/* Hero scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.4);
  font-size: 0.72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  animation: fadeIn 1s ease 1s both;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,.4), transparent);
  animation: scrollAnim 2s ease-in-out infinite;
}
@keyframes scrollAnim {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50%       { opacity: 0.3; transform: scaleY(0.6); }
}

/* ============================================================
   TRUST STRIP
============================================================ */
.trust-strip {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  padding: 24px 0;
}
.trust-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}
.trust-label {
  color: var(--gray-500);
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
}
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.trust-badge {
  display: inline-block;
  background: var(--white);
  border: 1px solid var(--gray-200);
  color: var(--gray-700);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}
.trust-badge:hover {
  border-color: var(--blue-400);
  color: var(--blue-700);
  background: var(--blue-50);
}

/* ============================================================
   ABOUT
============================================================ */
.about { background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

/* Visual side */
.about-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.about-card-stack {
  position: relative;
  width: 320px;
  height: 320px;
}
.about-ring-outer {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px dashed var(--blue-200);
  animation: spin 20s linear infinite;
}
.about-ring-inner {
  position: absolute;
  inset: 30px;
  border-radius: 50%;
  border: 2px solid var(--blue-100);
  animation: spin 14s linear infinite reverse;
}
@keyframes spin { to { transform: rotate(360deg); } }

.about-center-icon {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 320px; height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-card {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-700);
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  animation: cardFloat var(--float-dur, 4s) ease-in-out infinite var(--float-delay, 0s) alternate;
}
.about-card .ac-icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--blue-50);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.about-card .ac-icon svg {
  width: 15px; height: 15px;
  stroke: var(--blue-600);
}
.ac-1 { top: 4px; left: -20px; --float-dur: 5s; --float-delay: 0s; }
.ac-2 { top: 4px; right: -20px; --float-dur: 6s; --float-delay: 1s; }
.ac-3 { bottom: 4px; left: 50%; transform: translateX(-50%); --float-dur: 4.5s; --float-delay: 0.5s; }

@keyframes cardFloat {
  from { transform: translateY(0); }
  to   { transform: translateY(-12px); }
}
.ac-3 { transform: translateX(-50%) !important; }
.ac-3:hover { transform: translateX(-50%) scale(1.03) !important; }

/* About text */
.about-text .section-tag { margin-bottom: 12px; }
.about-text .section-title { text-align: left; margin-bottom: 20px; }

.about-desc {
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: 1.0rem;
}

.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 28px 0;
}
.pillar {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  background: var(--gray-50);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  transition: var(--transition-fast);
}
.pillar:hover {
  border-color: var(--blue-200);
  background: var(--blue-50);
}
.pillar-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.pillar strong {
  display: block;
  font-size: 0.95rem;
  color: var(--gray-900);
  margin-bottom: 4px;
}
.pillar p {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.5;
  margin: 0;
}

/* ============================================================
   PRODUCTS
============================================================ */
.products { background: var(--gray-50); }

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 360px;
  margin: 0 auto;
  gap: 24px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--blue-200);
}

.product-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  z-index: 2;
}
.product-badge--new { background: linear-gradient(135deg, #10b981, #059669); }
.product-badge--hot { background: linear-gradient(135deg, #ef4444, #dc2626); }

.product-img-wrap {
  position: relative;
  height: 220px;
  background: linear-gradient(135deg, var(--blue-50), var(--gray-100));
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.product-img {
  height: 180px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
  filter: drop-shadow(0 8px 24px rgba(0,0,0,.15));
  border-radius: 6px;
}
.product-card:hover .product-img {
  transform: scale(1.05) rotate(-1deg);
  filter: drop-shadow(0 16px 32px rgba(0,0,0,.22));
}

.product-img-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center bottom, rgba(37,99,235,.15) 0%, transparent 70%);
  pointer-events: none;
}
.product-img-glow--maroon {
  background: radial-gradient(ellipse at center bottom, rgba(185,28,28,.15) 0%, transparent 70%);
}
.product-img-glow--teal {
  background: radial-gradient(ellipse at center bottom, rgba(13,148,136,.15) 0%, transparent 70%);
}
.product-img-glow--orange {
  background: radial-gradient(ellipse at center bottom, rgba(234,88,12,.15) 0%, transparent 70%);
}

.product-info {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-category {
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 8px;
}
.product-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.3;
  margin-bottom: 10px;
}
.product-desc {
  font-size: 0.83rem;
  color: var(--gray-500);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 16px;
}
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.product-price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price-curr {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gray-900);
}
.price-old {
  font-size: 0.82rem;
  color: var(--gray-400);
  text-decoration: line-through;
}
.price-discount {
  font-size: 0.7rem;
  font-weight: 700;
  color: #10b981;
  background: #ecfdf5;
  padding: 2px 7px;
  border-radius: 100px;
}

/* Buy Dropdown */
.buy-dropdown-wrap {
  position: relative;
}
.buy-dropdown-menu {
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  width: 170px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease;
  z-index: 10;
}
.buy-dropdown-wrap.open .buy-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  color: var(--gray-700);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: var(--transition-fast);
}
.dropdown-item svg {
  flex-shrink: 0;
}
.dropdown-item:hover {
  background: var(--blue-50);
  color: var(--blue-700);
}

.products-cta {
  text-align: center;
  margin-top: 48px;
}

/* ============================================================
   FEATURES
============================================================ */
.features {
  background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%);
}

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

.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--blue-200);
  box-shadow: var(--shadow-lg);
}

.feature-icon-wrap {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--fi-color) 12%, transparent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.feature-icon-wrap svg {
  width: 24px; height: 24px;
  stroke: var(--fi-color);
}
.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.65;
}

/* ============================================================
   COMMUNITY / SOCIAL
============================================================ */
.community {
  position: relative;
  background: linear-gradient(135deg, var(--blue-950) 0%, var(--blue-800) 100%);
  overflow: hidden;
}

.community-bg { position: absolute; inset: 0; pointer-events: none; }
.community-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .18;
}
.cb-1 {
  width: 500px; height: 500px;
  background: var(--blue-500);
  top: -150px; right: -100px;
}
.cb-2 {
  width: 400px; height: 400px;
  background: #7c3aed;
  bottom: -100px; left: -80px;
}

.social-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.social-card {
  position: relative;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: var(--transition);
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  backdrop-filter: blur(12px);
}
.social-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(255,255,255,.3);
  background: rgba(255,255,255,.12);
}
.social-card:hover .social-card-glow { opacity: 1; }

.social-card-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top left, rgba(255,100,100,.15) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}
.social-card-glow--ig {
  background: radial-gradient(ellipse at top left, rgba(245,133,41,.15) 0%, transparent 60%);
}
.social-card-glow--web {
  background: radial-gradient(ellipse at top left, rgba(59,130,246,.15) 0%, transparent 60%);
}

.social-icon-wrap {
  width: 64px; height: 64px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.social-svg { width: 48px; height: 48px; }

.social-card-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.social-action {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}
.social-handle {
  font-size: 0.85rem;
  color: rgba(255,255,255,.6);
  font-weight: 500;
}
.social-cta-arrow {
  font-size: 1.2rem;
  color: rgba(255,255,255,.5);
  margin-top: 4px;
  transition: var(--transition-fast);
}
.social-card:hover .social-cta-arrow {
  color: var(--white);
  transform: translateX(4px);
}

.social-card-stat {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(255,255,255,.5);
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-weight: 500;
}
.stat-icon { font-size: 0.9rem; }

/* ============================================================
   TESTIMONIALS
============================================================ */
.testimonials { background: var(--white); }

.testi-grid {
  display: flex;
  overflow-x: auto;
  gap: 24px;
  padding-bottom: 24px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.testi-grid::-webkit-scrollbar {
  display: none;
}

.testi-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  flex: 0 0 350px;
  scroll-snap-align: start;
}
.testi-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-200);
}
.testi-stars {
  color: #fbbf24;
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.testi-card p {
  color: var(--gray-700);
  font-size: 0.95rem;
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 24px;
}
.testi-card footer {
  display: flex;
  align-items: center;
  gap: 12px;
  font-style: normal;
}
.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  color: var(--white);
  font-weight: 800;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.testi-card footer strong {
  display: block;
  font-size: 0.92rem;
  color: var(--gray-900);
}
.testi-card footer span {
  font-size: 0.78rem;
  color: var(--gray-500);
}

.testi-wrapper {
  position: relative;
  width: 100%;
}

.testi-scroll-action {
  display: flex;
  justify-content: center;
  margin-top: 10px;
  padding: 0;
}

.testi-scroll-btn {
  background: none;
  border: none;
  color: var(--blue-600);
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s;
}

.testi-scroll-btn:hover {
  color: var(--blue-800);
}

.testi-scroll-btn span {
  display: inline-block;
  animation: bounceRight 1.5s infinite;
}

@keyframes bounceRight {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(8px);
  }
}

.testi-oneliners {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}
.testi-oneliner {
  background: var(--blue-50);
  color: var(--blue-900);
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  border: 1px solid var(--blue-200);
  transition: transform 0.2s;
}
.testi-oneliner:hover {
  transform: translateY(-2px);
}

/* ============================================================
   CONTACT
============================================================ */
.contact { background: var(--gray-50); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 56px;
  align-items: start;
}

/* Form */
.contact-form-wrap .section-tag { margin-bottom: 12px; }
.contact-form-wrap .section-title { text-align: left; font-size: 2rem; }

.contact-subtitle {
  color: var(--gray-500);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 12px 0 32px;
}

.enquiry-form { display: flex; flex-direction: column; gap: 18px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-family: 'Inter', sans-serif;
  font-size: 0.93rem;
  color: var(--gray-900);
  background: var(--white);
  transition: var(--transition-fast);
  outline: none;
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-300);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(59,130,246,.15);
}
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
}

.form-submit { width: 100%; justify-content: center; }
.form-success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
}

/* Contact Sidebar */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: calc(var(--navbar-h) + 24px);
}

/* WhatsApp CTA */
.whatsapp-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  border-radius: var(--radius-xl);
  padding: 24px 20px;
  color: var(--white);
  transition: var(--transition);
  box-shadow: 0 8px 32px rgba(37,211,102,.35);
  position: relative;
  overflow: hidden;
}
.whatsapp-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.1), transparent);
  pointer-events: none;
}
.whatsapp-cta:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(37,211,102,.5);
}

.wa-icon-wrap { flex-shrink: 0; }
.wa-svg { width: 52px; height: 52px; }

.wa-cta-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.wa-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255,255,255,.8);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.wa-action {
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.2;
}
.wa-number {
  font-size: 0.82rem;
  color: rgba(255,255,255,.75);
  font-weight: 500;
}
.wa-arrow {
  width: 20px; height: 20px;
  flex-shrink: 0;
  color: rgba(255,255,255,.7);
  transition: var(--transition-fast);
}
.whatsapp-cta:hover .wa-arrow {
  transform: translateX(4px);
  color: var(--white);
}

/* Info cards */
.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.info-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 16px;
  transition: var(--transition-fast);
}
.info-card:hover {
  border-color: var(--blue-200);
  background: var(--blue-50);
}
.info-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--blue-50);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.info-icon svg { width: 18px; height: 18px; stroke: var(--blue-600); }
.info-icon--yt { background: #fff0f0; }
.info-icon--yt svg { stroke: none; fill: var(--yt-red); }
.info-icon--ig { background: #fdf0ff; }
.info-icon--ig svg { stroke: #dd2a7b; }

.info-card strong {
  display: block;
  font-size: 0.82rem;
  color: var(--gray-900);
  font-weight: 700;
  margin-bottom: 2px;
}
.info-card span, .info-card a {
  font-size: 0.82rem;
  color: var(--gray-500);
}
.info-card a:hover { color: var(--blue-600); text-decoration: underline; }

/* ============================================================
   FOOTER
============================================================ */
.footer {
  background: var(--blue-950);
  color: var(--white);
}

.footer-top { padding: 72px 0 48px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-top-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand .brand { margin-bottom: 16px; }
.footer-brand .brand-main { color: var(--white); }

.footer-tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,.55);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 280px;
}

.footer-social-icons { display: flex; gap: 10px; }
.footer-icon-btn {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.08);
  color: var(--white);
  transition: var(--transition-fast);
  border: 1px solid rgba(255,255,255,.1);
}
.footer-icon-btn svg { width: 18px; height: 18px; }
.footer-icon-btn:hover { transform: translateY(-3px); }
.footer-icon-yt:hover  { background: var(--yt-red); border-color: var(--yt-red); }
.footer-icon-ig:hover  { background: var(--ig-grad); border-color: transparent; }
.footer-icon-wa:hover  { background: var(--green-wa); border-color: var(--green-wa); }
.footer-icon-web:hover { background: var(--blue-600); border-color: var(--blue-600); }

.footer-group-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 20px;
}
.footer-links-group ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links-group a {
  font-size: 0.87rem;
  color: rgba(255,255,255,.65);
  transition: var(--transition-fast);
}
.footer-links-group a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-bottom {
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,.4);
}
.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-bottom-links a {
  color: rgba(255,255,255,.4);
  font-size: 0.82rem;
  transition: var(--transition-fast);
}
.footer-bottom-links a:hover { color: rgba(255,255,255,.8); }

/* ============================================================
   FLOATING WHATSAPP
============================================================ */
.float-wa {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 900;
  width: 60px; height: 60px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 30px rgba(37,211,102,.5);
  transition: var(--transition);
  text-decoration: none;
}
.float-wa:hover {
  transform: scale(1.12);
  box-shadow: 0 10px 40px rgba(37,211,102,.65);
}
.float-wa:hover .float-wa-tooltip { opacity: 1; transform: translateX(-8px); }

.float-wa-svg { width: 60px; height: 60px; }

.float-wa-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--green-wa);
  animation: waPulse 2.2s ease-in-out infinite;
}
@keyframes waPulse {
  0%   { transform: scale(1); opacity: .8; }
  100% { transform: scale(1.8); opacity: 0; }
}

.float-wa-tooltip {
  position: absolute;
  right: calc(100% + 8px);
  white-space: nowrap;
  background: var(--gray-900);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 8px;
  opacity: 0;
  transform: translateX(0);
  transition: var(--transition-fast);
  pointer-events: none;
}
.float-wa-tooltip::after {
  content: '';
  position: absolute;
  top: 50%; right: -6px;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--gray-900);
  border-right: 0;
}

/* Scroll to top */
.scroll-top {
  position: fixed;
  bottom: 100px; right: 28px;
  z-index: 900;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--blue-800);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}
.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
}
.scroll-top:hover {
  background: var(--blue-600);
  transform: translateY(-3px);
}
.scroll-top svg { width: 18px; height: 18px; }

/* ============================================================
   ANIMATIONS (Scroll Reveal)
============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ============================================================
   COURSES SECTION (SEO OPTIMIZED)
============================================================ */
.courses-section {
  background-color: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
  max-width: 1100px;
  margin: 48px auto 0;
}

.course-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--blue-600);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.course-card.popular-card {
  border: 2px solid var(--blue-600);
  box-shadow: var(--shadow-lg);
}

.popular-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
  color: var(--white);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 1px;
  padding: 6px 16px;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.course-card-header {
  margin-bottom: 24px;
  border-bottom: 1px solid var(--gray-200);
  padding-bottom: 20px;
}

.course-card-header h3 {
  font-size: 1.8rem;
  color: var(--blue-950);
  margin-bottom: 8px;
  font-family: 'Playfair Display', Georgia, serif;
}

.course-tagline {
  color: var(--gray-500);
  font-size: 0.95rem;
}

.course-price-box {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 20px;
}

.original-price {
  font-size: 1.2rem;
  color: var(--gray-500);
  text-decoration: line-through;
}

.current-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--blue-950);
}

.price-suffix {
  font-size: 0.9rem;
  color: var(--gray-500);
  font-weight: 500;
}

.validity-banner {
  background: var(--blue-50);
  color: var(--blue-900);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-left: 4px solid var(--blue-600);
}

.validity-banner.date-banner {
  background: #fffbeb;
  color: #78350f;
  border-left-color: #d97706;
}

.validity-banner .icon {
  font-size: 1.2rem;
}

.target-exams-box {
  margin-bottom: 24px;
}

.target-exams-box h4,
.course-features-list h4 {
  font-size: 0.95rem;
  color: var(--blue-900);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  font-weight: 700;
}

.exams-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.exams-tags span {
  background: var(--gray-100);
  color: var(--gray-700);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid var(--gray-200);
}

.course-features-list {
  margin-bottom: 32px;
  flex-grow: 1;
}

.course-features-list ul {
  list-style: none;
}

.course-features-list li {
  font-size: 0.95rem;
  color: var(--gray-700);
  margin-bottom: 10px;
  padding-left: 24px;
  position: relative;
  text-align: left;
}

.course-features-list li::before {
  content: "✓";
  color: var(--blue-600);
  font-weight: 800;
  position: absolute;
  left: 0;
}

.course-action {
  margin-top: auto;
}

.btn-full {
  width: 100%;
  text-align: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 1.05rem;
}

/* ============================================================
   RESPONSIVE DESIGN
============================================================ */

/* Tablet – 1024px */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top-inner {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .about-grid {
    gap: 48px;
  }
}

/* Tablet small – 880px */
@media (max-width: 880px) {
  .nav-links { display: none; }
  .courses-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 550px;
    margin: 36px auto 0;
  }
  .course-card {
    padding: 30px 24px;
  }
  #visitPortalBtn { display: none; }
  .hamburger { display: flex; }

  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-visual { order: -1; }
  .about-text .section-title { text-align: center; }
  .about-text .section-tag { display: block; text-align: center; }
  .about-text .btn { display: block; text-align: center; }

  .social-cards {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .testi-grid {
    margin: 0 auto;
  }
  .testi-card {
    flex: 0 0 85vw;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-sidebar {
    position: static;
    order: -1;
  }
}

/* Mobile – 640px */
@media (max-width: 640px) {
  :root { --navbar-h: 64px; }
  .badge-new-batch {
    right: 8px;
    top: -18px;
    font-size: 0.75rem;
    padding: 4px 10px;
  }
  .hero-title { font-size: 2.5rem; }
  #visitPortalBtn { display: none; }
  .section { padding: 64px 0; }

  .hero-content { padding: 48px 0; }
  .hero-stats { flex-wrap: wrap; justify-content: center; gap: 16px; }
  .stat-divider { display: none; }
  .stat-item { padding: 0 20px; }

  .hero-ctas { flex-direction: column; align-items: center; }
  .btn-large { width: 100%; max-width: 320px; justify-content: center; }

  .trust-inner { flex-direction: column; align-items: flex-start; }

  .products-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin: 0 auto;
  }

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

  .form-row { grid-template-columns: 1fr; }

  .footer-top-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom-inner { flex-direction: column; align-items: center; text-align: center; }

  .about-card-stack { transform: scale(0.85); }

  .float-wa { bottom: 80px; right: 20px; width: 54px; height: 54px; }
  .float-wa-svg { width: 54px; height: 54px; }
  .scroll-top { bottom: 148px; right: 20px; }
}

/* ============================================================
   MOBILE BOTTOM NAVIGATION BAR (YouTube-style)
============================================================ */
.mobile-bottom-nav {
  display: none; /* Hidden on desktop */
}

@media (max-width: 880px) {
  /* Add padding at bottom so content not hidden behind nav bar */
  body {
    padding-bottom: 70px;
  }

  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(8, 20, 54, 0.97);
    backdrop-filter: blur(16px) saturate(160%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    height: 64px;
    align-items: stretch;
    justify-content: space-around;
    padding: 0;
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.4);
  }

  .bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex: 1;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 8px 4px 10px;
    transition: color 0.2s ease, background 0.2s ease;
    border-top: 2px solid transparent;
    position: relative;
  }

  .bottom-nav-item svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    transition: transform 0.2s ease;
  }

  .bottom-nav-item:hover,
  .bottom-nav-item:active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.06);
  }

  .bottom-nav-item:hover svg {
    transform: translateY(-2px);
  }

  /* Active tab highlight */
  .bottom-nav-item.active {
    color: var(--blue-400);
    border-top-color: var(--blue-400);
  }
}

/* ============================================================
   DOWNLOAD APP POPUP
============================================================ */
.download-popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 70px;
}
.download-popup-overlay.active {
  display: flex;
  animation: fadeInUp 0.3s ease;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.download-popup-box {
  background: linear-gradient(135deg, #0c1a40 0%, #1a2a60 100%);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px 20px 0 0;
  width: 100%;
  max-width: 480px;
  padding: 28px 20px 24px;
  position: relative;
  box-shadow: 0 -8px 40px rgba(0,0,0,0.5);
}
.download-popup-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  color: #fff;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
.download-popup-close:hover { background: rgba(255,255,255,0.2); }
.download-popup-title {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
}
.download-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.download-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 12px;
  text-decoration: none;
  font-family: inherit;
  transition: transform 0.2s ease, opacity 0.2s ease;
  color: #fff;
}
.download-btn:hover { transform: scale(1.02); opacity: 0.92; }
.download-btn div { display: flex; flex-direction: column; }
.download-btn small { font-size: 0.7rem; opacity: 0.75; letter-spacing: 0.05em; text-transform: uppercase; }
.download-btn strong { font-size: 1rem; font-weight: 700; }
.download-btn--play { background: #1a1a2e; border: 1px solid #2d6a4f; }
.download-btn--play svg { color: #78c850; }
.download-btn--mac { background: #1a1a2e; border: 1px solid #555; }
.download-btn--mac svg { color: #ccc; }
.download-btn--win { background: #1a1a2e; border: 1px solid #0078d4; }
.download-btn--win svg { color: #0078d4; }
#bnDownload {
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
}

/* Responsive Download Popup Buttons */
@media (min-width: 881px) {
  .hide-on-desktop { display: none !important; }
}
@media (max-width: 880px) {
  .hide-on-mobile { display: none !important; }
}

/* Mobile Header Button */
.mobile-header-btn {
  display: none;
  padding: 6px 12px;
  font-size: 11px;
  border-radius: 6px;
  letter-spacing: 0;
  white-space: nowrap;
}
@media (max-width: 880px) {
  .mobile-header-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}
