:root {
  color-scheme: dark;
  --bg: #07090d;
  --bg-soft: #10141b;
  --bg-panel: #151b24;
  --text: #f7f8fb;
  --muted: #aeb7c5;
  --line: rgba(255, 255, 255, 0.12);
  --red: #ef3434;
  --red-dark: #b51620;
  --cyan: #3ec8ff;
  --green: #8ed94e;
  --yellow: #ffd43a;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

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

.site-header {
  align-items: center;
  background: rgba(7, 9, 13, 0.72);
  border-bottom: 1px solid transparent;
  display: flex;
  height: 76px;
  justify-content: space-between;
  left: 0;
  padding: 0 clamp(18px, 4vw, 64px);
  position: fixed;
  right: 0;
  top: 0;
  transition: background 180ms ease, border-color 180ms ease, backdrop-filter 180ms ease;
  z-index: 20;
}

.site-header.is-scrolled {
  backdrop-filter: blur(18px);
  background: rgba(7, 9, 13, 0.92);
  border-color: var(--line);
}

.brand {
  align-items: center;
  display: inline-flex;
  font-size: 1.1rem;
  font-weight: 800;
  gap: 10px;
  letter-spacing: 0;
}

.brand-mark {
  height: 38px;
  width: 38px;
}

.nav-links {
  align-items: center;
  display: flex;
  gap: 6px;
}

.nav-links a {
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 10px 14px;
  transition: background 160ms ease, color 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  outline: none;
}

.nav-links .nav-cta {
  background: var(--red);
  color: #fff;
  margin-left: 8px;
}

.nav-links .nav-cta:hover,
.nav-links .nav-cta:focus-visible {
  background: #ff4646;
}

.nav-toggle {
  align-items: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: none;
  flex-direction: column;
  gap: 5px;
  height: 42px;
  justify-content: center;
  padding: 0;
  width: 42px;
}

.nav-toggle span {
  background: var(--text);
  border-radius: 99px;
  display: block;
  height: 2px;
  width: 18px;
}

.hero {
  display: grid;
  min-height: 92vh;
  overflow: hidden;
  place-items: end start;
  position: relative;
}

.hero-bg,
.hero-overlay {
  inset: 0;
  position: absolute;
}

.hero-bg {
  background-image: url("assets/hero-carview-auto-v2.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 9, 13, 0.96) 0%, rgba(7, 9, 13, 0.78) 38%, rgba(7, 9, 13, 0.28) 74%, rgba(7, 9, 13, 0.58) 100%),
    linear-gradient(0deg, rgba(7, 9, 13, 0.96) 0%, rgba(7, 9, 13, 0.08) 46%, rgba(7, 9, 13, 0.78) 100%);
}

.hero-content {
  max-width: 760px;
  padding: 142px clamp(20px, 7vw, 96px) 56px;
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-kicker {
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 14px;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(4rem, 12vw, 9.8rem);
  letter-spacing: 0;
  line-height: 0.9;
  margin-bottom: 22px;
  text-shadow: 0 14px 42px rgba(0, 0, 0, 0.7);
}

h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  letter-spacing: 0;
  line-height: 1.06;
  margin-bottom: 20px;
}

h3 {
  font-size: 1.1rem;
  line-height: 1.25;
  margin-bottom: 10px;
}

.hero-copy {
  color: #e6ebf2;
  font-size: clamp(1rem, 1.8vw, 1.28rem);
  max-width: 660px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0;
}

.button {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button.primary {
  background: var(--red);
  box-shadow: 0 16px 40px rgba(239, 52, 52, 0.28);
  color: #fff;
}

.button.primary:hover,
.button.primary:focus-visible {
  background: #ff4646;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  color: #fff;
}

.hero-stats {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 700px;
}

.hero-stats div {
  border-left: 3px solid var(--red);
  min-width: 0;
  padding-left: 14px;
}

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats strong {
  color: #fff;
  font-size: 1rem;
}

.hero-stats span {
  color: var(--muted);
  font-size: 0.86rem;
}

.section,
.section-band,
.cta-section {
  padding: clamp(72px, 9vw, 128px) 0;
}

.section-band {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)),
    var(--bg-soft);
}

.section-inner {
  margin: 0 auto;
  max-width: 1200px;
  padding: 0 clamp(20px, 4vw, 40px);
}

.section-heading {
  margin-bottom: 34px;
  max-width: 780px;
}

.section-heading p:last-child,
.intro-grid p,
.showcase-grid p,
.faq-grid p,
.cta-inner p {
  color: var(--muted);
}

.intro-grid,
.showcase-grid,
.faq-grid,
.cta-inner {
  align-items: center;
  display: grid;
  gap: clamp(28px, 5vw, 76px);
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
}

.intro-points {
  display: grid;
  gap: 14px;
}

.intro-points div {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 14px;
  grid-template-columns: 46px 1fr;
  padding: 18px;
}

.intro-points span {
  align-items: center;
  background: rgba(62, 200, 255, 0.12);
  border: 1px solid rgba(62, 200, 255, 0.34);
  border-radius: 8px;
  color: var(--cyan);
  display: inline-flex;
  font-weight: 800;
  height: 46px;
  justify-content: center;
}

.intro-points p {
  align-self: center;
  margin: 0;
}

.story-grid {
  align-items: center;
  display: grid;
  gap: clamp(28px, 5vw, 76px);
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.88fr);
}

.story-grid p {
  color: var(--muted);
}

.story-panel {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 28px;
}

.story-list {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 20px 0 24px;
  padding: 0;
}

.story-list li {
  color: #e6ebf2;
  padding-left: 30px;
  position: relative;
}

.story-list li::before {
  color: var(--green);
  content: "✓";
  font-weight: 800;
  left: 0;
  position: absolute;
  top: 0;
}

.story-note {
  background: rgba(239, 52, 52, 0.12);
  border: 1px solid rgba(239, 52, 52, 0.34);
  border-radius: 8px;
  margin: 0;
  padding: 14px 16px;
}

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

.feature-card,
.version-card,
.payment-card,
.steps article,
.faq-list details {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.feature-card {
  min-height: 230px;
  padding: 24px;
}

.feature-card p,
.version-card p,
.version-card li,
.payment-card p,
.steps p,
.faq-list p {
  color: var(--muted);
}

.feature-icon {
  align-items: center;
  background: rgba(239, 52, 52, 0.14);
  border: 1px solid rgba(239, 52, 52, 0.36);
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 800;
  height: 48px;
  justify-content: center;
  margin-bottom: 22px;
  width: 58px;
}

.feature-card:nth-child(2) .feature-icon,
.feature-card:nth-child(5) .feature-icon {
  background: rgba(255, 212, 58, 0.12);
  border-color: rgba(255, 212, 58, 0.34);
  color: var(--yellow);
}

.feature-card:nth-child(3) .feature-icon,
.feature-card:nth-child(4) .feature-icon {
  background: rgba(62, 200, 255, 0.12);
  border-color: rgba(62, 200, 255, 0.34);
  color: var(--cyan);
}

.feature-card:nth-child(6) .feature-icon {
  background: rgba(142, 217, 78, 0.13);
  border-color: rgba(142, 217, 78, 0.34);
  color: var(--green);
}

.showcase-image {
  margin: 0;
}

.showcase-image img,
.gallery figure img {
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.gallery figure img {
  background: #080a0f;
  height: auto;
  object-fit: contain;
}

.text-link {
  color: var(--cyan);
  display: inline-flex;
  font-weight: 800;
  margin-top: 12px;
}

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

.version-card {
  padding: 28px;
}

.version-card.highlighted {
  border-color: rgba(239, 52, 52, 0.62);
}

.version-top {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  margin-bottom: 14px;
}

.version-top span {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: var(--green);
  flex-shrink: 0;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 6px 10px;
}

.version-card ul {
  margin: 22px 0 0;
  padding-left: 20px;
}

.payment-grid {
  align-items: center;
  display: grid;
  gap: clamp(28px, 5vw, 76px);
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1fr);
}

.payment-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 18px;
}

.payment-badges span {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 8px 12px;
}

.payment-note {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 0;
}

.payment-plans {
  display: grid;
  gap: 16px;
}

.payment-card {
  padding: 26px;
}

.payment-card.featured {
  border-color: rgba(239, 52, 52, 0.62);
}

.payment-card-top {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  margin-bottom: 14px;
}

.payment-card-top span {
  background: rgba(62, 200, 255, 0.12);
  border-radius: 8px;
  color: var(--cyan);
  flex-shrink: 0;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 6px 10px;
}

.payment-card .button {
  margin-top: 14px;
  width: 100%;
}

.donation-grid {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.donation-card {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}

.donation-card strong {
  color: var(--yellow);
  display: block;
  font-size: 1.8rem;
  line-height: 1;
  margin-bottom: 10px;
}

.donation-card h3 {
  margin-bottom: 8px;
}

.donation-card p {
  margin-bottom: 0;
}

.qr-image {
  background: #fff;
  border-radius: 8px;
  margin: 18px auto;
  max-height: 520px;
  object-fit: contain;
  width: min(100%, 320px);
}

.youtube-grid {
  align-items: center;
  display: grid;
  gap: clamp(28px, 5vw, 76px);
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
}

.youtube-grid p {
  color: var(--muted);
}

.youtube-card {
  align-items: flex-start;
  background:
    linear-gradient(145deg, rgba(239, 52, 52, 0.22), rgba(62, 200, 255, 0.1)),
    var(--bg-panel);
  border: 1px solid rgba(239, 52, 52, 0.44);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  min-height: 260px;
  padding: 28px;
}

.youtube-play {
  align-items: center;
  background: var(--red);
  border-radius: 999px;
  box-shadow: 0 16px 40px rgba(239, 52, 52, 0.28);
  display: inline-flex;
  font-size: 1.5rem;
  height: 72px;
  justify-content: center;
  margin-bottom: 26px;
  width: 72px;
}

.youtube-card strong {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.youtube-card span:last-child {
  color: var(--muted);
}

.install-links {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

.install-card {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  min-height: 190px;
  padding: 22px;
}

.install-card span {
  color: var(--cyan);
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.install-card strong {
  display: block;
  font-size: 1.05rem;
  line-height: 1.3;
  margin-bottom: 10px;
}

.install-card small {
  color: var(--muted);
  display: block;
  font-size: 0.9rem;
}

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

.steps article {
  min-height: 250px;
  padding: 24px;
}

.steps span {
  align-items: center;
  background: var(--red);
  border-radius: 8px;
  display: inline-flex;
  font-weight: 800;
  height: 42px;
  justify-content: center;
  margin-bottom: 22px;
  width: 42px;
}

.gallery-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

.gallery figure {
  margin: 0;
  min-width: 0;
}

.faq-grid {
  align-items: start;
}

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

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

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

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

.cta-section {
  background:
    linear-gradient(90deg, rgba(181, 22, 32, 0.94), rgba(239, 52, 52, 0.8)),
    var(--red-dark);
}

.cta-inner {
  grid-template-columns: minmax(0, 1fr) auto;
}

.cta-inner .section-kicker,
.cta-inner p {
  color: rgba(255, 255, 255, 0.82);
}

.cta-inner h2 {
  margin-bottom: 12px;
}

.cta-inner .button.primary {
  background: #fff;
  color: var(--red-dark);
}

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

.footer-inner {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
}

.footer-inner p {
  color: var(--muted);
  margin: 0;
  text-align: right;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-flex;
    position: relative;
    z-index: 22;
  }

  .nav-links {
    align-items: stretch;
    background: rgba(7, 9, 13, 0.98);
    border-left: 1px solid var(--line);
    bottom: 0;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 360px;
    padding: 92px 20px 28px;
    position: fixed;
    right: 0;
    top: 0;
    transform: translateX(100%);
    transition: transform 180ms ease;
    width: 82vw;
  }

  .nav-links.is-open {
    transform: translateX(0);
  }

  .nav-links .nav-cta {
    margin-left: 0;
    text-align: center;
  }

  .hero {
    min-height: 90vh;
  }

  .hero-bg {
    background-position: 66% center;
  }

  .intro-grid,
  .showcase-grid,
  .faq-grid,
  .payment-grid,
  .story-grid,
  .youtube-grid,
  .cta-inner {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .steps,
  .install-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-inner .button {
    justify-self: start;
  }
}

@media (max-width: 720px) {
  .site-header {
    height: 68px;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-content {
    padding-bottom: 42px;
  }

  .hero-stats,
  .feature-grid,
  .version-grid,
  .steps,
  .install-links {
    grid-template-columns: 1fr;
  }

  .hero-actions .button {
    width: 100%;
  }

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

  .footer-inner p {
    text-align: left;
  }
}

@media (max-width: 460px) {
  .brand span {
    font-size: 1rem;
  }

  h1 {
    font-size: clamp(3.4rem, 19vw, 5.5rem);
  }

  h2 {
    font-size: 1.8rem;
  }

  .intro-points div {
    grid-template-columns: 1fr;
  }
}
