* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, Arial, sans-serif;
  background: #f7f9fc;
  color: #06142e;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

.nav {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1120px, calc(100% - 32px));
  height: 78px;
  padding: 0 22px;
  border-radius: 999px;
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.5);
  box-shadow: 0 20px 60px rgba(10,31,68,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 100;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.logo img {
  height: 50px;
  width: auto;
  display: block;
}

.brand-text {
  color: #2563eb;
}

.nav nav {
  display: flex;
  gap: 48px;
  font-size: 0.92rem;
  color: #334155;
}

.nav nav a:hover {
  color: #2563eb;
}

.nav-btn,
.primary {
  background: #2563eb;
  color: white;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  border: none;
  box-shadow: 0 14px 35px rgba(37,99,235,0.28);
  cursor: pointer;
  display: inline-block;
}

.secondary {
  background: white;
  color: #06142e;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 14px 35px rgba(15,23,42,0.08);
  display: inline-block;
}

.section {
  padding: 110px 7vw;
}

.section-heading {
  max-width: 620px;
  margin-bottom: 50px;
}

.section-heading h2 {
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.eyebrow {
  color: #2563eb;
  text-transform: uppercase;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
}

.subtext {
  margin-top: 28px;
  font-size: 1.25rem;
  line-height: 1.7;
  color: #475569;
  max-width: 560px;
}

.page-hero {
  min-height: 70vh;
  padding: 180px 7vw 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-hero h1 {
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.9;
  letter-spacing: -0.08em;
  max-width: 900px;
}

.site-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 90px auto 28px;
  padding: 56px;
  border-radius: 42px;
  background:
    radial-gradient(circle at 15% 20%, rgba(37,99,235,0.35), transparent 35%),
    linear-gradient(135deg,#020817,#071225);
  color: #cbd5e1;
  box-shadow: 0 40px 100px rgba(15,23,42,0.16);
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 70px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer-description {
  max-width: 390px;
  margin-top: 18px;
  line-height: 1.8;
  color: #94a3b8;
}

.footer-logo .brand-text {
  color: white;
}

.footer-logo img {
  height: 44px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-column h4 {
  color: white;
  font-size: .9rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.footer-column a {
  color: #94a3b8;
}

.footer-column a:hover {
  color: #93c5fd;
}

.footer-bottom {
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  color: #64748b;
  font-size: .9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: all .8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.menu-toggle {
    display: none;
}

@media (max-width:900px) {

  .nav nav {
    display: none;
  }

  .hero,
  .trust,
  .steps,
  .testimonials,
  .tutor-grid {
    grid-template-columns: 1fr !important;
  }

  .site-footer {
    padding: 40px 28px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 700px) {
  .nav {
    top: 16px;
    width: calc(100% - 28px);
    height: 72px;
    padding: 0 14px;
    border-radius: 999px;
  }

  .nav nav {
    display: none;
  }

  .logo {
    gap: 8px;
    font-size: 1.25rem;
    letter-spacing: -0.04em;
  }

  .logo img {
    height: 42px;
  }

  .nav-btn {
    padding: 13px 18px;
    font-size: 0.9rem;
    white-space: nowrap;
  }
}

@media (max-width: 430px) {
  .logo {
    font-size: 1.05rem;
  }

  .logo img {
    height: 38px;
  }

  .nav-btn {
    padding: 12px 15px;
    font-size: 0.82rem;
  }
}

.logo span,
.brand-text {
  white-space: nowrap;
}

/* ===========================
   NAVBAR
=========================== */

.nav {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: min(1120px, calc(100% - 32px));
    height: 76px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 22px;

    background: rgba(255,255,255,.85);
    backdrop-filter: blur(20px);

    border-radius: 999px;

    box-shadow:
        0 10px 30px rgba(15,23,42,.08);

    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;

    text-decoration: none;
    color: #09142d;

    font-weight: 800;
    font-size: 1.8rem;

    white-space: nowrap;
}

.logo img {
    height: 42px;
    width: auto;
    display: block;
}

.brand-text {
    white-space: nowrap;
}

.nav nav {
    display: flex;
    gap: 40px;
}

.nav nav a {
    text-decoration: none;
    color: #364152;
    font-weight: 500;
    transition: 0.2s;
}

.nav nav a:hover {
    color: #2563eb;
}

.nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 16px 28px;

    background: #2563eb;
    color: white;

    text-decoration: none;
    font-weight: 700;

    border-radius: 999px;

    transition: .25s;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(37,99,235,.25);
}

/* Hide hamburger on desktop */

.menu-toggle {
    display: none;
}

/* ===========================
   MOBILE NAV
=========================== */

@media (max-width: 800px) {

    .nav {
        height: 72px;
        padding: 0 16px;
    }

    .nav nav {
        display: none;

        position: absolute;
        top: 82px;
        left: 0;

        width: 100%;

        flex-direction: column;
        gap: 18px;

        padding: 28px;

        border-radius: 28px;

        background: rgba(255,255,255,.96);
        backdrop-filter: blur(20px);

        box-shadow:
            0 20px 40px rgba(0,0,0,.08);
    }

    .nav nav.active {
        display: flex;
    }

    .menu-toggle {
        display: block;

        border: none;
        background: transparent;

        font-size: 1.6rem;
        cursor: pointer;

        color: #09142d;

        margin-left: auto;
        margin-right: 10px;
    }

    .logo {
        font-size: 1.2rem;
    }

    .logo img {
        height: 36px;
    }

    .nav-btn {
        padding: 12px 18px;
        font-size: .9rem;
    }
}

.newsletter {
    width: min(1100px, calc(100% - 32px));
    margin: 100px auto;

    padding: 70px 60px;

    border-radius: 42px;

    background:
        radial-gradient(circle at 20% 20%, rgba(147,197,253,.35), transparent 35%),
        linear-gradient(135deg, #071225, #143c88);

    color: white;

    text-align: center;
}

.newsletter h2 {
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    line-height: .95;
    letter-spacing: -.06em;

    margin: 16px auto 24px;

    max-width: 700px;
}

.newsletter p:not(.eyebrow) {
    color: #cbd5e1;
    max-width: 650px;
    margin: 0 auto 36px;
    line-height: 1.8;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.newsletter-form input {
    width: 340px;

    padding: 18px 24px;

    border: none;
    border-radius: 999px;

    font-size: 1rem;
}

.newsletter-form button {
    padding: 18px 30px;

    border: none;
    border-radius: 999px;

    background: #2563eb;
    color: white;

    font-weight: 800;

    cursor: pointer;

    transition: .25s;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
}

@media (max-width: 700px) {
    .newsletter {
        padding: 50px 28px;
    }

    .newsletter-form input {
        width: 100%;
    }

    .newsletter-form button {
        width: 100%;
    }
}

#newsletterStatus {
    margin-top: 18px;
    color: #cbd5e1;
    font-weight: 600;
}