:root {
  --bg: #0d0715;
  --bg-raised: #16101f;
  --border: #2a2033;
  --text: #f5f2fa;
  --text-dim: #a99fb8;
  --accent-1: #6d5bd0;
  --accent-2: #d6449c;
  --accent-3: #ff8a3d;
  --gradient: linear-gradient(115deg, #4f6bd6 0%, #9457d6 35%, #d6449c 65%, #ff8a3d 100%);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.bg-lines {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.bg-lines .line {
  position: absolute;
  width: 1px;
  height: 100%;
  top: 0;
  left: 50%;
  background: rgba(245, 242, 250, 0.08);
  overflow: hidden;
}

.bg-lines .line::after {
  content: "";
  display: block;
  position: absolute;
  height: 15vh;
  width: 100%;
  top: -50%;
  left: 0;
  background: linear-gradient(to bottom, rgba(245, 242, 250, 0) 0%, #fff 75%, #fff 100%);
  animation: bg-line-drop 7s 0s infinite;
  animation-fill-mode: forwards;
  animation-timing-function: cubic-bezier(0.4, 0.26, 0, 0.97);
}

.bg-lines .line:nth-child(1) { margin-left: -25%; }
.bg-lines .line:nth-child(1)::after { animation-delay: 2s; }
.bg-lines .line:nth-child(3) { margin-left: 25%; }
.bg-lines .line:nth-child(3)::after { animation-delay: 2.5s; }

@keyframes bg-line-drop {
  from { top: -50%; }
  to { top: 110%; }
}

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

a { color: inherit; }

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  transition: background-color 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
}

header.scrolled {
  background: rgba(13, 7, 21, 0.82);
  border-bottom-color: var(--border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  padding-bottom: 24px;
  transition: padding 0.35s ease;
}

header.scrolled .header-inner {
  padding-top: 16px;
  padding-bottom: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.brand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}

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

nav a {
  text-decoration: none;
  color: var(--text-dim);
  font-size: 14px;
  margin-left: 28px;
}

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

.btn-sm {
  padding: 5px 10px;
  font-size: 11px;
  border-radius: 6px;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

#download-now-btn {
  padding: 5px 11px;
  font-size: 11px;
  border-radius: 6px;
}

.hero {
  padding-top: 64px;
  padding-bottom: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.hero-copy {
  min-width: 0;
  text-align: left;
}

.hero-media {
  width: 260px;
  justify-self: center;
}

.hero-media img {
  width: 100%;
  height: auto;
  border-radius: 28px;
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.6);
}

h1 {
  font-size: clamp(34px, 5.5vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}

h1 .grad {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-dim);
  max-width: 560px;
  margin: 0 0 36px;
}

.cta-row {
  display: flex;
  gap: 14px;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

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

.btn-primary {
  background: var(--gradient);
  color: #fff;
}

.btn-primary:hover { opacity: 0.92; }

.btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-ghost:hover { border-color: #453a54; }

.fine-print {
  margin-top: 18px;
  font-size: 13px;
  color: var(--text-dim);
}

section { padding: 56px 0; }

.section-head {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 40px;
}

.section-head h2 {
  font-size: clamp(24px, 3.5vw, 32px);
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}

.section-head p {
  color: var(--text-dim);
  margin: 0;
}

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

.card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
}

.card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.card .icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 10px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.card .icon svg {
  width: 20px;
  height: 20px;
}

.card h3 {
  font-size: 16px;
  margin: 0;
}

.card p {
  font-size: 14px;
  color: var(--text-dim);
  margin: 0;
}

.step-group {
  margin-bottom: 40px;
}

.step-group:last-child {
  margin-bottom: 0;
}

.step-group-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 20px;
}

.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
}

.step {
  position: relative;
  padding-left: 46px;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--gradient);
  border: 1px solid var(--border);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

.step h3 {
  font-size: 15px;
  margin: 4px 0 6px;
}

.step p {
  font-size: 14px;
  color: var(--text-dim);
  margin: 0;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-item h3 {
  font-size: 16px;
  margin: 0 0 8px;
}

.faq-item p {
  font-size: 14px;
  color: var(--text-dim);
  margin: 0;
}

.closing {
  text-align: center;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px 24px;
}

.closing h2 {
  font-size: clamp(22px, 3vw, 30px);
  margin: 0 0 12px;
}

.closing p {
  color: var(--text-dim);
  max-width: 460px;
  margin: 0 auto 28px;
}

footer {
  padding: 40px 0 56px;
  color: var(--text-dim);
  font-size: 13px;
}

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

.footer-links span { margin-left: 18px; }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}

.reveal[data-reveal="right"] {
  transform: translateX(32px);
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 560px) {
  .header-inner { padding-top: 36px; }
  section { padding: 44px 0; }
  .hero { padding-top: 24px; padding-bottom: 32px; grid-template-columns: 1fr; text-align: center; }
  .hero-copy { text-align: center; }
  .lede { margin: 0 auto 36px; }
  .cta-row { justify-content: center; }
  .hero-media { width: 200px; }
  .grid { grid-template-columns: 1fr; }
  .step-group { margin-bottom: 40px; }
  nav { display: none; }
  .footer-row { flex-direction: column; text-align: center; }
  .footer-links span:first-child { margin-left: 0; }
}
