:root {
  color-scheme: dark;
  --bg: #050505;
  --panel: #10100f;
  --panel-2: #171714;
  --text: #fbf7ea;
  --muted: #aaa79d;
  --line: rgba(255, 255, 255, 0.11);
  --gold: #ffd200;
  --gold-2: #ff9f1c;
  --blue: #55a8ff;
  --green: #41d889;
  --red: #ff5d5d;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.48);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 78% 12%, rgba(255, 210, 0, 0.14), transparent 28rem),
    radial-gradient(circle at 8% 38%, rgba(65, 216, 137, 0.08), transparent 22rem),
    linear-gradient(180deg, #090907 0%, var(--bg) 45%, #070707 100%);
  color: var(--text);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

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

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

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
  color: var(--text);
}

.brand img {
  border-radius: 8px;
  box-shadow: 0 0 0 1px var(--line);
}

.brand.small {
  font-size: 0.95rem;
}

.nav-links,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.94rem;
}

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

.language-switch {
  display: inline-grid;
  grid-template-columns: repeat(2, 42px);
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
}

.language-switch button {
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
  cursor: pointer;
}

.language-switch button.is-active {
  color: #0b0b08;
  background: var(--gold);
}

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

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: 54px;
  padding: 44px 0 72px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(3.3rem, 8vw, 6.8rem);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.2rem;
}

.hero-text,
.section-heading p,
.pro-copy p,
.legal-intro {
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.18rem);
  line-height: 1.7;
}

.hero-text {
  max-width: 650px;
  margin: 24px 0 0;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 850;
  border: 1px solid transparent;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.button.primary {
  background: var(--gold);
  color: #050505;
  box-shadow: 0 18px 34px rgba(255, 210, 0, 0.18);
}

.button.ghost {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.button.full {
  width: 100%;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero-proof span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #d7d2c5;
  font-size: 0.86rem;
  font-weight: 750;
}

.hero-device {
  display: grid;
  place-items: center;
}

.phone-frame {
  position: relative;
  width: min(390px, 88vw);
  aspect-ratio: 0.49;
  overflow: hidden;
  border-radius: 44px;
  padding: 18px;
  background: linear-gradient(160deg, #2c2b28, #060606 38%, #1a1710);
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.phone-top {
  position: absolute;
  top: 16px;
  left: 50%;
  width: 108px;
  height: 26px;
  transform: translateX(-50%);
  background: #050505;
  border-radius: 999px;
  z-index: 3;
}

.phone-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 32px;
  filter: saturate(1.02) contrast(1.05);
}

.score-panel,
.metric-strip {
  position: absolute;
  left: 34px;
  right: 34px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(5, 5, 5, 0.72);
  backdrop-filter: blur(18px);
}

.score-panel {
  bottom: 92px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 16px;
  padding: 16px;
  border-radius: 22px;
}

.score-panel span,
.score-panel small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.score-panel strong {
  grid-row: span 2;
  color: var(--gold);
  font-size: 3.6rem;
  line-height: 0.9;
}

.metric-strip {
  bottom: 34px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 12px;
  border-radius: 18px;
  color: #f6f0df;
  font-size: 0.78rem;
  font-weight: 850;
}

.signal-band {
  width: min(var(--max), calc(100% - 32px));
  margin: -28px auto 72px;
  display: grid;
  grid-template-columns: 1fr 230px;
  gap: 24px;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(110deg, rgba(255, 210, 0, 0.14), rgba(255, 255, 255, 0.04));
}

.signal-band strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.2rem;
}

.signal-band p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.mini-chart {
  display: flex;
  align-items: end;
  justify-content: end;
  gap: 10px;
  height: 88px;
}

.mini-chart span {
  width: 28px;
  border-radius: 7px 7px 0 0;
  background: var(--gold);
}

.mini-chart span:nth-child(1) { height: 22%; background: var(--red); }
.mini-chart span:nth-child(2) { height: 42%; background: var(--blue); }
.mini-chart span:nth-child(3) { height: 68%; background: var(--green); }
.mini-chart span:nth-child(4) { height: 94%; }

.features,
.workflow,
.pro-section,
.trust-section {
  padding: 74px 0;
}

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

.section-heading.compact {
  max-width: 680px;
}

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

.feature-card,
.trust-grid article,
.pro-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.feature-card {
  min-height: 238px;
  padding: 22px;
}

.feature-card p,
.trust-grid p,
.billing-note {
  color: var(--muted);
  line-height: 1.65;
}

.icon-dot {
  display: block;
  width: 18px;
  height: 18px;
  margin-bottom: 28px;
  border-radius: 50%;
  box-shadow: 0 0 34px currentColor;
}

.accent-gold .icon-dot { color: var(--gold); background: var(--gold); }
.accent-blue .icon-dot { color: var(--blue); background: var(--blue); }
.accent-green .icon-dot { color: var(--green); background: var(--green); }
.accent-red .icon-dot { color: var(--red); background: var(--red); }

.workflow {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 44px;
  align-items: center;
}

.workflow-media {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  max-height: 680px;
  background: #111;
}

.workflow-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}

.step-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.step-list div {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  align-items: start;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.step-list span {
  color: var(--gold);
  font-weight: 950;
}

.step-list p {
  margin: 0;
  color: #e6dfcf;
  line-height: 1.6;
}

.pro-section {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 36px;
  align-items: center;
}

.pro-card {
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(255, 210, 0, 0.12), rgba(255, 255, 255, 0.045)),
    var(--panel);
  box-shadow: var(--shadow);
}

.pro-card ul {
  display: grid;
  gap: 12px;
  margin: 20px 0;
  padding: 0;
  list-style: none;
}

.pro-card li {
  position: relative;
  padding-left: 24px;
  color: #f1ebdd;
  line-height: 1.5;
}

.pro-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

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

.trust-grid article {
  padding: 22px;
}

.trust-grid strong {
  display: block;
  margin-bottom: 10px;
}

.site-footer {
  width: min(var(--max), calc(100% - 32px));
  margin: 70px auto 0;
  padding: 34px 0 46px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
}

.site-footer p {
  max-width: 520px;
  line-height: 1.6;
}

.legal-shell {
  width: min(840px, calc(100% - 32px));
  margin: 54px auto 90px;
  padding: 34px 0;
}

.legal-shell h1 {
  font-size: clamp(2.6rem, 7vw, 5.4rem);
}

.legal-content {
  display: grid;
  gap: 24px;
  margin-top: 38px;
}

.legal-content section {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.legal-content h2 {
  font-size: 1.35rem;
  line-height: 1.2;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  line-height: 1.75;
}

.legal-content ul {
  padding-left: 20px;
}

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

  .hero,
  .workflow,
  .pro-section {
    grid-template-columns: 1fr;
  }

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

  .hero-device {
    order: -1;
  }

  .phone-frame {
    width: min(330px, 86vw);
  }

  .signal-band {
    grid-template-columns: 1fr;
    margin-top: 0;
  }

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

@media (max-width: 620px) {
  .site-header {
    width: min(100% - 22px, var(--max));
    min-height: 70px;
  }

  .brand span {
    display: none;
  }

  .section-shell,
  .signal-band,
  .site-footer,
  .legal-shell {
    width: min(100% - 22px, var(--max));
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.4rem);
  }

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

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

  .features,
  .workflow,
  .pro-section,
  .trust-section {
    padding: 54px 0;
  }

  .metric-strip {
    font-size: 0.68rem;
  }

  .site-footer {
    flex-direction: column;
  }

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