* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Inter, sans-serif;
}

:root {
  --red: #ff1f3d;
  --black: #111111;
  --text: #333333;
  --muted: #666666;
  --line: #ffd5dc;
  --soft: #fff7f8;
  --blue: #e6f7ff;
  --yellow: #fff4b8;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #ffffff;
  color: var(--black);
  overflow-x: hidden;
  padding-bottom: 112px;
}

.container {
  width: 90%;
  max-width: 1180px;
  margin: auto;
}

/* Header */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid #eeeeee;
}

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

.brand img {
  width: 230px;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  text-decoration: none;
  color: var(--black);
  font-size: 14px;
  font-weight: 800;
}

.nav-btn,
.submit-btn,
.quick-actions button,
.final-box button {
  border: none;
  border-radius: 999px;
  background: var(--red);
  color: #ffffff;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 16px 40px rgba(255, 31, 61, 0.25);
  transition: 0.25s ease;
}

.nav-btn {
  padding: 14px 24px;
}

.nav-btn:hover,
.submit-btn:hover,
.quick-actions button:hover,
.final-box button:hover {
  transform: translateY(-3px);
}

/* Hero */

.hero {
  position: relative;
  padding: 75px 0 100px;
  min-height: calc(100vh - 82px);
  background:
    radial-gradient(circle at 20% 25%, #ffe8ed 0, transparent 28%),
    radial-gradient(circle at 78% 18%, #ffdfe6 0, transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #fff8f9 100%);
  overflow: hidden;
}

.hero-bg-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.65;
}

.shape-one {
  width: 280px;
  height: 280px;
  background: #ffe9a8;
  right: 12%;
  top: 145px;
}

.shape-two {
  width: 230px;
  height: 230px;
  background: #dff4ff;
  left: 10%;
  top: 360px;
}

.shape-three {
  width: 180px;
  height: 180px;
  background: #ffe0e6;
  right: 28%;
  bottom: 160px;
}

.hero-center {
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--red);
  padding: 11px 18px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 14px;
  margin-bottom: 26px;
  box-shadow: 0 12px 28px rgba(255, 31, 61, 0.08);
}

.hero-badge span {
  width: 9px;
  height: 9px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(255, 31, 61, 0.12);
}

.hero h1 {
  max-width: 960px;
  margin: 0 auto 20px;
  font-size: clamp(44px, 6vw, 86px);
  line-height: 0.98;
  letter-spacing: -4px;
  font-weight: 950;
}

.hero h1 span {
  display: block;
  color: var(--red);
}

.typing-line {
  min-height: 34px;
  font-size: 23px;
  font-weight: 900;
  margin-bottom: 20px;
}

.typing-line span {
  border-right: 3px solid var(--red);
  padding-right: 6px;
  animation: cursorBlink 0.8s infinite;
}

.hero-desc {
  max-width: 780px;
  margin: 0 auto 28px;
  color: var(--text);
  font-size: 19px;
  line-height: 1.8;
}

/* Visual */

.visual-stage {
  height: 360px;
  max-width: 960px;
  margin: 22px auto -20px;
  position: relative;
  border-radius: 42px;
  background: linear-gradient(180deg, #dff4ff 0%, #fff1f4 100%);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
}

.floating-chip,
.online-class-card,
.parent-guidance-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 31, 61, 0.12);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(14px);
  animation: floatSoft 4.5s ease-in-out infinite;
}

.floating-chip {
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 14px;
}

.chip-1 { left: 8%; top: 15%; }
.chip-2 { right: 13%; top: 20%; animation-delay: 0.4s; }
.chip-3 { right: 10%; bottom: 22%; animation-delay: 0.7s; }
.chip-4 { left: 12%; bottom: 20%; animation-delay: 1s; }
.chip-5 { left: 40%; top: 10%; animation-delay: 1.3s; }

.student-art {
  position: absolute;
  bottom: 35px;
  width: 170px;
  height: 245px;
  animation: floatSoft 4s ease-in-out infinite;
}

.student-left {
  left: 27%;
}

.student-right {
  right: 27%;
  animation-delay: 0.8s;
}

.student-head {
  position: absolute;
  top: 0;
  left: 52px;
  width: 72px;
  height: 72px;
  background: #ffc48f;
  border-radius: 50%;
}

.student-head::before {
  content: "";
  position: absolute;
  width: 84px;
  height: 30px;
  background: #26338c;
  top: -12px;
  left: -6px;
  border-radius: 40px 40px 10px 10px;
}

.student-right .student-head::before {
  background: #111111;
}

.student-body {
  position: absolute;
  top: 88px;
  left: 30px;
  width: 120px;
  height: 145px;
  background: #2f916d;
  border-radius: 36px 36px 18px 18px;
}

.student-right .student-body {
  background: #245fd2;
}

.student-book {
  position: absolute;
  width: 70px;
  height: 85px;
  background: #f06a2a;
  bottom: 5px;
  left: 0;
  border-radius: 8px;
  transform: rotate(-14deg);
}

.student-tablet {
  position: absolute;
  width: 85px;
  height: 105px;
  background: #f5c766;
  bottom: 8px;
  right: 0;
  border-radius: 14px;
  transform: rotate(13deg);
}

.online-class-card {
  left: 50%;
  top: 37%;
  transform: translateX(-50%);
  padding: 15px 22px;
  border-radius: 999px;
  font-weight: 900;
}

.online-class-card span {
  color: var(--red);
  margin-right: 8px;
}

.parent-guidance-card {
  left: 50%;
  bottom: 45px;
  transform: translateX(-50%);
  width: 260px;
  padding: 20px;
  border-radius: 24px;
  text-align: left;
}

.parent-guidance-card h3 {
  font-size: 21px;
  margin-bottom: 8px;
}

.parent-guidance-card p {
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}

/* Form */

.lead-form-card {
  max-width: 980px;
  margin: 55px auto 0;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 34px;
  padding: 36px;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.08);
  text-align: left;
}

.form-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 28px;
}

.form-header span {
  color: var(--red);
  font-weight: 900;
  font-size: 14px;
}

.form-header h2 {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.1;
  margin: 10px 0;
}

.form-header p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.form-group.full,
.consent.full {
  grid-column: span 2;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 8px;
}

.form-group input,
.form-group select {
  width: 100%;
  height: 52px;
  border: 1px solid #dddddd;
  border-radius: 16px;
  padding: 0 15px;
  font-size: 15px;
  outline: none;
  background: #ffffff;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 5px rgba(255, 31, 61, 0.08);
}

.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.consent input {
  margin-top: 4px;
}

.submit-btn {
  width: 100%;
  margin-top: 20px;
  padding: 17px;
  font-size: 16px;
}

/* Quick actions */

.quick-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 980px;
  margin: 22px auto 0;
}

.quick-actions button {
  min-height: 58px;
  background: #ffffff;
  color: var(--black);
  border: 1px solid var(--line);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.05);
}

.quick-actions button:hover {
  background: var(--red);
  color: #ffffff;
}

/* Sections */

.section {
  padding: 96px 0;
  scroll-margin-top: 110px;
}

.section-title {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-title span {
  color: var(--red);
  font-weight: 900;
  font-size: 14px;
}

.section-title h2 {
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.08;
  letter-spacing: -2px;
  margin-top: 12px;
}

.link-grid,
.grade-grid,
.curriculum-grid,
.feature-grid {
  display: grid;
  gap: 16px;
}

.link-grid {
  grid-template-columns: repeat(4, 1fr);
}

.grade-grid {
  grid-template-columns: repeat(5, 1fr);
}

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

.feature-grid {
  grid-template-columns: repeat(4, 1fr);
}

.link-grid a,
.grade-grid a,
.curriculum-grid a,
.feature-grid div {
  text-decoration: none;
  color: var(--black);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  min-height: 92px;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.05);
  transition: 0.25s ease;
}

.link-grid a,
.grade-grid a {
  display: grid;
  place-items: center;
  font-weight: 900;
  text-align: center;
}

.link-grid a:hover,
.grade-grid a:hover,
.curriculum-grid a:hover,
.feature-grid div:hover {
  transform: translateY(-5px);
  border-color: var(--red);
}

.feature-grid h3,
.curriculum-grid strong {
  display: block;
  font-size: 24px;
  margin-bottom: 10px;
}

.feature-grid p,
.curriculum-grid p {
  color: var(--muted);
  line-height: 1.7;
}

.curriculum {
  background: linear-gradient(180deg, #ffffff, #fff7f8);
}

.curriculum-grid small {
  color: var(--red);
  font-weight: 900;
}

.curriculum-grid strong {
  font-size: 32px;
  margin-top: 8px;
}

/* Final CTA */

.final-cta {
  padding: 96px 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 31, 61, 0.25), transparent 35%),
    linear-gradient(135deg, #111111, #2c0d17);
  scroll-margin-top: 110px;
}

.final-box {
  text-align: center;
  color: #ffffff;
  border-radius: 38px;
  padding: 70px 32px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.final-box h2 {
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.06;
  margin-bottom: 18px;
}

.final-box p {
  color: rgba(255, 255, 255, 0.74);
  font-size: 18px;
  margin-bottom: 28px;
}

.final-box button {
  padding: 16px 30px;
}

/* WhatsApp */

.whatsapp-btn {
  position: fixed;
  right: 22px;
  bottom: 112px;
  z-index: 990;
  border: none;
  background: #25d366;
  color: #ffffff;
  border-radius: 999px;
  padding: 16px 24px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.32);
}

/* App Style Bottom Navigation */

.bottom-app-nav {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  width: min(94%, 760px);
  height: 78px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 31, 61, 0.16);
  border-radius: 28px;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(18px);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  z-index: 999;
  padding: 8px 10px;
}

.bottom-nav-item {
  text-decoration: none;
  color: #555555;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 900;
  transition: 0.25s ease;
  border-radius: 20px;
  height: 60px;
}

.bottom-icon {
  font-size: 22px;
  line-height: 1;
}

.bottom-nav-item small {
  font-size: 12px;
  line-height: 1;
}

.bottom-nav-item:hover,
.bottom-nav-item.active {
  color: var(--red);
  background: #fff4f6;
}

/* Animations */

@keyframes cursorBlink {
  50% {
    border-color: transparent;
  }
}

@keyframes floatSoft {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}

/* Responsive */

@media (max-width: 1050px) {
  .nav-links {
    display: none;
  }

  .visual-stage {
    height: 330px;
  }

  .quick-actions,
  .feature-grid,
  .curriculum-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (min-width: 1051px) {
  .bottom-app-nav {
    width: min(70%, 760px);
  }
}

@media (max-width: 720px) {
  body {
    padding-bottom: 104px;
  }

  .container {
    width: 92%;
  }

  .nav {
    height: 74px;
  }

  .brand img {
    width: 185px;
  }

  .nav-btn {
    display: none;
  }

  .hero {
    padding: 45px 0 70px;
  }

  .hero h1 {
    letter-spacing: -2px;
  }

  .typing-line {
    font-size: 18px;
  }

  .hero-desc {
    font-size: 16px;
  }

  .visual-stage {
    height: 360px;
    border-radius: 28px;
  }

  .student-left {
    left: 8%;
    transform: scale(0.85);
  }

  .student-right {
    right: 8%;
    transform: scale(0.85);
  }

  .chip-2,
  .chip-3,
  .chip-4,
  .chip-5 {
    display: none;
  }

  .online-class-card {
    top: 34%;
  }

  .lead-form-card {
    padding: 24px;
    border-radius: 26px;
  }

  .form-grid,
  .quick-actions,
  .feature-grid,
  .curriculum-grid,
  .link-grid,
  .grade-grid {
    grid-template-columns: 1fr;
  }

  .form-group.full,
  .consent.full {
    grid-column: span 1;
  }

  .section {
    padding: 72px 0;
    scroll-margin-top: 92px;
  }

  .section-title h2 {
    letter-spacing: -1px;
  }

  .final-cta {
    padding: 72px 0;
  }

  .final-box {
    padding: 48px 22px;
  }

  .bottom-app-nav {
    width: 94%;
    height: 74px;
    bottom: 12px;
    border-radius: 24px;
    padding: 7px;
  }

  .bottom-nav-item {
    height: 58px;
    gap: 5px;
  }

  .bottom-icon {
    font-size: 20px;
  }

  .bottom-nav-item small {
    font-size: 11px;
  }

  .whatsapp-btn {
    bottom: 100px;
    right: 14px;
    padding: 13px 18px;
  }
}