/* =====================================================
   Luminary Scholars – Premium Tutoring Landing Page
   Version: 1.0
   Author: Ky Nguyen / ASFBVN
   ===================================================== */

/* ── 1. CSS RESET & CUSTOM PROPERTIES ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* ─ Primary Palette ─ */
  --primary-50:    #f5f3ff;
  --primary-100:   #ede9fe;
  --primary-200:   #ddd6fe;
  --primary-300:   #c4b5fd;
  --primary-400:   #a78bfa;
  --primary-500:   #8b5cf6;
  --primary-600:   #7c3aed;
  --primary-700:   #6d28d9;
  --primary-800:   #5b21b6;
  --primary-900:   #4c1d95;

  /* ─ Accent / Gold ─ */
  --accent-300:    #fcd34d;
  --accent-400:    #fbbf24;
  --accent-500:    #f59e0b;
  --accent-600:    #d97706;

  /* ─ Success / Green ─ */
  --success-400:   #4ade80;
  --success-500:   #22c55e;
  --success-600:   #16a34a;

  /* ─ Error ─ */
  --error-400:     #f87171;
  --error-500:     #ef4444;

  /* ─ Neutral ─ */
  --white:         #ffffff;
  --gray-50:       #fafafa;
  --gray-100:      #f4f4f5;
  --gray-200:      #e4e4e7;
  --gray-300:      #d4d4d8;
  --gray-400:      #a1a1aa;
  --gray-500:      #71717a;
  --gray-600:      #52525b;
  --gray-700:      #3f3f46;
  --gray-800:      #27272a;
  --gray-900:      #18181b;

  /* ─ Dark Theme Colors ─ */
  --bg-primary:    #0a0e1a;
  --bg-secondary:  #0f1629;
  --bg-tertiary:   #151c32;
  --bg-card:       rgba(15, 22, 41, 0.7);
  --bg-glass:      rgba(15, 22, 41, 0.55);
  --border-glass:  rgba(124, 58, 237, 0.15);
  --border-subtle: rgba(255, 255, 255, 0.06);

  /* ─ Typography ─ */
  --font-heading:  'Space Grotesk', sans-serif;
  --font-body:     'Inter', sans-serif;

  /* ─ Spacing ─ */
  --section-pad:   100px;
  --container-max: 1200px;

  /* ─ Borders ─ */
  --radius-sm:     8px;
  --radius-md:     14px;
  --radius-lg:     22px;
  --radius-xl:     32px;
  --radius-full:   9999px;

  /* ─ Shadows ─ */
  --shadow-sm:     0 1px 3px rgba(0, 0, 0, 0.2);
  --shadow-md:     0 4px 20px rgba(0, 0, 0, 0.25);
  --shadow-lg:     0 12px 40px rgba(0, 0, 0, 0.35);
  --shadow-glow:   0 0 40px rgba(124, 58, 237, 0.15);
  --shadow-glow-lg:0 0 80px rgba(124, 58, 237, 0.2);

  /* ─ Transitions ─ */
  --ease-out:      cubic-bezier(0.16, 1, 0.3, 1);
  --transition:    0.3s var(--ease-out);
  --transition-slow: 0.5s var(--ease-out);
}

/* ── 2. BASE STYLES ── */
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--gray-300);
  background: var(--bg-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--white);
  line-height: 1.2;
  font-weight: 700;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul { list-style: none; }

::selection {
  background: var(--primary-600);
  color: var(--white);
}

/* ── 3. LAYOUT UTILITIES ── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section-pad {
  padding: var(--section-pad) 0;
}

.bg-dark {
  background: var(--bg-secondary);
}

.bg-gradient {
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

/* ── 4. TYPOGRAPHY SYSTEM ── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary-400);
  background: rgba(124, 58, 237, 0.12);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(124, 58, 237, 0.2);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--gray-400);
  max-width: 620px;
  line-height: 1.75;
}

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

.section-header .section-desc {
  margin: 0 auto;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary-400), var(--accent-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.highlight {
  color: var(--primary-400);
}

/* ── 5. BUTTON SYSTEM ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-600), var(--primary-500));
  color: var(--white);
  box-shadow: 0 4px 24px rgba(124, 58, 237, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(124, 58, 237, 0.5);
}

.btn-primary::before {
  background: linear-gradient(135deg, var(--primary-500), var(--primary-400));
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-outline {
  background: transparent;
  color: var(--gray-200);
  border-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  border-color: var(--primary-400);
  color: var(--primary-300);
  background: rgba(124, 58, 237, 0.08);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent-500), var(--accent-400));
  color: var(--gray-900);
  box-shadow: 0 4px 24px rgba(245, 158, 11, 0.3);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(245, 158, 11, 0.45);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

.btn-nav {
  background: linear-gradient(135deg, var(--primary-600), var(--primary-500));
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  border: none;
}

.btn-nav:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
}

/* ── 6. GLASSMORPHISM CARD ── */
.glass-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all var(--transition);
}

.glass-card:hover {
  border-color: rgba(124, 58, 237, 0.35);
  box-shadow: var(--shadow-glow);
  transform: translateY(-6px);
}

/* ── 7. NAVIGATION ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 14, 26, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}

.navbar.scrolled {
  background: rgba(10, 14, 26, 0.92);
  border-bottom-color: var(--border-subtle);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-600), var(--primary-400));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.3);
}

.logo-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--white);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-400);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.nav-links a:not(.btn-nav):hover {
  color: var(--primary-300);
  background: rgba(124, 58, 237, 0.08);
}

.nav-links a.active {
  color: var(--primary-300);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-300);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ── 8. HERO SECTION ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(124, 58, 237, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(168, 85, 247, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(245, 158, 11, 0.05) 0%, transparent 40%);
  pointer-events: none;
  z-index: 1;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.1);
  color: var(--accent-400);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.hero-badge svg {
  width: 16px;
  height: 16px;
  fill: var(--accent-400);
  stroke: var(--accent-400);
}

.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.hero-title .gradient-text {
  display: block;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--gray-400);
  line-height: 1.8;
  margin-bottom: 28px;
  max-width: 520px;
}

.hero-benefits {
  margin-bottom: 36px;
}

.hero-benefits li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.98rem;
  color: var(--gray-300);
  margin-bottom: 12px;
}

.hero-benefits li svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke: var(--success-400);
  fill: none;
  stroke-width: 2.5;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Hero Visual */
.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.hero-visual-wrapper {
  position: relative;
  width: 440px;
  max-width: 100%;
}

.hero-img {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(124, 58, 237, 0.3);
  box-shadow: 0 0 60px rgba(124, 58, 237, 0.2), 0 20px 60px rgba(0, 0, 0, 0.4);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-img-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 440px;
  height: 440px;
  border-radius: 50%;
  border: 1px solid rgba(124, 58, 237, 0.15);
  animation: ring-pulse 3s ease-in-out infinite;
}

.hero-img-ring:nth-child(3) {
  width: 480px;
  height: 480px;
  animation-delay: 1s;
  border-color: rgba(168, 85, 247, 0.1);
}

@keyframes ring-pulse {
  0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.03); }
}

.hero-float-badge {
  position: absolute;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: var(--font-heading);
  box-shadow: var(--shadow-md);
  z-index: 2;
  animation: float-badge 4s ease-in-out infinite;
}

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

.hero-float-badge strong {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.hero-float-badge span {
  font-size: 0.72rem;
  color: var(--gray-400);
  font-weight: 500;
}

.badge-students {
  top: 20px;
  left: -20px;
}

.badge-students strong { color: var(--primary-400); }

.badge-rate {
  bottom: 80px;
  right: -20px;
  animation-delay: 1.5s;
}

.badge-rate strong { color: var(--accent-400); }

.badge-success {
  bottom: 10px;
  left: 10px;
  animation-delay: 0.8s;
}

.badge-success strong { color: var(--success-400); }

/* Scroll Hint */
.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--gray-500);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 2;
  animation: scroll-bounce 2s infinite;
}

.scroll-hint svg {
  width: 20px;
  height: 20px;
  stroke: var(--primary-400);
  fill: none;
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ── 9. STATS BAR ── */
.stats-bar {
  background: linear-gradient(135deg, var(--primary-800), var(--primary-900));
  padding: 36px 0;
  position: relative;
  overflow: hidden;
}

.stats-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M20 20h20v20H20z'/%3E%3C/g%3E%3C/svg%3E");
}

.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.stat-item {
  color: var(--white);
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
}

.stat-item p {
  font-size: 0.85rem;
  opacity: 0.75;
  margin-top: 6px;
}

/* ── 10. ABOUT SECTION ── */
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-img-container {
  position: relative;
}

.about-photo {
  width: 100%;
  height: 540px;
  border-radius: var(--radius-xl);
  object-fit: cover;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-glass);
}

.about-img-badge {
  position: absolute;
  bottom: -16px;
  left: 24px;
  background: linear-gradient(135deg, var(--primary-600), var(--primary-400));
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.35);
}

.about-img-badge svg {
  width: 18px;
  height: 18px;
  stroke: var(--white);
  fill: none;
}

.about-content p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--gray-400);
  margin-bottom: 20px;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 32px 0;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: rgba(124, 58, 237, 0.06);
  border-radius: var(--radius-md);
  border: 1px solid rgba(124, 58, 237, 0.1);
  transition: all var(--transition);
}

.highlight-item:hover {
  border-color: rgba(124, 58, 237, 0.25);
  background: rgba(124, 58, 237, 0.1);
}

.hl-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary-600), var(--primary-400));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.25);
}

.hl-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--white);
  fill: none;
}

.hl-info {
  display: flex;
  flex-direction: column;
}

.hl-info strong {
  font-size: 0.9rem;
  color: var(--white);
  font-weight: 600;
}

.hl-info span {
  font-size: 0.78rem;
  color: var(--gray-500);
}

/* ── 11. FEATURES / WHY CHOOSE US ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-item {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-500), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.feature-item:hover {
  border-color: rgba(124, 58, 237, 0.35);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}

.feature-item:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.feature-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--white);
  fill: none;
}

.feature-icon.purple { background: linear-gradient(135deg, var(--primary-600), var(--primary-400)); }
.feature-icon.green { background: linear-gradient(135deg, var(--success-600), var(--success-400)); }
.feature-icon.gold { background: linear-gradient(135deg, var(--accent-600), var(--accent-400)); }
.feature-icon.blue { background: linear-gradient(135deg, #2563eb, #60a5fa); }
.feature-icon.pink { background: linear-gradient(135deg, #db2777, #f472b6); }
.feature-icon.teal { background: linear-gradient(135deg, #0d9488, #2dd4bf); }

.feature-item h3 {
  font-size: 1.08rem;
  margin-bottom: 12px;
}

.feature-item p {
  font-size: 0.9rem;
  color: var(--gray-400);
  line-height: 1.7;
}

/* ── 12. SUCCESS STORIES / RESULTS ── */
.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.result-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(12px);
  transition: all var(--transition);
}

.result-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
  border-color: rgba(124, 58, 237, 0.35);
}

.result-img {
  position: relative;
  overflow: hidden;
}

.result-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.result-card:hover .result-img img {
  transform: scale(1.06);
}

.result-subject-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: linear-gradient(135deg, var(--primary-600), var(--primary-400));
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-full);
}

.result-body {
  padding: 24px;
}

.score-change {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.score-before, .score-after {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  padding: 4px 12px;
}

.score-before {
  background: rgba(239, 68, 68, 0.15);
  color: var(--error-400);
}

.score-after {
  background: rgba(34, 197, 94, 0.15);
  color: var(--success-400);
}

.score-change svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent-400);
  fill: none;
}

.result-body h4 {
  font-size: 0.98rem;
  margin-bottom: 10px;
}

.result-body .result-quote {
  font-size: 0.88rem;
  color: var(--gray-400);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 12px;
}

.result-meta {
  font-size: 0.78rem;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  gap: 8px;
}

.result-meta svg {
  width: 14px;
  height: 14px;
  stroke: var(--gray-500);
  fill: none;
}

.results-cta {
  text-align: center;
}

.results-cta p {
  font-size: 1.1rem;
  color: var(--gray-400);
  margin-bottom: 22px;
  font-weight: 500;
}

/* ── 13. SUBJECTS GRID ── */
.subjects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.subject-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  padding: 30px 22px;
  text-align: center;
  transition: all var(--transition);
}

.subject-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
  border-color: rgba(124, 58, 237, 0.35);
}

.subject-icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.subject-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--white);
  fill: none;
}

.subject-card h3 {
  font-size: 1rem;
  margin-bottom: 10px;
}

.subject-card p {
  font-size: 0.84rem;
  color: var(--gray-400);
  line-height: 1.65;
  margin-bottom: 14px;
}

.subject-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  background: rgba(124, 58, 237, 0.12);
  color: var(--primary-400);
  border: 1px solid rgba(124, 58, 237, 0.15);
}

/* ── 14. METHOD / APPROACH SECTION ── */
.method {
  position: relative;
  overflow: hidden;
}

.method-bg-pattern {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%237c3aed' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative;
  z-index: 1;
}

.method-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 32px 22px;
  backdrop-filter: blur(12px);
  transition: all var(--transition);
}

.method-card:hover {
  border-color: rgba(124, 58, 237, 0.35);
  background: rgba(124, 58, 237, 0.1);
  transform: translateY(-4px);
}

.method-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(124, 58, 237, 0.15);
  line-height: 1;
  margin-bottom: 14px;
}

.method-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--primary-600), var(--primary-400));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.3);
}

.method-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--white);
  fill: none;
}

.method-card h3 {
  font-size: 0.98rem;
  margin-bottom: 10px;
  line-height: 1.35;
}

.method-card p {
  font-size: 0.84rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ── 15. TESTIMONIALS ── */
.testimonial-carousel {
  position: relative;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s var(--ease-out);
}

.testimonial-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  padding: 32px;
  width: calc(33.333% - 16px);
  flex-shrink: 0;
  min-width: 0;
}

.testi-stars {
  color: var(--accent-400);
  font-size: 1.1rem;
  margin-bottom: 16px;
  letter-spacing: 3px;
}

.testi-quote {
  font-size: 0.95rem;
  color: var(--gray-300);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 22px;
  position: relative;
  padding-left: 20px;
}

.testi-quote::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--primary-500), transparent);
  border-radius: 3px;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testi-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-500);
  box-shadow: 0 0 12px rgba(124, 58, 237, 0.2);
}

.testi-author strong {
  display: block;
  font-size: 0.92rem;
  color: var(--white);
  font-weight: 600;
}

.testi-author span {
  font-size: 0.78rem;
  color: var(--gray-500);
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
}

.carousel-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border-glass);
  background: var(--bg-glass);
  color: var(--gray-400);
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  backdrop-filter: blur(8px);
}

.carousel-btn:hover {
  border-color: var(--primary-400);
  color: var(--primary-300);
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.15);
}

.carousel-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gray-700);
  cursor: pointer;
  transition: all var(--transition);
}

.dot.active {
  background: var(--primary-500);
  width: 28px;
  border-radius: 4px;
  box-shadow: 0 0 12px rgba(124, 58, 237, 0.3);
}

/* ── 16. PRICING ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 40px;
}

.pricing-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  padding: 40px 28px;
  transition: all var(--transition);
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}

.pricing-featured {
  border-color: var(--primary-500);
  background: linear-gradient(to bottom, rgba(124, 58, 237, 0.1), var(--bg-glass));
  box-shadow: var(--shadow-glow);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent-500), var(--accent-400));
  color: var(--gray-900);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  letter-spacing: 0.06em;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.35);
}

.pricing-header {
  text-align: center;
  margin-bottom: 28px;
}

.pricing-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary-600), var(--primary-400));
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.3);
}

.pricing-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--white);
  fill: none;
}

.pricing-header h3 {
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.pricing-header p {
  font-size: 0.85rem;
  color: var(--gray-500);
}

.pricing-price {
  text-align: center;
  margin-bottom: 28px;
  padding: 18px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.price-amount {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary-400);
}

.price-per {
  font-size: 0.85rem;
  color: var(--gray-500);
  display: block;
  margin-top: 4px;
}

.pricing-features {
  margin-bottom: 32px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--gray-400);
  padding: 9px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li svg {
  width: 18px;
  height: 18px;
  stroke: var(--primary-400);
  fill: none;
  flex-shrink: 0;
}

.pricing-note {
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.15);
  border-radius: var(--radius-md);
  padding: 22px 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.95rem;
  color: var(--gray-300);
}

.pricing-note svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent-400);
  fill: none;
  flex-shrink: 0;
}

/* ── 17. HOW IT WORKS ── */
.howto-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
}

.step-card {
  flex: 1;
  text-align: center;
  padding: 36px 22px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  transition: all var(--transition);
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
  border-color: rgba(124, 58, 237, 0.35);
}

.step-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  color: var(--primary-400);
  font-size: 1.2rem;
  margin-top: 60px;
  flex-shrink: 0;
}

.step-connector svg {
  width: 24px;
  height: 24px;
  stroke: var(--primary-400);
  fill: none;
}

.step-num {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(124, 58, 237, 0.12);
  line-height: 1;
  margin-bottom: 14px;
}

.step-icon {
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, var(--primary-600), var(--primary-400));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.3);
}

.step-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--white);
  fill: none;
}

.step-card h4 {
  font-size: 1.02rem;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ── 18. CONTACT / CTA ── */
.contact {
  background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: start;
}

.contact-info p {
  font-size: 1rem;
  color: var(--gray-400);
  line-height: 1.8;
  margin-bottom: 32px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
  transition: all var(--transition);
}

.contact-method:hover {
  border-color: rgba(124, 58, 237, 0.35);
  transform: translateX(6px);
  box-shadow: var(--shadow-glow);
}

.cm-icon {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--primary-600), var(--primary-400));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.25);
}

.cm-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--white);
  fill: none;
}

.cm-icon.whatsapp {
  background: linear-gradient(135deg, #16a34a, #4ade80);
}

.contact-method strong {
  display: block;
  font-size: 0.92rem;
  color: var(--white);
  font-weight: 600;
}

.contact-method span {
  font-size: 0.82rem;
  color: var(--gray-500);
}

/* Contact Form */
.contact-form {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
  padding: 44px;
  box-shadow: var(--shadow-lg);
}

.contact-form h3 {
  font-size: 1.25rem;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-form h3 svg {
  width: 24px;
  height: 24px;
  stroke: var(--primary-400);
  fill: none;
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray-300);
  margin-bottom: 8px;
}

.req {
  color: var(--error-400);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 18px;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--gray-200);
  background: rgba(255, 255, 255, 0.04);
  transition: all var(--transition);
  outline: none;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-600);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
  background: rgba(124, 58, 237, 0.04);
}

.form-group input.error,
.form-group select.error {
  border-color: var(--error-500);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-error {
  font-size: 0.78rem;
  color: var(--error-400);
  margin-top: 6px;
  display: none;
}

.form-error.visible {
  display: block;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23a1a1aa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 42px;
}

.form-group select option {
  background: var(--bg-primary);
  color: var(--gray-200);
}

/* Form Success */
.form-success {
  text-align: center;
  padding: 40px 20px;
  display: none;
}

.form-success.show {
  display: block;
}

.success-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--success-600), var(--success-400));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.3);
}

.success-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--white);
  fill: none;
}

.form-success h3 {
  justify-content: center;
  margin-bottom: 12px;
}

.form-success p {
  color: var(--gray-400);
  line-height: 1.7;
}

/* ── 19. FOOTER ── */
.footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
  color: var(--gray-400);
  padding: 72px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.8;
  margin: 18px 0 28px;
  color: var(--gray-500);
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--primary-600);
  border-color: var(--primary-500);
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.3);
}

.footer-social a svg {
  width: 18px;
  height: 18px;
  stroke: var(--gray-400);
  fill: none;
}

.footer-social a:hover svg {
  stroke: var(--white);
}

.footer-links h4,
.footer-contact h4 {
  font-size: 0.92rem;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}

.footer-links a {
  display: block;
  font-size: 0.88rem;
  color: var(--gray-500);
  padding: 6px 0;
  transition: all var(--transition);
}

.footer-links a:hover {
  color: var(--primary-400);
  padding-left: 4px;
}

.footer-contact p {
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  color: var(--gray-500);
}

.footer-contact p svg {
  width: 16px;
  height: 16px;
  stroke: var(--primary-400);
  fill: none;
  flex-shrink: 0;
}

.footer-contact p a {
  color: var(--gray-500);
}

.footer-contact p a:hover {
  color: var(--primary-400);
}

.footer-bottom {
  text-align: center;
  padding: 22px;
  font-size: 0.8rem;
  color: var(--gray-600);
}

.footer-bottom .credits {
  margin-top: 6px;
  font-size: 0.75rem;
  color: var(--gray-700);
}

/* ── 20. FLOATING BUTTONS ── */
.float-buttons {
  position: fixed;
  right: 22px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 900;
}

.float-btn {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
  border: none;
  transition: all var(--transition);
  overflow: visible;
}

.float-btn svg {
  width: 24px;
  height: 24px;
  fill: none;
}

.float-btn:hover {
  transform: scale(1.1);
}

.float-btn:hover .float-label {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.float-label {
  position: absolute;
  right: 66px;
  background: var(--gray-900);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: all var(--transition);
  pointer-events: none;
  border: 1px solid var(--border-subtle);
}

.float-label::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--gray-900);
}

.float-whatsapp {
  background: linear-gradient(135deg, #16a34a, #22c55e);
}

.float-whatsapp svg {
  stroke: var(--white);
}

.float-top {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
}

.float-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.float-top svg {
  stroke: var(--gray-400);
}

.float-top:hover {
  border-color: var(--primary-400);
}

.float-top:hover svg {
  stroke: var(--primary-400);
}

/* ── 21. ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Staggered animation delays */
.stagger-1 { transition-delay: 0.05s; }
.stagger-2 { transition-delay: 0.1s; }
.stagger-3 { transition-delay: 0.15s; }
.stagger-4 { transition-delay: 0.2s; }
.stagger-5 { transition-delay: 0.25s; }
.stagger-6 { transition-delay: 0.3s; }
.stagger-7 { transition-delay: 0.35s; }
.stagger-8 { transition-delay: 0.4s; }

/* ── 22. RESPONSIVE DESIGN ── */
@media (max-width: 1024px) {
  :root { --section-pad: 80px; }

  .method-grid { grid-template-columns: repeat(3, 1fr); }
  .subjects-grid { grid-template-columns: repeat(3, 1fr); }
  .results-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .testimonial-card { width: calc(50% - 12px); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --section-pad: 64px; }

  /* Navigation */
  .hamburger { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(10, 14, 26, 0.97);
    backdrop-filter: blur(20px);
    z-index: 999;
    flex-direction: column;
    padding: 20px;
    gap: 4px;
    border-top: 1px solid var(--border-subtle);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; width: 100%; }

  /* Hero */
  .hero { padding: 100px 0 60px; min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-visual { order: -1; }
  .hero-img { width: 260px; height: 260px; }
  .hero-visual-wrapper { width: 300px; margin: 0 auto; }
  .hero-img-ring { width: 300px; height: 300px; }
  .hero-img-ring:nth-child(3) { width: 340px; height: 340px; }
  .hero-cta { justify-content: center; }
  .hero-benefits { text-align: left; display: inline-block; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .badge-students { left: -5px; top: 10px; }
  .badge-rate { right: -5px; }
  .badge-success { left: 5px; }

  /* About */
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-photo { height: 320px; }
  .about-highlights { grid-template-columns: 1fr; }

  /* Other grids */
  .results-grid { grid-template-columns: 1fr; }
  .subjects-grid { grid-template-columns: repeat(2, 1fr); }
  .method-grid { grid-template-columns: 1fr 1fr; }
  .testimonial-card { width: calc(100% - 24px); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; }
  .howto-steps { flex-direction: column; gap: 16px; align-items: stretch; }
  .step-connector { display: none; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .contact-form { padding: 28px 22px; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .scroll-hint { display: none; }
}

@media (max-width: 480px) {
  .subjects-grid { grid-template-columns: 1fr 1fr; }
  .method-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .btn-lg { padding: 14px 24px; font-size: 0.92rem; }
  .hero-title { font-size: 1.85rem; }
  .pricing-note { flex-direction: column; text-align: center; }
  .features-grid { grid-template-columns: 1fr; }
}

/* ── 23. PREFERS REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 1;
    transform: none;
  }

  html { scroll-behavior: auto; }
}

/* ── 24. PRINT STYLES ── */
@media print {
  .navbar, .float-buttons, .scroll-hint, .hero-gradient-overlay, #hero-canvas { display: none; }
  body { background: white; color: #000; }
  .section-pad { padding: 30px 0; }
}
