:root {
  --bg-deep: #082f4b;
  --bg-mid: #0f4c75;
  --ink: #052236;
  --surface: #f4f8fb;
  --text: #0b2940;
  --text-soft: #305068;
  --accent: #ff8a3d;
  --accent-2: #ffd166;
  --line: #d8e5ef;
  --radius: 18px;
  --shadow: 0 20px 50px rgba(5, 34, 54, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f8fbfe 0%, #eef5fb 100%);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

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

.skip-link {
  position: absolute;
  top: -40px;
  left: 10px;
  z-index: 100;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 12px;
}

.skip-link:focus {
  top: 10px;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(8px);
  background: rgba(248, 251, 254, 0.8);
  border-bottom: 1px solid rgba(216, 229, 239, 0.8);
}

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

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  width: 112px;
  max-height: 58px;
  height: auto;
  object-fit: contain;
  display: block;
}

.nav-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 24px;
}

.nav-list a {
  font-weight: 600;
  color: var(--text-soft);
}

.hero {
  position: relative;
  overflow: clip;
  padding: 84px 0 72px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.scroll-spectrum {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  z-index: 60;
  background: rgba(15, 76, 117, 0.08);
}

#scroll-spectrum-fill {
  display: block;
  height: 100%;
  width: 100%;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: linear-gradient(90deg, #0f4c75, #72d0ff, #ff8a3d);
  transition: transform 0.2s linear;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.55;
  z-index: 0;
}

.beam {
  position: absolute;
  filter: blur(0.2px);
  z-index: 1;
}

.beam-a {
  width: 460px;
  height: 180px;
  right: -90px;
  top: 26px;
  transform: rotate(-14deg);
  background: linear-gradient(
    90deg,
    rgba(255, 138, 61, 0),
    rgba(255, 138, 61, 0.34),
    rgba(255, 209, 102, 0.08)
  );
  border-radius: 999px;
  animation: floatY 8s ease-in-out infinite;
}

.beam-b {
  width: 420px;
  height: 170px;
  left: -120px;
  bottom: -34px;
  transform: rotate(18deg);
  background: linear-gradient(
    90deg,
    rgba(114, 208, 255, 0.06),
    rgba(114, 208, 255, 0.3),
    rgba(15, 76, 117, 0)
  );
  border-radius: 999px;
  animation: floatY 10s ease-in-out infinite reverse;
}

.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(15, 76, 117, 0.16);
  z-index: 1;
}

.ring-a {
  width: 240px;
  height: 240px;
  right: 8%;
  top: 20%;
}

.ring-b {
  width: 180px;
  height: 180px;
  left: 6%;
  bottom: 8%;
}

.grid-glow {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 76, 117, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 76, 117, 0.08) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: radial-gradient(
    circle at center,
    rgba(0, 0, 0, 1),
    transparent 70%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
}

.eyebrow {
  display: inline-block;
  margin: 0;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bg-mid);
  font-size: 0.75rem;
}

h1,
h2,
h3 {
  font-family: "Sora", sans-serif;
  line-height: 1.2;
  margin-top: 0;
}

h1 {
  margin-top: 14px;
  font-size: clamp(2rem, 5vw, 4rem);
  max-width: 16ch;
}

.accent {
  color: var(--accent);
}

.hero-copy {
  margin-top: 18px;
  color: var(--text-soft);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  max-width: 62ch;
}

.hero-cta {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.launch-section {
  padding-top: 54px;
  padding-bottom: 34px;
}

.launch-countdown {
  margin-top: 0;
  max-width: none;
  width: 100%;
  border: 1px solid rgba(155, 187, 211, 0.62);
  border-radius: 16px;
  padding: 16px 16px 14px;
  background:
    linear-gradient(
      180deg,
      rgba(248, 252, 255, 0.95),
      rgba(236, 244, 252, 0.96)
    ),
    repeating-linear-gradient(
      90deg,
      rgba(15, 76, 117, 0.05),
      rgba(15, 76, 117, 0.05) 1px,
      transparent 1px,
      transparent 24px
    );
  box-shadow: 0 18px 36px rgba(17, 57, 90, 0.16);
}

.launch-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.launch-eyebrow {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #214d72;
  font-weight: 800;
}

.launch-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 98px;
  height: 28px;
  border-radius: 999px;
  padding: 0 12px;
  font-family: "Sora", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(120deg, #ff9a42, #ff781d);
  box-shadow: 0 8px 16px rgba(255, 120, 29, 0.3);
}

.launch-copy {
  margin: 10px 0 0;
  color: #355a78;
  font-size: 0.9rem;
}

.launch-date {
  color: #11486f;
  font-family: "Sora", sans-serif;
  font-weight: 700;
}

.countdown-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.countdown-unit {
  position: relative;
  --unit-glow: #8fd4ff;
  border: 1px solid rgba(151, 183, 208, 0.56);
  background:
    linear-gradient(
      180deg,
      rgba(250, 253, 255, 0.98),
      rgba(233, 243, 252, 0.98)
    ),
    repeating-linear-gradient(
      90deg,
      rgba(15, 76, 117, 0.04),
      rgba(15, 76, 117, 0.04) 1px,
      transparent 1px,
      transparent 10px
    );
  border-radius: 10px;
  padding: 12px 8px 10px;
  text-align: center;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.84),
    inset 0 -10px 20px rgba(76, 123, 160, 0.12);
}

.countdown-unit::before {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  top: 50%;
  height: 1px;
  background: rgba(84, 128, 161, 0.2);
  transform: translateY(-50%);
}

.countdown-unit:not(:last-child)::after {
  content: ":";
  position: absolute;
  right: -11px;
  top: 50%;
  transform: translateY(-52%);
  color: rgba(38, 84, 118, 0.8);
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
}

.unit-days {
  --unit-glow: #e78229;
}

.unit-hours {
  --unit-glow: #5db844;
}

.unit-minutes {
  --unit-glow: #cb4f60;
}

.unit-seconds {
  --unit-glow: #8e67c0;
}

.countdown-unit strong {
  display: block;
  font-family:
    ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
    monospace;
  font-size: 2.15rem;
  color: var(--unit-glow);
  line-height: 1;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 8px color-mix(in srgb, var(--unit-glow) 55%, transparent);
}

.countdown-unit span {
  color: rgba(44, 87, 118, 0.84);
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.launch-note {
  margin: 10px 0 0;
  color: rgba(51, 89, 117, 0.94);
  font-size: 0.84rem;
}

.launch-mail {
  color: #0f4c75;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.btn {
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(120deg, var(--accent) 0%, #ff6d2d 100%);
  color: #fff;
  box-shadow: 0 12px 24px rgba(255, 109, 45, 0.25);
}

.btn-ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.74);
}

.store-badge-link {
  display: inline-flex;
  align-items: center;
  border-radius: 10px;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.store-badge-link.is-disabled {
  pointer-events: none;
  cursor: not-allowed;
  filter: grayscale(0.28);
  opacity: 0.58;
  box-shadow: none;
}

.store-badge-link:hover,
.store-badge-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(5, 34, 54, 0.18);
}

.store-badge-img {
  width: 180px;
  height: auto;
  display: block;
}

.about-store-cta {
  margin-top: 18px;
}

.hero-stats {
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 600px;
}

.hero-stats li {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  box-shadow: var(--shadow);
}

.hero-stats strong {
  display: block;
  font-size: 1.3rem;
  font-family: "Sora", sans-serif;
}

.hero-stats span {
  color: var(--text-soft);
  font-size: 0.92rem;
}

.section {
  padding: 76px 0;
}

.section-tag {
  font-family: "Sora", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--bg-mid);
  font-size: 0.75rem;
  margin: 0;
}

.section-title {
  margin: 10px 0 0;
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
}

.section-copy {
  margin-top: 16px;
  max-width: 75ch;
  color: var(--text-soft);
}

.product-highlight-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.feature-tile {
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(165deg, #ffffff 0%, #eef6fd 100%);
  box-shadow: var(--shadow);
}

.feature-tile h3 {
  margin: 0;
  font-size: 1.15rem;
}

.feature-tile p {
  margin: 10px 0 0;
  color: var(--text-soft);
}

.product-flow {
  margin-top: 20px;
  padding: 20px;
  border-radius: var(--radius);
  border: 1px dashed rgba(15, 76, 117, 0.32);
  background: rgba(255, 255, 255, 0.72);
}

.product-flow h3 {
  margin: 0;
  font-size: 1.1rem;
}

.product-flow ol {
  margin: 12px 0 0;
  padding-left: 1.2rem;
  color: var(--text-soft);
}

.product-flow li + li {
  margin-top: 6px;
}

.section-modes {
  background: transparent;
}

.card-grid {
  margin-top: 24px;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mode-card {
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(150deg, #ffffff, #edf5fc);
  box-shadow: var(--shadow);
}

.mode-card h3 {
  margin: 0;
  font-size: 1.25rem;
}

.mode-card p {
  margin: 10px 0 0;
  color: var(--text-soft);
}

.section-about {
  background: transparent;
}

.section-contact {
  background: transparent;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: start;
}

.contact-card {
  margin: 0;
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.contact-card h3 {
  margin: 0;
  font-size: 1.2rem;
}

.contact-card p {
  margin: 10px 0 16px;
  color: var(--text-soft);
}

.contact-mail {
  display: inline-block;
  margin-top: 12px;
  color: var(--bg-mid);
  font-weight: 700;
}

.tilt-card {
  transform-style: preserve-3d;
  will-change: transform;
  transition:
    transform 0.08s linear,
    box-shadow 0.14s ease;
}

.tilt-card.is-tilting {
  transition:
    transform 0s,
    box-shadow 0.12s ease;
  box-shadow: 0 24px 44px rgba(5, 34, 54, 0.2);
}

.hero-stats li.gesture-active {
  border-color: rgba(15, 76, 117, 0.38);
  background: linear-gradient(165deg, #ffffff 0%, #edf7ff 100%);
  transform: translateY(-3px);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: start;
}

.quote-card {
  margin: 0;
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.quote-card p {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: 1.1rem;
}

.quote-card span {
  display: inline-block;
  margin-top: 10px;
  color: var(--text-soft);
}

.site-footer {
  padding: 24px 0 34px;
  border-top: 1px solid var(--line);
}

.footer-wrap {
  display: flex;
  justify-content: center;
  text-align: center;
}

.footer-wrap p {
  margin: 0;
  color: var(--text-soft);
}

.footer-wrap a {
  margin-left: 10px;
  color: var(--bg-mid);
  font-weight: 700;
}

.policy-wrap {
  max-width: 900px;
}

.policy-wrap .section-title {
  margin-bottom: 10px;
}

.policy-section {
  margin-top: 24px;
  padding: 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
}

.policy-section h2 {
  margin: 0;
  font-size: 1.15rem;
}

.policy-section p,
.policy-section ul {
  margin: 10px 0 0;
  color: var(--text-soft);
}

.policy-section ul {
  padding-left: 1.2rem;
}

.policy-section li + li {
  margin-top: 6px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.08s;
}

.delay-2 {
  transition-delay: 0.16s;
}

.delay-3 {
  transition-delay: 0.24s;
}

.delay-4 {
  transition-delay: 0.32s;
}

@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-16px);
  }
}

@media (max-width: 860px) {
  .hero {
    padding-top: 62px;
  }

  .launch-section {
    padding-top: 34px;
    padding-bottom: 18px;
  }

  .countdown-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .countdown-unit::after {
    display: none;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .card-grid,
  .about-grid,
  .product-highlight-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .nav-wrap {
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 10px 0;
  }

  .brand-logo {
    width: 92px;
    max-height: 48px;
  }

  .nav-list {
    gap: 16px;
  }

  .section {
    padding: 56px 0;
  }

  .footer-wrap a {
    display: inline-block;
    margin-left: 0;
    margin-top: 6px;
  }
}

/* Apple-inspired parallax theme overrides */
.apple-parallax {
  background:
    radial-gradient(
      circle at 12% -6%,
      rgba(196, 226, 255, 0.85),
      transparent 44%
    ),
    radial-gradient(
      circle at 88% 8%,
      rgba(255, 211, 182, 0.75),
      transparent 42%
    ),
    linear-gradient(180deg, #f4f7fb 0%, #edf2f8 45%, #e8eef6 100%);
}

.apple-parallax .site-header {
  background: rgba(248, 251, 255, 0.66);
  border-bottom: 1px solid rgba(188, 206, 223, 0.5);
  backdrop-filter: blur(14px) saturate(120%);
}

.apple-parallax .hero {
  padding-top: 104px;
  padding-bottom: 86px;
}

.apple-parallax .hero-bg {
  display: none;
}

.parallax-stage {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.parallax-layer {
  position: absolute;
  border-radius: 999px;
  filter: blur(30px);
  opacity: 0.52;
  will-change: transform;
}

.layer-one {
  width: 420px;
  height: 420px;
  top: 8%;
  left: -120px;
  background: radial-gradient(
    circle at 40% 40%,
    rgba(125, 193, 255, 0.88),
    rgba(125, 193, 255, 0)
  );
}

.layer-two {
  width: 380px;
  height: 380px;
  top: 28%;
  right: -110px;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(255, 174, 130, 0.82),
    rgba(255, 174, 130, 0)
  );
}

.layer-three {
  width: 460px;
  height: 460px;
  bottom: -180px;
  left: 20%;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(170, 213, 255, 0.7),
    rgba(170, 213, 255, 0)
  );
}

.layer-four {
  width: 320px;
  height: 320px;
  bottom: 8%;
  right: 12%;
  background: radial-gradient(
    circle at 55% 45%,
    rgba(255, 216, 188, 0.72),
    rgba(255, 216, 188, 0)
  );
}

.apple-parallax [data-parallax-section] {
  position: relative;
}

.apple-parallax [data-parallax-section] .container {
  transform: translate3d(0, var(--section-shift, 0px), 0);
  transition: transform 0.18s linear;
}

.apple-parallax .hero-content {
  max-width: 980px;
}

.apple-parallax .hero-copy {
  max-width: 58ch;
  font-size: clamp(1.05rem, 1.6vw, 1.24rem);
}

.apple-parallax .btn {
  backdrop-filter: blur(6px);
}

.apple-parallax .btn-ghost {
  background: rgba(255, 255, 255, 0.54);
  border-color: rgba(152, 181, 208, 0.7);
}

.apple-parallax .hero-stats li,
.apple-parallax .feature-tile,
.apple-parallax .mode-card,
.apple-parallax .product-flow,
.apple-parallax .quote-card,
.apple-parallax .contact-card,
.apple-parallax .policy-section {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(171, 194, 216, 0.72);
  backdrop-filter: blur(14px) saturate(110%);
  box-shadow: 0 14px 38px rgba(18, 57, 89, 0.12);
}

.apple-parallax .section {
  padding-top: 92px;
  padding-bottom: 92px;
}

.apple-parallax .section-title {
  letter-spacing: -0.02em;
}

.apple-parallax .scroll-spectrum {
  height: 3px;
  background: rgba(15, 76, 117, 0.12);
}

.apple-parallax #scroll-spectrum-fill {
  background: linear-gradient(90deg, #91c4f8, #4b93d6, #ffa266);
}

@media (max-width: 860px) {
  .apple-parallax .section {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .apple-parallax .hero {
    padding-top: 82px;
  }

  .parallax-layer {
    opacity: 0.34;
  }
}

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

  .beam,
  .ring,
  .reveal,
  .btn,
  .tilt-card,
  .hero-bg {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}
