/* =========================================
   TEACHER TOFFEE
   Complete Homepage Styles
   ========================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #29323d;
  background: #fffdf7;
  line-height: 1.6;
}

img {
  max-width: 100%;
}

a {
  text-decoration: none;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}


/* =========================================
   HEADER
   ========================================= */

.site-header {
  background: #ffffff;
  border-bottom: 1px solid #ece7dc;
  position: relative;
  z-index: 10;
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 24px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #29323d;
}

.header-mascot {
  width: 72px;
  height: 72px;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  display: block;
  flex-shrink: 0;
  border: 3px solid #ffd76a;
  background: #fff4c7;
}

.brand h1 {
  margin: 0;
  font-size: 1.7rem;
  line-height: 1.1;
  color: #744520;
}

.brand p {
  margin: 5px 0 0;
  font-size: 0.9rem;
  color: #657060;
  font-weight: 600;
}

nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

nav a {
  color: #4a5548;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 999px;
  transition: 0.2s ease;
}

nav a:hover,
nav a.active {
  background: #e9f7df;
  color: #42662e;
}


/* =========================================
   SHARED TYPOGRAPHY
   ========================================= */

.eyebrow {
  margin-bottom: 10px;
  color: #e58228;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 38px;
  text-align: center;
}

.section-heading h2,
.parent-content h2,
.plus-copy h2,
.about-content h2 {
  color: #493520;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-heading > p:last-child {
  color: #647064;
  font-size: 1.05rem;
}


/* =========================================
   BUTTONS
   ========================================= */

.primary-button,
.secondary-button {
  display: inline-block;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.primary-button {
  background: #f2a33a;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(194, 116, 27, 0.18);
}

.secondary-button {
  background: #ffffff;
  color: #4e7439;
  border: 2px solid #b9d9a5;
}

.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-2px);
}


/* =========================================
   HERO
   ========================================= */

.hero {
  padding: 68px 24px 76px;
  background:
    radial-gradient(circle at 85% 18%, rgba(255, 221, 121, 0.55), transparent 25%),
    linear-gradient(135deg, #fff8d9 0%, #f4fbe9 55%, #eaf7e3 100%);
  overflow: hidden;
}

.hero-content {
  max-width: 1180px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 60px;
  align-items: center;
}

.hero-copy h2 {
  margin-bottom: 20px;
  color: #493520;
  font-size: clamp(2.8rem, 6vw, 5.3rem);
  line-height: 0.98;
  letter-spacing: -2px;
}

.hero-description {
  max-width: 650px;
  margin-bottom: 28px;
  color: #586459;
  font-size: 1.15rem;
}

.mini-features {
  margin-top: 28px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.mini-features span {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(112, 137, 95, 0.15);
  padding: 8px 13px;
  border-radius: 999px;
  font-weight: 700;
  color: #53604f;
}


/* =========================================
   HERO MASCOT
   ========================================= */

.hero-mascot-area {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
}

.speech-bubble {
  width: fit-content;
  margin: 0 18px -10px auto;
  padding: 10px 18px;
  position: relative;
  z-index: 2;

  background: #ffffff;
  color: #664526;
  border-radius: 20px 20px 5px 20px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(80, 65, 40, 0.1);
}

.mascot-card {
  background: rgba(255, 255, 255, 0.9);
  border: 3px solid rgba(255, 255, 255, 0.95);
  border-radius: 32px;
  padding: 26px 24px 24px;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 24px 55px rgba(94, 105, 66, 0.17);
}

.hero-mascot {
  width: 100%;
  max-width: 340px;
  height: 340px;
  object-fit: contain;
  object-position: center;
  display: block;
  margin: 0 auto 18px;
  border-radius: 24px;
}

.mascot-card h3 {
  margin-bottom: 6px;
  color: #70451f;
  font-size: 1.6rem;
}

.mascot-card p {
  margin-bottom: 0;
  color: #687165;
}


/* =========================================
   LEARNING SECTION
   ========================================= */

.learning-section {
  padding: 82px 24px;
  background: #ffffff;
}

.learning-grid {
  max-width: 1100px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.learning-card {
  min-height: 245px;
  padding: 28px 24px;
  border-radius: 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.learning-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 35px rgba(61, 72, 51, 0.1);
}

.card-icon {
  margin-bottom: 18px;
  font-size: 2.5rem;
}

.learning-card h3 {
  margin-bottom: 10px;
  color: #493520;
  font-size: 1.35rem;
}

.learning-card p {
  margin-bottom: 0;
  color: #586358;
}

.letters-card {
  background: #fff0c8;
}

.math-card {
  background: #e4f4d8;
}

.stories-card {
  background: #dff2fa;
}

.creativity-card {
  background: #f9e2dc;
}

.healthy-card {
  background: #eee7fa;
}


/* =========================================
   PARENT SECTION
   ========================================= */

.parent-section {
  padding: 80px 24px;
  background: #eef8e8;
}

.parent-content {
  max-width: 1080px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}

.parent-content > div:first-child > p:not(.eyebrow) {
  color: #5b6659;
  font-size: 1.05rem;
  margin-bottom: 25px;
}

.parent-highlights {
  background: #ffffff;
  padding: 30px;
  border-radius: 26px;
  box-shadow: 0 16px 35px rgba(79, 103, 65, 0.1);
}

.parent-highlights p {
  margin: 0;
  padding: 13px 0;
  border-bottom: 1px solid #edf0e9;
  color: #4e594b;
}

.parent-highlights p:last-child {
  border-bottom: 0;
}


/* =========================================
   TEACHER TOFFEE+ CTA
   ========================================= */

.plus-section {
  padding: 82px 24px;
  background: #fffdf7;
}

.plus-card {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px;

  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 45px;
  align-items: center;

  background:
    radial-gradient(circle at 90% 20%, rgba(255, 215, 106, 0.55), transparent 28%),
    linear-gradient(135deg, #fff1bd, #e9f7dd);
  border-radius: 32px;
  box-shadow: 0 22px 50px rgba(98, 94, 58, 0.12);
}

.plus-copy > p:not(.eyebrow) {
  max-width: 660px;
  color: #59645a;
  font-size: 1.05rem;
}

.launch-offer {
  max-width: 600px;
  margin: 25px 0;
  padding: 18px 20px;

  background: rgba(255, 255, 255, 0.88);
  border: 2px dashed #edb343;
  border-radius: 18px;
}

.launch-offer strong {
  display: block;
  color: #754b1f;
  font-size: 1.05rem;
}

.launch-offer span {
  display: block;
  margin-top: 4px;
  color: #626b5d;
}

.plus-mascot {
  display: flex;
  justify-content: center;
  align-items: center;
}

.plus-mascot img {
  width: 100%;
  max-width: 280px;
  height: 280px;
  object-fit: contain;
  object-position: center;
  display: block;
  border-radius: 26px;
}


/* =========================================
   ABOUT
   ========================================= */

.about-section {
  padding: 80px 24px;
  background: #f4f8fb;
}

.about-content {
  max-width: 950px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: auto 1fr;
  gap: 30px;
  align-items: start;
}

.about-icon {
  width: 82px;
  height: 82px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #fff1b9;
  border-radius: 50%;
  font-size: 2.4rem;
}

.about-content p:not(.eyebrow) {
  color: #5c675f;
}


/* =========================================
   FOOTER
   ========================================= */

footer {
  padding: 34px 24px;
  background: #3f5138;
  color: #ffffff;
  text-align: center;
}

footer p {
  margin: 0;
}

.footer-note {
  margin-top: 5px;
  color: #dce8d7;
  font-size: 0.86rem;
}


/* =========================================
   TABLET
   ========================================= */

@media (max-width: 900px) {

  .header-inner {
    flex-direction: column;
  }

  nav {
    justify-content: center;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .mini-features {
    justify-content: center;
  }

  .learning-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .parent-content {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .plus-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .launch-offer {
    margin-left: auto;
    margin-right: auto;
  }

}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 600px) {

  .header-inner {
    padding: 14px 18px;
  }

  .brand {
    text-align: left;
  }

  .header-mascot {
    width: 56px;
    height: 56px;
  }

  .brand h1 {
    font-size: 1.35rem;
  }

  .brand p {
    font-size: 0.78rem;
  }

  nav {
    gap: 3px;
  }

  nav a {
    padding: 8px 9px;
    font-size: 0.86rem;
  }

  .hero {
    padding: 50px 18px 60px;
  }

  .hero-copy h2 {
    font-size: 2.7rem;
    letter-spacing: -1px;
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-mascot {
    max-width: 280px;
    height: 280px;
  }

  .mascot-card {
    padding: 22px 16px;
  }

  .learning-section,
  .parent-section,
  .plus-section,
  .about-section {
    padding: 60px 18px;
  }

  .learning-grid {
    grid-template-columns: 1fr;
  }

  .learning-card {
    min-height: auto;
  }

  .plus-card {
    padding: 30px 22px;
  }

  .plus-mascot img {
    max-width: 240px;
    height: 240px;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .about-icon {
    margin: 0 auto;
  }

}


/* =========================================
   FOR PARENTS PAGE
   ========================================= */

.parents-hero {
  padding: 70px 24px;
  background:
    radial-gradient(circle at 85% 20%, rgba(255, 218, 105, 0.5), transparent 25%),
    linear-gradient(135deg, #fff7d6 0%, #eef8e8 100%);
}

.parents-hero-content {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}

.parents-hero-copy h2 {
  color: #493520;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  line-height: 1.05;
  margin-bottom: 20px;
}

.parents-hero-copy > p:not(.eyebrow) {
  max-width: 650px;
  color: #586459;
  font-size: 1.1rem;
  margin-bottom: 28px;
}

.parents-hero-mascot {
  background: #ffffff;
  padding: 28px;
  border-radius: 30px;
  text-align: center;
  box-shadow: 0 22px 50px rgba(94, 105, 66, 0.14);
}

.parents-hero-mascot img {
  width: 100%;
  max-width: 300px;
  height: 300px;
  object-fit: contain;
  display: block;
  margin: 0 auto 18px;
}

.parents-hero-mascot strong {
  display: block;
  color: #70451f;
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.parents-hero-mascot span {
  display: block;
  color: #667063;
  font-size: 0.92rem;
}


/* Learning Principles */

.principles-section {
  padding: 82px 24px;
  background: #ffffff;
}

.principles-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.principle-card {
  padding: 30px 26px;
  border-radius: 25px;
  background: #fffaf0;
  border: 1px solid #eee8da;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.principle-card:nth-child(2),
.principle-card:nth-child(5) {
  background: #edf7e6;
}

.principle-card:nth-child(3),
.principle-card:nth-child(6) {
  background: #e9f5fa;
}

.principle-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(61, 72, 51, 0.09);
}

.principle-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.principle-card h3 {
  color: #493520;
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.principle-card p {
  color: #5b665b;
  margin-bottom: 0;
}


/* Better Screen Time */

.screen-time-section {
  padding: 80px 24px;
  background: #eef8e8;
}

.screen-time-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 42px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 30px;
  align-items: start;
  background: #ffffff;
  border-radius: 30px;
  box-shadow: 0 18px 40px rgba(78, 100, 64, 0.1);
}

.screen-time-icon {
  width: 90px;
  height: 90px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff1bd;
  border-radius: 50%;
  font-size: 2.7rem;
}

.screen-time-content h2 {
  color: #493520;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin-bottom: 16px;
}

.screen-time-content p:not(.eyebrow) {
  color: #5b665b;
  margin-bottom: 24px;
}


/* Parent Note */

.parent-note-section {
  padding: 80px 24px;
  background: #fffdf7;
}

.parent-note {
  max-width: 1050px;
  margin: 0 auto;
  padding: 45px;
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 40px;
  align-items: center;
  background: linear-gradient(135deg, #fff2c7, #e9f7df);
  border-radius: 30px;
}

.parent-note h2 {
  color: #493520;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin-bottom: 16px;
}

.parent-note p:not(.eyebrow) {
  color: #5b665b;
  margin-bottom: 0;
}

.parent-note img {
  width: 100%;
  max-width: 250px;
  height: 250px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}


/* =========================================
   PARENTS PAGE RESPONSIVE
   ========================================= */

@media (max-width: 900px) {

  .parents-hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .parents-hero-copy {
    text-align: center;
  }

  .parents-hero-copy > p:not(.eyebrow) {
    margin-left: auto;
    margin-right: auto;
  }

  .principles-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .parent-note {
    grid-template-columns: 1fr;
    text-align: center;
  }
}


@media (max-width: 600px) {

  .parents-hero,
  .principles-section,
  .screen-time-section,
  .parent-note-section {
    padding: 55px 18px;
  }

  .parents-hero-copy h2 {
    font-size: 2.6rem;
  }

  .parents-hero-mascot img {
    max-width: 250px;
    height: 250px;
  }

  .principles-grid {
    grid-template-columns: 1fr;
  }

  .screen-time-content {
    grid-template-columns: 1fr;
    padding: 28px 22px;
  }

  .screen-time-icon {
    margin: 0 auto;
  }

  .parent-note {
    padding: 30px 22px;
  }

  .parent-note img {
    max-width: 220px;
    height: 220px;
  }
}