/* =============================================
   NEW DESIGN ACADEMY — Main Stylesheet
   ============================================= */

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

:root {
  --purple:     #7C3AED;
  --purple-lt:  #EDE9FE;
  --purple-dk:  #5B21B6;
  --teal:       #0891B2;
  --teal-lt:    #CFFAFE;
  --coral:      #EA580C;
  --coral-lt:   #FFEDD5;
  --lime:       #65A30D;
  --lime-lt:    #ECFCCB;
  --yellow:     #F59E0B;
  --dark:       #0F172A;
  --dark-2:     #1E293B;
  --mid:        #475569;
  --light:      #94A3B8;
  --border:     #E2E8F0;
  --bg:         #F8FAFC;
  --white:      #FFFFFF;

  --font-body:  'Space Grotesk', sans-serif;
  --font-fun:   'Nunito', sans-serif;

  --radius:     16px;
  --radius-sm:  10px;
  --radius-lg:  24px;
  --shadow:     0 4px 24px rgba(15,23,42,0.08);
  --shadow-lg:  0 12px 48px rgba(15,23,42,0.14);

  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }


/* ---- Section Helpers ---- */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-fun);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple);
  background: var(--purple-lt);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.section-tag.light {
  color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.15);
}

.section-title {
  font-family: var(--font-fun);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 16px;
}

.section-title.light { color: #fff; }

.section-subtitle {
  font-size: 1.05rem;
  color: var(--mid);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

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


/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-fun);
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--purple);
  color: #fff;
  box-shadow: 0 4px 20px rgba(124,58,237,0.35);
}

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

.btn-ghost {
  background: transparent;
  color: var(--dark);
  border-color: var(--border);
}

.btn-ghost:hover {
  border-color: var(--purple);
  color: var(--purple);
  transform: translateY(-2px);
}

.btn-full { width: 100%; }


/* =============================================
   NAVIGATION
   ============================================= */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background var(--transition), box-shadow var(--transition);
}

#navbar.scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 2px 20px rgba(15,23,42,0.08);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-fun);
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--white);
  transition: color var(--transition);
}

#navbar.scrolled .nav-logo { color: var(--dark); }

.logo-spark {
  font-size: 1.4rem;
  animation: sparkPulse 2.5s ease-in-out infinite;
}

@keyframes sparkPulse {
  0%, 100% { filter: drop-shadow(0 0 6px rgba(245,158,11,0.5)); transform: scale(1); }
  50% { filter: drop-shadow(0 0 14px rgba(245,158,11,0.9)); transform: scale(1.15); }
}

.logo-accent { color: #A78BFA; }
#navbar.scrolled .logo-accent { color: var(--purple); }

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

.nav-links li a {
  font-family: var(--font-fun);
  font-weight: 700;
  font-size: 0.93rem;
  color: rgba(255,255,255,0.8);
  padding: 8px 14px;
  border-radius: 999px;
  transition: background var(--transition), color var(--transition);
}

#navbar.scrolled .nav-links li a { color: var(--dark); }
.nav-links li a:hover { background: rgba(255,255,255,0.12); color: #fff; }
#navbar.scrolled .nav-links li a:hover { background: var(--purple-lt); color: var(--purple); }

.nav-cta {
  background: var(--purple) !important;
  color: #fff !important;
  padding: 10px 20px !important;
  box-shadow: 0 4px 16px rgba(124,58,237,0.4);
}

.nav-cta:hover {
  background: var(--purple-dk) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(124,58,237,0.5) !important;
}

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

.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: #fff;
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

#navbar.scrolled .hamburger span { background: var(--dark); }

.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }


/* =============================================
   HERO
   ============================================= */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #0F172A 0%, #1E1057 55%, #0C3D5F 100%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding: 120px 80px 80px;
  position: relative;
  overflow: hidden;
}

.hero-shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  animation: shapeOrbit linear infinite;
}

.shape-1 { width: 320px; height: 320px; background: var(--purple); top: -80px; left: -80px; animation-duration: 22s; }
.shape-2 { width: 180px; height: 180px; background: var(--teal); top: 25%; right: 8%; animation-duration: 16s; animation-delay: -6s; }
.shape-3 { width: 140px; height: 140px; background: var(--coral); bottom: 12%; left: 18%; animation-duration: 19s; animation-delay: -9s; }
.shape-4 { width: 90px; height: 90px; background: var(--yellow); top: 18%; left: 38%; animation-duration: 13s; border-radius: 30%; opacity: 0.15; }
.shape-5 { width: 110px; height: 110px; background: var(--lime); bottom: 22%; right: 28%; animation-duration: 24s; animation-delay: -4s; }
.shape-6 { width: 65px; height: 65px; background: #F472B6; top: 58%; left: 4%; animation-duration: 17s; border-radius: 35%; }
.shape-7 { width: 220px; height: 220px; background: #6366F1; bottom: -50px; right: -50px; animation-duration: 28s; opacity: 0.07; }

@keyframes shapeOrbit {
  0%   { transform: translate(0, 0) rotate(0deg); }
  33%  { transform: translate(28px, -18px) rotate(120deg); }
  66%  { transform: translate(-18px, 12px) rotate(240deg); }
  100% { transform: translate(0, 0) rotate(360deg); }
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.88);
  font-family: var(--font-fun);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
  width: fit-content;
}

.hero-title {
  font-family: var(--font-fun);
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 24px;
}

.title-highlight.purple { color: #C4B5FD; }
.title-highlight.teal   { color: #67E8F9; }
.title-highlight.coral  { color: #FCA89D; }

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 36px;
  max-width: 480px;
  line-height: 1.75;
}

.hero-subtitle strong { color: rgba(255,255,255,0.95); }

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

.hero-actions .btn-ghost {
  color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.25);
}

.hero-actions .btn-ghost:hover {
  border-color: rgba(255,255,255,0.6);
  color: #fff;
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
}

.stat { text-align: left; }

.stat-num {
  display: block;
  font-family: var(--font-fun);
  font-size: 2.2rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.stat-label {
  display: block;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 44px;
  background: rgba(255,255,255,0.12);
}

/* Hero Visual */
.hero-visual {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-mockup { position: relative; }

.mockup-screen {
  width: 360px;
  background: #1E293B;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.06);
  animation: mockupFloat 4.5s ease-in-out infinite;
}

@keyframes mockupFloat {
  0%, 100% { transform: translateY(0) rotate(-1.5deg); }
  50% { transform: translateY(-16px) rotate(-1.5deg); }
}

.mockup-topbar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  background: #0F172A;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.dot { width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0; }
.dot-red    { background: #FF5F57; }
.dot-yellow { background: #FEBC2E; }
.dot-green  { background: #28C840; }

.mockup-title-bar {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.25);
  margin-left: 6px;
  font-family: monospace;
}

.mockup-canvas {
  height: 240px;
  background: linear-gradient(145deg, #1a1040, #0c1628);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mockup-shape {
  position: absolute;
  border-radius: 14px;
}

.ms1 {
  width: 110px; height: 110px;
  background: linear-gradient(135deg, #7C3AED, #C4B5FD);
  top: 24px; left: 24px;
  border-radius: 28px;
  transform: rotate(-12deg);
  animation: msFloat 5s ease-in-out infinite;
}

.ms2 {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, #0891B2, #67E8F9);
  top: 50px; right: 50px;
  border-radius: 50%;
  animation: msFloat 4s ease-in-out infinite;
  animation-delay: -1.5s;
}

.ms3 {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, #EA580C, #FCA89D);
  bottom: 36px; left: 72px;
  transform: rotate(18deg);
  animation: msFloat 5.5s ease-in-out infinite;
  animation-delay: -2.5s;
}

.ms4 {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, #65A30D, #BEF264);
  bottom: 52px; right: 28px;
  border-radius: 50%;
  animation: msFloat 3.8s ease-in-out infinite;
  animation-delay: -0.8s;
}

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

.ms1 { animation-name: ms1Float; }
@keyframes ms1Float {
  0%, 100% { transform: translateY(0) rotate(-12deg); }
  50% { transform: translateY(-10px) rotate(-12deg); }
}

.ms3 { animation-name: ms3Float; }
@keyframes ms3Float {
  0%, 100% { transform: translateY(0) rotate(18deg); }
  50% { transform: translateY(-10px) rotate(18deg); }
}

.mockup-cursor {
  position: absolute;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.5);
  pointer-events: none;
  animation: cursorMove 6s ease-in-out infinite;
}

@keyframes cursorMove {
  0%   { top: 50%; left: 50%; opacity: 0.5; }
  25%  { top: 35%; left: 35%; opacity: 0.8; }
  50%  { top: 60%; left: 65%; opacity: 0.5; }
  75%  { top: 40%; left: 70%; opacity: 0.8; }
  100% { top: 50%; left: 50%; opacity: 0.5; }
}

.mockup-toolbar {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  background: #0F172A;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.tool {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.tool:hover, .tool.active {
  background: var(--purple);
  color: #fff;
}

/* Floating bubbles */
.floating-bubble {
  position: absolute;
  background: #fff;
  color: var(--dark);
  font-family: var(--font-fun);
  font-weight: 800;
  font-size: 0.78rem;
  padding: 8px 14px;
  border-radius: 999px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  white-space: nowrap;
  z-index: 3;
}

.b1 { top: -14px; right: -28px; animation: bubbleFloat 3.8s ease-in-out infinite; }
.b2 { bottom: 80px; right: -44px; animation: bubbleFloat 4.2s ease-in-out infinite; animation-delay: -1.8s; }
.b3 { bottom: -12px; left: -36px; animation: bubbleFloat 3.5s ease-in-out infinite; animation-delay: -0.9s; }

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


/* =============================================
   TRUST BAR
   ============================================= */
.trust-bar {
  background: var(--dark-2);
  padding: 18px 0;
}

.trust-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 6px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,0.6);
  font-family: var(--font-fun);
  font-weight: 700;
  font-size: 0.83rem;
  white-space: nowrap;
  padding: 4px 8px;
}

.trust-item span { font-size: 0.95rem; }

.trust-divider {
  width: 1px;
  height: 18px;
  background: rgba(255,255,255,0.12);
}


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

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

.about-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.about-photo-placeholder {
  width: 300px;
  height: 380px;
  background: linear-gradient(145deg, var(--purple-lt), #DDD6FE);
  border-radius: 40px 40px 40px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 2px dashed #C4B5FD;
}

.placeholder-emoji { font-size: 5rem; }

.about-photo-placeholder p {
  font-family: var(--font-fun);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--purple);
}

.floating-cred {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  padding: 12px 16px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  left: -16px;
  bottom: 64px;
  z-index: 2;
}

.cred-right {
  left: auto;
  right: -16px;
  bottom: 168px;
}

.cred-emoji { font-size: 1.6rem; flex-shrink: 0; }
.floating-cred strong { display: block; font-family: var(--font-fun); font-weight: 800; font-size: 0.82rem; color: var(--dark); }
.floating-cred small  { display: block; font-size: 0.74rem; color: var(--mid); margin-top: 1px; }

.about-lead {
  font-size: 1.12rem;
  color: var(--dark);
  margin-bottom: 16px;
  line-height: 1.72;
}

.about-content p {
  color: var(--mid);
  margin-bottom: 14px;
  line-height: 1.72;
}

.cred-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0;
}

.pill {
  background: var(--purple-lt);
  color: var(--purple-dk);
  font-family: var(--font-fun);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 6px 14px;
  border-radius: 999px;
}


/* =============================================
   COURSES
   ============================================= */
.courses { background: var(--white); }

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

.course-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}

.course-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--purple);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.course-card[data-color="teal"]::after  { background: var(--teal); }
.course-card[data-color="coral"]::after { background: var(--coral); }
.course-card[data-color="lime"]::after  { background: var(--lime); }

.course-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0,0,0,0.04);
}

.course-card:hover::after { transform: scaleX(1); }

.course-card.featured {
  background: linear-gradient(160deg, #FFF7ED, #FFEDD5);
  border-color: #FED7AA;
}

.featured-badge {
  position: absolute;
  top: 18px; right: 16px;
  background: var(--coral);
  color: #fff;
  font-family: var(--font-fun);
  font-weight: 800;
  font-size: 0.72rem;
  padding: 4px 12px;
  border-radius: 999px;
}

.course-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 18px;
  background: var(--purple-lt);
}

.course-card[data-color="teal"]  .course-icon-wrap { background: var(--teal-lt); }
.course-card[data-color="coral"] .course-icon-wrap { background: var(--coral-lt); }
.course-card[data-color="lime"]  .course-icon-wrap { background: var(--lime-lt); }

.course-card h3 {
  font-family: var(--font-fun);
  font-size: 1.18rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--dark);
}

.course-card p {
  font-size: 0.9rem;
  color: var(--mid);
  line-height: 1.68;
  margin-bottom: 18px;
}

.course-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 22px;
}

.course-tools span {
  background: var(--bg);
  color: var(--mid);
  font-size: 0.73rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
}

.course-cta {
  font-family: var(--font-fun);
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--purple);
  transition: letter-spacing var(--transition);
}

.course-card[data-color="teal"]  .course-cta { color: var(--teal); }
.course-card[data-color="coral"] .course-cta { color: var(--coral); }
.course-card[data-color="lime"]  .course-cta { color: var(--lime); }

.course-cta:hover { letter-spacing: 0.02em; }


/* =============================================
   TOOLS
   ============================================= */
.tools { background: var(--dark); }

.tools .section-tag {
  background: rgba(124,58,237,0.2);
  color: #A78BFA;
}

.tools .section-title { color: #fff; }
.tools .section-subtitle { color: rgba(255,255,255,0.5); }

.tools-wrapper {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.group-title {
  font-family: var(--font-fun);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tools-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tool-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: 12px 18px;
  transition: background var(--transition), transform var(--transition), border-color var(--transition);
  cursor: default;
}

.tool-card:hover {
  background: rgba(255,255,255,0.09);
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.15);
}

.tool-card span {
  font-family: var(--font-fun);
  font-weight: 700;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
}

.tool-badge {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.72rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
  font-family: var(--font-body);
}

/* Adobe */
.ps      { background: #001E36; color: #31A8FF; }
.ai      { background: #2D1200; color: #FF9A00; }
.id      { background: #2E0021; color: #FF3366; }
.pr      { background: #00005B; color: #9999FF; }
/* Affinity */
.aph     { background: #1A0032; color: #B26FFF; }
.adn     { background: #00192B; color: #0AF; }
.apb     { background: #2B0800; color: #FF7A00; }
.acv     { background: #00220A; color: #00C244; }
/* Game & 3D */
.unity   { background: #222; color: #fff; }
.scratch { background: #B35900; color: #fff; }
.blender { background: #1A3347; color: #F5921E; }


/* =============================================
   WHY US
   ============================================= */
.why { background: var(--bg); }

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

.why-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform var(--transition), box-shadow var(--transition);
  /* Scroll reveal initial state */
  opacity: 0;
  transform: translateY(32px);
}

.why-card.visible {
  opacity: 1;
  transform: translateY(0);
}

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

.why-icon-wrap {
  font-size: 2.6rem;
  margin-bottom: 20px;
  display: block;
}

.why-card h3 {
  font-family: var(--font-fun);
  font-size: 1.08rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--dark);
}

.why-card p {
  font-size: 0.9rem;
  color: var(--mid);
  line-height: 1.7;
}


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

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

.testimonial-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.testimonial-card.highlight {
  background: var(--purple);
  border-color: var(--purple);
  transform: scale(1.04) translateY(-4px);
  box-shadow: 0 20px 48px rgba(124,58,237,0.35);
}

.testimonial-card.highlight:hover {
  transform: scale(1.04) translateY(-8px);
  box-shadow: 0 28px 60px rgba(124,58,237,0.45);
}

.stars {
  color: var(--yellow);
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 18px;
}

.testimonial-card p {
  font-size: 0.93rem;
  line-height: 1.72;
  color: var(--mid);
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-card.highlight p { color: rgba(255,255,255,0.85); }

.t-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.t-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-fun);
  font-weight: 900;
  color: #fff;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.t-author strong {
  display: block;
  font-family: var(--font-fun);
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--dark);
}

.testimonial-card.highlight .t-author strong { color: #fff; }

.t-author small {
  display: block;
  font-size: 0.78rem;
  color: var(--light);
  margin-top: 2px;
}

.testimonial-card.highlight .t-author small { color: rgba(255,255,255,0.6); }


/* =============================================
   CONTACT
   ============================================= */
.contact {
  background: linear-gradient(135deg, #4C1D95 0%, #1E1057 50%, #0C4A6E 100%);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(124,58,237,0.25), transparent 70%);
  top: -200px; left: -200px;
  pointer-events: none;
}

.contact::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(8,145,178,0.2), transparent 70%);
  bottom: -100px; right: -100px;
  pointer-events: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.contact-lead {
  font-size: 1.08rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 28px;
  line-height: 1.75;
}

.contact-perks {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}

.contact-perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-fun);
  font-weight: 700;
  color: rgba(255,255,255,0.8);
  font-size: 0.93rem;
}

.contact-social p {
  color: rgba(255,255,255,0.4);
  font-size: 0.82rem;
  margin-bottom: 12px;
}

.social-links { display: flex; gap: 10px; flex-wrap: wrap; }

.social-btn {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.75);
  font-family: var(--font-fun);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  transition: background var(--transition), color var(--transition);
}

.social-btn:hover {
  background: rgba(255,255,255,0.18);
  color: #fff;
}

/* Enroll Form */
.enroll-form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 28px 80px rgba(0,0,0,0.3);
}

.enroll-form h3 {
  font-family: var(--font-fun);
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 4px;
  color: var(--dark);
}

.form-sub {
  color: var(--mid);
  font-size: 0.88rem;
  margin-bottom: 28px;
}

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

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

label {
  display: block;
  font-family: var(--font-fun);
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--dark);
  margin-bottom: 6px;
}

input, select, textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--dark);
  background: var(--bg);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.1);
  background: #fff;
}

input.invalid, select.invalid {
  border-color: #EF4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,0.08);
}

textarea { resize: vertical; min-height: 88px; }

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394A3B8' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.field-error {
  display: block;
  color: #EF4444;
  font-size: 0.76rem;
  font-weight: 600;
  margin-top: 4px;
  min-height: 16px;
}

.form-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--light);
  margin-top: 12px;
}

/* Success state */
.form-success {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 64px 40px;
  text-align: center;
  box-shadow: 0 28px 80px rgba(0,0,0,0.3);
}

.form-success.hidden { display: none; }
.enroll-form.hidden { display: none; }

.success-icon { font-size: 4.5rem; margin-bottom: 16px; }

.form-success h3 {
  font-family: var(--font-fun);
  font-size: 1.8rem;
  font-weight: 900;
  margin-bottom: 12px;
  color: var(--dark);
}

.form-success p {
  color: var(--mid);
  margin-bottom: 28px;
  line-height: 1.65;
}


/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: #080F1A;
  padding: 64px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-brand .nav-logo { color: #fff; margin-bottom: 12px; }
.footer-brand .logo-accent { color: #A78BFA; }

.footer-brand p {
  color: rgba(255,255,255,0.35);
  font-size: 0.88rem;
  max-width: 280px;
  line-height: 1.65;
  margin-top: 12px;
}

.footer-nav { display: flex; gap: 52px; }

.footer-col h4 {
  font-family: var(--font-fun);
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: rgba(255,255,255,0.3);
  margin-bottom: 18px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col li a {
  color: rgba(255,255,255,0.5);
  font-size: 0.88rem;
  transition: color var(--transition);
}

.footer-col li a:hover { color: #fff; }

.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  color: rgba(255,255,255,0.2);
  font-size: 0.78rem;
}


/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1100px) {
  .hero { padding: 120px 48px 80px; gap: 40px; }
  .mockup-screen { width: 300px; }
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 120px 32px 80px;
    text-align: center;
  }

  .hero-badge { margin: 0 auto 24px; }
  .hero-subtitle { margin: 0 auto 36px; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { margin-top: 20px; }

  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { order: -1; }

  .courses-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
  .testimonial-card.highlight { transform: none; }
  .testimonial-card.highlight:hover { transform: translateY(-5px); }

  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-nav { gap: 40px; }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 4px);
    left: 16px; right: 16px;
    background: #fff;
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow-lg);
    gap: 2px;
    border: 1.5px solid var(--border);
  }

  .nav-links.open { display: flex; }
  .nav-links li a { color: var(--dark) !important; padding: 12px 16px; border-radius: var(--radius-sm); }
  .nav-links li a:hover { background: var(--purple-lt); color: var(--purple) !important; }
  .hamburger { display: flex; }

  .hero { padding: 100px 20px 64px; }
  .mockup-screen { width: 260px; }
  .floating-bubble { display: none; }
  .floating-cred { display: none; }

  .courses-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }
  .enroll-form { padding: 28px 24px; }

  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { text-align: center; }

  .footer-nav { flex-direction: column; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .trust-divider { display: none; }
}
