@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800;900&display=swap');

:root {
  --navy: #0b2d5c;
  --blue: #1d8ff2;
  --sky: #38a8e8;
  --white: #ffffff;
  --light: #f5faff;
  --border: #dfeaf6;
  --muted: #65748b;
  --shadow: 0 12px 28px rgba(11, 45, 92, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  background: #ffffff;
  color: var(--navy);
}

.page {
  width: 100%;
  overflow-x: hidden;
}

.design-stage {
  position: relative;
  width: 100%;
  max-width: 1640px;
  margin: 0 auto;
  line-height: 0;
  background: white;
}

.design-image {
  width: 100%;
  height: auto;
  display: block;
}

/* Exact countdown overlay based on the 1640 x 920 design */
.live-countdown {
  position: absolute;
  left: 6.42%;
  top: 40.72%;
  width: 29.2%;
  height: 9.45%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3.5%;
  z-index: 5;
  line-height: 1;
}

.time-card {
  background: #ffffff;
  border: 1px solid #dfeaf6;
  border-radius: 11px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.time-card strong {
  display: block;
  color: var(--blue);
  font-size: clamp(16px, 2.55vw, 42px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -1px;
}

.time-card span {
  display: block;
  color: var(--navy);
  font-size: clamp(7px, 0.9vw, 14px);
  font-weight: 800;
  line-height: 1.1;
  margin-top: 6px;
}

/* Invisible clickable areas positioned over the visual design */
.hotspot {
  position: absolute;
  z-index: 6;
  display: block;
}

.home-link { left: 40.4%; top: 5.2%; width: 5.5%; height: 4.2%; }
.about-link { left: 46.4%; top: 5.2%; width: 5.8%; height: 4.2%; }
.features-link { left: 52.2%; top: 5.2%; width: 7.0%; height: 4.2%; }
.schools-link { left: 59.1%; top: 5.2%; width: 7.9%; height: 4.2%; }
.parents-link { left: 67.4%; top: 5.2%; width: 8.2%; height: 4.2%; }
.contact-link { left: 75.5%; top: 5.2%; width: 6.0%; height: 4.2%; }
.notify-link { left: 82.7%; top: 4.5%; width: 9.4%; height: 4.9%; }
.google-link { left: 6.55%; top: 51.9%; width: 12.4%; height: 6.7%; }
.apple-link { left: 20.55%; top: 51.9%; width: 12.3%; height: 6.7%; }

.content {
  width: min(1100px, 92%);
  margin: 0 auto;
  padding: 44px 0;
  line-height: 1.6;
}

.content h1,
.content h2 {
  color: var(--navy);
  text-align: center;
  margin: 0 0 14px;
}

.content p {
  color: #17345f;
  text-align: center;
  margin: 0 auto;
  max-width: 850px;
}

.features-text {
  padding-top: 20px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 26px;
}

.feature-grid article,
.two-columns div,
.notify-section {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.feature-grid h3 {
  margin: 0 0 8px;
  color: var(--blue);
}

.feature-grid p {
  text-align: left;
  color: var(--muted);
}

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

.two-columns p {
  text-align: left;
}

.notify-section {
  margin-bottom: 55px;
}

.notify-section form {
  margin: 25px auto 0;
  max-width: 780px;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
}

.notify-section input {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 15px;
  font-size: 15px;
  outline: none;
}

.notify-section button {
  border: 0;
  border-radius: 12px;
  padding: 15px 24px;
  color: white;
  background: linear-gradient(135deg, var(--sky), var(--blue));
  font-weight: 900;
  cursor: pointer;
}

@media (max-width: 760px) {
  .design-stage {
    width: 1640px;
    max-width: none;
    transform: scale(calc(100vw / 1640));
    transform-origin: top left;
    margin-bottom: calc((920px * (100vw / 1640)) - 920px);
  }

  .time-card strong {
    font-size: 42px;
  }

  .time-card span {
    font-size: 14px;
  }

  .feature-grid,
  .two-columns,
  .notify-section form {
    grid-template-columns: 1fr;
  }
}
