:root {
  --bg: #030406;
  --bg-soft: #0b0f19;
  --surface: rgba(24, 26, 33, 0.9);
  --surface-strong: rgba(33, 35, 43, 0.98);
  --surface-muted: rgba(53, 56, 68, 0.78);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(127, 155, 255, 0.22);
  --text: #f5f7fb;
  --text-soft: #b6bed1;
  --text-muted: #8d95aa;
  --blue: #5f86ff;
  --blue-strong: #3d63e2;
  --blue-soft: #8ab3ff;
  --green: #80d76e;
  --green-deep: rgba(45, 95, 37, 0.68);
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --content-width: 1180px;
}

* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 16%, rgba(40, 68, 164, 0.38), transparent 20rem),
    radial-gradient(circle at 82% 28%, rgba(75, 110, 255, 0.12), transparent 18rem),
    linear-gradient(180deg, #050608 0%, #030406 40%, #070b13 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 85%);
}

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

button,
input,
textarea,
select {
  font: inherit;
}

.site-shell {
  width: min(calc(100% - 2rem), var(--content-width));
  margin: 0 auto;
  padding: 1rem 0 4rem;
}

.topbar {
  position: sticky;
  top: 1rem;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.1rem;
  margin-bottom: 2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(10, 11, 15, 0.78);
  backdrop-filter: blur(20px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

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

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  letter-spacing: -0.03em;
}

.brand small {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  overflow: hidden;
  border-radius: 0.95rem;
  background:
    radial-gradient(circle at 30% 30%, rgba(104, 140, 255, 0.45), transparent 35%),
    #0e1430;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 35px rgba(50, 92, 255, 0.28);
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav a {
  color: var(--text-soft);
  font-size: 0.95rem;
}

.menu-toggle {
  display: none;
  width: 2.8rem;
  height: 2.8rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.menu-toggle span {
  display: block;
  width: 1rem;
  height: 2px;
  margin: 0.22rem auto;
  background: currentColor;
  border-radius: 999px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.85rem 1.3rem;
  border-radius: 999px;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
  max-width: 100%;
  text-align: center;
  white-space: normal;
}

.button-icon {
  flex: 0 0 auto;
  width: 1.15rem;
  height: 1.15rem;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: white;
  background: linear-gradient(135deg, var(--blue-strong), var(--blue-soft));
  box-shadow: 0 18px 45px rgba(73, 117, 255, 0.35);
}

.button-secondary,
.button-ghost {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.hero {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 3rem;
  align-items: center;
  padding: 4rem 0 3rem;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.status-pill,
.eyebrow {
  width: fit-content;
  border-radius: 999px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 1rem;
  margin-bottom: 1rem;
  color: #a9eaa0;
  background: var(--green-deep);
  border: 1px solid rgba(128, 215, 110, 0.18);
}

.status-dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0.35rem rgba(128, 215, 110, 0.15);
}

.eyebrow {
  margin: 0 0 1rem;
  padding: 0.35rem 0.7rem;
  color: var(--blue-soft);
  background: rgba(84, 116, 255, 0.08);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.glass-card h2 {
  margin: 0;
  letter-spacing: -0.05em;
  line-height: 0.96;
}

.hero h1 {
  max-width: 11ch;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(3rem, 7vw, 5rem);
}

.hero-text,
.section-heading p,
.glass-card p,
.step-card p,
.trust-card p,
.metric-card p,
.faq-item p,
.build-option p {
  color: var(--text-soft);
  line-height: 1.7;
}

.hero-text {
  max-width: 58ch;
  font-size: 1.05rem;
  margin: 1.4rem 0 0;
}

.hero-subtitle {
  margin: 1rem 0 0;
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  line-height: 1.4;
  color: var(--text);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.8rem 0 1.6rem;
}

.release-card {
  position: relative;
  display: block;
  width: 100%;
  max-width: 40rem;
  margin-top: 1.5rem;
  padding: 1.15rem;
  overflow: hidden;
  border: 1px solid rgba(138, 179, 255, 0.24);
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at top right, rgba(95, 134, 255, 0.2), transparent 45%),
    linear-gradient(135deg, rgba(28, 32, 46, 0.96), rgba(16, 19, 29, 0.94));
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

.release-card::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  content: "";
}

.release-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.9rem;
  padding: 0.5rem 0.7rem;
  border: 1px solid rgba(128, 215, 110, 0.3);
  border-radius: 999px;
  color: #a9eaa0;
  background: rgba(45, 95, 37, 0.48);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
  animation: release-badge-glow 2.4s ease-in-out infinite;
}

@keyframes release-badge-glow {
  0%, 100% {
    box-shadow: 0 0 0 rgba(128, 215, 110, 0), 0 0 12px rgba(128, 215, 110, 0.18);
  }
  50% {
    box-shadow: 0 0 10px rgba(169, 234, 160, 0.55), 0 0 24px rgba(128, 215, 110, 0.38);
  }
}

.release-card-content strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.08rem;
}

.release-card-content p {
  margin: 0.45rem 0 0.65rem;
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.6;
}

.release-card-content a {
  position: relative;
  z-index: 1;
  color: var(--blue-soft);
  font-size: 0.9rem;
  font-weight: 800;
}

.release-card-content a:hover {
  color: #ffffff;
}

.release-card-content a:focus-visible {
  border-radius: 0.25rem;
  outline: 3px solid rgba(138, 179, 255, 0.35);
  outline-offset: 0.2rem;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  padding: 0;
  margin: 1.2rem 0 0;
  list-style: none;
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-soft);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
}

.hero-point-label {
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-points strong {
  color: var(--text);
  font-size: 0.95rem;
  font-family: "Space Grotesk", sans-serif;
}

.hero-panel {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: auto 8% 10% 8%;
  height: 60%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(62, 101, 255, 0.25), transparent 70%);
  filter: blur(18px);
}

.app-shot,
.metric-card,
.step-card,
.glass-card,
.trust-card,
.faq-item {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(28, 30, 38, 0.96), rgba(18, 20, 26, 0.95));
  box-shadow: var(--shadow);
}

.app-shot {
  margin: 0;
  width: auto;
  padding: 0;
  overflow: visible;
  background: none;
  border: 0;
  box-shadow: none;
}

.app-shot img {
  margin-left: auto;
  margin-right: auto;
  display: block;
  width: 80%;
  height: auto;
  object-fit: cover;
  border-radius: calc(var(--radius-xl) - 6px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.metrics,
.steps-grid,
.trust-grid {
  display: grid;
  gap: 1.2rem;
}

.metrics {
  grid-template-columns: repeat(3, 1fr);
  margin: 1rem 0 0;
}

.metric-card,
.step-card,
.trust-card {
  padding: 1.6rem;
}

.metric-card p,
.trust-card p,
.step-card p {
  margin: 0;
}

.metric-card strong,
.build-option strong,
.trust-card h3,
.step-card h4 {
  font-family: "Space Grotesk", sans-serif;
}

.metric-card strong {
  font-size: 1.1rem;
}

.section {
  padding: 2rem 0;
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  max-width: 44rem;
  margin-bottom: 1.6rem;
}

.section-heading h2,
.glass-card h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.9rem, 4.4vw, 2.9rem);
}

.section-heading p,
.glass-card p {
  margin: 0;
}

.steps-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

#why .steps-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

#how-to-use-sideInstaller .steps-grid {
  grid-template-columns: 1fr;
}

#how-to-use-sideInstaller .step-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 1rem;
  row-gap: 0.9rem;
  align-items: start;
}

#how-to-use-sideInstaller .step-card span {
  align-self: start;
  margin-bottom: 0;
}

#how-to-use-sideInstaller .step-card h4,
#how-to-use-sideInstaller .step-card p,
#how-to-use-sideInstaller .step-card .detail-list,
#how-to-use-sideInstaller .step-card .button {
  grid-column: 2;
}

#how-to-use-sideInstaller .step-card .button {
  justify-self: start;
}

#how-to-use-sideInstaller .step-card p a {
  color: #ffffff;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.55);
  text-underline-offset: 0.2em;
}

#how-to-use-sideInstaller .step-card span,
#how-to-use-sideInstaller .step-card .detail-list:first-of-type,
#how-to-use-sideInstaller .step-card p:first-of-type {
  margin-top: 0;
}

#how-to-use-sideInstaller .step-card > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  height: 2.4rem;
  padding: 0 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.3rem;
  color: var(--blue-soft);
  background: rgba(95, 134, 255, 0.12);
  border: 1px solid rgba(95, 134, 255, 0.18);
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
}

.step-card {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.step-card .detail-list,
.trust-card .detail-list,
.glass-card .detail-list {
  margin-top: 0;
}

.split-section {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}

.glass-card {
  padding: 2rem;
}

.online-guide > h3 {
  margin: 2rem 0 0.7rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
}

.online-guide > h4 {
  margin: 1.7rem 0 0.45rem;
  color: var(--text);
  font-size: 1.05rem;
}

.online-guide > h2 + p {
  margin-top: 1.2rem;
}

.online-guide > p + p {
  margin-top: 0.75rem;
}

.accent-card {
  background:
    radial-gradient(circle at top right, rgba(95, 134, 255, 0.18), transparent 35%),
    linear-gradient(180deg, rgba(28, 30, 38, 0.96), rgba(18, 20, 26, 0.95));
}

.detail-list {
  padding-left: 1.1rem;
  margin: 1.3rem 0 0;
  color: var(--text-soft);
  line-height: 1.9;
}

.feature-list {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
  color: var(--text-soft);
  line-height: 1.95;
  font-size: 1.02rem;
}

.feature-list li + li {
  margin-top: 0.45rem;
}

.build-option + .build-option {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.trust-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.updates-heading {
  max-width: 50rem;
}

.updates-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
}

.version-badge {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(128, 215, 110, 0.28);
  border-radius: 999px;
  color: #a9eaa0;
  background: rgba(45, 95, 37, 0.45);
  box-shadow: 0 0 18px rgba(128, 215, 110, 0.12);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.updates-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.update-card {
  position: relative;
  padding: 1.6rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(28, 30, 38, 0.96), rgba(18, 20, 26, 0.95));
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.3);
}

.update-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: var(--update-accent, var(--blue));
  content: "";
}

.update-card-features { --update-accent: #8ab3ff; }
.update-card-security { --update-accent: #80d76e; }
.update-card-tunnel { --update-accent: #74d7e8; }
.update-card-fixes { --update-accent: #c1a2ff; }

.update-card h3 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.15rem;
}

.update-card h3 span {
  font-family: "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
}

.update-list {
  display: grid;
  gap: 0.75rem;
  padding: 0;
  margin: 1.15rem 0 0;
  color: var(--text-soft);
  line-height: 1.65;
  list-style: none;
}

.update-list li {
  position: relative;
  padding-left: 1.45rem;
}

.update-list li::before {
  position: absolute;
  top: 0.1em;
  left: 0;
  color: var(--update-accent, var(--blue-soft));
  font-weight: 800;
  content: "\2713";
}

.update-list code {
  color: var(--text);
  font-family: inherit;
  font-weight: 700;
}

.updates-summary {
  max-width: 50rem;
  margin-top: 1.2rem;
  color: var(--text-soft);
  line-height: 1.65;
}

.trust-card h3,
.step-card h3,
.step-card h4 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.05rem, 1.8vw, 1.18rem);
  line-height: 1.3;
}

#why .step-card h3 {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.feature-icon {
  display: inline-block;
  flex: 0 0 auto;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
  font-size: 1.45rem;
  line-height: 1;
}

.section-heading h3 {
  margin: 0.1rem 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.08rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

#how-to-use-sideInstaller .section-heading h3 {
  margin-top: 0.35rem;
  font-size: 1.18rem;
  color: var(--text);
  line-height: 1.45;
}

.faq-section {
  padding-bottom: 1rem;
}

.faq-list {
  display: grid;
  gap: 0.9rem;
}

.faq-item {
  padding: 1.15rem 1.3rem;
}

.faq-item summary {
  cursor: pointer;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 0.9rem 0 0;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem 0 1rem;
  color: var(--text-muted);
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

@media (max-width: 980px) {
  .hero,
  .split-section,
  .metrics,
  .steps-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 2rem;
    padding-top: 2.2rem;
  }

  .hero h1 {
    max-width: 12ch;
  }

  #why .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .topbar {
    flex-wrap: wrap;
    border-radius: 1.3rem;
  }

  .menu-toggle {
    display: inline-block;
  }

  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-top: 0.5rem;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 0.55rem 0.1rem;
  }
}

@media (max-width: 760px) {
  .site-shell {
    width: min(calc(100% - 1rem), var(--content-width));
    padding-top: 0.5rem;
  }

  .topbar {
    top: 0.5rem;
  }

  .app-shot,
  .metric-card,
  .step-card,
  .glass-card,
  .trust-card,
  .faq-item {
    border-radius: 1.6rem;
  }

  #why .steps-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
  }

  #why .step-card {
    min-width: 0;
    width: 100%;
  }

  .section {
    padding: 1.5rem 0;
  }

  .metric-card,
  .step-card,
  .trust-card,
  .glass-card {
    padding: 1.3rem;
  }

  .app-shot img {
    width: min(88%, 34rem);
  }

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

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

}

@media (max-width: 560px) {
  .hero {
    padding-top: 1.4rem;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 15vw, 3.6rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .hero-actions .button {
    width: min(100%, 20rem);
  }

  .release-card {
    padding: 1rem;
  }

  .hero-points {
    flex-direction: column;
  }

  #how-to-use-sideInstaller .step-card {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 0.8rem;
  }

  #how-to-use-sideInstaller .step-card span,
  #how-to-use-sideInstaller .step-card h4,
  #how-to-use-sideInstaller .step-card p,
  #how-to-use-sideInstaller .step-card .detail-list,
  #how-to-use-sideInstaller .step-card .button {
    grid-column: 1;
  }

  #how-to-use-sideInstaller .step-card .button {
    width: 100%;
  }

  .feature-list,
  .detail-list {
    padding-left: 1rem;
  }

  h1,
  h2,
  h3,
  h4,
  p,
  li,
  a {
    overflow-wrap: anywhere;
  }
}

@media (prefers-reduced-motion: reduce) {
  .release-card-badge {
    animation: none;
    box-shadow: 0 0 16px rgba(128, 215, 110, 0.3);
  }
}
