:root {
  --navy: #0b1f3a;
  --ink: #14233d;
  --muted: #5a6b84;
  --teal: #0d9488;
  --teal-deep: #0f766e;
  --teal-soft: #e6f7f5;
  --blue-soft: #e8f0ff;
  --yellow: #f5c542;
  --line: #e4ebf5;
  --paper: #ffffff;
  --wash: #f4f7fb;
  --shadow: 0 20px 50px rgba(11, 31, 58, 0.08);
  --shadow-lg: 0 28px 70px rgba(11, 31, 58, 0.12);
  --radius: 22px;
  --header-h: 76px;
  --font: Inter, system-ui, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 14px);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--wash);
  font-family: var(--font);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  padding: 0.65rem 1rem;
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
  font-weight: 600;
}
.skip-link:focus { top: 1rem; }

.shell {
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(228, 235, 245, 0.95);
  backdrop-filter: blur(14px);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(160deg, #fff7de, #ffe9a8);
  box-shadow: inset 0 0 0 1px rgba(245, 197, 66, 0.45);
}

.brand-name {
  font-size: 1.05rem;
  letter-spacing: -0.03em;
  color: var(--navy);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 40px;
  padding: 0.45rem 0.85rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.94rem;
  font-weight: 500;
  cursor: pointer;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--navy);
  background: var(--wash);
}

.nav-dropdown { position: relative; }

.nav-dropdown-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 250px;
  padding: 0.5rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
}

.nav-dropdown-panel a {
  display: block;
  padding: 0.8rem 0.9rem;
  border-radius: 12px;
}

.nav-dropdown-panel a:hover { background: var(--wash); }

.dd-label {
  display: block;
  color: var(--navy);
  font-size: 0.94rem;
  font-weight: 600;
}

.dd-desc {
  display: block;
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-left: 0.7rem;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--navy);
  border-radius: 2px;
  content: "";
}

.nav-toggle-bars::before { transform: translateY(-6px); }
.nav-toggle-bars::after { transform: translateY(4px); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0.7rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn:focus-visible,
.nav-link:focus-visible,
.nav-toggle:focus-visible {
  outline: 3px solid rgba(13, 148, 136, 0.35);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 12px 28px rgba(11, 31, 58, 0.18);
}

.btn-primary:hover { background: #16325a; }

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: rgba(11, 31, 58, 0.18);
}

.btn-ghost:hover { background: #fff; border-color: rgba(11, 31, 58, 0.3); }

.btn-lg { min-height: 52px; padding-inline: 1.4rem; }

.btn-light {
  background: #fff;
  color: var(--navy);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}

.btn-light-teal {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-light-teal:hover { background: rgba(255, 255, 255, 0.22); }

/* Hero */
.hero {
  position: relative;
  padding: 3.75rem 0 4.5rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 55% 70% at 88% 18%, rgba(13, 148, 136, 0.1), transparent 58%),
    radial-gradient(ellipse 45% 55% at 8% 85%, rgba(47, 107, 255, 0.07), transparent 55%),
    linear-gradient(180deg, #f7f9fc 0%, #f4f7fb 55%, #eef3f9 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 2.75rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 1rem;
  padding: 0.42rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow.soft {
  background: var(--teal-soft);
  border-color: transparent;
  color: var(--teal-deep);
}

.hero h1 {
  margin: 0;
  max-width: 12ch;
  color: var(--navy);
  font-size: clamp(2.45rem, 5.1vw, 3.85rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.hero h1 span { color: var(--teal); }

.lede {
  margin: 1.2rem 0 1.65rem;
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-copy,
.hero-visual {
  animation: hero-rise 0.7s ease both;
}

.hero-visual { animation-delay: 0.12s; }

@keyframes hero-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.35rem;
  margin-top: 1.75rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
}

.trust-row li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.trust-icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: var(--teal);
  background: var(--teal-soft);
}

.device-stage {
  position: relative;
  min-height: 420px;
  padding: 1rem 0 2.5rem;
}

.laptop {
  margin: 0;
  width: 92%;
}

.laptop-bezel {
  overflow: hidden;
  border: 10px solid #1a2a44;
  border-radius: 16px 16px 8px 8px;
  background: #0b1f3a;
  box-shadow: var(--shadow-lg);
}

.laptop-bezel img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
}

.laptop-base {
  width: 100%;
  height: 12px;
  margin: 0 auto;
  border-radius: 0 0 14px 14px;
  background: linear-gradient(180deg, #c9d2e0, #aeb9cc);
  box-shadow: 0 10px 18px rgba(11, 31, 58, 0.12);
}

.laptop-base::after {
  content: "";
  display: block;
  width: 28%;
  height: 5px;
  margin: 0 auto;
  border-radius: 0 0 8px 8px;
  background: #9aa7bc;
}

.phone {
  position: absolute;
  right: 0;
  bottom: 2.2rem;
  width: min(168px, 34%);
  margin: 0;
  z-index: 2;
}

.phone-bezel {
  overflow: hidden;
  border: 8px solid #121f33;
  border-radius: 22px;
  background: #121f33;
  box-shadow: 0 22px 40px rgba(11, 31, 58, 0.28);
}

.phone-bezel img {
  width: 100%;
  aspect-ratio: 9 / 18.5;
  object-fit: cover;
  object-position: top center;
  background: #fff;
}

.hero-caption {
  position: absolute;
  left: 4%;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  gap: 0.45rem;
  margin: 0;
  color: var(--teal-deep);
  font-size: 0.92rem;
  font-weight: 600;
  font-style: italic;
}

.hero-caption svg { flex-shrink: 0; transform: rotate(-8deg); }

/* Sections */
.section-heading {
  margin-bottom: 2.2rem;
  max-width: 40rem;
}

.section-heading.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading h2,
.about h2,
.cta-panel h2 {
  margin: 0 0 0.65rem;
  color: var(--navy);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.035em;
}

.section-heading p,
.about p,
.cta-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 1.03rem;
}

/* Products */
.products {
  padding: 5rem 0 4.5rem;
  background: #fff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.product-school {
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(59, 130, 246, 0.12), transparent 55%),
    linear-gradient(165deg, #f5f9ff 0%, #ffffff 55%);
}

.product-gym {
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(13, 148, 136, 0.14), transparent 55%),
    linear-gradient(165deg, #f0fbf9 0%, #ffffff 55%);
}

.product-copy { padding: 0.35rem 0.25rem 0; }

.product-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-label-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.product-school .product-label-icon {
  color: #2563eb;
  background: var(--blue-soft);
}

.product-gym .product-label-icon {
  color: var(--teal);
  background: var(--teal-soft);
}

.product-card h3 {
  margin: 0 0 0.5rem;
  color: var(--navy);
  font-size: 1.55rem;
  letter-spacing: -0.03em;
}

.product-tagline {
  margin: 0 0 1.15rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.feature-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.4rem;
}

.feature-chips li {
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 550;
}

.product-preview { margin-top: auto; }

.preview-frame {
  overflow: hidden;
  border: 1px solid rgba(11, 31, 58, 0.08);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(11, 31, 58, 0.08);
}

.preview-frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
}

/* Why */
.why {
  padding: 5rem 0;
  background: linear-gradient(180deg, #f4f7fb 0%, #ffffff 100%);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.why-card {
  padding: 1.45rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(11, 31, 58, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.why-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 1rem;
  border-radius: 12px;
  color: var(--teal);
  background: var(--teal-soft);
}

.why-card h3 {
  margin: 0 0 0.45rem;
  color: var(--navy);
  font-size: 1.05rem;
}

.why-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

/* How it works */
.how {
  padding: 1rem 0 5rem;
  background: #fff;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  counter-reset: none;
}

.step {
  position: relative;
  padding: 1.5rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--wash);
}

.step-num {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
}

.step h3 {
  margin: 0 0 0.45rem;
  color: var(--navy);
  font-size: 1.05rem;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

/* About */
.about { padding: 0 0 2rem; }

.about-panel {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 2rem;
  align-items: center;
  padding: 2.4rem;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(ellipse 50% 80% at 100% 0%, rgba(13, 148, 136, 0.08), transparent 50%),
    #fff;
  box-shadow: var(--shadow);
}

.about-panel h2 { max-width: 16ch; }

.about-panel > div > p:last-child { margin-top: 0.9rem; }

.about-points {
  display: grid;
  gap: 0.85rem;
}

.about-points li {
  position: relative;
  padding: 0.95rem 1rem 0.95rem 2.6rem;
  border-radius: 14px;
  background: var(--wash);
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
}

.about-points li::before {
  content: "";
  position: absolute;
  left: 0.95rem;
  top: 1.15rem;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: var(--teal-soft);
  box-shadow: inset 0 0 0 3px var(--teal);
}

/* Final CTA */
.final-cta { padding: 2rem 0 5rem; }

.cta-panel {
  padding: 3rem 2rem;
  border-radius: 30px;
  background:
    radial-gradient(ellipse 40% 70% at 90% 20%, rgba(13, 148, 136, 0.28), transparent 55%),
    linear-gradient(135deg, #0b1f3a 0%, #123255 55%, #0f4c4a 100%);
  color: #fff;
  text-align: center;
  box-shadow: 0 28px 60px rgba(11, 31, 58, 0.28);
}

.cta-panel h2 { color: #fff; }

.cta-panel p {
  margin: 0 auto 1.5rem;
  max-width: 38rem;
  color: rgba(255, 255, 255, 0.82);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.cta-mail {
  display: inline-block;
  margin-top: 1.25rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cta-mail:hover { color: #fff; }

/* Footer */
.site-footer {
  padding: 3.25rem 0 1.5rem;
  background: #edf1f7;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.footer-brand p {
  margin: 0.95rem 0 0;
  max-width: 24rem;
  font-size: 0.95rem;
}

.site-footer h3 {
  margin: 0 0 0.9rem;
  color: var(--navy);
  font-size: 0.9rem;
}

.site-footer li + li { margin-top: 0.55rem; }
.site-footer a:hover { color: var(--teal); }

.footer-bottom {
  padding-top: 1.2rem;
  border-top: 1px solid #dde4ef;
  text-align: center;
  font-size: 0.9rem;
}

.footer-bottom p { margin: 0; }

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-delay { transition-delay: 0.12s; }

/* Responsive */
@media (max-width: 1040px) {
  .product-grid,
  .why-grid,
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .about-panel { grid-template-columns: 1fr; }
  .hero h1 { max-width: none; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .device-stage { min-height: 360px; max-width: 560px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 780px) {
  .nav-toggle { display: inline-grid; place-items: center; }

  .primary-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    padding: 1rem 1.25rem 1.35rem;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .primary-nav.is-open { display: flex; }

  .nav-link,
  .header-actions,
  .header-actions .btn {
    width: 100%;
    justify-content: flex-start;
  }

  .header-actions {
    flex-direction: column;
    margin: 0.5rem 0 0;
  }

  .nav-dropdown-panel {
    position: static;
    margin-top: 0.35rem;
    box-shadow: none;
  }

  .product-grid,
  .why-grid,
  .steps,
  .footer-grid { grid-template-columns: 1fr; }

  .hero { padding-top: 2.25rem; }
  .phone { width: min(140px, 38%); }
  .about-panel,
  .cta-panel { padding: 1.6rem 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .btn,
  .btn:hover,
  .why-card,
  .why-card:hover,
  .reveal,
  .reveal.is-visible,
  .hero-copy,
  .hero-visual {
    transition: none;
    transform: none;
    animation: none;
  }

  .reveal { opacity: 1; }
}
