:root {
  color-scheme: dark;
  --bg: #06070c;
  --bg-2: #0c0e16;
  --panel: rgba(255, 255, 255, 0.055);
  --panel-strong: rgba(255, 255, 255, 0.09);
  --border: rgba(255, 255, 255, 0.12);
  --text: #ffffff;
  --text-dim: rgba(235, 235, 245, 0.68);
  --text-muted: rgba(235, 235, 245, 0.45);
  --blue: #3b8cff;
  --orange: #ff7a3d;
  --green: #5be6a8;
  --red: #ff5065;
  --max: 1160px;
  font-family: Inter, ui-rounded, "SF Pro Rounded", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 78% 8%, rgba(59, 140, 255, 0.2), transparent 28rem),
    radial-gradient(circle at 16% 28%, rgba(255, 122, 61, 0.16), transparent 24rem),
    linear-gradient(180deg, #06070c 0%, #0a0d14 44%, #06070c 100%);
  color: var(--text);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 14px 0;
  backdrop-filter: blur(18px);
}

.brand,
.header-actions,
.nav,
.hero-actions,
.proof,
.site-footer,
.site-footer nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 850;
}

.brand img {
  border-radius: 9px;
  box-shadow: 0 8px 28px rgba(59, 140, 255, 0.3);
}

.nav {
  gap: 24px;
  color: var(--text-dim);
  font-size: 14px;
}

.nav a:hover,
.site-footer a:hover {
  color: var(--text);
}

.header-actions {
  gap: 10px;
}

.lang-toggle,
.download-link,
.secondary-action,
.store-button,
.support-form button {
  min-height: 42px;
}

.lang-toggle,
.download-link,
.secondary-action,
.store-button {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font: inherit;
  font-weight: 750;
}

.lang-toggle {
  width: 48px;
  cursor: pointer;
}

.download-link,
.secondary-action,
.store-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 470px;
  gap: 54px;
  align-items: center;
  width: min(100% - 32px, var(--max));
  min-height: calc(100svh - 72px);
  margin: 0 auto;
  padding: 58px 0 74px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(48px, 8vw, 86px);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 9px;
  font-size: 22px;
  line-height: 1.16;
}

.hero-lead,
.section-heading p,
.program-card p,
.feature-list p,
.price-card li,
.faq-list p,
.form-note,
.site-footer p {
  color: var(--text-dim);
  line-height: 1.6;
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 28px;
  font-size: 19px;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
}

.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--orange), #ff9d5d);
  color: #170905;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 18px 42px rgba(255, 122, 61, 0.28);
}

.secondary-action {
  min-width: 150px;
}

.proof {
  flex-wrap: wrap;
  gap: 12px;
  margin: 34px 0 0;
}

.proof div {
  min-width: 132px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.proof dt {
  font-size: 34px;
  font-weight: 950;
}

.proof dd {
  margin: 2px 0 0;
  color: var(--text-muted);
  font-size: 13px;
}

.hero-visual {
  position: relative;
  min-height: 600px;
}

.screenshot-stack {
  display: grid;
  align-items: center;
  justify-items: end;
}

.app-shot {
  height: auto;
  border-radius: 34px;
  background: #080a10;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.42);
}

.hero-shot-main {
  width: min(72vw, 300px);
  grid-area: 1 / 1;
  z-index: 2;
}

.hero-shot-secondary {
  width: min(50vw, 210px);
  grid-area: 1 / 1;
  justify-self: start;
  transform: translate(-8px, 78px) rotate(-4deg);
  opacity: 0.88;
  z-index: 1;
}

.support-form span {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.floating-note {
  position: absolute;
  right: 214px;
  bottom: 52px;
  width: 210px;
  padding: 16px;
  border: 1px solid rgba(91, 230, 168, 0.3);
  border-radius: 8px;
  background: rgba(8, 14, 18, 0.82);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.floating-note strong,
.floating-note span {
  display: block;
}

.floating-note span {
  margin-top: 6px;
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.45;
}

.section {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 92px 0;
}

.band {
  width: 100%;
  max-width: none;
  padding-right: max(16px, calc((100vw - var(--max)) / 2));
  padding-left: max(16px, calc((100vw - var(--max)) / 2));
  background:
    linear-gradient(90deg, rgba(59, 140, 255, 0.08), transparent 44%),
    rgba(255, 255, 255, 0.025);
}

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

.product-shots {
  padding-top: 34px;
  padding-bottom: 76px;
}

.shot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
  justify-items: center;
}

.shot-grid figure {
  display: grid;
  justify-items: center;
  margin: 0;
}

.shot-grid img {
  width: min(100%, 250px);
  max-height: 545px;
  object-fit: contain;
}

.shot-grid figcaption {
  margin-top: 14px;
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.45;
  text-align: center;
}

.align-left {
  margin-left: 0;
  text-align: left;
}

.program-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.program-card,
.price-card,
.feature-list article,
.support-form,
.faq-list details {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--panel);
}

.program-card,
.price-card,
.feature-list article {
  padding: 24px;
}

.program-card.accent,
.price-card.highlighted {
  border-color: rgba(255, 122, 61, 0.42);
  background: linear-gradient(145deg, rgba(255, 122, 61, 0.14), rgba(255, 255, 255, 0.055));
}

.tag {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(59, 140, 255, 0.16);
  color: #9fc8ff;
  font-size: 12px;
  font-weight: 850;
}

.split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 54px;
}

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

.feature-icon {
  display: block;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 8px;
  background: var(--blue);
}

.timer-icon {
  background: conic-gradient(from 40deg, var(--blue), var(--green), var(--blue));
}

.health-icon {
  background: linear-gradient(135deg, var(--red), var(--orange));
}

.progress-icon {
  background: linear-gradient(135deg, var(--green), #b7f6dc);
}

.live-icon {
  background: linear-gradient(135deg, var(--blue), #b59bff);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 16px 0;
}

.gallery img {
  width: 100%;
  aspect-ratio: 1.2;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #10131a;
  object-fit: cover;
}

.compare {
  padding-top: 86px;
}

.pricing-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 820px;
  margin: 0 auto 24px;
}

.price {
  color: var(--green);
  font-size: 22px;
  font-weight: 900;
}

.price-card ul {
  margin: 18px 0 0;
  padding-left: 18px;
}

.price-card li + li {
  margin-top: 10px;
}

.store-button {
  width: fit-content;
  margin: 0 auto;
  background: var(--text);
  color: #07080c;
}

.support-layout {
  display: grid;
  grid-template-columns: minmax(300px, 430px) 1fr;
  gap: 20px;
  align-items: start;
}

.support-form {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.support-form label {
  display: grid;
  gap: 8px;
}

.support-form input,
.support-form textarea,
.support-form select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font: inherit;
}

.support-form input,
.support-form select {
  min-height: 44px;
  padding: 0 12px;
}

.support-form textarea {
  resize: vertical;
  min-height: 136px;
  padding: 12px;
}

.support-form select option {
  color: #05060a;
}

.form-note {
  margin-bottom: 0;
  font-size: 13px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  padding: 18px 20px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 850;
}

.faq-list p {
  margin: 12px 0 0;
}

.site-footer {
  justify-content: space-between;
  gap: 24px;
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 34px 0 44px;
  border-top: 1px solid var(--border);
}

.site-footer p {
  margin: 6px 0 0;
}

.site-footer nav {
  flex-wrap: wrap;
  gap: 16px;
  color: var(--text-dim);
}

.legal {
  max-width: 820px;
}

.legal h1 {
  font-size: clamp(42px, 8vw, 68px);
}

.legal h2 {
  margin-top: 34px;
  font-size: 28px;
}

.legal a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .hero,
  .split,
  .support-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 34px;
  }

  .hero-visual {
    min-height: auto;
  }

  .screenshot-stack {
    justify-items: center;
    min-height: 560px;
  }

  .hero-shot-secondary {
    transform: translate(-74px, 86px) rotate(-4deg);
  }

  .floating-note {
    right: auto;
    bottom: 22px;
    left: 0;
  }

  .program-grid,
  .shot-grid {
    grid-template-columns: 1fr;
  }

  .shot-grid {
    max-width: 330px;
    margin: 0 auto;
  }

  .shot-grid img {
    width: min(100%, 230px);
    max-height: 500px;
  }
}

@media (max-width: 640px) {
  .site-header {
    width: min(100% - 24px, var(--max));
  }

  .brand span {
    display: none;
  }

  .download-link {
    padding: 0 12px;
  }

  .hero,
  .section,
  .gallery,
  .site-footer {
    width: min(100% - 24px, var(--max));
  }

  h1 {
    font-size: clamp(43px, 14vw, 62px);
  }

  .hero-lead {
    font-size: 17px;
  }

  .proof,
  .hero-actions {
    align-items: stretch;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .proof div {
    flex: 1 1 132px;
  }

  .feature-list,
  .pricing-grid,
  .gallery {
    grid-template-columns: 1fr;
  }

  .floating-note {
    position: relative;
    bottom: auto;
    width: 100%;
    margin-top: 12px;
  }

  .screenshot-stack {
    min-height: 500px;
  }

  .hero-shot-main {
    width: min(72vw, 255px);
  }

  .hero-shot-secondary {
    width: min(48vw, 178px);
    transform: translate(-58px, 78px) rotate(-4deg);
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
