/* ── Reset & Base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --orange:    #F97316;
  --orange-dk: #C2580D;
  --bg:        #0D1117;
  --bg2:       #161B22;
  --bg3:       #1E2530;
  --border:    #30363D;
  --text:      #E6EDF3;
  --muted:     #8B949E;
  --radius:    10px;
  --max:       1100px;
}

html { scroll-behavior: smooth; }

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

a { color: var(--orange); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ── Layout Helpers ──────────────────────────────────────────────────────── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

section { padding: 96px 0; }
section:nth-child(even) { background: var(--bg2); }

.section-label {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: 12px;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 8px; }

p.lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 600px;
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: opacity .15s, transform .15s;
  white-space: nowrap;
}
.btn:hover { opacity: .88; transform: translateY(-1px); text-decoration: none; }
.btn:active { transform: translateY(0); }

.btn-primary   { background: var(--orange); color: #fff; }
.btn-secondary { background: transparent; color: var(--text); border: 1.5px solid var(--border); }
.btn-secondary:hover { border-color: var(--orange); color: var(--orange); }
.btn-lg { padding: 15px 36px; font-size: 1.05rem; }

/* ── Nav ─────────────────────────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,17,23,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
}
.nav-logo img { width: 36px; height: 36px; border-radius: 6px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  color: var(--muted);
  font-size: .9rem;
  font-weight: 500;
  transition: color .15s;
}
.nav-links a:hover { color: var(--text); text-decoration: none; }

.nav-cta { display: flex; align-items: center; gap: 12px; }

@media (max-width: 700px) {
  .nav-links { display: none; }
}

/* ── Hero ─────────────────────────────────────────────────────────────────── */
#hero {
  padding: 120px 0 96px;
  background: radial-gradient(ellipse 80% 60% at 50% -20%, rgba(249,115,22,.18) 0%, transparent 70%), var(--bg);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(249,115,22,.12);
  border: 1px solid rgba(249,115,22,.3);
  color: var(--orange);
  padding: 4px 14px;
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-title span { color: var(--orange); }

.hero-sub {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.hero-note {
  margin-top: 16px;
  font-size: .82rem;
  color: var(--muted);
}

.hero-visual {
  position: relative;
}

.hero-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,.5);
}

.hero-card-bar {
  background: var(--bg2);
  padding: 12px 16px;
  display: flex;
  gap: 6px;
  align-items: center;
  border-bottom: 1px solid var(--border);
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.r { background: #FF5F57; }
.dot.y { background: #FEBC2E; }
.dot.g { background: #28C840; }

.hero-card-body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.hero-logo-big {
  width: 180px;
  height: 180px;
  object-fit: contain;
  filter: drop-shadow(0 0 40px rgba(249,115,22,.35));
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

.hero-terminal {
  width: 100%;
  background: #000;
  border-radius: 8px;
  padding: 14px 16px;
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: .8rem;
  line-height: 1.7;
  color: #8B949E;
}
.hero-terminal .prompt { color: var(--orange); }
.hero-terminal .cmd    { color: #E6EDF3; }
.hero-terminal .ok     { color: #3FB950; }

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
}

/* ── Stats bar ───────────────────────────────────────────────────────────── */
.stats-bar {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
}
.stats-grid {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 24px;
  text-align: center;
}
.stat-val { font-size: 2rem; font-weight: 800; color: var(--orange); }
.stat-lbl { font-size: .85rem; color: var(--muted); margin-top: 2px; }

/* ── Features ────────────────────────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 56px;
}

.feature-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color .2s;
}
.feature-card:hover { border-color: var(--orange); }

.feature-icon {
  width: 44px;
  height: 44px;
  background: rgba(249,115,22,.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.feature-card p { color: var(--muted); font-size: .9rem; }

/* ── How It Works ────────────────────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  margin-top: 56px;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), transparent);
  pointer-events: none;
}

.step {
  text-align: center;
  padding: 0 24px;
  position: relative;
}

.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 6px var(--bg2);
}

.step p { color: var(--muted); font-size: .88rem; margin-top: 6px; }

/* ── Pricing ─────────────────────────────────────────────────────────────── */
.pricing-wrap {
  display: flex;
  justify-content: center;
  margin-top: 56px;
}

.pricing-card {
  background: var(--bg3);
  border: 2px solid var(--orange);
  border-radius: 16px;
  padding: 48px 48px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: 0 0 60px rgba(249,115,22,.12);
  position: relative;
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-plan { font-size: .85rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 12px; }

.pricing-price {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}
.pricing-price sup { font-size: 1.5rem; vertical-align: super; }
.pricing-cycle { color: var(--muted); font-size: .9rem; margin-bottom: 32px; }

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .95rem;
}
.pricing-features li::before {
  content: '✓';
  color: var(--orange);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-note { font-size: .8rem; color: var(--muted); margin-top: 16px; }

.btn-checkout {
  width: 100%;
  justify-content: center;
  font-size: 1.05rem;
  padding: 15px;
}

/* ── Download ────────────────────────────────────────────────────────────── */
.download-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.snap-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 24px;
  margin-top: 28px;
  font-size: .95rem;
  color: var(--text);
  transition: border-color .2s;
}
.snap-badge:hover { border-color: var(--orange); text-decoration: none; }
.snap-badge svg { flex-shrink: 0; }

.code-block {
  background: #000;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: .88rem;
  color: #8B949E;
  margin-top: 16px;
}
.code-block .cmd { color: var(--text); }
.code-block .comment { color: #484F58; }

@media (max-width: 700px) {
  .download-inner { grid-template-columns: 1fr; }
}

/* ── Footer ──────────────────────────────────────────────────────────────── */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 48px 0;
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--text);
}
.footer-logo img { width: 28px; border-radius: 4px; }

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}
.footer-links a { color: var(--muted); font-size: .88rem; }
.footer-links a:hover { color: var(--text); }

.footer-copy { color: var(--muted); font-size: .82rem; }

/* ── Paddle overlay tweaks ───────────────────────────────────────────────── */
.paddle-checkout-overlay { z-index: 9999 !important; }
