/* =========================================
   Insight Education Academy — Stylesheet
   Colors: Blush #f9f1f0, Navy #163b69, Coral #F79489
   Fonts: Playfair Display (headings), Nunito (body)
   ========================================= */

:root {
  --blush: #f9f1f0;
  --blush-deep: #f0dedd;
  --navy: #163b69;
  --navy-light: #1e4d8a;
  --coral: #F79489;
  --coral-dark: #e87c70;
  --coral-light: #fbb4ad;
  --white: #ffffff;
  --off-white: #fefcfb;
  --gray-50: #f8f9fa;
  --gray-100: #f1f3f5;
  --gray-200: #e9ecef;
  --gray-500: #868e96;
  --gray-700: #495057;
  --gray-800: #343a40;
  --gray-900: #212529;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;

  --max-width: 1140px;
  --section-pad: 100px;
  --section-pad-mobile: 60px;

  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(22, 59, 105, 0.06);
  --shadow-md: 0 4px 20px rgba(22, 59, 105, 0.08);
  --shadow-lg: 0 8px 40px rgba(22, 59, 105, 0.1);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  line-height: 1.7;
  font-size: 17px;
  background: var(--white);
  overflow-x: hidden;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--coral); }

h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--navy);
  line-height: 1.25;
  font-weight: 700;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 20px; }
h3 { font-size: 1.2rem; margin-bottom: 8px; }

p { margin-bottom: 16px; }
p:last-child { margin-bottom: 0; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  border: 2px solid transparent;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  gap: 6px;
  white-space: nowrap;
}

.btn-primary {
  background: var(--coral);
  color: var(--white);
  border-color: var(--coral);
}
.btn-primary:hover {
  background: var(--coral-dark);
  border-color: var(--coral-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(247, 148, 137, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-sm { padding: 8px 20px; font-size: 14px; }
.btn-lg { padding: 16px 36px; font-size: 16px; }

/* ===== SECTION LABELS ===== */
.section-label {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--coral);
  margin-bottom: 12px;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}

.section-desc {
  font-size: 18px;
  color: var(--gray-700);
  line-height: 1.7;
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: all var(--transition);
  padding: 16px 0;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  padding: 8px 0;
}

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

.nav-logo-img {
  height: 48px;
  width: auto;
  transition: height var(--transition);
}

.nav.scrolled .nav-logo-img {
  height: 40px;
}

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

.nav-links a {
  font-weight: 600;
  font-size: 15px;
  color: var(--navy);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(175deg, var(--blush) 0%, var(--off-white) 60%, var(--white) 100%);
  padding: 140px 0 var(--section-pad);
  overflow: hidden;
}

.hero-bg-shape {
  position: absolute;
  top: -20%;
  right: -15%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--blush-deep) 0%, transparent 70%);
  border-radius: 50%;
  opacity: 0.5;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 800px;
}

.hero-split {
  max-width: var(--max-width);
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
}

.hero-text {
  position: relative;
}

.hero-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-height: 480px;
}

.hero-image-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  border: 3px solid var(--coral-light);
  pointer-events: none;
}

.hero-image-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-tagline {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--coral);
  margin-bottom: 20px;
}

.hero-headline {
  margin-bottom: 24px;
}

.hero-headline .highlight {
  color: var(--coral);
}

.hero-sub {
  font-size: 19px;
  color: var(--gray-700);
  line-height: 1.75;
  max-width: 620px;
  margin-bottom: 36px;
}

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

.hero-trust {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}

.trust-item svg {
  color: var(--coral);
  flex-shrink: 0;
}

/* ===== ABOUT ===== */
.about {
  padding: var(--section-pad) 0;
  background: var(--white);
}

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

.about-image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image-frame::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: var(--coral-light);
  border-radius: 50%;
  opacity: 0.3;
  z-index: -1;
}

.about-image-frame img {
  width: 100%;
  display: block;
}

.about-image-secondary {
  position: relative;
  width: 160px;
  margin-top: -40px;
  margin-left: auto;
  margin-right: 20px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 4px solid var(--white);
  z-index: 2;
}

.about-image-secondary img {
  width: 100%;
  display: block;
}

.about-content h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
}

.about-content p {
  color: var(--gray-700);
  font-size: 16.5px;
}

.credentials {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--gray-200);
}

.credential {
  text-align: center;
}

.credential strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 4px;
}

.credential span {
  font-size: 12px;
  color: var(--gray-500);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===== COURSE ===== */
.course {
  padding: var(--section-pad) 0;
  background: var(--blush);
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.module-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid rgba(22, 59, 105, 0.04);
}

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

.module-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--coral-light);
  margin-bottom: 12px;
  line-height: 1;
}

.module-card h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.module-card p {
  font-size: 14.5px;
  color: var(--gray-700);
  line-height: 1.6;
}

.course-cta {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 48px;
  color: var(--white);
}

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

.course-cta h3 {
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 8px;
}

.course-cta p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  max-width: 500px;
}

/* ===== COMMUNITY ===== */
.community {
  padding: var(--section-pad) 0;
  background: var(--white);
}

.community-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.community-feature {
  padding: 36px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}

.community-feature:hover {
  border-color: var(--coral-light);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 52px;
  height: 52px;
  background: var(--blush);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--navy);
}

.community-feature h3 {
  font-family: var(--font-body);
  font-weight: 700;
}

.community-feature p {
  color: var(--gray-700);
  font-size: 15.5px;
}

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

/* ===== RESOURCES ===== */
.resources {
  padding: var(--section-pad) 0;
  background: var(--gray-50);
}

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

.resource-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(22, 59, 105, 0.04);
  transition: all var(--transition);
}

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

.resource-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.resource-card h3 {
  font-family: var(--font-body);
  font-weight: 700;
}

.resource-card p {
  color: var(--gray-700);
  font-size: 15px;
}

.resource-day {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--coral);
  margin-bottom: 8px;
}

.tier-note {
  margin-top: 16px;
  font-size: 14px;
  color: var(--gray-700);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.disclaimer {
  margin-top: 24px;
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.disclaimer strong {
  color: rgba(255,255,255,0.6);
}

/* ===== LEAD MAGNET ===== */
.lead-magnet {
  padding: var(--section-pad) 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
}

.lead-magnet-inner {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 60px;
  align-items: center;
}

.lead-magnet-content .section-label {
  color: var(--coral-light);
}

.lead-magnet-content h2 {
  color: var(--white);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
}

.lead-magnet-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 17px;
}

.small-note {
  font-size: 13px !important;
  color: rgba(255, 255, 255, 0.5) !important;
  margin-top: 12px;
}

.guide-mockup {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  transform: rotate(2deg);
}

.guide-mockup-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.guide-logo {
  width: 80px;
  height: auto;
}

.guide-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 0;
}

.guide-subtitle {
  font-size: 13px;
  color: var(--gray-500);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--gray-900);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 60px;
}

.footer-logo {
  height: 56px;
  width: auto;
  margin-bottom: 12px;
  filter: brightness(0) invert(1) opacity(0.8);
}

.footer-brand p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
  font-style: italic;
}

.bbb-badge {
  display: inline-block;
  margin-top: 16px;
}

.bbb-badge img {
  height: 42px;
  width: auto;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14.5px;
  margin-bottom: 10px;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--coral-light);
}

.footer-bottom {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  margin-top: 24px;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
}

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

@media (max-width: 1024px) {
  .about-inner {
    grid-template-columns: 300px 1fr;
    gap: 48px;
  }

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

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

  .lead-magnet-inner {
    grid-template-columns: 1fr 280px;
    gap: 40px;
  }
}

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

  body { font-size: 16px; }

  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    padding: 40px;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.1);
    transition: right var(--transition);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a { font-size: 18px; }

  .hero {
    padding: 120px 0 var(--section-pad-mobile);
    min-height: auto;
  }

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

  .hero-image {
    order: -1;
    max-width: 340px;
    margin: 0 auto;
  }

  .hero-bg-shape {
    width: 400px;
    height: 400px;
    top: -10%;
    right: -30%;
  }

  .hero-sub { font-size: 17px; }

  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }

  .hero-actions .btn { width: 100%; }

  .hero-trust {
    flex-direction: column;
    gap: 12px;
  }

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

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

  .about-image-secondary {
    width: 120px;
    margin-top: -30px;
  }

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

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

  .course-cta { padding: 32px 24px; }

  .course-cta-inner {
    flex-direction: column;
    text-align: center;
  }

  .community-features {
    grid-template-columns: 1fr;
  }

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

  .lead-magnet-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .guide-mockup {
    max-width: 280px;
    margin: 0 auto;
  }

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

  .footer-links {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 480px) {
  .footer-links {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .credentials {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .course-cta { padding: 24px 20px; }
}
