:root {
  --bg: #161A1D;
  --bg-soft: #1C2225;
  --bg-elevated: #1F2528;
  --bg-elevated-strong: #2D3436;
  --surface: rgba(31, 37, 40, 0.88);
  --surface-strong: rgba(45, 52, 54, 0.96);
  --surface-soft: rgba(255, 255, 255, 0.03);
  --text: #F5F6FA;
  --text-soft: #B6C0CB;
  --text-muted: #8F9AA6;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(9, 132, 227, 0.2);
  --accent: #0984E3;
  --accent-strong: #0877CD;
  --accent-deep: #0668B5;
  --success: #43a047;
  --price: #66bb6a;
  --warm: #ffa726;
  --danger: #b71c1c;
  --shadow-lg: 0 34px 90px rgba(0, 0, 0, 0.42);
  --shadow-md: 0 22px 48px rgba(0, 0, 0, 0.3);
  --container: 1180px;
  --header-height: 88px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

main[id],
section[id] {
  scroll-margin-top: calc(var(--header-height) + 18px);
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Inter", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 12%, rgba(9, 132, 227, 0.18), transparent 24%),
    radial-gradient(circle at 84% 18%, rgba(6, 104, 181, 0.2), transparent 24%),
    radial-gradient(circle at 50% 72%, rgba(9, 132, 227, 0.08), transparent 34%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg) 34%, var(--bg-soft) 100%);
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
.page-shell { overflow-x: clip; }
.container { width: min(calc(100% - 40px), var(--container)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(22, 26, 29, 0.72);
  backdrop-filter: blur(18px);
  transition: box-shadow 180ms ease, border-color 180ms ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
  border-color: rgba(255, 255, 255, 0.06);
}

.header-inner {
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

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

.brand img { width: auto; height: 46px; }

.site-nav {
  display: inline-flex;
  justify-content: center;
  gap: 28px;
  align-items: center;
}

.site-nav a,
.lang-link {
  color: var(--text-soft);
  font-weight: 600;
  font-size: 0.96rem;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.lang-link:hover,
.lang-link:focus-visible { color: var(--text); }

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  background: rgba(18, 18, 18, 0.92);
  border-radius: 14px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 20px;
  border-radius: 16px;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.005em;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
  border: 1px solid transparent;
}

.button:hover { transform: translateY(-2px); }
.button[aria-disabled="true"],
.button.is-disabled {
  cursor: default;
}

.button.is-disabled:hover {
  transform: none;
}

.button-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent-deep), var(--accent-strong) 48%, var(--accent));
  box-shadow: 0 20px 36px rgba(21, 101, 192, 0.24);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.12);
}

.button-small {
  min-height: 46px;
  padding: 0 18px;
}

.hero-section { padding: 18px 0 34px; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  gap: 28px;
  align-items: start;
}

.hero-copy { padding: 28px 0 12px; }

@media (min-width: 1101px) {
  .hero-copy {
    transform: translateY(-10px);
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid rgba(66, 165, 245, 0.18);
}

.hero-copy h1,
.section-intro h2,
.launch-card h2,
.legal-card h1 {
  font-family: "Poppins", "Inter", sans-serif;
  letter-spacing: -0.055em;
}

.hero-copy h1 {
  margin: 16px 0 14px;
  font-size: clamp(2.55rem, 4.75vw, 4.35rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.045em;
  max-width: 11.2ch;
}

html[lang="sr"] .hero-copy h1 {
  font-size: clamp(2.3rem, 4.2vw, 3.95rem);
  line-height: 1;
  max-width: 9.6ch;
}

.hero-text,
.section-intro p,
.feature-card p,
.step-card p,
.audience-card p,
.launch-card p,
.site-footer p,
.legal-copy p,
.legal-lead {
  color: var(--text-soft);
  font-size: 1.04rem;
  line-height: 1.75;
}

.hero-text { max-width: 54ch; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.hero-note {
  margin: 10px 0 0;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.hero-trust {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.hero-trust div,
.feature-card,
.audience-card,
.step-card,
.legal-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015)),
    var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.hero-trust div {
  border-radius: 20px;
  padding: 14px 16px;
}

.hero-trust strong,
.feature-card h3,
.step-card h3,
.audience-card h3,
.list-row strong,
.summary-card strong,
.app-top strong,
.launch-card h2,
.legal-card h1,
.legal-copy h2 {
  display: block;
  font-size: 1.02rem;
  line-height: 1.3;
  margin: 0 0 4px;
}

.hero-trust span,
.summary-card p,
.app-top p,
.list-row p,
.list-heading span {
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.5;
}

.hero-visual {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 20px;
}

.hero-orb {
  position: absolute;
  border-radius: 999px;
}

.hero-orb-left {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(66, 165, 245, 0.22), rgba(66, 165, 245, 0.03) 72%, transparent 73%);
  left: 16px;
  top: 146px;
}

.hero-orb-right {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(13, 71, 161, 0.28), rgba(13, 71, 161, 0.02) 70%, transparent 71%);
  right: 24px;
  bottom: 58px;
}

.phone-mockup {
  position: relative;
  z-index: 2;
  width: min(100%, 382px);
}

.phone-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 10 / 18.8;
  margin: 0 auto;
  padding: 12px;
  border-radius: 42px;
  background: linear-gradient(160deg, #1f2d45 0%, #13243d 42%, #0c1627 100%);
  box-shadow: 0 38px 96px rgba(0, 0, 0, 0.45);
}

.phone-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 42px;
  padding: 1px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.05));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.phone-notch {
  position: absolute;
  top: 13px;
  left: 50%;
  transform: translateX(-50%);
  width: 122px;
  height: 22px;
  border-radius: 0 0 16px 16px;
  background: #071221;
  z-index: 2;
}

.phone-screen {
  position: relative;
  overflow: hidden;
  border-radius: 31px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 24%),
    linear-gradient(160deg, #0d47a1 0%, #1565c0 42%, #42a5f5 62%, #edf4fe 63%, #ffffff 100%);
  height: 100%;
  min-height: 0;
  padding: 22px 20px 16px;
}

.app-top {
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  color: #fff;
}

.app-kicker,
.summary-card span,
.list-heading span,
.legal-card .eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.avatar-chip {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--accent-deep);
  font-family: "Poppins", "Inter", sans-serif;
  font-weight: 800;
}

.summary-card {
  margin-top: 16px;
  padding: 14px 15px 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

.summary-card strong { font-size: 1.34rem; }

.phone-list {
  margin-top: 18px;
  border-radius: 28px;
  background: #ffffff;
  padding: 16px 16px 12px;
  box-shadow: 0 22px 40px rgba(16, 33, 61, 0.12);
}

.list-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}

.list-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(21, 32, 51, 0.08);
}

.list-row:last-child { border-bottom: 0; }

.list-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-block;
}

.list-icon-blue { background: var(--accent); }
.list-icon-green { background: var(--price); }
.list-icon-gold { background: var(--warm); }

.list-meta {
  min-width: 30px;
  height: 30px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(66, 165, 245, 0.12);
  color: var(--accent-deep);
  font-weight: 800;
}

.phone-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  padding: 0 12px 2px;
}

.phone-footer span {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: rgba(21, 32, 51, 0.14);
}

.phone-footer .footer-active {
  width: 40px;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
}

.section-block { padding: 54px 0; }

.section-soft {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0.01));
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.section-intro {
  max-width: 660px;
  margin-bottom: 28px;
}

.section-intro h2,
.launch-card h2 {
  margin: 18px 0 10px;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 0.98;
}

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

.feature-card,
.audience-card {
  padding: 24px;
  border-radius: 24px;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 32px;
  align-items: start;
}

.section-left { margin-bottom: 0; }
.steps-list { display: grid; gap: 18px; }

.step-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 22px 24px;
  border-radius: 24px;
}

.step-index {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(13, 71, 161, 0.28), rgba(66, 165, 245, 0.22));
  color: #ffffff;
  font-family: "Poppins", "Inter", sans-serif;
  font-weight: 800;
}

.launch-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 30px;
  padding: 36px;
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(66, 165, 245, 0.14), transparent 28%),
    linear-gradient(135deg, rgba(11, 16, 24, 0.98), rgba(18, 18, 18, 0.96));
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-lg);
}

.launch-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.tester-signup {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.tester-signup-copy {
  display: grid;
  gap: 4px;
}

.tester-signup-copy strong {
  font-family: "Poppins", "Inter", sans-serif;
  font-size: 1.02rem;
  letter-spacing: -0.03em;
}

.tester-signup-copy span {
  color: var(--text-soft);
  line-height: 1.6;
}

.tester-signup-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.tester-signup-input {
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
}

.tester-signup-input::placeholder {
  color: var(--text-muted);
}

.tester-signup-input:focus {
  outline: none;
  border-color: rgba(66, 165, 245, 0.5);
  box-shadow: 0 0 0 4px rgba(66, 165, 245, 0.12);
}

.tester-signup-button {
  min-height: 50px;
  padding-inline: 18px;
}

.tester-signup-button:disabled {
  opacity: 0.72;
  cursor: wait;
  transform: none;
}

.tester-signup-status {
  min-height: 22px;
  margin: 0;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.tester-signup-status[data-state="success"] {
  color: #9be19f;
}

.tester-signup-status[data-state="error"] {
  color: #ffb4b4;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.tester-signup-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.store-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, max-content));
  gap: 14px;
  align-items: stretch;
  justify-content: start;
}

.store-cta {
  min-width: 0;
  min-height: 46px;
  padding: 0 15px;
  white-space: nowrap;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.002em;
}

.store-cta.button-primary {
  background: linear-gradient(135deg, rgba(21, 101, 192, 0.82), rgba(66, 165, 245, 0.72));
  border-color: rgba(66, 165, 245, 0.28);
  box-shadow: 0 10px 22px rgba(13, 71, 161, 0.18);
}

.store-cta.button-secondary {
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.015);
  border-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 980px) {
  .store-actions {
    grid-template-columns: 1fr;
  }

  .store-cta {
    width: 100%;
  }

  .tester-signup-fields {
    grid-template-columns: 1fr;
  }

  .tester-signup-button {
    width: 100%;
  }
}

.site-footer { padding: 20px 0 42px; }

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.brand-footer { font-size: 1.3rem; }
.brand-footer img { width: auto; height: 40px; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  font-weight: 600;
  color: var(--text-soft);
}

.legal-shell { min-height: 100vh; }
.legal-nav { justify-content: flex-end; }
.legal-main { padding: 54px 0 72px; }

.legal-card {
  max-width: 860px;
  margin: 0 auto;
  padding: 36px;
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(66, 165, 245, 0.12), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015)),
    var(--surface-strong);
}

.legal-card h1 {
  margin: 18px 0 8px;
  font-size: clamp(2.2rem, 4.8vw, 4rem);
  line-height: 0.98;
}

.legal-lead { margin-top: 0; }

.legal-copy h2 {
  margin: 24px 0 8px;
  font-size: 1.18rem;
  font-family: "Poppins", "Inter", sans-serif;
}

.legal-copy ul {
  margin: 10px 0 0 20px;
  padding: 0;
  color: var(--text-soft);
}

.legal-copy li {
  margin: 0 0 10px;
  line-height: 1.7;
}

.legal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.feature-card h3,
.audience-card h3,
.step-card h3,
.list-row strong,
.summary-card strong,
.app-top strong,
.legal-copy h2 {
  font-family: "Poppins", "Inter", sans-serif;
  letter-spacing: -0.03em;
}

.feature-card,
.audience-card,
.step-card,
.hero-trust div {
  position: relative;
  overflow: hidden;
}

.feature-card::before,
.audience-card::before,
.step-card::before,
.hero-trust div::before,
.legal-card::before,
.launch-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), transparent 34%);
  opacity: 0.9;
}

.button:focus-visible,
.site-nav a:focus-visible,
.lang-link:focus-visible,
.footer-links a:focus-visible {
  outline: 2px solid rgba(66, 165, 245, 0.55);
  outline-offset: 3px;
}

@media (max-width: 1100px) {
  .hero-grid,
  .two-column,
  .launch-card { grid-template-columns: 1fr; }

  .hero-copy { padding-bottom: 0; }
  .hero-visual {
    min-height: 520px;
    padding-top: 8px;
  }

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

  .launch-actions { justify-content: flex-start; }
}

@media (max-width: 860px) {
  .header-inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  body[data-page="landing"] .nav-toggle { display: inline-flex; }
  body[data-page="landing"] .site-nav,
  body[data-page="landing"] .header-actions { display: none; }

  body[data-page="landing"] .site-nav.is-open {
    position: absolute;
    top: calc(100% + 10px);
    left: 20px;
    right: 20px;
    display: grid;
    gap: 8px;
    padding: 16px;
    background: rgba(18, 18, 18, 0.98);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow-md);
  }

  body[data-page="landing"] .header-actions.is-open {
    position: absolute;
    top: calc(100% + 270px);
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
    padding: 14px 16px;
    background: rgba(18, 18, 18, 0.98);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow-md);
  }

  .hero-section { padding-top: 18px; }
  .hero-copy h1 { max-width: none; }
  .legal-nav {
    display: inline-flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 14px;
  }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 28px), var(--container)); }

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

  .hero-visual { min-height: 520px; }
  .hero-copy {
    padding-top: 20px;
    padding-bottom: 8px;
  }
  .hero-actions { margin-top: 18px; }
  .hero-trust {
    margin-top: 16px;
    gap: 10px;
  }

  .phone-frame {
    width: 100%;
    border-radius: 36px;
  }

  .phone-frame::before { border-radius: 36px; }

  .phone-screen {
    border-radius: 28px;
    padding: 20px 18px 14px;
  }

  .summary-card strong { font-size: 1.28rem; }

  .store-actions { grid-template-columns: 1fr; }
  .store-cta { width: 100%; }

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

  .footer-links { justify-content: flex-start; }
  .legal-card { padding: 28px 22px; }
}
