:root {
  --color-background: #0a0a12;
  --color-surface: #16161f;
  --color-surface-dark: #2a2a3e;
  --color-surface-border: #2e2e38;
  --color-primary: #9ae600;
  --color-primary-dark: #7fc500;
  --color-primary-light: #d9f39d;
  --color-text-primary: #f5f5f7;
  --color-text-secondary: #a8a8b0;
  --color-text-muted: #6e6e78;
  --color-accent-blue: #2196f3;
  --color-accent-orange: #ff9800;
  --color-accent-red: #f44336;
  --color-accent-purple: #ce82ff;
  --color-accent-gold: #ffc800;
  --color-grade-s: #ffc800;
  --color-grade-a: #4caf50;
  --color-grade-b: #2196f3;
  --color-grade-c: #ff9800;
  --color-grade-d: #f44336;
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  background: var(--color-background);
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at top right, rgba(154, 230, 0, 0.13), transparent 32rem),
    linear-gradient(180deg, #0a0a12 0%, #11111a 42%, #0a0a12 100%);
  color: var(--color-text-primary);
}

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

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

.site-shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(46, 46, 56, 0.76);
  background: rgba(10, 10, 18, 0.86);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 14px 0;
  gap: 18px;
}

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

.brand-mark {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 11px;
  background: rgba(154, 230, 0, 0.08);
  box-shadow: 0 0 28px rgba(154, 230, 0, 0.22);
}

.brand-mark img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  min-width: 0;
  max-width: 100%;
  gap: 6px;
  color: var(--color-text-secondary);
  font-size: 14px;
}

.nav-links a {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 9px 12px;
  white-space: nowrap;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-text-primary);
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.78fr);
  gap: 52px;
  align-items: center;
  padding: 72px 0 48px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  border: 1px solid rgba(154, 230, 0, 0.32);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--color-primary-light);
  background: rgba(154, 230, 0, 0.08);
  font-size: 13px;
  font-weight: 700;
}

.hero h1 {
  margin: 0;
  font-size: clamp(48px, 8vw, 96px);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-lead {
  margin: 22px 0 0;
  max-width: 620px;
  color: var(--color-text-secondary);
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 20px;
  border: 1px solid transparent;
  font-weight: 800;
}

.button.primary {
  color: #10140a;
  background: var(--color-primary);
}

.button.secondary {
  color: var(--color-text-primary);
  border-color: var(--color-surface-border);
  background: rgba(255, 255, 255, 0.04);
}

.hero-showcase {
  position: relative;
  min-height: 660px;
  isolation: isolate;
}

.hero-showcase::before {
  position: absolute;
  inset: 7% -6% 10% 2%;
  z-index: -1;
  border: 1px solid rgba(154, 230, 0, 0.2);
  border-radius: 36px;
  background:
    radial-gradient(circle at 70% 16%, rgba(154, 230, 0, 0.24), transparent 18rem),
    linear-gradient(180deg, rgba(42, 42, 62, 0.48), rgba(22, 22, 31, 0.22));
  content: "";
}

.phone-frame {
  overflow: hidden;
  border: 1px solid rgba(154, 230, 0, 0.32);
  border-radius: 34px;
  background: #0f0f18;
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.38),
    0 0 0 8px rgba(255, 255, 255, 0.025);
}

.phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-phone {
  position: absolute;
  aspect-ratio: 1206 / 2622;
}

.hero-phone.main {
  top: 24px;
  right: 64px;
  width: min(68%, 300px);
}

.hero-phone.secondary {
  right: 0;
  bottom: 10px;
  width: min(52%, 224px);
  transform: rotate(4deg);
  opacity: 0.98;
}

.showcase-badge {
  position: absolute;
  display: grid;
  min-width: 118px;
  gap: 4px;
  border: 1px solid rgba(154, 230, 0, 0.24);
  border-radius: 18px;
  padding: 14px 16px;
  background: rgba(10, 10, 18, 0.78);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(16px);
}

.showcase-badge.score {
  top: 110px;
  left: 0;
}

.showcase-badge.grade {
  right: 36px;
  bottom: 152px;
}

.showcase-badge strong {
  margin: 0;
  color: var(--color-primary);
  font-size: 30px;
  line-height: 1;
  font-weight: 900;
}

.showcase-badge span {
  color: var(--color-text-secondary);
  font-size: 12px;
  font-weight: 700;
}

.section {
  padding: 70px 0;
}

.section-header {
  max-width: 720px;
  margin-bottom: 28px;
}

.section-header h2 {
  margin: 0;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.02;
  letter-spacing: 0;
}

.section-header p {
  margin: 16px 0 0;
  color: var(--color-text-secondary);
  font-size: 17px;
  line-height: 1.8;
}

.grid {
  display: grid;
  gap: 16px;
}

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

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

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

.screenshot-card {
  display: grid;
  gap: 14px;
  margin: 0;
}

.screenshot-card .phone-frame {
  aspect-ratio: 1206 / 2622;
  border-radius: 30px;
}

.screenshot-card figcaption {
  color: var(--color-text-primary);
  font-size: 15px;
  font-weight: 800;
  text-align: center;
}

.card {
  border: 1px solid var(--color-surface-border);
  border-radius: 20px;
  padding: 22px;
  background: rgba(22, 22, 31, 0.86);
}

.card h3 {
  margin: 0;
  font-size: 20px;
}

.card p,
.card li {
  color: var(--color-text-secondary);
  line-height: 1.75;
}

.card p:last-child {
  margin-bottom: 0;
}

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

.stat {
  border: 1px solid var(--color-surface-border);
  border-radius: 18px;
  padding: 18px;
  background: rgba(42, 42, 62, 0.55);
}

.stat strong {
  display: block;
  color: var(--color-primary);
  font-size: 32px;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 8px;
  color: var(--color-text-secondary);
  font-size: 13px;
}

.pricing {
  align-items: stretch;
}

.price {
  margin: 18px 0 8px;
  font-size: 38px;
  font-weight: 900;
}

.price small {
  color: var(--color-text-muted);
  font-size: 15px;
}

.legal-page {
  width: min(880px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0 80px;
}

.legal-page h1 {
  margin: 0;
  font-size: clamp(34px, 6vw, 56px);
}

.legal-page h2 {
  margin-top: 42px;
  border-top: 1px solid var(--color-surface-border);
  padding-top: 28px;
  font-size: 24px;
}

.legal-page p,
.legal-page li {
  color: var(--color-text-secondary);
  line-height: 1.9;
}

.legal-page table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  overflow: hidden;
  border: 1px solid var(--color-surface-border);
  border-radius: 16px;
}

.legal-page th,
.legal-page td {
  border-bottom: 1px solid var(--color-surface-border);
  padding: 14px;
  text-align: left;
  vertical-align: top;
}

.legal-page th {
  width: 32%;
  color: var(--color-text-primary);
  background: rgba(255, 255, 255, 0.03);
}

.site-footer {
  border-top: 1px solid var(--color-surface-border);
  padding: 34px 0;
  color: var(--color-text-muted);
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

@media (max-width: 860px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero,
  .grid.two,
  .grid.three,
  .screenshot-gallery,
  .stat-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 42px;
  }

  .hero-showcase {
    min-height: 560px;
    margin-top: 8px;
  }

  .hero-phone.main {
    left: 50%;
    right: auto;
    width: min(72%, 280px);
    transform: translateX(-50%);
  }

  .hero-phone.secondary {
    right: 0;
    bottom: 0;
    width: min(43%, 170px);
  }

  .showcase-badge.score {
    top: 76px;
    left: 0;
  }

  .showcase-badge.grade {
    right: 0;
    bottom: 112px;
  }

  .section {
    padding: 50px 0;
  }

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