*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --bg: #060a08; --bg-card: #0a110d; --bg-code: #0a0f0c;
  --border: #141f17; --border-active: #1f3828;
  --text: #c2ccca; --text-dim: #627068; --text-bright: #e8f0ec;
  --accent: #4ade80; --accent-glow: rgba(74,222,128,0.22);
  --accent2: #34d399; --accent3: #86efac;
  --warn: #f0a030; --red: #f87171; --blue: #60a5fa;
  --header-h: 60px;
}
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: 'Manrope', sans-serif; background: var(--bg); color: var(--text); line-height: 1.75; font-size: 15px; -webkit-font-smoothing: antialiased; }

/* ─── HEADER ─── */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--header-h); background: rgba(6,10,8,0.94); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); display: flex; align-items: center; padding: 0 32px; gap: 16px; }
.header-badge { font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; color: var(--accent); }
.header-sep { width: 1px; height: 18px; background: var(--border); }
.header-title { font-family: 'Outfit', sans-serif; font-size: 15px; font-weight: 700; color: var(--text-bright); }
.header-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.hpw { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--text-dim); font-weight: 500; }
.hpb { width: 90px; height: 3px; border-radius: 2px; background: var(--border); overflow: hidden; }
.hpf { height: 100%; border-radius: 2px; background: linear-gradient(90deg, var(--accent), var(--accent2)); width: 0%; transition: width 0.5s ease; }

/* ─── MAIN ─── */
.main { margin-top: var(--header-h); max-width: 820px; margin-left: auto; margin-right: auto; padding: 52px 32px 120px; }

/* ─── HERO ─── */
.hero { margin-bottom: 64px; padding: 48px 48px 40px; border-radius: 20px; background: linear-gradient(135deg, #080f0a 0%, #0b130d 50%, #070a08 100%); border: 1px solid var(--border); position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -80px; right: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(74,222,128,0.14), transparent 70%); pointer-events: none; }
.hero::after { content: ''; position: absolute; bottom: -60px; left: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(52,211,153,0.09), transparent 70%); pointer-events: none; }
.hero-eyebrow { font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; position: relative; }
.hero h1 { font-family: 'Outfit', sans-serif; font-size: clamp(24px, 3.8vw, 38px); font-weight: 800; line-height: 1.18; letter-spacing: -0.02em; color: var(--text-bright); margin-bottom: 20px; position: relative; text-wrap: balance; }
.hero h1 span { background: linear-gradient(135deg, var(--accent), var(--accent2)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero p { font-size: 16px; color: var(--text-dim); max-width: 640px; line-height: 1.7; position: relative; margin-bottom: 28px; text-wrap: pretty; }
.hero-alert { position: relative; margin: 22px 0 28px; padding: 14px 20px 14px 52px; background: rgba(248,113,113,0.06); border: 1px solid rgba(248,113,113,0.2); border-radius: 12px; font-size: 14px; color: #f4c6c6; line-height: 1.65; }
.hero-alert::before { content: '⚠'; position: absolute; left: 18px; top: 14px; font-size: 18px; }
.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; position: relative; }
.hero-stat .num { display: block; font-family: 'Outfit', sans-serif; font-size: 28px; font-weight: 800; color: var(--accent); }
.hero-stat .lbl { font-size: 12px; color: var(--text-dim); }

/* ─── SECTIONS ─── */
.section { margin-bottom: 60px; animation: fadeUp 0.4s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.section-header { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.section-num { font-family: 'JetBrains Mono', monospace; font-size: 13px; font-weight: 700; width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #040a06; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.section h2 { font-family: 'Outfit', sans-serif; font-size: 22px; font-weight: 700; color: var(--text-bright); letter-spacing: -0.01em; text-wrap: balance; }
.section-sub { font-size: 14px; color: var(--text-dim); margin-top: 2px; text-wrap: pretty; }
.section h3 { font-family: 'Outfit', sans-serif; font-size: 16px; font-weight: 600; color: var(--text-bright); margin: 28px 0 10px; text-wrap: balance; }
.section p { margin-bottom: 14px; color: var(--text); text-wrap: pretty; }
.section ul, .section ol { padding-left: 20px; margin-bottom: 14px; }
.section li { margin-bottom: 8px; }
.section li::marker { color: var(--accent); }
.section strong { color: var(--text-bright); font-weight: 600; }

/* ─── CALLOUTS ─── */
.callout { margin: 18px 0; padding: 15px 20px; border-radius: 10px; border-left: 3px solid; font-size: 14px; line-height: 1.7; }
.callout-info  { background: rgba(74,222,128,0.05); border-color: var(--accent); }
.callout-info strong { color: var(--accent); }
.callout-tip   { background: rgba(96,165,250,0.06); border-color: var(--blue); }
.callout-tip strong { color: var(--blue); }
.callout-warn  { background: rgba(240,160,48,0.07); border-color: var(--warn); }
.callout-warn strong { color: var(--warn); }
.callout-green { background: rgba(74,222,128,0.06); border-color: var(--accent); }
.callout-green strong { color: var(--accent); }
.callout-red   { background: rgba(248,113,113,0.06); border-color: var(--red); }
.callout-red strong { color: var(--red); }

/* ─── STEPS ─── */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 18px 0; }
.steps li { counter-increment: step; display: flex; gap: 16px; margin-bottom: 16px; align-items: flex-start; font-size: 15px; color: var(--text); }
.steps li::before { content: counter(step); flex-shrink: 0; width: 28px; height: 28px; border-radius: 8px; background: var(--accent); color: #040a06; font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-top: 2px; }
.step-body { flex: 1; }
.step-body strong { color: var(--text-bright); display: block; margin-bottom: 3px; }
.step-body span { font-size: 14px; color: var(--text-dim); }

/* ─── COMMAND BLOCK ─── */
.cmd-block { margin: 22px 0; border: 1px solid rgba(74,222,128,0.25); border-radius: 12px; overflow: hidden; background: var(--bg-code); }
.cmd-header { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; background: rgba(74,222,128,0.05); border-bottom: 1px solid rgba(74,222,128,0.15); }
.cmd-label { font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--accent2); }
.copy-btn { font-family: 'Outfit', sans-serif; font-size: 11px; font-weight: 600; background: transparent; border: 1px solid rgba(74,222,128,0.3); color: var(--accent); padding: 5px 12px; border-radius: 6px; cursor: pointer; transition: all 0.2s; }
.copy-btn:hover { background: rgba(74,222,128,0.1); }
.copy-btn.copied { background: var(--accent); border-color: var(--accent); color: #040a06; }
.cmd-text { padding: 20px; font-family: 'JetBrains Mono', monospace; font-size: 14px; line-height: 1.7; color: var(--accent3); white-space: pre-wrap; user-select: all; }
.cmd-comment { font-size: 12px; color: var(--text-dim); font-style: italic; padding: 0 20px 16px; }

/* ─── HOW IT WORKS ─── */
.how-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 22px 0; }
.how-item { padding: 20px; border-radius: 14px; border: 1px solid var(--border); background: var(--bg-card); }
.how-item .hi-icon { font-size: 22px; margin-bottom: 10px; }
.how-item .hi-label { font-family: 'Outfit', sans-serif; font-size: 13px; font-weight: 700; color: var(--text-bright); margin-bottom: 6px; }
.how-item .hi-desc { font-size: 13px; color: var(--text-dim); line-height: 1.55; }

/* ─── RESULT BLOCK ─── */
.result-block { margin: 18px 0; padding: 20px 24px; background: rgba(74,222,128,0.04); border: 1px solid rgba(74,222,128,0.18); border-radius: 12px; }
.result-block .lbl { font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.result-block .txt { font-size: 14px; color: var(--text); line-height: 1.7; }

/* ─── SAVE BLOCK ─── */
.save-block { margin: 48px 0 0; padding: 28px 32px; background: rgba(74,222,128,0.04); border: 1px solid rgba(74,222,128,0.18); border-radius: 16px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.save-text h3 { font-family: 'Outfit', sans-serif; font-size: 18px; font-weight: 700; color: var(--text-bright); margin-bottom: 6px; }
.save-text p { font-size: 13px; color: var(--text-dim); line-height: 1.55; max-width: 420px; }
.save-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 10px; font-family: 'Outfit', sans-serif; font-size: 14px; font-weight: 700; text-decoration: none; background: transparent; border: 1px solid rgba(74,222,128,0.4); color: var(--accent); transition: all 0.2s; white-space: nowrap; }
.save-btn:hover { background: rgba(74,222,128,0.1); border-color: var(--accent); }
.save-btn svg { width: 16px; height: 16px; fill: currentColor; flex-shrink: 0; }

/* ─── FOOTER ─── */
.footer { border-top: 1px solid var(--border); padding: 48px 32px 40px; max-width: 820px; margin: 0 auto; }
.footer-cta-text { font-family: 'Outfit', sans-serif; font-size: 26px; font-weight: 800; color: var(--text-bright); margin-bottom: 8px; line-height: 1.2; letter-spacing: -0.02em; text-wrap: balance; }
.footer-cta-text span { color: var(--accent); }
.footer-cta-sub { font-size: 15px; color: var(--text-dim); margin-bottom: 28px; max-width: 560px; line-height: 1.6; text-wrap: pretty; }
.webinar-reasons { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 32px; }
.reason-item { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 10px; background: rgba(255,255,255,0.02); border: 1px solid rgba(74,222,128,0.1); font-size: 13px; color: var(--text); line-height: 1.45; }
.reason-num { font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 700; color: var(--accent); flex-shrink: 0; }
.footer-link { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 10px; font-family: 'Outfit', sans-serif; font-size: 15px; font-weight: 700; text-decoration: none; transition: all 0.2s; }
.footer-link.fl-accent { background: var(--accent); color: #040a06; }
.footer-link.fl-accent:hover { transform: translateY(-2px); box-shadow: 0 12px 36px var(--accent-glow); background: var(--accent3); }

/* ─── GITHUB DL ─── */
.github-dl { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 24px; padding: 16px 20px; background: var(--bg-card); border: 1px solid rgba(74,222,128,0.25); border-radius: 12px; flex-wrap: wrap; }
.github-dl-left { display: flex; align-items: center; gap: 12px; }
.gh-icon { width: 22px; height: 22px; color: var(--text-dim); flex-shrink: 0; }
.gh-title { font-family: 'JetBrains Mono', monospace; font-size: 13px; font-weight: 600; color: var(--text-bright); }
.gh-sub { font-size: 12px; color: var(--text-dim); margin-top: 2px; }
.gh-btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 18px; border-radius: 8px; font-family: 'Outfit', sans-serif; font-size: 13px; font-weight: 700; text-decoration: none; background: var(--accent); color: #040a06; transition: all 0.2s; white-space: nowrap; flex-shrink: 0; }
.gh-btn:hover { background: var(--accent3); transform: translateY(-1px); }

@media (max-width: 640px) {
  .main { padding: 40px 18px 100px; }
  .hero { padding: 32px 24px 28px; }
  .hero-stats { gap: 22px; }
  .footer { padding: 36px 18px 28px; }
  .webinar-reasons { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: 1fr; }
  .save-block { flex-direction: column; gap: 18px; }
}
