/* ═══════════════════════════════════════════════════
   ACVOLT Tech School — styles.css
   Premium Dark Theme — "Tech Academy" Design
   GPU-accelerated animations, glassmorphism, glow FX
   ═══════════════════════════════════════════════════ */

/* ── KEYFRAME ANIMATIONS ── */

@keyframes gradientText {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

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

@keyframes pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.08); }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(227,25,55,0.3), 0 0 40px rgba(227,25,55,0.1); }
  50%      { box-shadow: 0 0 30px rgba(227,25,55,0.5), 0 0 60px rgba(227,25,55,0.2); }
}

@keyframes shimmer {
  0%   { left: -100%; }
  100% { left: 200%; }
}

@keyframes badgeShine {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25%      { transform: translate(80px, -40px) scale(1.1); }
  50%      { transform: translate(-30px, -80px) scale(0.95); }
  75%      { transform: translate(-60px, 20px) scale(1.05); }
}

@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25%      { transform: translate(-60px, 50px) scale(1.08); }
  50%      { transform: translate(40px, 80px) scale(0.92); }
  75%      { transform: translate(70px, -30px) scale(1.03); }
}

@keyframes breathe {
  0%, 100% { opacity: 0.3; transform: scale(0.9); }
  50%      { opacity: 0.6; transform: scale(1.1); }
}

@keyframes borderGlow {
  0%, 100% { opacity: 0.5; }
  50%      { opacity: 1; }
}

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

:root {
  --bg-primary:     #0a1628;
  --bg-secondary:   #0d1b30;
  --bg-card:        rgba(255,255,255,0.05);
  --bg-card-hover:  rgba(255,255,255,0.08);
  --bg-glass:       rgba(10,25,50,0.7);
  --border-card:    rgba(255,255,255,0.08);
  --border-hover:   rgba(255,255,255,0.18);
  --radius:         20px;
  --radius-sm:      12px;
  --radius-lg:      28px;

  --text-primary:   #f0f4fa;
  --text-secondary: rgba(180,200,230,0.7);
  --text-muted:     #64748b;

  --brand-red:      #E31937;
  --blue:           #0E56D8;
  --blue-light:     #4B8CF5;
  --orange:         #f39c12;
  --gold:           #ffd700;
  --green:          #27ae60;
  --green-light:    #2ecc71;
  --purple:         #9b59b6;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --dot-grid: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='20' cy='20' r='1' fill='rgba(255,255,255,0.04)'/%3E%3C/svg%3E");
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: var(--blue-light); text-decoration: none; transition: color 0.25s ease; }
a:hover { color: var(--orange); }

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 100px 0;
  position: relative;
}

/* Dot grid overlay on sections */
.section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--dot-grid);
  background-repeat: repeat;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

.section > .container {
  position: relative;
  z-index: 1;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
  position: relative;
  display: inline-block;
  width: 100%;
}

/* Gradient underline decoration for section titles */
.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  margin: 14px auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, #E31937, #f39c12, #ffd700);
  background-size: 200% 100%;
  animation: gradientText 4s ease infinite;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 56px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* ══════════════════════════════════
   NAVBAR
   ══════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10,22,40,0.85);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.navbar.scrolled {
  background: rgba(10,22,40,0.95);
  box-shadow:
    0 4px 30px rgba(0,0,0,0.4),
    0 1px 0 rgba(255,255,255,0.03);
}

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

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  transition: opacity 0.2s;
}

.navbar-logo:hover {
  opacity: 0.85;
  color: var(--text-primary);
}

.navbar-social {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 16px;
}

.nav-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: rgba(255,255,255,0.5);
  transition: all 0.2s ease;
}

.nav-social-link:hover { color: #fff; transform: scale(1.1); }
.nav-social-yt:hover { color: #FF0000; }
.nav-social-fb:hover { color: #1877F2; }
.nav-social-ig:hover { color: #E4405F; }
.nav-social-tt:hover { color: #00f2ea;
}

.navbar-logo img {
  border-radius: 10px;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.25s ease;
  position: relative;
  padding: 4px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--gold));
  border-radius: 1px;
  transition: width 0.3s ease, left 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
  left: 0;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-toggle {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text-secondary);
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: var(--font);
}

.lang-toggle:hover {
  border-color: var(--blue-light);
  color: var(--text-primary);
  background: rgba(14,86,216,0.1);
}

/* ══════════════════════════════════
   BUTTONS
   ══════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  padding: 12px 24px;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  text-decoration: none;
  position: relative;
  will-change: transform, box-shadow;
}

.btn-cta-sm {
  background: linear-gradient(135deg, #E31937, #C62828);
  color: #fff;
  padding: 8px 18px;
  font-size: 0.85rem;
  border-radius: 10px;
}

.btn-cta-sm:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 4px 15px rgba(227,25,55,0.3),
    0 0 20px rgba(227,25,55,0.15);
  color: #fff;
}

.btn-green {
  background: linear-gradient(135deg, #E31937, #C62828);
  color: #fff;
  position: relative;
  overflow: hidden;
}

/* Pulsing glow behind red CTA buttons */
.btn-green::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, #E31937, #C62828);
  z-index: -1;
  filter: blur(12px);
  opacity: 0.4;
  animation: pulse 3s ease-in-out infinite;
  will-change: opacity, transform;
}

.btn-green:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow:
    0 8px 30px rgba(227,25,55,0.35),
    0 0 40px rgba(227,25,55,0.15);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid rgba(255,255,255,0.12);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-outline::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #E31937, #f39c12);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
  border-radius: inherit;
}

.btn-outline:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 25px rgba(227,25,55,0.25);
}

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

.btn-lg {
  padding: 18px 40px;
  font-size: 1.1rem;
  border-radius: var(--radius);
}

.btn-block {
  width: 100%;
}

/* ── Hamburger ── */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

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

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

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

/* ══════════════════════════════════
   HERO SECTION
   ══════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding-top: 120px;
  padding-bottom: 80px;
  overflow: hidden;
}

/* No dot grid on hero — it has its own FX */
.hero::before {
  display: none;
}

/* Animated gradient mesh */
.hero-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Main radial glow */
.hero-glow::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 140%;
  height: 80%;
  background: radial-gradient(
    ellipse at 50% 0%,
    rgba(227,25,55,0.12) 0%,
    rgba(243,156,18,0.05) 40%,
    transparent 70%
  );
  animation: breathe 8s ease-in-out infinite;
  will-change: opacity, transform;
}

/* Secondary bottom glow */
.hero-glow::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 50%;
  background: radial-gradient(
    ellipse at 50% 100%,
    rgba(227,25,55,0.08) 0%,
    transparent 60%
  );
}

/* Floating glow orbs */
.hero .hero-content::before {
  content: '';
  position: absolute;
  top: -10%;
  left: 10%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(227,25,55,0.2) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
  animation: orbFloat1 20s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
  will-change: transform;
}

.hero .hero-content::after {
  content: '';
  position: absolute;
  top: 20%;
  right: 5%;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(243,156,18,0.15) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
  animation: orbFloat2 18s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
  will-change: transform;
}

.hero-content {
  position: relative;
  z-index: 1;
}

/* Animated gradient hero title */
.hero h1 {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  background: linear-gradient(
    135deg,
    #E31937,
    #f39c12,
    #ffd700,
    #E31937
  );
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientText 8s ease infinite;
  will-change: background-position;
  position: relative;
}

/* Breathing glow behind the title */
.hero h1::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 150%;
  background: radial-gradient(ellipse, rgba(227,25,55,0.15) 0%, transparent 70%);
  filter: blur(30px);
  animation: breathe 6s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 44px;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}

/* Each stat a different gradient color */
.stat:nth-child(1) .stat-number {
  background: linear-gradient(135deg, var(--blue-light), #00d4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat:nth-child(2) .stat-number {
  background: linear-gradient(135deg, var(--orange), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat:nth-child(3) .stat-number {
  background: linear-gradient(135deg, var(--green), var(--green-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat:nth-child(4) .stat-number {
  background: linear-gradient(135deg, var(--purple), #c084fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 6px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Pulsing glow on hero CTA */
.hero-ctas .btn-green {
  animation: pulseGlow 3s ease-in-out infinite;
}

/* ══════════════════════════════════
   FEATURE CARDS — Glassmorphism
   ══════════════════════════════════ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-glass);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  will-change: transform;
}

/* Shimmer sweep on hover */
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,0.04),
    transparent
  );
  transform: skewX(-15deg);
  pointer-events: none;
}

.feature-card:hover::before {
  animation: shimmer 0.8s ease forwards;
}

/* Gradient border glow */
.feature-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius);
  padding: 1px;
  background: linear-gradient(135deg, transparent, transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.feature-card:hover {
  background: rgba(255,255,255,0.05);
  transform: translateY(-6px) perspective(600px) rotateX(1deg);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.feature-card:hover::after {
  opacity: 1;
}

/* Card 1: Blue glow */
.feature-card:nth-child(1):hover {
  border-color: rgba(14,86,216,0.4);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3), 0 0 30px rgba(14,86,216,0.1);
}
.feature-card:nth-child(1)::after {
  background: linear-gradient(135deg, rgba(14,86,216,0.5), transparent 60%);
}

/* Card 2: Orange glow */
.feature-card:nth-child(2):hover {
  border-color: rgba(243,156,18,0.4);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3), 0 0 30px rgba(243,156,18,0.1);
}
.feature-card:nth-child(2)::after {
  background: linear-gradient(135deg, rgba(243,156,18,0.5), transparent 60%);
}

/* Card 3: Red glow */
.feature-card:nth-child(3):hover {
  border-color: rgba(227,25,55,0.4);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3), 0 0 30px rgba(227,25,55,0.1);
}
.feature-card:nth-child(3)::after {
  background: linear-gradient(135deg, rgba(227,25,55,0.5), transparent 60%);
}

/* Card 4: Gold glow */
.feature-card:nth-child(4):hover {
  border-color: rgba(255,215,0,0.4);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3), 0 0 30px rgba(255,215,0,0.1);
}
.feature-card:nth-child(4)::after {
  background: linear-gradient(135deg, rgba(255,215,0,0.5), transparent 60%);
}

/* Card 5: Green glow */
.feature-card:nth-child(5):hover {
  border-color: rgba(39,174,96,0.4);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3), 0 0 30px rgba(39,174,96,0.1);
}
.feature-card:nth-child(5)::after {
  background: linear-gradient(135deg, rgba(39,174,96,0.5), transparent 60%);
}

/* Card 6: Purple glow */
.feature-card:nth-child(6):hover {
  border-color: rgba(155,89,182,0.4);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3), 0 0 30px rgba(155,89,182,0.1);
}
.feature-card:nth-child(6)::after {
  background: linear-gradient(135deg, rgba(155,89,182,0.5), transparent 60%);
}

.feature-icon {
  font-size: 2.6rem;
  margin-bottom: 18px;
  display: inline-block;
  animation: float 6s ease-in-out infinite;
  will-change: transform;
}

/* Stagger floating animation */
.feature-card:nth-child(2) .feature-icon { animation-delay: -1s; }
.feature-card:nth-child(3) .feature-icon { animation-delay: -2s; }
.feature-card:nth-child(4) .feature-icon { animation-delay: -3s; }
.feature-card:nth-child(5) .feature-icon { animation-delay: -4s; }
.feature-card:nth-child(6) .feature-icon { animation-delay: -5s; }

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ══════════════════════════════════
   STEPS (How it Works)
   ══════════════════════════════════ */
.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

.step-card {
  text-align: center;
  flex: 1;
  max-width: 280px;
  padding: 0 20px;
}

.step-number {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #E31937, #f39c12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 auto 18px;
  color: #fff;
  position: relative;
  box-shadow:
    0 8px 24px rgba(227,25,55,0.3),
    0 0 0 4px rgba(227,25,55,0.1);
  transition: all 0.3s ease;
}

.step-card:hover .step-number {
  transform: scale(1.1);
  box-shadow:
    0 12px 30px rgba(227,25,55,0.4),
    0 0 0 6px rgba(227,25,55,0.15);
}

.step-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.step-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.step-line {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, rgba(227,25,55,0.4), rgba(243,156,18,0.4));
  margin-top: 32px;
  flex-shrink: 0;
  border-radius: 1px;
}

/* ══════════════════════════════════
   ABOUT
   ══════════════════════════════════ */
/* School story blocks */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 48px;
}

.about-story-block {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.3s ease;
}

.about-story-block:hover {
  border-color: rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
}

.about-story-block h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.about-story-block:nth-child(1) h3 { color: var(--blue-light); }
.about-story-block:nth-child(2) h3 { color: var(--brand-red, #E31937); }
.about-story-block:nth-child(3) h3 { color: var(--orange); }
.about-story-block:nth-child(4) h3 { color: var(--green-light); }

.about-story-block p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.95rem;
}

.about-school-stats {
  justify-content: center;
  margin-bottom: 56px;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
}

.about-founder {
  margin-top: 0;
}

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

.about-image img {
  border-radius: var(--radius);
  border: 2px solid rgba(255,255,255,0.08);
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  transition: all 0.4s ease;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.about-image img:hover {
  border-color: rgba(14,86,216,0.3);
  box-shadow:
    0 25px 60px rgba(0,0,0,0.5),
    0 0 40px rgba(14,86,216,0.1);
  transform: scale(1.02);
}

.about-text h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.about-role {
  color: var(--orange);
  font-weight: 600;
  margin-bottom: 20px;
  font-size: 1rem;
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.7;
}

.about-credentials {
  display: flex;
  gap: 36px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.credential {
  display: flex;
  flex-direction: column;
}

.credential-number {
  font-size: 1.6rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue-light), var(--green-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.credential span:last-child {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ══════════════════════════════════
   APP SHOWCASE
   ══════════════════════════════════ */
.app-showcase {
  background: var(--bg-glass);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 52px;
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

/* Top glow on app showcase */
.app-showcase::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(14,86,216,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.app-features {
  margin-bottom: 36px;
}

.app-feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 1rem;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.app-feature-item:hover {
  color: var(--text-primary);
}

.app-feature-item:last-child {
  border-bottom: none;
}

.check {
  color: var(--green-light);
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
  text-shadow: 0 0 8px rgba(46,204,113,0.4);
}

.app-ctas {
  text-align: center;
}

.app-ctas .btn {
  margin: 0 8px 12px;
}

.app-note {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 8px;
}

/* ══════════════════════════════════
   TESTIMONIALS
   ══════════════════════════════════ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-glass);
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  will-change: transform;
}

/* Shimmer on testimonial hover */
.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.03), transparent);
  transform: skewX(-15deg);
  pointer-events: none;
}

.testimonial-card:hover::before {
  animation: shimmer 0.8s ease forwards;
}

.testimonial-card:hover {
  border-color: rgba(255,255,255,0.12);
  transform: translateY(-4px) perspective(600px) rotateX(1deg);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}

.testimonial-quote {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 24px;
  position: relative;
  padding-left: 20px;
}

/* Decorative quote mark */
.testimonial-quote::before {
  content: '\201C';
  position: absolute;
  top: -10px;
  left: -4px;
  font-size: 3rem;
  line-height: 1;
  color: rgba(14,86,216,0.2);
  font-style: normal;
  font-weight: 800;
}

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

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.testimonial-author strong {
  display: block;
  font-size: 0.92rem;
  color: var(--text-primary);
}

.testimonial-author span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ══════════════════════════════════
   PRICING
   ══════════════════════════════════ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: var(--bg-glass);
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 40px 30px;
  text-align: center;
  position: relative;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow: hidden;
  will-change: transform;
}

/* Shimmer on pricing hover */
.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.03), transparent);
  transform: skewX(-15deg);
  pointer-events: none;
}

.pricing-card:hover::before {
  animation: shimmer 0.8s ease forwards;
}

.pricing-card:hover {
  border-color: rgba(255,255,255,0.12);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

/* Popular card — STANDOUT */
.pricing-popular {
  border-color: var(--orange);
  background: linear-gradient(
    180deg,
    rgba(243,156,18,0.05) 0%,
    rgba(10,20,40,0.65) 100%
  );
  transform: scale(1.03);
  box-shadow:
    0 0 30px rgba(243,156,18,0.12),
    0 20px 50px rgba(0,0,0,0.3);
}

/* Animated glowing orange border for popular */
.pricing-popular::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius);
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(243,156,18,0.6),
    rgba(255,215,0,0.2),
    rgba(243,156,18,0.6)
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: borderGlow 3s ease-in-out infinite;
  pointer-events: none;
}

.pricing-popular:hover {
  border-color: var(--gold);
  transform: scale(1.05);
  box-shadow:
    0 0 50px rgba(243,156,18,0.2),
    0 25px 60px rgba(0,0,0,0.4);
}

/* Badge with gradient shine */
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background:
    linear-gradient(
      90deg,
      #f39c12 0%,
      #ffd700 30%,
      #ffe566 50%,
      #ffd700 70%,
      #f39c12 100%
    );
  background-size: 200% 100%;
  animation: badgeShine 3s linear infinite;
  color: #fff;
  padding: 5px 20px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 15px rgba(243,156,18,0.4);
  z-index: 2;
}

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

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

.pricing-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

.price-amount {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text-primary);
}

.pricing-popular .price-amount {
  background: linear-gradient(135deg, var(--orange), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.price-period {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 32px;
}

.pricing-features li {
  padding: 10px 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  position: relative;
  padding-left: 28px;
}

.pricing-features li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

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

.pricing-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 36px;
}

.pricing-note a {
  color: var(--green-light);
  text-decoration: underline;
  text-decoration-color: rgba(46,204,113,0.3);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s;
}

.pricing-note a:hover {
  text-decoration-color: var(--green-light);
}

/* ══════════════════════════════════
   CTA FINAL
   ══════════════════════════════════ */
.cta-final {
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Floating glow orb behind CTA */
.cta-final::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(
    ellipse at 50% 50%,
    rgba(227,25,55,0.1) 0%,
    transparent 70%
  );
  filter: blur(40px);
  pointer-events: none;
  animation: breathe 8s ease-in-out infinite;
  z-index: 0;
}

.cta-final h2 {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}

.cta-final p {
  color: var(--text-secondary);
  font-size: 1.15rem;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.cta-buttons .btn-green {
  animation: pulseGlow 3s ease-in-out infinite;
}

/* ══════════════════════════════════
   FOOTER
   ══════════════════════════════════ */
.footer {
  border-top: none;
  padding: 56px 0 36px;
  position: relative;
}

/* Gradient top border */
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg,
    #E31937,
    #f39c12,
    #ffd700
  );
  background-size: 300% 100%;
  animation: gradientText 6s ease infinite;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 32px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-brand span {
  font-weight: 700;
  font-size: 1.1rem;
}

.footer-brand p {
  width: 100%;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 4px;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.25s ease;
  position: relative;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--orange);
  transition: width 0.25s ease;
}

.footer-links a:hover {
  color: var(--text-primary);
}

.footer-links a:hover::after {
  width: 100%;
}

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

.footer-social a {
  color: var(--text-muted);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.04);
}

.footer-social a:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.04);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-bottom a {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ══════════════════════════════════
   SCROLL ANIMATIONS
   ══════════════════════════════════ */
.fade-in {
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) var(--reveal-delay, 0s),
              transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) var(--reveal-delay, 0s);
  will-change: opacity, transform;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ══════════════════════════════════
   RESPONSIVE — Tablet (1024px)
   ══════════════════════════════════ */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-popular {
    transform: scale(1.02);
  }

  .pricing-popular:hover {
    transform: scale(1.04);
  }

  .pricing-grid .pricing-card:last-child {
    grid-column: 1 / -1;
    max-width: 400px;
    margin: 0 auto;
  }

  .about-grid {
    grid-template-columns: 240px 1fr;
    gap: 36px;
  }

  .hero h1 {
    font-size: 3.2rem;
  }
}

/* ══════════════════════════════════
   RESPONSIVE — Mobile (768px)
   ══════════════════════════════════ */
@media (max-width: 768px) {
  .section {
    padding: 70px 0;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 40px;
  }

  /* Navbar mobile */
  .navbar-links {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(4,13,26,0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    padding: 20px;
    gap: 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }

  .navbar-links.open {
    display: flex;
  }

  .navbar-links .nav-link {
    padding: 14px 0;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.04);
  }

  .navbar-links .nav-link:last-child {
    border-bottom: none;
  }

  .navbar-links .nav-link::after {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .navbar-social {
    display: none;
  }

  .btn-cta-sm {
    display: none;
  }

  /* Hero mobile */
  .hero {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: 60px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 32px;
  }

  .hero-stats {
    gap: 24px;
    margin-bottom: 32px;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  /* Reduce orb sizes */
  .hero .hero-content::before {
    width: 200px;
    height: 200px;
  }

  .hero .hero-content::after {
    width: 160px;
    height: 160px;
  }

  /* Features mobile */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-card {
    padding: 28px 24px;
  }

  /* Steps mobile */
  .steps {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .step-line {
    width: 2px;
    height: 40px;
    margin: 0;
    background: linear-gradient(180deg, rgba(227,25,55,0.4), rgba(243,156,18,0.4));
  }

  /* About mobile */
  .about-story {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about-story-block {
    padding: 24px;
  }

  .about-school-stats {
    padding: 24px;
    gap: 20px;
    flex-wrap: wrap;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-image {
    max-width: 250px;
    margin: 0 auto;
  }

  .about-image img {
    aspect-ratio: 1;
    object-fit: cover;
  }

  .about-credentials {
    gap: 20px;
    flex-wrap: wrap;
  }

  /* App showcase mobile */
  .app-showcase {
    padding: 32px 24px;
  }

  /* Testimonials mobile */
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  /* Pricing mobile */
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .pricing-popular {
    transform: scale(1.01);
  }

  .pricing-popular:hover {
    transform: scale(1.02);
  }

  .pricing-grid .pricing-card:last-child {
    max-width: none;
  }

  /* CTA Final mobile */
  .cta-final h2 {
    font-size: 1.7rem;
  }

  .cta-final p {
    font-size: 1rem;
    margin-bottom: 32px;
  }

  .cta-buttons .btn-lg {
    width: 100%;
  }

  /* Footer mobile */
  .footer-grid {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-brand {
    justify-content: center;
  }

  .footer-brand p {
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* ══════════════════════════════════
   RESPONSIVE — Small Mobile (480px)
   ══════════════════════════════════ */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero-stats {
    gap: 16px;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .stat-label {
    font-size: 0.7rem;
  }

  .about-text h3 {
    font-size: 1.4rem;
  }

  .credential-number {
    font-size: 1.3rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .feature-icon {
    font-size: 2.2rem;
  }

  .cta-final h2 {
    font-size: 1.5rem;
  }
}

/* ══════════════════════════════════
   ACCESSIBILITY: Reduced Motion
   ══════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .hero h1 {
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--blue-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .feature-card:hover,
  .testimonial-card:hover,
  .pricing-card:hover {
    transform: none;
  }

  .pricing-popular {
    transform: scale(1.02);
  }

  .pricing-popular:hover {
    transform: scale(1.02);
  }

  .fade-in {
    opacity: 1;
    transform: none;
  }
}

/* ══════════════════════════════════
   PERFORMANCE: Mobile heavy FX off
   ══════════════════════════════════ */
@media (max-width: 768px) {
  .feature-icon {
    animation: none;
  }

  .hero .hero-content::before,
  .hero .hero-content::after {
    animation-duration: 30s;
  }

  .hero-glow::before {
    animation: none;
    opacity: 0.3;
  }

  .cta-final::after {
    animation: none;
    opacity: 0.4;
  }

  .feature-card::before,
  .testimonial-card::before,
  .pricing-card::before {
    display: none;
  }

  .btn-green::before {
    display: none;
  }

  .hero-ctas .btn-green,
  .cta-buttons .btn-green {
    animation: none;
    box-shadow: 0 4px 20px rgba(227,25,55,0.3);
  }
}

/* ══════════════════════════════════
   PRINT
   ══════════════════════════════════ */
@media print {
  .navbar, .menu-toggle, .lang-toggle, .btn { display: none !important; }
  body { background: #fff; color: #000; }
  .section { padding: 20px 0; }
  .section::before { display: none; }
  .hero-glow { display: none; }
  .footer::before { display: none; }
}
