/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #818cf8;
  --secondary: #8b5cf6;
  --accent: #06b6d4;
  --dark: #0f172a;
  --dark-2: #1e293b;
  --dark-3: #334155;
  --mid: #64748b;
  --light: #f1f5f9;
  --lighter: #f8fafc;
  --white: #ffffff;
  --gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #06b6d4 100%);
  --gradient-soft: linear-gradient(135deg, #eef2ff 0%, #f5f3ff 50%, #ecfeff 100%);
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow: 0 4px 16px rgba(0,0,0,.1);
  --shadow-lg: 0 20px 60px rgba(0,0,0,.12);
  --shadow-xl: 0 32px 80px rgba(0,0,0,.16);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: .25s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }

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

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

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

/* ===== TYPOGRAPHY ===== */
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(99,102,241,.1);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--dark);
}

.section-sub {
  font-size: 1.05rem;
  color: var(--mid);
  max-width: 560px;
  margin: 0 auto 56px;
  text-align: center;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  font-size: .95rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  padding: 10px 20px;
}
.btn--lg { padding: 14px 32px; font-size: 1rem; border-radius: 14px; }
.btn--sm { padding: 8px 16px; font-size: .85rem; border-radius: 10px; }
.btn--full { width: 100%; }

.btn--primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(99,102,241,.35);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(99,102,241,.45);
}

.btn--ghost {
  background: transparent;
  border-color: rgba(99,102,241,.3);
  color: var(--primary);
}
.btn--ghost:hover { background: rgba(99,102,241,.08); border-color: var(--primary); }

.btn--ghost-white {
  background: transparent;
  border-color: rgba(255,255,255,.5);
  color: var(--white);
}
.btn--ghost-white:hover { background: rgba(255,255,255,.1); border-color: var(--white); }

.btn--outline {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}
.btn--outline:hover { background: var(--primary); color: var(--white); }

.btn--nav {
  background: var(--gradient);
  color: var(--white) !important;
  padding: 8px 20px;
  font-size: .875rem;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(99,102,241,.3);
}
.btn--nav:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(99,102,241,.4); }

.btn--white {
  background: var(--white);
  color: var(--primary-dark);
  font-weight: 700;
}
.btn--white:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,.15); }

/* ===== NAVBAR ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition);
}
.nav.scrolled {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 24px rgba(0,0,0,.08);
  padding: 12px 0;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--dark);
}
.nav__logo strong { color: var(--primary); }
.logo-icon {
  width: 36px; height: 36px;
  background: var(--gradient);
  color: var(--white);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__links a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--dark-3);
  transition: color var(--transition);
}
.nav__links a:hover { color: var(--primary); }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all var(--transition);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0;
  background: var(--white);
  box-shadow: 0 8px 32px rgba(0,0,0,.1);
  z-index: 999;
  padding: 16px 24px 24px;
}
.mobile-menu.open { display: block; }
.mobile-menu ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu a {
  display: block;
  padding: 12px 16px;
  font-weight: 500;
  color: var(--dark-3);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.mobile-menu a:hover { background: var(--light); color: var(--primary); }

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 140px 0 100px;
  overflow: hidden;
  background: var(--lighter);
}

.hero__bg-shapes { position: absolute; inset: 0; pointer-events: none; }
.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .12;
}
.shape-1 { width: 600px; height: 600px; background: var(--primary); top: -200px; right: -100px; }
.shape-2 { width: 400px; height: 400px; background: var(--secondary); bottom: -100px; left: -100px; }
.shape-3 { width: 300px; height: 300px; background: var(--accent); top: 50%; left: 40%; }

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

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--primary-dark);
  background: rgba(99,102,241,.1);
  border: 1px solid rgba(99,102,241,.2);
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero__title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--dark);
}

.hero__subtitle {
  font-size: 1.1rem;
  color: var(--mid);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero__cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.stat { text-align: center; }
.stat__number { display: block; font-size: 1.6rem; font-weight: 800; color: var(--dark); }
.stat__label { font-size: .8rem; color: var(--mid); font-weight: 500; }
.stat__divider { width: 1px; height: 40px; background: rgba(0,0,0,.1); }

/* Hero Visual */
.hero__visual { position: relative; }
.hero__card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 24px;
}
.hero__card--main { position: relative; z-index: 2; }

.card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.card-avatar {
  width: 44px; height: 44px;
  background: var(--gradient);
  color: var(--white);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .9rem;
  flex-shrink: 0;
}
.card-name { font-weight: 600; font-size: .95rem; margin-bottom: 2px; }
.card-course { font-size: .8rem; color: var(--mid); }
.card-badge {
  margin-left: auto;
  background: rgba(16,185,129,.1);
  color: #059669;
  font-size: .75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: .8rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--dark-3);
}
.progress-bar {
  height: 8px;
  background: var(--light);
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 20px;
}
.progress-fill {
  height: 100%;
  background: var(--gradient);
  border-radius: 100px;
  transition: width 1s ease;
}

.card-modules { display: flex; flex-direction: column; gap: 10px; }
.module {
  font-size: .85rem;
  color: var(--mid);
  padding: 10px 14px;
  background: var(--lighter);
  border-radius: 10px;
}
.module--done { color: #059669; background: rgba(16,185,129,.08); }
.module--active {
  color: var(--primary);
  background: rgba(99,102,241,.1);
  font-weight: 600;
}

.hero__card--float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--radius);
  z-index: 3;
  font-size: 1.4rem;
  animation: float 3s ease-in-out infinite;
}
.hero__card--float-1 { bottom: -20px; left: -40px; animation-delay: 0s; }
.hero__card--float-2 { top: -20px; right: -20px; animation-delay: 1.5s; }

.float-title { font-size: .85rem; font-weight: 700; color: var(--dark); }
.float-sub { font-size: .75rem; color: var(--mid); }

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

/* ===== FEATURES ===== */
.features {
  padding: 100px 0;
  background: var(--white);
  text-align: center;
}
.features .section-title { margin-bottom: 60px; }

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

.feature-card {
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0,0,0,.07);
  background: var(--white);
  text-align: left;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity var(--transition);
}
.feature-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; }
.feature-card:hover::before { opacity: 1; }

.feature-icon { font-size: 2.2rem; margin-bottom: 18px; }
.feature-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.feature-card p { font-size: .9rem; color: var(--mid); line-height: 1.65; }

/* ===== COURSES ===== */
.courses {
  padding: 100px 0;
  background: var(--lighter);
  text-align: center;
}

.courses__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
  text-align: left;
  justify-items: stretch;
}
.courses__grid .course-card:nth-child(4) { grid-column: 1; }
.courses__grid .course-card:nth-child(5) { grid-column: 2; }

.course-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,.06);
  transition: all var(--transition);
  position: relative;
}
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.course-card--featured { border: 2px solid var(--primary); }

.course-thumb {
  position: relative;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.course-thumb--blue { background: linear-gradient(135deg, #dbeafe, #bfdbfe); }
.course-thumb--purple { background: linear-gradient(135deg, #ede9fe, #ddd6fe); }
.course-thumb--green { background: linear-gradient(135deg, #dcfce7, #bbf7d0); }
.course-thumb--orange { background: linear-gradient(135deg, #ffedd5, #fed7aa); }
.course-thumb--red { background: linear-gradient(135deg, #fee2e2, #fecaca); }
.course-thumb--teal { background: linear-gradient(135deg, #cffafe, #a5f3fc); }

.course-emoji { font-size: 3rem; }
.course-level {
  position: absolute;
  top: 12px; right: 12px;
  font-size: .72rem;
  font-weight: 600;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: 100px;
  color: var(--dark-3);
}

.course-body { padding: 20px; }
.course-tag {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--primary);
  background: rgba(99,102,241,.1);
  padding: 3px 10px;
  border-radius: 100px;
  display: inline-block;
  margin-bottom: 10px;
}
.course-body h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; line-height: 1.35; }
.course-body p { font-size: .85rem; color: var(--mid); margin-bottom: 14px; line-height: 1.55; }

.course-meta {
  display: flex;
  gap: 16px;
  font-size: .8rem;
  color: var(--mid);
  margin-bottom: 16px;
}

.course-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--light);
}
.course-price { font-size: 1.2rem; font-weight: 800; color: var(--primary); }

.featured-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--gradient);
  color: var(--white);
  font-size: .75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
}

.courses__cta { text-align: center; }

/* ===== EBOOKS ===== */
.ebooks {
  padding: 100px 0;
  background: var(--white);
  text-align: center;
}

.ebooks__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: left;
}

.ebook-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--primary);
  background: rgba(99,102,241,.1);
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 8px;
}

.ebook-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,.06);
  transition: all var(--transition);
  background: var(--white);
}
.ebook-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.ebook-cover {
  height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 2.8rem;
  position: relative;
  overflow: hidden;
}
.ebook-cover--1 { background: linear-gradient(135deg, #1e3a8a, #3b82f6); }
.ebook-cover--2 { background: linear-gradient(135deg, #14532d, #22c55e); }
.ebook-cover--3 { background: linear-gradient(135deg, #7c2d12, #f97316); }
.ebook-cover--4 { background: linear-gradient(135deg, #4c1d95, #8b5cf6); }
.ebook-cover--5 { background: linear-gradient(135deg, #0c4a6e, #06b6d4); }
.ebook-cover--6 { background: linear-gradient(135deg, #312e81, #6366f1); }
.ebook-cover--7 { background: linear-gradient(135deg, #064e3b, #10b981); }
.ebook-cover--8 { background: linear-gradient(135deg, #1c1917, #78716c); }

.ebook-cover-title {
  font-size: .7rem;
  font-weight: 700;
  color: rgba(255,255,255,.85);
  text-align: center;
  padding: 0 12px;
  line-height: 1.3;
}

.ebook-info { padding: 18px; }
.ebook-info h4 { font-size: .95rem; font-weight: 700; margin-bottom: 8px; }
.ebook-info p { font-size: .82rem; color: var(--mid); line-height: 1.55; margin-bottom: 14px; }

.ebook-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ebook-price { font-size: 1.1rem; font-weight: 800; color: var(--primary); }

/* ===== ABOUT ===== */
.about {
  padding: 100px 0;
  background: var(--lighter);
  overflow: hidden;
}

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

.about__visual { position: relative; }
.about__blob {
  position: absolute;
  width: 380px; height: 380px;
  background: var(--gradient-soft);
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: blob 8s ease-in-out infinite;
}
@keyframes blob {
  0%, 100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
  50% { border-radius: 60% 40% 30% 70% / 50% 60% 40% 60%; }
}

.about__img-wrapper { position: relative; z-index: 1; }
.about__img-placeholder {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  padding: 60px 40px;
  text-align: center;
}
.about__icon { font-size: 4rem; display: block; margin-bottom: 16px; }
.about__img-placeholder p { font-size: 1.3rem; font-weight: 800; color: var(--dark); }
.about__sub { font-size: .85rem; color: var(--mid); font-weight: 400; margin-top: 6px; }

.about__badge-float {
  position: absolute;
  bottom: -16px; right: -16px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  z-index: 2;
}
.about__badge-float p:first-child { font-size: .85rem; font-weight: 700; color: var(--dark); }
.about__badge-float p:last-child { font-size: .75rem; color: var(--mid); }

.about__content p {
  color: var(--mid);
  line-height: 1.75;
  margin-bottom: 16px;
}
.about__pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 28px 0 36px;
}
.pillar {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--dark-3);
}
.pillar-icon { font-size: 1rem; color: var(--primary); }

/* ===== TESTIMONIALS ===== */
.testimonials {
  padding: 100px 0;
  background: var(--white);
  text-align: center;
}
.testimonials .section-title { margin-bottom: 60px; }

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

.testimonial-card {
  background: var(--lighter);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid rgba(0,0,0,.06);
  transition: all var(--transition);
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.testimonial-card--featured {
  background: var(--white);
  box-shadow: var(--shadow-lg);
  border-color: rgba(99,102,241,.2);
  position: relative;
  top: -8px;
}

.stars { font-size: 1rem; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-card p {
  font-size: .9rem;
  color: var(--dark-3);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: .85rem;
  flex-shrink: 0;
}
.author-name { font-size: .9rem; font-weight: 700; margin-bottom: 2px; }
.author-title { font-size: .78rem; color: var(--mid); }

/* ===== CTA BANNER ===== */
.cta-banner {
  padding: 90px 0;
  background: var(--gradient);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner__shapes { position: absolute; inset: 0; pointer-events: none; }
.cta-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
}
.cta-shape-1 { width: 400px; height: 400px; top: -150px; left: -100px; }
.cta-shape-2 { width: 300px; height: 300px; bottom: -100px; right: -50px; }

.cta-banner__inner { position: relative; }
.cta-banner h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; color: var(--white); margin-bottom: 14px; }
.cta-banner p { font-size: 1.05rem; color: rgba(255,255,255,.85); margin-bottom: 36px; }
.cta-banner__btns { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ===== CONTACT ===== */
.contact {
  padding: 100px 0;
  background: var(--lighter);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.contact__info p {
  color: var(--mid);
  line-height: 1.7;
  margin-bottom: 36px;
}

.contact__details { display: flex; flex-direction: column; gap: 20px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-icon {
  width: 44px; height: 44px;
  background: rgba(99,102,241,.1);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-label { font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--mid); margin-bottom: 3px; }
.contact-item p:last-child { font-size: .9rem; font-weight: 500; color: var(--dark); }

.contact__form {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }

.form-group label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--dark-3);
}
.form-group input,
.form-group select,
.form-group textarea {
  font-family: inherit;
  font-size: .9rem;
  padding: 12px 16px;
  border: 1.5px solid rgba(0,0,0,.12);
  border-radius: var(--radius);
  background: var(--lighter);
  color: var(--dark);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99,102,241,.15);
  background: var(--white);
}

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

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,.7);
  padding: 70px 0 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 80px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer__brand .nav__logo { color: var(--white); margin-bottom: 16px; }
.footer__brand .logo-icon { background: var(--gradient); }
.footer__brand p { font-size: .9rem; line-height: 1.65; max-width: 280px; margin-bottom: 24px; }

.footer__social { display: flex; gap: 10px; }
.social-link {
  width: 36px; height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem;
  font-weight: 700;
  color: rgba(255,255,255,.7);
  transition: all var(--transition);
}
.social-link:hover { background: var(--primary); border-color: var(--primary); color: var(--white); }

.footer__links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer__col h4 { font-size: .9rem; font-weight: 700; color: var(--white); margin-bottom: 16px; }
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col a { font-size: .85rem; transition: color var(--transition); }
.footer__col a:hover { color: var(--white); }


/* ===== PHOTO BANNER ===== */
.photo-banner {
  padding: 0;
  overflow: hidden;
}
.photo-banner__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-rows: 200px 200px;
  gap: 6px;
}
.photo-banner__item {
  background-size: cover;
  background-position: center;
  transition: transform .4s ease;
}
.photo-banner__item:hover { transform: scale(1.02); }
.photo-banner__item--tall { grid-row: span 2; }
.photo-banner__item--wide { grid-column: span 2; }

/* ===== ABOUT PHOTO ===== */
.about__photo {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  position: relative;
  z-index: 1;
}

/* ===== LEARNING PHOTOS STRIP ===== */
.learning-photos {
  padding: 80px 0 0;
  background: var(--white);
  text-align: center;
}
.learning-photos .section-title { margin-bottom: 40px; }
.learning-photos__strip {
  display: flex;
  gap: 6px;
  height: 280px;
  overflow: hidden;
}
.lp-item {
  flex: 1;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  transition: flex .4s ease;
  min-width: 0;
}
.lp-item:hover { flex: 2.5; }
.lp-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 16px 16px;
  background: linear-gradient(to top, rgba(0,0,0,.65), transparent);
  color: var(--white);
  font-size: .85rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(8px);
  transition: all .3s ease;
}
.lp-item:hover .lp-caption { opacity: 1; transform: translateY(0); }

/* ===== FOOTER LEGAL ===== */
.footer__legal-note {
  font-size: .78rem;
  color: rgba(255,255,255,.35);
  margin-top: 8px;
  line-height: 1.5;
}
.footer__legal-bar {
  padding: 20px 24px;
  border-top: 1px solid rgba(255,255,255,.06);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer__legal-bar p {
  font-size: .75rem;
  color: rgba(255,255,255,.28);
  line-height: 1.6;
}
.footer__legal-bar a {
  color: rgba(255,255,255,.45);
  text-decoration: underline;
  transition: color var(--transition);
}
.footer__legal-bar a:hover { color: rgba(255,255,255,.7); }

/* ===== ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 60px; }
  .hero { padding: 120px 0 80px; text-align: center; }
  .hero__content { display: flex; flex-direction: column; align-items: center; }
  .hero__subtitle { text-align: center; }
  .hero__stats { justify-content: center; }
  .hero__visual { display: flex; justify-content: center; }
  .hero__card--main { max-width: 420px; }

  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .courses__grid { grid-template-columns: repeat(2, 1fr); }
  .ebooks__grid { grid-template-columns: repeat(2, 1fr); }
  .about__inner { grid-template-columns: 1fr; gap: 48px; }
  .testimonials__grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .contact__inner { grid-template-columns: 1fr; gap: 48px; }
  .footer__inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .photo-banner__grid { grid-template-columns: 1fr 1fr; grid-template-rows: 160px 160px; }
  .photo-banner__item--tall { grid-row: span 1; }
  .photo-banner__item--wide { grid-column: span 2; }
  .learning-photos__strip { height: 200px; }
  .about__photo { height: 280px; }
  .nav__links { display: none; }
  .nav__burger { display: flex; }

  .features__grid { grid-template-columns: 1fr; }
  .courses__grid { grid-template-columns: 1fr; }
  .ebooks__grid { grid-template-columns: 1fr; }

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

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

  .hero__card--float { display: none; }

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

@media (max-width: 480px) {
  .hero__cta { flex-direction: column; }
  .cta-banner__btns { flex-direction: column; align-items: center; }
  .footer__links { grid-template-columns: 1fr; }
  .hero__stats { gap: 16px; }
}

/* ===== AUTH MODAL ===== */
.auth-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.auth-overlay.open {
  display: flex;
  animation: fadeIn .2s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.auth-modal {
  background: #fff;
  border-radius: 20px;
  padding: 36px 32px;
  width: 100%;
  max-width: 440px;
  position: relative;
  box-shadow: 0 24px 80px rgba(0,0,0,.18);
  animation: slideUp .25s ease;
}
@keyframes slideUp { from { transform: translateY(24px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.auth-modal__close {
  position: absolute;
  top: 16px; right: 18px;
  background: #f1f5f9;
  border: none;
  border-radius: 50%;
  width: 32px; height: 32px;
  font-size: 14px;
  cursor: pointer;
  color: #64748b;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.auth-modal__close:hover { background: #e2e8f0; color: #0f172a; }

.auth-modal__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}
.auth-modal__brand span:last-child {
  font-size: 17px;
  font-weight: 600;
  color: #0f172a;
}
.auth-modal__brand strong { color: var(--primary); }

.auth-tabs {
  display: flex;
  gap: 4px;
  background: #f1f5f9;
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 24px;
}
.auth-tab {
  flex: 1;
  padding: 9px;
  border: none;
  border-radius: 8px;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  transition: all .2s;
}
.auth-tab.active {
  background: #fff;
  color: #0f172a;
  box-shadow: 0 1px 4px rgba(0,0,0,.1);
}

.auth-form { display: none; flex-direction: column; gap: 16px; }
.auth-form.active { display: flex; }

.auth-form__subtitle {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 4px;
  line-height: 1.6;
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.auth-field label {
  font-size: 12px;
  font-weight: 600;
  color: #475569;
}
.auth-field input {
  padding: 11px 14px;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-size: 13px;
  font-family: inherit;
  color: #0f172a;
  background: #f8fafc;
  outline: none;
  transition: border-color .2s;
}
.auth-field input:focus { border-color: var(--primary); background: #fff; }

.auth-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.auth-form__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}
.auth-check {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #64748b;
  cursor: pointer;
}
.auth-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  font-size: 12px;
}
.auth-link:hover { text-decoration: underline; }

.auth-form__btn {
  width: 100%;
  padding: 13px;
  font-size: 14px;
  justify-content: center;
  margin-top: 4px;
}

.auth-form__switch {
  text-align: center;
  font-size: 12.5px;
  color: #64748b;
}

.auth-modal__message {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}
.auth-modal__icon {
  font-size: 2.5rem;
  margin-bottom: 4px;
}
.auth-modal__message h3 {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
}
.auth-modal__message p {
  font-size: 13px;
  color: #64748b;
  line-height: 1.65;
  max-width: 320px;
}

@media (max-width: 480px) {
  .auth-modal { padding: 28px 20px; }
}
