:root {
  --bg: #0a0a0d;
  --bg-alt: #101116;
  --surface: #17181f;
  --surface-2: #1e2029;
  --border: #2a2c36;
  --text: #f4f5f7;
  --text-dim: #a7abb8;
  --text-dimmer: #6f7280;
  --green: #34d058;
  --green-dim: #22a344;
  --red: #ff453a;
  --max-width: 1120px;
  --radius: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

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

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 13, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

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

.brand-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 12px rgba(255, 69, 58, 0.6);
  flex-shrink: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

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

.btn-primary {
  background: var(--text);
  color: #0a0a0d;
}
.btn-primary:hover { opacity: 0.88; }

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-secondary:hover { background: var(--surface); }

.btn-small {
  padding: 9px 18px;
  font-size: 0.88rem;
}

.btn-store-disabled {
  background: var(--surface);
  color: var(--text-dimmer);
  border-color: var(--border);
  cursor: not-allowed;
  gap: 12px;
}
.btn-store-disabled:hover { transform: none; }

.btn-store-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.btn-store-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dim);
}

.btn-store-status {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-dimmer);
}

/* Hero */
.hero {
  padding: 72px 0 40px;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--green);
  margin: 0 0 14px;
}

.eyebrow-light { color: var(--green); }

.hero-copy h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}

.hero-sub {
  color: var(--text-dim);
  font-size: 1.1rem;
  max-width: 46ch;
  margin: 0 0 32px;
}

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

.hero-note {
  margin: 18px 0 0;
  font-size: 0.85rem;
  color: var(--text-dimmer);
}

.hero-art {
  display: flex;
  justify-content: center;
}

/* Phone frame */
.phone-frame {
  width: 100%;
  max-width: 300px;
  border-radius: 40px;
  border: 6px solid #2b2d38;
  background: #000;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255,255,255,0.03);
  overflow: hidden;
}

.phone-frame img {
  width: 100%;
  height: auto;
}

.phone-frame--small {
  max-width: 240px;
  border-radius: 32px;
  border-width: 5px;
}

/* Sections */
.section {
  padding: 88px 0;
}

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

.section-title {
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  text-align: center;
}

.section-sub {
  color: var(--text-dim);
  text-align: center;
  max-width: 52ch;
  margin: 0 auto 64px;
  font-size: 1.05rem;
}

/* Feature grid */
.feature-grid {
  display: flex;
  flex-direction: column;
  gap: 96px;
}

.feature-card--media {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: center;
}

.feature-card--reverse {
  direction: rtl;
}
.feature-card--reverse > * {
  direction: ltr;
}

.feature-media {
  display: flex;
  justify-content: center;
}

.feature-copy h3 {
  font-size: 1.5rem;
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.01em;
}

.feature-copy p {
  color: var(--text-dim);
  font-size: 1.02rem;
  margin: 0;
  max-width: 48ch;
}

.pro-chip {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0a0a0d;
  background: var(--green);
  padding: 3px 9px;
  border-radius: 999px;
}

/* How it works */
.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
}

.step {
  flex: 1;
  max-width: 260px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
}

.step-num {
  width: 36px;
  height: 36px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--green);
  color: #0a0a0d;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.step h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

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

.step-arrow {
  color: var(--text-dimmer);
  font-size: 1.5rem;
  align-self: center;
  padding-top: 40px;
}

/* Pro panel */
.pro-panel {
  border-radius: 24px;
  padding: 56px;
  background: linear-gradient(160deg, var(--surface-2), var(--surface) 60%);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.pro-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 15%, rgba(52, 208, 88, 0.16), transparent 55%);
  pointer-events: none;
}

.pro-panel-copy {
  position: relative;
  max-width: 60ch;
}

.pro-panel h2 {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}

.pro-panel-sub {
  color: var(--text-dim);
  font-size: 1.05rem;
  margin: 0 0 28px;
}

.pro-list {
  list-style: none;
  margin: 0 0 36px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pro-list li {
  position: relative;
  padding-left: 28px;
  color: var(--text);
  font-size: 1rem;
}

.pro-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 800;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-links a {
  color: var(--text-dim);
  font-size: 0.9rem;
}

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

.footer-copy {
  margin: 0;
  color: var(--text-dimmer);
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 860px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .cta-row { justify-content: center; }
  .hero-art { order: -1; margin-bottom: 8px; }

  .feature-card--media,
  .feature-card--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    text-align: center;
  }
  .feature-copy p { margin-left: auto; margin-right: auto; }
  .feature-copy h3 { justify-content: center; }

  .steps {
    flex-direction: column;
    align-items: stretch;
  }
  .step { max-width: none; }
  .step-arrow {
    transform: rotate(90deg);
    padding: 0;
    align-self: center;
  }

  .pro-panel { padding: 36px 24px; }
}

@media (max-width: 520px) {
  .hero { padding: 48px 0 24px; }
  .section { padding: 64px 0; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .btn { padding: 14px 20px; }
}
