:root {
  color-scheme: dark;
  --background: #04142f;
  --background-deep: #020c1f;
  --surface: #0a2144;
  --surface-hover: #0d2952;
  --border: rgba(141, 182, 235, 0.14);
  --text: #f8fbff;
  --text-muted: #a9b7cc;
  --accent: #1687ff;
  --accent-bright: #46a8ff;
  --accent-soft: rgba(22, 135, 255, 0.13);
  --shadow: rgba(0, 5, 20, 0.38);
  --content-width: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 8%, rgba(16, 99, 195, 0.16), transparent 28rem),
    var(--background);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

img,
svg {
  display: block;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  color: #03142f;
  background: #fff;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--border);
  background: rgba(4, 20, 47, 0.82);
  -webkit-backdrop-filter: blur(20px) saturate(135%);
  backdrop-filter: blur(20px) saturate(135%);
}

.header-inner,
.footer-inner {
  width: min(calc(100% - 48px), var(--content-width));
  margin: 0 auto;
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 1.18rem;
  font-weight: 760;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand img {
  width: 38px;
  height: auto;
  filter: drop-shadow(0 4px 12px rgba(58, 148, 255, 0.35));
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(104px, 12vw, 156px) 24px clamp(78px, 9vw, 116px);
  text-align: center;
}

.hero-glow {
  position: absolute;
  top: -360px;
  left: 50%;
  width: 860px;
  height: 680px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(33, 139, 255, 0.19), rgba(33, 139, 255, 0) 68%);
  transform: translateX(-50%);
}

.hero-inner {
  position: relative;
  width: min(100%, 830px);
  margin: 0 auto;
}

.eyebrow,
.section-kicker {
  color: #8dc9ff;
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(117, 180, 243, 0.2);
  border-radius: 999px;
  padding: 8px 13px;
  background: rgba(18, 56, 101, 0.52);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.04);
}

.eyebrow svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--accent-bright);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(3.6rem, 9vw, 6.75rem);
  font-weight: 780;
  letter-spacing: -0.065em;
  line-height: 0.94;
}

.eyebrow + h1 {
  margin-top: 34px;
}

.hero-copy {
  max-width: 680px;
  margin-right: auto;
  margin-bottom: 32px;
  margin-left: auto;
  color: var(--text-muted);
  font-size: clamp(1.08rem, 2.2vw, 1.32rem);
  line-height: 1.62;
  text-wrap: balance;
}

.app-store-link {
  width: fit-content;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
  outline-offset: 6px;
  transition: transform 160ms ease, filter 160ms ease;
}

.app-store-link img {
  width: 190px;
  height: auto;
}

.app-store-link:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.product-section {
  width: min(calc(100% - 48px), 800px);
  margin: 0 auto;
  padding-bottom: clamp(112px, 14vw, 176px);
}

.product-stage {
  position: relative;
  isolation: isolate;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(6, 40, 82, 0.48), rgba(1, 10, 29, 0.78)),
    url("app-background.jpg") center / cover no-repeat;
  box-shadow:
    0 44px 90px rgba(0, 5, 18, 0.42),
    inset 0 1px rgba(255, 255, 255, 0.05);
}

.product-stage::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 50% 56%, rgba(26, 156, 255, 0.24), transparent 36%),
    linear-gradient(180deg, rgba(6, 17, 43, 0.1), rgba(4, 16, 38, 0.48));
  content: "";
}

.product-stars {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.52;
  background-image:
    radial-gradient(circle at 16% 18%, #fff 0 1px, transparent 1.4px),
    radial-gradient(circle at 80% 25%, #7cc4ff 0 1px, transparent 1.5px),
    radial-gradient(circle at 27% 77%, #fff 0 1px, transparent 1.4px),
    radial-gradient(circle at 73% 72%, #fff 0 1px, transparent 1.4px);
}

.product-preview {
  width: 94%;
  height: auto;
  max-height: 98%;
  object-fit: contain;
  filter: drop-shadow(0 28px 38px rgba(0, 6, 22, 0.5));
}

.features {
  width: min(calc(100% - 48px), var(--content-width));
  margin: 0 auto;
  padding-bottom: clamp(112px, 14vw, 176px);
}

.section-heading {
  max-width: 680px;
  margin: 0 auto 54px;
  text-align: center;
}

.section-heading h2 {
  margin-top: 16px;
  margin-bottom: 18px;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 760;
  letter-spacing: -0.052em;
  line-height: 1.02;
}

.section-heading p {
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: 1.1rem;
}

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

.feature-card {
  --card-color: 68, 157, 255;
  position: relative;
  isolation: isolate;
  min-height: 310px;
  overflow: hidden;
  border: 1px solid rgba(var(--card-color), 0.2);
  border-radius: 24px;
  padding: clamp(28px, 4vw, 42px);
  background:
    linear-gradient(145deg, rgba(var(--card-color), 0.13), transparent 56%),
    var(--surface);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.05),
    0 18px 38px rgba(0, 6, 22, 0.12);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.feature-card:nth-child(2) {
  --card-color: 61, 211, 180;
}

.feature-card:nth-child(3) {
  --card-color: 178, 112, 255;
}

.feature-card:nth-child(4) {
  --card-color: 255, 163, 76;
}

.feature-card::before {
  position: absolute;
  top: -120px;
  right: -104px;
  z-index: -1;
  width: 250px;
  height: 250px;
  border: 1px solid rgba(var(--card-color), 0.18);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--card-color), 0.18), transparent 67%);
  content: "";
}

.feature-card:hover {
  border-color: rgba(var(--card-color), 0.38);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.06),
    0 25px 52px rgba(0, 6, 22, 0.24);
  transform: translateY(-6px) rotate(0.3deg);
}

.feature-card:nth-child(even):hover {
  transform: translateY(-6px) rotate(-0.3deg);
}

.feature-card-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 36px;
}

.feature-icon {
  width: 50px;
  height: 50px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(var(--card-color), 0.26);
  border-radius: 14px;
  color: rgb(var(--card-color));
  background: rgba(var(--card-color), 0.14);
  box-shadow: 0 12px 28px rgba(var(--card-color), 0.13);
  transform: rotate(-5deg);
  transition: transform 180ms ease;
}

.feature-card:hover .feature-icon {
  transform: rotate(4deg) scale(1.06);
}

.feature-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.feature-card h3 {
  position: relative;
  z-index: 1;
  margin-bottom: 12px;
  font-size: 1.22rem;
  letter-spacing: -0.025em;
}

.feature-card p {
  position: relative;
  z-index: 1;
  max-width: 46ch;
  margin-bottom: 0;
  color: var(--text-muted);
  line-height: 1.7;
}

.feature-tag {
  max-width: none;
  border: 1px solid rgba(var(--card-color), 0.2);
  border-radius: 999px;
  padding: 7px 10px;
  color: rgba(240, 247, 255, 0.82);
  background: rgba(var(--card-color), 0.1);
  font-size: 0.68rem;
  font-weight: 720;
  letter-spacing: 0.07em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 58px 0 38px;
  background: var(--background-deep);
}

.footer-inner {
  width: min(calc(100% - 48px), var(--content-width));
  display: grid;
  justify-items: center;
  gap: 0;
  margin: 0 auto;
  text-align: center;
}

.footer-brand {
  margin-bottom: 18px;
}

.footer-hosting,
.footer-copyright {
  color: #71839e;
  font-size: 0.78rem;
}

.footer-hosting {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 28px;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.footer-hosting span {
  font-size: 1.05rem;
}

.footer-support {
  margin: 0 0 26px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-support a {
  color: #8dc9ff;
  font-weight: 650;
  text-decoration: none;
}

.footer-support a:hover {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-legal {
  display: flex;
  gap: 24px;
  margin-bottom: 14px;
}

.footer-legal a {
  color: var(--text-muted);
  font-size: 0.88rem;
  text-decoration: none;
}

.footer-legal a:hover {
  color: var(--text);
}

.footer-copyright {
  margin-bottom: 0;
}

:focus-visible {
  outline: 3px solid rgba(98, 181, 255, 0.88);
  outline-offset: 4px;
}

@media (max-width: 760px) {
  .header-inner,
  .footer-inner,
  .features {
    width: min(calc(100% - 36px), var(--content-width));
  }

  .header-inner {
    min-height: 68px;
  }

  .hero {
    padding-top: 88px;
  }

  h1 {
    letter-spacing: -0.057em;
  }

  .product-section {
    width: calc(100% - 36px);
  }

  .product-stage {
    border-radius: 28px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 0;
  }

}

@media (max-width: 450px) {
  .brand img {
    width: 34px;
  }

  .brand {
    font-size: 1.06rem;
  }

  .eyebrow {
    font-size: 0.65rem;
    letter-spacing: 0.09em;
  }

  .hero-copy {
    font-size: 1.03rem;
  }

}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
