:root {
  --bg: #1a1a1a;
  --surface: #242424;
  --surface-2: #2d2d2d;
  --accent: #63768d;
  --accent-strong: #8097b2;
  --text: #ffffff;
  --muted: #b0b0b0;
  --border: #404040;
  --success: #5ec58f;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  background: linear-gradient(180deg, #1a1a1a 0%, #202020 45%, #1a1a1a 100%);
  color: var(--text);
  line-height: 1.6;
}

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

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: rgba(26, 26, 26, 0.85);
  border-bottom: 1px solid rgba(99, 118, 141, 0.2);
}

.navbar-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

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

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

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

.nav-links a {
  color: var(--muted);
  transition: color 0.2s ease;
  font-size: 0.96rem;
}

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

.btn {
  border: 0;
  border-radius: 999px;
  padding: 11px 20px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: 2px;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(140deg, var(--accent), var(--accent-strong));
  box-shadow: 0 10px 22px rgba(99, 118, 141, 0.35);
}

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

.btn-secondary {
  color: var(--text);
  border: 1px solid var(--border);
  background: rgba(45, 45, 45, 0.7);
}

.btn-secondary:hover {
  background: rgba(58, 58, 58, 0.8);
}

.hero {
  padding: 70px 0 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 42px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(99, 118, 141, 0.35);
  background: rgba(99, 118, 141, 0.15);
  color: #c8d5e5;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.82rem;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0 0 14px;
}

h1 {
  font-size: clamp(2rem, 4.5vw, 3.45rem);
  letter-spacing: 0.1px;
}

h2 {
  font-size: clamp(1.5rem, 3.2vw, 2.2rem);
}

.hero p {
  margin: 0 0 24px;
  color: var(--muted);
  max-width: 60ch;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.store-buttons {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.store-pill {
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--muted);
}

.mockup {
  border-radius: 28px;
  padding: 18px;
  background: linear-gradient(160deg, rgba(99, 118, 141, 0.45), rgba(36, 36, 36, 0.75));
  box-shadow: var(--shadow);
  transform: perspective(1400px) rotateY(-10deg);
}

.mockup-screen {
  border-radius: 18px;
  background: #111;
  min-height: 460px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px;
}

.app-preview {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.preview-tile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  min-height: 110px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.preview-tile span {
  color: var(--muted);
  font-size: 0.78rem;
}

.preview-note {
  margin: 14px 4px 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.section {
  padding: 70px 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 26px;
}

.section-header p {
  max-width: 62ch;
  color: var(--muted);
}

.features-grid,
.screens-grid,
.legal-grid,
.support-grid {
  display: grid;
  gap: 16px;
}

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

.card {
  background: rgba(36, 36, 36, 0.82);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(99, 118, 141, 0.7);
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 12px;
  background: rgba(99, 118, 141, 0.22);
  border: 1px solid rgba(99, 118, 141, 0.55);
  color: #d4e1f0;
  font-size: 1.25rem;
}

.card p,
.card li,
.list-muted,
.legal-page p,
.legal-page li,
.support-page p,
.support-page li {
  color: var(--muted);
}

.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.step {
  position: relative;
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(45, 45, 45, 0.62);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  margin-bottom: 10px;
  font-weight: 700;
  background: var(--accent);
}

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

.screen {
  aspect-ratio: 9/16;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, #121212, #262626);
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.screen .chip {
  width: fit-content;
  border-radius: 999px;
  border: 1px solid rgba(99, 118, 141, 0.45);
  padding: 5px 10px;
  font-size: 0.75rem;
  color: #d4e1f0;
}

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

.bg-remover {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 22px;
  align-items: center;
}

.bg-remover h2 {
  margin-bottom: 10px;
}

.bg-remover-list {
  margin: 14px 0 20px;
  padding-left: 18px;
}

.bg-remover-list li {
  margin-bottom: 6px;
}

.bg-remover-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.cutout {
  min-height: 220px;
  border-radius: 16px;
  border: 1px solid var(--border);
  display: grid;
  place-items: end start;
  padding: 12px;
}

.cutout span {
  font-size: 0.8rem;
  border-radius: 999px;
  padding: 4px 9px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cutout.before {
  background: linear-gradient(180deg, #1e1e1e, #353535);
}

.cutout.after {
  background:
    radial-gradient(circle at 30% 20%, rgba(99, 118, 141, 0.5), transparent 58%),
    linear-gradient(180deg, #121212, #222222);
  border-color: rgba(99, 118, 141, 0.65);
}

.cta {
  text-align: center;
  padding: 70px 0;
}

.cta-wrap {
  border: 1px solid rgba(99, 118, 141, 0.45);
  border-radius: 24px;
  padding: 38px 24px;
  background: radial-gradient(circle at 20% 20%, rgba(99, 118, 141, 0.28), rgba(36, 36, 36, 0.75));
}

.footer {
  border-top: 1px solid rgba(99, 118, 141, 0.28);
  padding: 30px 0 50px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 18px;
}

.footer a,
.footer p {
  color: var(--muted);
}

.footer a:hover {
  color: var(--text);
}

.kicker {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c3d0df;
  font-size: 0.72rem;
}

.legal-page,
.support-page {
  padding: 38px 0 80px;
}

.legal-page article,
.support-page article {
  background: rgba(36, 36, 36, 0.82);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 16px;
}

.legal-page h1,
.support-page h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
}

.legal-page h2,
.support-page h2 {
  margin-top: 30px;
  font-size: clamp(1.12rem, 2vw, 1.45rem);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-list li {
  margin-bottom: 8px;
}

.contact-list a {
  color: #c8d5e5;
}

.form-grid {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

input,
textarea {
  width: 100%;
  background: #1f1f1f;
  border: 1px solid #4a4a4a;
  color: var(--text);
  border-radius: 12px;
  padding: 10px 12px;
  font: inherit;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero-grid,
  .features-grid,
  .steps,
  .screens-grid,
  .faq-grid,
  .bg-remover,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .mockup {
    transform: none;
  }

  .section-header {
    align-items: start;
    flex-direction: column;
  }
}

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

  .hero {
    padding-top: 40px;
  }

  .navbar-inner {
    min-height: 66px;
  }
}
