:root {
  color-scheme: dark;
  --bg: #0f172a;
  --bg-soft: #111827;
  --surface: #1f2937;
  --surface-2: #263244;
  --border: #374151;
  --text: #ffffff;
  --muted: #9ca3af;
  --quiet: #6b7280;
  --blue: #3b82f6;
  --green: #25d366;
  --pink: #ec4899;
  --amber: #f59e0b;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #0f172a 0%, #101827 44%, #111827 100%);
  color: var(--text);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 7vw;
  background: rgba(15, 23, 42, 0.86);
  border-bottom: 1px solid rgba(55, 65, 81, 0.72);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 20px;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
}

.brand.small {
  font-size: 16px;
}

.brand.small img {
  width: 30px;
  height: 30px;
}

.nav-links {
  display: flex;
  gap: 26px;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

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

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(380px, 0.78fr);
  gap: 44px;
  align-items: center;
  min-height: 720px;
  padding: 72px 7vw 82px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.98) 0%, rgba(15, 23, 42, 0.88) 42%, rgba(15, 23, 42, 0.42) 100%),
    linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(37, 211, 102, 0.1) 46%, rgba(236, 72, 153, 0.16));
}

.hero-backdrop {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: -1;
  width: min(58vw, 920px);
  height: 78%;
  background:
    radial-gradient(circle at 68% 30%, rgba(236, 72, 153, 0.2), transparent 34%),
    linear-gradient(135deg, rgba(59, 130, 246, 0.14), rgba(37, 211, 102, 0.08) 48%, rgba(15, 23, 42, 0));
  clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 740px;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 16px;
  font-size: clamp(56px, 9vw, 118px);
  line-height: 0.88;
  font-weight: 950;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.02;
  font-weight: 920;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.hero-subtitle,
.section-heading p,
.split-copy p,
.feature-copy p,
.premium-card p,
.faq p,
.site-footer p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-subtitle {
  max-width: 680px;
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 22px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: var(--radius);
  font-weight: 850;
}

.primary-action {
  background: linear-gradient(135deg, var(--blue), var(--pink));
  color: white;
  box-shadow: 0 12px 28px rgba(59, 130, 246, 0.28);
}

.secondary-action {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-row span {
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.hero-visual {
  position: relative;
  z-index: 1;
  width: min(100%, 600px);
  min-height: 610px;
  justify-self: end;
  pointer-events: none;
}

.phone {
  position: absolute;
  overflow: hidden;
  width: 286px;
  min-height: 586px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 36px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0)),
    #070d1b;
  box-shadow:
    0 42px 90px rgba(0, 0, 0, 0.46),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.phone-main {
  right: 210px;
  top: 6px;
  transform: rotate(-3deg);
}

.phone-side {
  right: 10px;
  top: 92px;
  width: 236px;
  min-height: 486px;
  opacity: 0.96;
  transform: rotate(4deg);
}

.phone-top {
  width: 72px;
  height: 6px;
  margin: 6px auto 10px;
  border-radius: 999px;
  background: #243044;
}

.phone-screen {
  display: block;
  width: 100%;
  height: 540px;
  border-radius: 26px;
  object-fit: cover;
  object-position: top center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.phone-side .phone-screen {
  height: 440px;
  border-radius: 24px;
}

.metrics,
.section,
.split-section,
.faq,
.download {
  margin: 0 7vw;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--border);
}

.metrics div {
  padding: 26px;
  background: rgba(31, 41, 55, 0.86);
}

.metrics strong {
  display: block;
  font-size: 30px;
}

.metrics span {
  color: var(--muted);
  font-size: 13px;
}

.section,
.split-section,
.faq,
.download {
  padding: 92px 0;
}

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

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  align-items: start;
}

.premium-card,
.workflow-panel,
.faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(31, 41, 55, 0.82);
}

.feature-device {
  min-width: 0;
}

.device-frame {
  overflow: hidden;
  width: min(100%, 286px);
  margin: 0 auto 22px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 36px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
    #070d1b;
  box-shadow: 0 26px 66px rgba(0, 0, 0, 0.34);
}

.device-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 18.8;
  border-radius: 26px;
  object-fit: cover;
  object-position: top center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0b1220;
}

.feature-copy {
  max-width: 310px;
  margin: 0 auto;
}

.feature-copy p {
  color: var(--muted);
  line-height: 1.65;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.7fr);
  gap: 40px;
  align-items: center;
}

.clean-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
  color: var(--muted);
}

.clean-list li {
  padding-left: 24px;
  position: relative;
}

.clean-list li::before {
  position: absolute;
  left: 0;
  content: "";
  width: 10px;
  height: 10px;
  top: 8px;
  border-radius: 50%;
  background: var(--green);
}

.workflow-panel {
  padding: 24px;
}

.workflow-shot {
  display: block;
  width: 100%;
  max-height: 320px;
  margin-bottom: 18px;
  border-radius: var(--radius);
  object-fit: cover;
  object-position: top center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.workflow-step {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: var(--radius);
  background: #101827;
}

.workflow-step span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.16);
  color: var(--green);
  font-weight: 900;
}

.workflow-step p {
  margin: 0;
  font-weight: 800;
}

.flow-line {
  width: 2px;
  height: 24px;
  margin-left: 33px;
  background: var(--border);
}

.premium-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.premium-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
}

.premium-card {
  padding: 28px;
}

.premium-card.featured {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.28), rgba(236, 72, 153, 0.2)), var(--surface);
}

.plan-label {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 7px 10px;
  border-radius: var(--radius);
  background: rgba(245, 158, 11, 0.14);
  color: var(--amber);
  font-size: 12px;
  font-weight: 900;
}

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

.faq details {
  padding: 18px 20px;
}

.faq summary {
  cursor: pointer;
  font-weight: 850;
}

.faq p {
  margin: 12px 0 0;
}

.download {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  border-top: 1px solid var(--border);
}

.download h2 {
  max-width: 760px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 28px 7vw;
  border-top: 1px solid var(--border);
  color: var(--muted);
}

@media (max-width: 980px) {
  .hero,
  .split-section,
  .premium-layout,
  .download {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    width: 100%;
    min-height: 560px;
    margin-top: 30px;
    justify-self: center;
  }

  .phone-main {
    left: 12%;
    right: auto;
  }

  .phone-side {
    right: 12%;
  }

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

@media (max-width: 720px) {
  .site-header {
    padding: 0 20px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 78px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
  }

  .site-header.is-open .nav-links {
    display: flex;
  }

  .hero,
  .section,
  .split-section,
  .faq,
  .download {
    padding: 56px 0;
  }

  .hero,
  .metrics,
  .section,
  .split-section,
  .faq,
  .download {
    margin-left: 20px;
    margin-right: 20px;
  }

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

  .hero-subtitle {
    font-size: 16px;
  }

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

  .phone {
    width: 228px;
    min-height: 466px;
    padding: 8px;
  }

  .phone-main {
    left: 0;
  }

  .phone-side {
    width: 178px;
    min-height: 366px;
    right: 0;
    top: 88px;
  }

  .phone-screen {
    height: 420px;
    border-radius: 16px;
  }

  .phone-side .phone-screen {
    height: 320px;
  }

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

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

@media (max-width: 430px) {
  h1 {
    font-size: 62px;
  }

  h2 {
    font-size: 34px;
  }

  .hero-actions a,
  .download .primary-action {
    width: 100%;
  }

  .phone-side {
    opacity: 0.76;
  }

  .device-frame {
    width: min(88vw, 286px);
  }
}
