*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #1a1a1a;
  --bg-card:   #222222;
  --bg-card2:  #2a2a2a;
  --accent:    #e8423a;
  --text:      #efefef;
  --text-muted:#888888;
  --border:    rgba(255,255,255,0.06);
  --inset:     0 0 0 1px rgba(255,255,255,0.06) inset;
  --radius:    12px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 960px; margin: 0 auto; padding: 0 32px; }

/* EYEBROW LABELS */
.eyebrow, .section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(26,26,26,0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 32px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
  text-decoration: none;
}
.nav-logo-icon {
  width: 28px;
  height: 28px;
  background: var(--accent);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav-logo-icon.small {
  width: 20px;
  height: 20px;
  border-radius: 5px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--text); }
.nav-download {
  background: var(--accent) !important;
  color: white !important;
  padding: 6px 14px;
  border-radius: 7px;
  font-size: 13px !important;
  transition: opacity 0.15s !important;
}
.nav-download:hover { opacity: 0.85; }

/* HERO */
.hero {
  text-align: center;
  padding: 104px 32px 88px;
  max-width: 720px;
  margin: 0 auto;
}
.hero .eyebrow { display: block; margin-bottom: 28px; }
.hero-title {
  font-size: clamp(36px, 5.5vw, 58px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}
.hero-sub {
  font-size: 19px;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 44px;
  line-height: 1.75;
}
.hero-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--accent);
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 8px;
  transition: opacity 0.15s, transform 0.1s;
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  padding: 13px 20px;
  border-radius: 8px;
  box-shadow: var(--inset);
  transition: color 0.15s;
}
.btn-ghost:hover { color: var(--text); }
.hero-meta { font-size: 12px; color: var(--text-muted); letter-spacing: 0.01em; }

/* SCREENSHOTS — alternating feature rows */
.screenshots { padding: 0 0 104px; }
.screenshots .container { text-align: center; }

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 72px 0;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.feature-row:last-child { border-bottom: none; }

.feature-row.reverse .feature-img { order: 2; }
.feature-row.reverse .feature-text { order: 1; }

.feature-img {
  position: relative;
  cursor: zoom-in;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--inset);
}
.feature-img img {
  width: 100%;
  height: auto;
  display: block;
}
.zoom-hint {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0,0,0,0.6);
  color: rgba(255,255,255,0.9);
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 20px;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
  letter-spacing: 0.02em;
}
.feature-img:hover .zoom-hint { opacity: 1; }

.feature-text h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 14px;
}
.feature-text p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* LIGHTBOX */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox.hidden { display: none; }
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.lightbox-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-content img {
  max-width: 88vw;
  max-height: 88vh;
  border-radius: 12px;
  display: block;
  box-shadow: 0 32px 80px rgba(0,0,0,0.7);
}
.lightbox-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.9);
  font-size: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  left: -60px;
}
.lightbox-btn-right {
  left: auto;
  right: -60px;
}
.lightbox-btn:hover { background: rgba(255,255,255,0.18); }
.lightbox-close {
  position: absolute;
  top: -18px;
  right: -18px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.9);
  font-size: 13px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.22); }

.story-body a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255,255,255,0.25);
  transition: text-decoration-color 0.15s;
}
.story-body a:hover { text-decoration-color: rgba(255,255,255,0.7); }

/* STORY */
.story {
  padding: 88px 0;
  border-top: 1px solid var(--border);
}
.story .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.story-body {
  max-width: 600px;
  text-align: left;
}
.story-body p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 20px;
}
.story-body p:last-child { margin-bottom: 0; }
.story-sig {
  font-size: 15px !important;
  color: var(--text) !important;
  font-weight: 600;
  margin-top: 32px !important;
}

/* HOW IT WORKS */
.how {
  padding: 88px 0;
  border-top: 1px solid var(--border);
}
.section-title {
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 44px;
}
.steps {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.step {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 26px;
  flex: 1;
  box-shadow: var(--inset);
}
.step-num {
  width: 30px;
  height: 30px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 16px;
  color: white;
}
.step h3 { font-size: 15px; font-weight: 600; margin-bottom: 10px; }
.step p { font-size: 14px; color: var(--text-muted); line-height: 1.65; }
.step-arrow {
  color: var(--text-muted);
  padding-top: 40px;
  flex-shrink: 0;
}

/* FEATURES */
.features {
  padding: 88px 0;
  border-top: 1px solid var(--border);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.feature-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--inset);
  transition: box-shadow 0.15s;
}
.feature-card:hover {
  box-shadow: 0 0 0 1px rgba(255,255,255,0.1) inset;
}
.feature-icon { font-size: 22px; margin-bottom: 14px; }
.feature-card h3 { font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.feature-card p { font-size: 13px; color: var(--text-muted); line-height: 1.65; }

/* SUPPORT */
.support {
  padding: 88px 0;
  border-top: 1px solid var(--border);
}
.support-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 44px 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  box-shadow: var(--inset);
}
.support-card h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.support-card p { color: var(--text-muted); font-size: 15px; }
.bmc-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFDD00;
  color: #000;
  font-weight: 700;
  font-size: 14px;
  padding: 13px 26px;
  border-radius: 10px;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.15s, transform 0.1s;
  flex-shrink: 0;
}
.bmc-btn:hover { opacity: 0.9; transform: translateY(-1px); }

/* FOOTER */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 13px;
}
.footer-links { display: flex; gap: 20px; }
.footer-links a, .footer-copy a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 12px;
  transition: color 0.15s;
}
.footer-links a:hover, .footer-copy a:hover { color: var(--text); }
.footer-copy { font-size: 12px; color: var(--text-muted); }

/* RESPONSIVE */
@media (max-width: 768px) {
  .feature-row {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 52px 0;
  }
  .feature-row.reverse .feature-img { order: 0; }
  .feature-row.reverse .feature-text { order: 0; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .steps { flex-direction: column; }
  .step-arrow { padding-top: 0; transform: rotate(90deg); align-self: center; }
  .support-card { flex-direction: column; text-align: center; padding: 32px 24px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .lightbox-btn { display: none; }
}
@media (max-width: 480px) {
  .hero-title { letter-spacing: -0.025em; }
  .features-grid { grid-template-columns: 1fr; }
  .nav-links a:not(.nav-download) { display: none; }
}
