:root {
  --bg: #f5f4f6;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-strong: #ffffff;
  --text: #111418;
  --muted: #636b78;
  --accent: #dd1f2a;
  --accent-dark: #b4141e;
  --line: rgba(17, 20, 24, 0.08);
  --shadow: 0 18px 48px rgba(22, 24, 33, 0.1);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Arial", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(221, 31, 42, 0.08), transparent 32%),
    radial-gradient(circle at top left, rgba(17, 20, 24, 0.04), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

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

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

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.84);
  border-bottom: 1px solid rgba(17, 20, 24, 0.05);
}

.topbar-inner {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  font-size: 1.2rem;
}

.brand-mark {
  color: var(--accent);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-weight: 600;
  color: var(--muted);
}

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

.hero {
  padding: 76px 0 52px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 48px;
  align-items: start;
  overflow: hidden;
}

.hero > :first-child {
  position: relative;
  z-index: 3;
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.84rem;
}

.eyebrow::before {
  content: "";
  width: 42px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
}

.hero h1,
.section-header h2,
.content-card h1 {
  margin: 18px 0 18px;
  font-size: clamp(2.7rem, 5vw, 4.9rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero p,
.section-copy,
.content-card p,
.legal-copy,
.faq-list p {
  color: var(--muted);
  font-size: clamp(1.04rem, 1.8vw, 1.18rem);
  line-height: 1.7;
}

.hero-actions,
.cta-row,
.action-row {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button,
.button-secondary,
.button-ghost {
  border: 0;
  border-radius: 999px;
  padding: 16px 24px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button {
  background: linear-gradient(180deg, #ef2d3a 0%, var(--accent) 100%);
  color: white;
  box-shadow: 0 16px 34px rgba(221, 31, 42, 0.24);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(17, 20, 24, 0.08);
}

.button-ghost {
  background: transparent;
  color: var(--accent);
  box-shadow: inset 0 0 0 1px rgba(221, 31, 42, 0.18);
}

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

.hero-visual {
  position: relative;
  min-height: 760px;
  padding-inline: 20px;
  overflow: hidden;
  isolation: isolate;
}

.phone-card,
.floating-card,
.shot-card,
.feature-card,
.content-card,
.faq-item,
.stat-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.phone-card {
  position: absolute;
  top: 64px;
  right: 0;
  border-radius: 44px;
  padding: 18px;
  width: min(360px, 100%);
  margin-left: auto;
}

.phone-card img,
.shot-card img {
  width: 100%;
  border-radius: 28px;
}

.floating-card {
  position: absolute;
  top: 0;
  right: 36px;
  width: min(220px, 42%);
  border-radius: 28px;
  padding: 14px;
  z-index: 2;
}

.floating-card img {
  border-radius: 18px;
}

.stat-strip {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.stat-card {
  padding: 20px;
  border-radius: 24px;
}

.stat-card strong {
  display: block;
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.section {
  padding: 38px 0;
}

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

.section-header h2 {
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  margin-bottom: 8px;
}

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

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

.feature-card {
  border-radius: 28px;
  padding: 26px;
}

.feature-card .icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  background: rgba(221, 31, 42, 0.08);
  color: var(--accent);
  margin-bottom: 18px;
}

.feature-card h3,
.content-card h2,
.faq-item h3 {
  margin: 0 0 12px;
  font-size: 1.45rem;
  line-height: 1.2;
}

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

.shot-card {
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.shot-card img {
  width: 100%;
  height: auto;
  max-height: 820px;
  object-fit: contain;
  object-position: top center;
  background: linear-gradient(180deg, rgba(245, 244, 246, 0.75), rgba(255, 255, 255, 0.98));
}

.shot-meta {
  padding: 18px 20px 22px;
  min-height: 120px;
}

.shot-meta strong {
  display: block;
  font-size: 1.18rem;
  margin-bottom: 8px;
}

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

.step {
  padding: 24px;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 245, 246, 0.92));
  box-shadow: var(--shadow);
}

.step-index {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: white;
  font-weight: 900;
  margin-bottom: 18px;
}

.cta-band {
  margin: 40px 0 72px;
  padding: 34px;
  border-radius: 34px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.24), transparent 38%),
    linear-gradient(135deg, #12161f 0%, #222734 100%);
  color: white;
  box-shadow: 0 26px 54px rgba(18, 22, 31, 0.24);
}

.cta-band p {
  color: rgba(255, 255, 255, 0.74);
}

.footer {
  padding: 24px 0 40px;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-inner {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 22px;
}

.content-page {
  padding: 62px 0 78px;
}

.content-card {
  border-radius: 32px;
  padding: 38px;
}

.content-card h1 {
  font-size: clamp(2.3rem, 4vw, 3.8rem);
}

.legal-copy h2,
.legal-copy h3 {
  margin-top: 34px;
  margin-bottom: 12px;
  font-size: 1.35rem;
}

.legal-copy ul,
.legal-copy ol {
  color: var(--muted);
  padding-left: 22px;
  line-height: 1.75;
}

.faq-list {
  display: grid;
  gap: 18px;
}

.faq-item {
  border-radius: 24px;
  padding: 24px;
}

.auth-shell {
  min-height: calc(100vh - 86px);
  display: grid;
  place-items: center;
  padding: 36px 0 72px;
}

.auth-card {
  width: min(calc(100% - 32px), 720px);
  border-radius: 36px;
  padding: 34px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.72);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 20px;
}

.status-pill.is-loading {
  background: rgba(17, 20, 24, 0.06);
  color: var(--text);
}

.status-pill.is-success {
  background: rgba(26, 160, 96, 0.12);
  color: #147d4f;
}

.status-pill.is-error {
  background: rgba(221, 31, 42, 0.12);
  color: var(--accent-dark);
}

.auth-form {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.auth-form label {
  font-weight: 700;
}

.auth-form input {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  font: inherit;
}

.auth-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.98rem;
}

.subtle {
  color: var(--muted);
}

@media (max-width: 1040px) {
  .hero,
  .feature-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .shots-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 720px;
  }

  .phone-card {
    top: 110px;
    right: 0;
    margin-inline: auto;
  }
}

@media (max-width: 720px) {
  .topbar-inner,
  .page-shell,
  .footer-inner {
    width: min(calc(100% - 24px), var(--container));
  }

  .hero {
    padding-top: 52px;
  }

  .hero-visual {
    min-height: 620px;
    padding-inline: 0;
  }

  .phone-card {
    top: 110px;
    right: 0;
    padding: 12px;
    max-width: none;
    width: 100%;
  }

  .floating-card {
    right: 18px;
    width: min(200px, 56%);
  }

  .content-card,
  .auth-card,
  .cta-band {
    padding: 24px;
    border-radius: 26px;
  }

  .stat-strip {
    grid-template-columns: 1fr;
  }

  .nav {
    gap: 12px;
    font-size: 0.94rem;
  }
}
