:root {
  --bg: #FFFFFF;
  --muted: #4A6077;
  --border: #CBE3F0;
  --border-faint: #E5F3F9;
}

body {
  background: var(--bg);
  color: var(--navy);
}

.page {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

/* ===== Nav ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  padding: 0 80px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav__logo img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}
.nav__logo__word {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.5px;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav__links a {
  font-size: 15px;
  font-weight: 500;
  color: #334155;
  transition: color 0.15s;
}
.nav__links a:hover {
  color: var(--navy);
}
.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: #fff;
  border-radius: 10px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.15s;
}
.nav__cta:hover {
  transform: translateY(-1px);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 60px 80px 80px;
  background: linear-gradient(180deg, #E5F3F9 0%, #F5FAFD 50%, #FFFFFF 100%);
  display: grid;
  grid-template-columns: 1fr 560px;
  gap: 40px;
  align-items: center;
}
.hero__left {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 620px;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  color: #334155;
  width: fit-content;
}
.hero__badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00B574;
}
.hero__title {
  margin: 0;
  font-size: 68px;
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.05;
  color: var(--navy);
  white-space: pre-line;
}
.hero__sub {
  margin: 0;
  font-size: 19px;
  line-height: 1.55;
  color: var(--slate-500);
  max-width: 540px;
}
.hero__btnRow {
  display: flex;
  gap: 12px;
}
.apple-btn,
.play-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 12px;
  padding: 12px 24px;
  transition: transform 0.15s;
}
.apple-btn:hover,
.play-btn:hover {
  transform: translateY(-1px);
}
.apple-btn {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 8px 20px rgba(2, 40, 84, 0.15);
}
.play-btn {
  background: #fff;
  color: var(--navy);
  border: 1.5px solid var(--border);
}
.store-btn__caption {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.store-btn__caption small {
  font-size: 10px;
  font-weight: 500;
  opacity: 0.8;
}
.store-btn__caption strong {
  font-size: 15px;
  font-weight: 700;
}
.trust-row {
  display: flex;
  align-items: center;
  gap: 20px;
}
.trust-row__stars {
  color: #F59E0B;
  font-size: 14px;
  letter-spacing: 2px;
}
.trust-row__txt {
  font-size: 13px;
  font-weight: 500;
  color: var(--slate-400);
}

/* Hero visual */
.hero__visual {
  position: relative;
  height: 720px;
}
.hero__visual .glow {
  position: absolute;
  width: 500px;
  height: 500px;
  left: 30px;
  top: 120px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(14, 181, 245, 0.25) 0%,
    rgba(14, 181, 245, 0) 70%
  );
  filter: blur(40px);
}
.hero__visual .phone {
  position: absolute;
  left: 170px;
  top: 40px;
}
.hero__visual .cert {
  position: absolute;
  left: 5px;
  top: 430px;
  transform: rotate(-10deg);
}

/* ===== Features ===== */
.features {
  padding: 120px 80px;
  display: flex;
  flex-direction: column;
  gap: 72px;
  align-items: center;
  background: #fff;
}
.features__head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
  max-width: 800px;
}
.features__eyebrow {
  font-size: 13px;
  font-weight: 600;
  color: var(--cyan);
  letter-spacing: 2px;
}
.features__title {
  margin: 0;
  font-size: 56px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -1.2px;
  line-height: 1.1;
}
.features__sub {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
  color: var(--muted);
  max-width: 640px;
}
.features__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  width: 100%;
}
.features__row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  width: 100%;
}
.f-card {
  background: var(--slate-50);
  border: 1px solid var(--border-faint);
  border-radius: 24px;
  padding: 36px;
  height: 380px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.f-card--dark {
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  border: none;
  color: #fff;
}
.f-card__iconBox {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}
.f-card--dark .f-card__iconBox {
  background: var(--cyan);
}
.f-card--wide .f-card__iconBox {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: var(--sky-soft);
}
.f-card__title {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.4px;
}
.f-card--dark .f-card__title {
  color: #fff;
}
.f-card__desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}
.f-card--dark .f-card__desc {
  color: #B5CBDE;
}
.f-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.f-card--wide {
  background: #fff;
  flex-direction: row;
  align-items: center;
  gap: 32px;
  height: 220px;
  padding: 36px;
}
.f-card--wide .f-card__body {
  gap: 8px;
}
.f-card--wide .f-card__title {
  font-size: 22px;
}

/* ===== CTA ===== */
.cta {
  padding: 0 80px 80px;
  background: #fff;
}
.cta__card {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, #0A3A6F 60%, var(--cyan) 100%);
  color: #fff;
  height: 420px;
  padding: 72px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 48px;
}
.cta__glow {
  position: absolute;
  width: 500px;
  height: 500px;
  top: -150px;
  right: -100px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(127, 212, 249, 0.6) 0%,
    rgba(14, 181, 245, 0) 70%
  );
  pointer-events: none;
}
.cta__logo {
  position: absolute;
  right: 40px;
  top: 40px;
  width: 320px;
  height: 320px;
  object-fit: contain;
  opacity: 0.18;
  pointer-events: none;
}
.cta__left {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.cta__eyebrow {
  font-size: 13px;
  font-weight: 600;
  color: var(--sky);
  letter-spacing: 2px;
}
.cta__title {
  margin: 0;
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -1.2px;
  line-height: 1.05;
  color: #fff;
  white-space: pre-line;
}
.cta__sub {
  margin: 0;
  font-size: 17px;
  line-height: 1.5;
  color: #B5CBDE;
  max-width: 500px;
}
.cta__buttons {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}
.cta__buttons .apple-btn,
.cta__buttons .play-btn {
  background: #fff;
  color: var(--navy);
  border: none;
  padding: 14px 22px;
  border-radius: 14px;
}

/* ===== Footer ===== */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 80px;
  border-top: 1px solid var(--border-faint);
  gap: 48px;
  background: #fff;
}
.footer__left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer__logo {
  width: 28px;
  height: 28px;
}
.footer__brand {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.3px;
}
.footer__divider {
  width: 1px;
  height: 20px;
  background: var(--border-faint);
}
.footer__copy {
  font-size: 13px;
  color: var(--slate-350);
}
.footer__right {
  display: flex;
  align-items: center;
  gap: 32px;
}
.footer__right a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}
.footer__right a:hover {
  color: var(--navy);
}

/* ===== Responsive ===== */
@media (max-width: 1120px) {
  .hero,
  .features__grid {
    grid-template-columns: 1fr;
  }
  .features__row2 { grid-template-columns: 1fr; }
  .hero { padding: 40px 24px 60px; }
  .hero__title { font-size: 48px; letter-spacing: -1.2px; }
  .hero__visual { height: 560px; margin: 0 auto; }
  .nav { padding: 0 24px; }
  .nav__links { display: none; }
  .features { padding: 80px 24px; }
  .features__title { font-size: 40px; }
  .cta { padding: 0 24px 48px; }
  .cta__card { padding: 48px 32px; height: auto; grid-template-columns: 1fr; }
  .cta__title { font-size: 40px; }
  .footer { padding: 32px 24px; flex-direction: column; align-items: flex-start; gap: 16px; }
  .f-card { height: auto; min-height: 280px; }
  .f-card--wide { flex-direction: column; align-items: flex-start; height: auto; gap: 20px; }
}

@media (max-width: 640px) {
  .hero__title { font-size: 36px; }
  .cta__title { font-size: 32px; }
  .features__title { font-size: 32px; }
  .hero__btnRow { flex-wrap: wrap; }
}
