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

:root {
  --bg:      #080b08;
  --card:    #0e1510;
  --border:  #1a2e1c;
  --accent:  #39ff14;   /* electric green  */
  --orange:  #ff7700;   /* neon orange     */
  --blue:    #4cc9f0;   /* electric blue   */
  --purple:  #b044ff;   /* neon purple     */
  --text:    #dff5df;
  --muted:   #8866cc;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  background-image:
    linear-gradient(rgba(57,255,20,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57,255,20,.025) 1px, transparent 1px);
  background-size: 40px 40px;
  color: var(--text);
  line-height: 1.6;
}

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

/* ── Nav ── */
nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(8,11,8,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.nav-logo {
  font-size: 1.3rem; font-weight: 900; color: var(--accent); letter-spacing: -0.5px;
  text-shadow: 0 0 16px rgba(57,255,20,.7), 0 0 32px rgba(57,255,20,.35);
  text-decoration: none;
}
.nav-logo span { color: var(--text); }
.nav-logo .live { color: var(--accent); text-shadow: 0 0 14px rgba(57,255,20,.5); }
.hero h1 .bitcoin { color: var(--orange); text-shadow: 0 0 30px rgba(255,119,0,.6), 0 0 60px rgba(255,119,0,.25); }
.nav-links { display: flex; gap: 20px; font-size: .9rem; }
.nav-links a { color: var(--purple); }
.nav-links a:hover { color: var(--text); text-decoration: none; }

/* ── Hero ── */
.hero {
  text-align: center;
  padding: 90px 24px 70px;
  max-width: 760px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-block;
  background: rgba(176,68,255,.1);
  border: 1px solid rgba(176,68,255,.4);
  color: var(--purple);
  border-radius: 99px;
  padding: 5px 16px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 22px;
  box-shadow: 0 0 16px rgba(176,68,255,.2);
}
.hero h1 {
  font-size: clamp(2rem, 6vw, 3.4rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 18px;
  letter-spacing: -1px;
}
.hero h1 span {
  color: var(--accent);
  text-shadow: 0 0 30px rgba(57,255,20,.6), 0 0 60px rgba(57,255,20,.25);
}
.hero p {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 34px;
}
.hero-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px;
  border-radius: 10px;
  font-size: 1rem; font-weight: 700;
  cursor: pointer; border: none;
  transition: transform .12s, box-shadow .15s;
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn-primary { background: var(--accent); color: #030801; }
.btn-primary:hover { box-shadow: 0 0 0 3px rgba(57,255,20,.4), 0 0 24px rgba(57,255,20,.35); }
.btn-outline {
  background: rgba(176,68,255,.1);
  color: var(--purple);
  border: 1px solid rgba(176,68,255,.45);
  box-shadow: 0 0 14px rgba(176,68,255,.2);
}
.btn-outline:hover {
  background: rgba(176,68,255,.2);
  border-color: rgba(176,68,255,.75);
  box-shadow: 0 0 22px rgba(176,68,255,.35);
}

/* ── Demo screenshot placeholder ── */
.demo-wrap {
  max-width: 860px;
  margin: 0 auto 80px;
  padding: 0 24px;
}
.demo-screen {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  box-shadow: 0 0 40px rgba(176,68,255,.1), inset 0 1px 0 rgba(255,255,255,.03);
}
.demo-card {
  background: var(--bg);
  border: 1px solid rgba(57,255,20,.25);
  border-radius: 12px;
  padding: 18px 16px;
  text-align: center;
  transition: border-color .2s, box-shadow .2s, transform .15s;
  box-shadow: 0 0 18px rgba(57,255,20,.1);
}
.demo-card:hover {
  border-color: rgba(57,255,20,.55);
  box-shadow: 0 0 28px rgba(57,255,20,.22);
  transform: translateY(-3px);
  filter: brightness(1.12);
}
.demo-card .icon { font-size: 2rem; margin-bottom: 8px; }
.demo-card p { font-size: .88rem; color: rgba(57,255,20,.7); }
.demo-card strong { display: block; font-size: .95rem; color: var(--text); margin-bottom: 4px; }

/* ── Section ── */
section { max-width: 860px; margin: 0 auto; padding: 60px 24px; }
section + section { border-top: 1px solid var(--border); }
.section-label {
  font-size: .78rem; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--accent); margin-bottom: 10px;
  text-shadow: 0 0 10px rgba(57,255,20,.5);
}
h2 { font-size: clamp(1.5rem, 4vw, 2rem); font-weight: 800; margin-bottom: 14px; letter-spacing: -.5px; }
.subtitle { color: var(--muted); font-size: 1rem; margin-bottom: 36px; max-width: 560px; }

/* ── Feature grid ── */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.feature {
  background: var(--card);
  border: 1px solid rgba(76,201,240,.25);
  border-radius: 14px;
  padding: 22px 20px;
  transition: border-color .2s, box-shadow .2s, transform .15s;
  box-shadow: 0 0 22px rgba(76,201,240,.1);
}
.feature:hover {
  border-color: rgba(76,201,240,.55);
  box-shadow: 0 0 32px rgba(76,201,240,.22);
  transform: translateY(-3px);
  filter: brightness(1.12);
}
.feature:active {
  border-color: rgba(76,201,240,.85);
  box-shadow: 0 0 42px rgba(76,201,240,.4);
}
.feature .icon { font-size: 1.6rem; margin-bottom: 10px; filter: drop-shadow(0 0 6px rgba(176,68,255,.6)); }
.feature h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; color: var(--purple); }
.feature p { font-size: .88rem; color: rgba(76,201,240,.8); line-height: 1.5; }

/* ── Install steps ── */
.steps { display: flex; flex-direction: column; gap: 20px; }
.step { display: flex; gap: 16px; align-items: flex-start; }
.step-num {
  flex-shrink: 0;
  width: 32px; height: 32px;
  background: var(--orange);
  color: #1a0800;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: .9rem;
  box-shadow: 0 0 14px rgba(255,119,0,.55);
}
.step-body h3 { font-size: .95rem; font-weight: 700; margin-bottom: 4px; }
.step-body p { font-size: .88rem; color: var(--muted); }

pre, code {
  font-family: "Courier New", monospace;
  background: #050805;
  border: 1px solid rgba(76,201,240,.25);
  border-radius: 10px;
  color: rgba(76,201,240,.55);
  font-size: .88rem;
  box-shadow: 0 0 16px rgba(76,201,240,.08);
  transition: border-color .25s, box-shadow .25s, color .25s, transform .15s;
}
pre {
  padding: 18px 20px; overflow-x: auto; margin-top: 10px; line-height: 1.7;
  cursor: pointer;
}
pre:hover {
  border-color: rgba(76,201,240,.6);
  box-shadow: 0 0 26px rgba(76,201,240,.25);
  color: var(--blue);
  transform: translateY(-2px);
}
pre.copied {
  border-color: rgba(57,255,20,.65);
  box-shadow: 0 0 30px rgba(57,255,20,.3);
  color: var(--accent);
}
code {
  padding: 2px 8px; border-radius: 5px;
  cursor: pointer;
}
code:hover {
  border-color: rgba(76,201,240,.6);
  box-shadow: 0 0 10px rgba(76,201,240,.25);
  color: var(--blue);
}
code.copied {
  border-color: rgba(57,255,20,.65);
  box-shadow: 0 0 12px rgba(57,255,20,.3);
  color: var(--accent);
}

/* ── Lightning section ── */
.lightning-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.ln-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 20px;
  transition: border-color .2s, box-shadow .2s, transform .15s, filter .2s;
  cursor: pointer;
  border-color: rgba(255,119,0,.2);
  box-shadow: 0 0 16px rgba(255,119,0,.08);
}
.ln-card.recommended { border-color: rgba(255,119,0,.2); }
.ln-card:hover {
  border-color: var(--orange);
  box-shadow: 0 0 28px rgba(255,119,0,.3);
  transform: translateY(-3px);
  filter: brightness(1.12);
}
.ln-card:active {
  border-color: rgba(255,119,0,.9);
  box-shadow: 0 0 40px rgba(255,119,0,.4);
}
.ln-badge {
  display: inline-block;
  background: var(--orange); color: #1a0800;
  border-radius: 99px; padding: 2px 12px;
  font-size: .75rem; font-weight: 700;
  margin-bottom: 10px;
  box-shadow: 0 0 12px rgba(255,119,0,.5);
}
.ln-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; color: var(--orange); }
.ln-card p { font-size: .85rem; color: var(--text); line-height: 1.5; }
.ln-card ul { margin-top: 8px; padding-left: 18px; font-size: .85rem; color: var(--text); }
.ln-card ul li { margin-bottom: 3px; }

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border);
  padding: 36px 24px;
  text-align: center;
  color: var(--muted);
  font-size: .88rem;
}
.footer-logo { color: var(--accent); font-weight: 900; text-shadow: 0 0 14px rgba(57,255,20,.5); }
footer a { color: var(--muted); }
footer a:hover { color: var(--accent); text-shadow: 0 0 10px rgba(57,255,20,.5); }
.footer-inner { max-width: 860px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; }

.pre-wrap { margin-top: 10px; }
.pre-wrap pre { margin-top: 0; }

/* ── Card zoom modal ── */
.demo-card, .feature { cursor: pointer; }
.card-modal-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(8,11,8,.88);
  backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  animation: modalFadeIn .2s ease both;
}
.card-modal-box {
  background: var(--card);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 20px;
  padding: 44px 40px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  animation: cardZoomIn .28s cubic-bezier(.17,.89,.32,1.28) both;
  cursor: default;
}
.card-modal-box .modal-icon  { font-size: 4rem; margin-bottom: 18px; }
.card-modal-box .modal-badge {
  display: inline-block;
  background: var(--orange); color: #1a0800;
  border-radius: 99px; padding: 2px 14px;
  font-size: .8rem; font-weight: 700; margin-bottom: 14px;
}
.card-modal-box .modal-title { font-size: 1.5rem; font-weight: 800; color: var(--text); margin-bottom: 14px; }
.card-modal-box .modal-desc  { font-size: 1rem; color: var(--muted); line-height: 1.7; }
.card-modal-box .modal-list  {
  text-align: left; padding-left: 20px; margin: 14px 0 0;
  color: var(--muted); font-size: .95rem; line-height: 1.9;
}
.card-modal-box .modal-code  {
  background: #050805;
  border: 1px solid rgba(76,201,240,.25);
  border-radius: 8px; padding: 12px 16px;
  font-family: "Courier New", monospace;
  font-size: .88rem; color: rgba(76,201,240,.55);
  text-align: left; margin-top: 14px;
  word-break: break-all; white-space: pre-wrap;
  cursor: pointer;
  transition: border-color .25s, box-shadow .25s, color .25s;
}
.card-modal-box .modal-code:hover {
  border-color: rgba(76,201,240,.6);
  box-shadow: 0 0 12px rgba(76,201,240,.25);
  color: var(--blue);
}
.card-modal-box .modal-code.copied {
  border-color: rgba(57,255,20,.65);
  box-shadow: 0 0 14px rgba(57,255,20,.3);
  color: var(--accent);
}
.card-modal-hint { font-size: .75rem; color: var(--border); margin-top: 24px; }
@keyframes modalFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes cardZoomIn  { from { opacity: 0; transform: scale(.78); } to { opacity: 1; transform: scale(1); } }

@media (max-width: 500px) {
  .nav-links { display: none; }
  .hero { padding: 60px 20px 50px; }
}
