/* ============================================
   SLEDUCATION — MAIN STYLESHEET
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

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

:root {
  --purple-dark:   #3C3489;
  --purple-mid:    #534AB7;
  --purple-light:  #7F77DD;
  --purple-pale:   #EEEDFE;
  --purple-stripe: #AFA9EC;
  --teal:          #1ABCB0;
  --white:         #ffffff;
  --text-dark:     #1a1a2e;
  --text-mid:      #4a4a6a;
  --text-light:    #8888aa;
  --border:        #e8e8f0;
  --shadow:        0 4px 24px rgba(83,74,183,0.10);
  --shadow-hover:  0 12px 40px rgba(83,74,183,0.18);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  background: var(--white);
  color: var(--text-dark);
  line-height: 1.6;
  font-size: 16px;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: var(--purple-mid); transition: color .2s; }
a:hover { color: var(--purple-dark); }

/* ============================================
   NAVIGATION
   ============================================ */

.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 16px rgba(83,74,183,0.07);
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  height: 72px;
}

.nav-logo img {
  height: 56px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin-left: 16px;
  flex: 1;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mid);
  padding: 8px 14px;
  border-radius: 8px;
  transition: color .2s, background .2s;
}

.nav-links a:hover {
  color: var(--purple-mid);
  background: var(--purple-pale);
}

.nav-cta {
  background: var(--purple-mid);
  color: var(--white) !important;
  padding: 10px 22px !important;
  border-radius: 25px !important;
  font-weight: 500 !important;
  transition: background .2s !important;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-cta:hover {
  background: var(--purple-dark) !important;
  color: var(--white) !important;
}

/* Hamburger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--purple-mid);
  border-radius: 2px;
  transition: all .3s;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.nav-mobile a:last-child { border-bottom: none; }

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 25px;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s;
  border: none;
  text-align: center;
}

.btn-primary {
  background: var(--purple-mid);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--purple-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.7);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.15);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--purple-mid);
  border: 2px solid var(--purple-mid);
}

.btn-outline:hover {
  background: var(--purple-mid);
  color: var(--white);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  background: linear-gradient(135deg, #534AB7 0%, #3C3489 100%);
  padding: 96px 48px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 300px; height: 300px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.hero-label {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero h1 span {
  color: var(--purple-stripe);
}

.hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Tagline bar */
.tagline-bar {
  background: var(--purple-stripe);
  text-align: center;
  padding: 14px 32px;
  font-size: 15px;
  font-style: italic;
  color: #26215C;
  font-weight: 400;
}

/* ============================================
   SECTIONS
   ============================================ */

.section {
  padding: 80px 48px;
}

.section-white { background: var(--white); }
.section-pale  { background: var(--purple-pale); }
.section-dark  { background: var(--purple-dark); }

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--purple-light);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--purple-dark);
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-dark h2 { color: var(--white); }
.section-dark .section-label { color: var(--purple-stripe); }
.section-dark p { color: rgba(255,255,255,0.85); }

.section-sub {
  font-size: 17px;
  color: var(--text-mid);
  line-height: 1.75;
  max-width: 100%;
  margin-bottom: 48px;
}

/* Logo — no background fix needed with white bg logo */
.nav-logo img {
  background: white;
}

.footer-brand img {
  background: white;
  border-radius: 8px;
}

/* ============================================
   INTRO / ABOUT STRIP
   ============================================ */

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

.intro-photo {
  position: relative;
}

.intro-photo img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.intro-photo .photo-badge {
  position: absolute;
  bottom: -16px;
  left: -16px;
  background: var(--purple-mid);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 500;
  box-shadow: var(--shadow);
}

.intro-text h2 {
  font-size: 32px;
  color: var(--purple-dark);
  margin-bottom: 16px;
}

.intro-text p {
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 16px;
  font-size: 16px;
}

/* ============================================
   HOW IT WORKS — 3 STEPS
   ============================================ */

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

.step-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 28px;
  transition: transform .2s, box-shadow .2s;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.step-number {
  font-size: 13px;
  font-weight: 700;
  color: var(--purple-light);
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.step-icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.step-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--purple-dark);
  margin-bottom: 10px;
}

.step-card p {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ============================================
   OFFERS GRID — 4 CARDS
   ============================================ */

.offers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.offer-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  transition: transform .2s, box-shadow .2s;
}

.offer-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.offer-icon {
  font-size: 32px;
  margin-bottom: 14px;
}

.offer-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--purple-dark);
  margin-bottom: 8px;
}

.offer-card p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.7;
}

.offer-tag {
  display: inline-block;
  background: var(--purple-pale);
  color: var(--purple-mid);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  margin-top: 12px;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
  text-align: center;
  padding: 80px 48px;
}

.cta-section h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 17px;
  color: rgba(255,255,255,0.85);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
  background: var(--white);
  padding: 48px;
  color: var(--text-mid);
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
}

.footer-brand img {
  height: 48px;
  width: auto;
  margin-bottom: 16px;
  background: white;
  border-radius: 8px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.7;
  max-width: 280px;
}

.footer-tagline {
  font-style: italic;
  color: var(--purple-mid) !important;
  margin-top: 12px !important;
}

footer h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-mid);
  transition: color .2s;
}

.footer-links a:hover { color: var(--purple-mid); }

.footer-bottom {
  max-width: 1100px;
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-light);
}

/* ============================================
   PAGE HEADER — inner pages
   ============================================ */

.page-header {
  background: linear-gradient(135deg, #534AB7 0%, #3C3489 100%);
  padding: 72px 48px 64px;
  text-align: center;
}

.page-header h1 {
  font-size: 42px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
}

.page-header p {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================
   FAQ PAGE
   ============================================ */

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: var(--purple-pale);
  border: none;
  padding: 20px 24px;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--purple-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background .2s;
}

.faq-question:hover { background: #E0DEFF; }

.faq-arrow {
  font-size: 18px;
  transition: transform .3s;
  color: var(--purple-mid);
}

.faq-item.open .faq-arrow { transform: rotate(180deg); }

.faq-answer {
  display: none;
  padding: 20px 24px;
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.75;
  background: var(--white);
}

.faq-item.open .faq-answer { display: block; }

/* ============================================
   CONTACT FORM
   ============================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  max-width: 960px;
  margin: 0 auto;
}

.contact-info h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--purple-dark);
  margin-bottom: 16px;
}

.contact-info p {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 12px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--text-mid);
  margin-bottom: 12px;
}

.contact-detail span:first-child { font-size: 20px; }

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

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--purple-mid);
  box-shadow: 0 0 0 3px rgba(83,74,183,0.1);
}

.form-group textarea { min-height: 140px; resize: vertical; }

/* ============================================
   COMING SOON
   ============================================ */

.coming-soon {
  text-align: center;
  padding: 80px 48px;
}

.coming-soon-badge {
  display: inline-block;
  background: var(--purple-pale);
  color: var(--purple-mid);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 20px;
  margin-bottom: 24px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.coming-soon h2 {
  font-size: 36px;
  color: var(--purple-dark);
  margin-bottom: 16px;
}

.coming-soon p {
  font-size: 17px;
  color: var(--text-mid);
  max-width: 520px;
  margin: 0 auto 32px;
  line-height: 1.75;
}

/* ============================================
   RESOURCES / PRODUCTS
   ============================================ */

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

.resource-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}

.resource-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.resource-thumb {
  background: var(--purple-pale);
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}

.resource-body {
  padding: 20px;
}

.resource-body h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--purple-dark);
  margin-bottom: 8px;
}

.resource-body p {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 16px;
}

.resource-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.resource-price {
  font-size: 18px;
  font-weight: 600;
  color: var(--purple-mid);
}

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

@media (max-width: 900px) {
  .nav { padding: 0 16px; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }

  /* Hide CTA button on mobile - it's in the mobile menu */
  .nav-cta { display: none; }

  .hero { padding: 64px 24px 56px; }
  .hero h1 { font-size: 28px; }
  .hero p { font-size: 15px; }

  .section { padding: 48px 20px; }
  .cta-section { padding: 48px 20px; }

  .intro-grid { grid-template-columns: 1fr; gap: 32px; }
  .intro-photo .photo-badge { display: none; }

  .steps-grid { grid-template-columns: 1fr; }
  .offers-grid { grid-template-columns: 1fr; }
  .resources-grid { grid-template-columns: 1fr; }

  .contact-grid { grid-template-columns: 1fr; gap: 40px; }

  /* Footer mobile - simplified */
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .footer-brand p:not(.footer-tagline) { display: none; }

  footer { padding: 32px 20px; }
  .page-header { padding: 48px 20px 40px; }
  .page-header h1 { font-size: 28px; }
  .page-header p { font-size: 15px; }

  .section h2 { font-size: 24px; }
  .section h3 { font-size: 18px; }
}

/* Burger active animation */
.nav-burger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-burger.active span:nth-child(2) {
  opacity: 0;
}
.nav-burger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu improvements */
.nav-mobile {
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  z-index: 999;
  box-shadow: 0 8px 24px rgba(83,74,183,0.12);
}

.nav-mobile a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  display: block;
  transition: background .2s, color .2s;
}

.nav-mobile a:hover {
  background: var(--purple-pale);
  color: var(--purple-mid);
}

.nav-mobile a:last-child {
  border-bottom: none;
  background: var(--purple-mid);
  color: white !important;
  text-align: center;
  font-weight: 600;
  margin: 8px 16px 12px;
  border-radius: 25px;
  padding: 12px 20px;
}

.nav-mobile a:last-child:hover {
  background: var(--purple-dark) !important;
  color: white !important;
}
