/* ═══════════════════════════════════════════
   BAMI NETWORK — Design System v2
   Mobile-first · Premium SaaS
═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,300;12..96,400;12..96,500;12..96,600;12..96,700;12..96,800&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,400&family=DM+Mono:wght@400;500&display=swap');

/* ── TOKENS ── */
:root {
  --bg:        #060810;
  --bg2:       #0c1020;
  --bg3:       #111828;
  --card:      rgba(255,255,255,0.035);
  --card-hov:  rgba(255,255,255,0.06);
  --border:    rgba(255,255,255,0.07);
  --border2:   rgba(255,255,255,0.12);
  --border3:   rgba(255,255,255,0.18);
  --text:      #eef2ff;
  --text2:     #8899cc;
  --text3:     #4a5680;
  --blue:      #4f7cff;
  --blue2:     #7ca3ff;
  --blue-glow: rgba(79,124,255,0.22);
  --gold:      #f0a830;
  --gold2:     #ffc85a;
  --gold-glow: rgba(240,168,48,0.2);
  --green:     #10d080;
  --green2:    rgba(16,208,128,0.12);
  --red:       #ff4d6a;
  --red2:      rgba(255,77,106,0.1);
  --purple:    #a78bfa;
  --r:         14px;
  --r2:        20px;
  --r3:        28px;

  --display:  'Bricolage Grotesque', sans-serif;
  --body:     'DM Sans', sans-serif;
  --mono:     'DM Mono', monospace;

  --shadow-sm:  0 2px 8px rgba(0,0,0,.4);
  --shadow-md:  0 8px 32px rgba(0,0,0,.5);
  --shadow-lg:  0 24px 60px rgba(0,0,0,.6);
  --shadow-xl:  0 40px 100px rgba(0,0,0,.7);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: var(--body); cursor: pointer; border: none; outline: none; }
input, select, textarea { font-family: var(--body); }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--border3); border-radius: 3px; }

/* ── BACKGROUND ORBS ── */
.orb-wrap { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.orb {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: .35;
  animation: orbFloat 12s ease-in-out infinite alternate;
}
.orb-1 { width: 500px; height: 500px; background: radial-gradient(circle, #1e3a8a, transparent); top: -150px; right: -100px; animation-delay: 0s; }
.orb-2 { width: 400px; height: 400px; background: radial-gradient(circle, #312e81, transparent); bottom: -100px; left: -80px; animation-delay: -4s; }
.orb-3 { width: 300px; height: 300px; background: radial-gradient(circle, #1e4d6b, transparent); top: 40%; left: 40%; animation-delay: -8s; }
@keyframes orbFloat { from { transform: translateY(0) scale(1); } to { transform: translateY(-40px) scale(1.08); } }

/* ── LAYOUT ── */
.container {
  position: relative; z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 640px) { .container { padding: 0 32px; } }
@media (min-width: 1024px) { .container { padding: 0 40px; } }

/* ── NAVIGATION ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  padding: 0 20px;
  background: rgba(6,8,16,0.8);
  backdrop-filter: blur(24px) saturate(1.8);
  border-bottom: 1px solid var(--border);
  transition: background .3s, box-shadow .3s;
}
.nav.scrolled { background: rgba(6,8,16,0.96); box-shadow: 0 4px 24px rgba(0,0,0,.4); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; max-width: 1180px; margin: 0 auto;
}

/* Logo */
.nav-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-logo-mark {
  width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--blue), #6d48ff);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 20px var(--blue-glow);
}
.nav-logo-mark svg { width: 18px; height: 18px; color: #fff; }
.nav-logo-text { font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: -.02em; }
.nav-logo-text span { color: var(--blue2); }

/* Desktop links */
.nav-links {
  display: none;
  align-items: center; gap: 2px;
}
@media (min-width: 900px) { .nav-links { display: flex; } }
.nav-link {
  font-size: 14px; font-weight: 500; color: var(--text2);
  padding: 7px 14px; border-radius: 8px;
  transition: color .15s, background .15s;
}
.nav-link:hover, .nav-link.active { color: var(--text); background: rgba(255,255,255,.06); }

.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-btn-ghost {
  display: none; font-size: 14px; font-weight: 500; color: var(--text2);
  padding: 8px 16px; border-radius: 9px; background: transparent;
  border: 1px solid var(--border2); transition: all .15s;
}
.nav-btn-ghost:hover { color: var(--text); border-color: var(--border3); background: var(--card); }
@media (min-width: 640px) { .nav-btn-ghost { display: inline-flex; align-items: center; } }

/* Hamburger */
.hamburger {
  width: 40px; height: 40px; border-radius: 9px;
  background: var(--card); border: 1px solid var(--border2);
  display: flex; align-items: center; justify-content: center;
  color: var(--text2); cursor: pointer; transition: all .15s;
}
.hamburger:hover { background: var(--card-hov); color: var(--text); }
.hamburger svg { width: 20px; height: 20px; }
@media (min-width: 900px) { .hamburger { display: none; } }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(6,8,16,0.97);
  backdrop-filter: blur(24px);
  display: flex; flex-direction: column;
  padding: 80px 24px 40px;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-close {
  position: absolute; top: 16px; right: 20px;
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--card); border: 1px solid var(--border2);
  display: flex; align-items: center; justify-content: center;
  color: var(--text2); cursor: pointer;
}
.mobile-menu-close svg { width: 20px; height: 20px; }
.mobile-nav-link {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--display); font-size: 22px; font-weight: 600;
  color: var(--text2); padding: 16px 0;
  border-bottom: 1px solid var(--border);
  transition: color .15s;
}
.mobile-nav-link:hover { color: var(--text); }
.mobile-nav-link svg { width: 22px; height: 22px; color: var(--blue); }
.mobile-menu-actions { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--body); font-weight: 600; border-radius: var(--r);
  transition: all .2s ease; cursor: pointer; border: none; outline: none;
  text-align: center; white-space: nowrap; position: relative; overflow: hidden;
}
.btn::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(rgba(255,255,255,.12), transparent);
  opacity: 0; transition: opacity .2s;
}
.btn:hover::after { opacity: 1; }

.btn-sm  { font-size: 13px; padding: 9px 18px; border-radius: 9px; }
.btn-md  { font-size: 15px; padding: 12px 24px; }
.btn-lg  { font-size: 16px; padding: 15px 32px; border-radius: 16px; }
.btn-xl  { font-size: 17px; padding: 17px 36px; border-radius: 16px; }
.btn-full { width: 100%; }

.btn-primary {
  background: linear-gradient(135deg, var(--blue), #5d48ff);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(79,124,255,.3), 0 6px 24px var(--blue-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(79,124,255,.5), 0 12px 36px rgba(79,124,255,.35); }
.btn-primary:active { transform: translateY(0); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold), #e8920a);
  color: #000;
  font-weight: 700;
  box-shadow: 0 0 0 1px rgba(240,168,48,.3), 0 6px 24px var(--gold-glow);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(240,168,48,.5), 0 12px 36px rgba(240,168,48,.35); }

.btn-outline {
  background: transparent; color: var(--text2);
  border: 1px solid var(--border2);
}
.btn-outline:hover { background: var(--card); color: var(--text); border-color: var(--border3); transform: translateY(-1px); }

.btn-glass {
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border2);
  color: var(--text);
  backdrop-filter: blur(8px);
}
.btn-glass:hover { background: rgba(255,255,255,.1); transform: translateY(-1px); }

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-sm svg { width: 15px; height: 15px; }

/* ── CARDS ── */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  transition: border-color .25s, background .25s, transform .25s, box-shadow .25s;
}
.card:hover { background: var(--card-hov); border-color: var(--border2); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card-glow:hover { box-shadow: 0 0 0 1px rgba(79,124,255,.2), 0 20px 50px rgba(79,124,255,.1); }

/* ── BADGES ── */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 100px;
}
.badge-blue { background: rgba(79,124,255,.12); color: var(--blue2); border: 1px solid rgba(79,124,255,.25); }
.badge-gold { background: rgba(240,168,48,.12); color: var(--gold2); border: 1px solid rgba(240,168,48,.25); }
.badge-green { background: var(--green2); color: var(--green); border: 1px solid rgba(16,208,128,.25); }
.badge-red { background: var(--red2); color: var(--red); border: 1px solid rgba(255,77,106,.25); }
.badge-live .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(.7)} }

/* ── TYPOGRAPHY ── */
.heading-xl {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(36px, 8vw, 80px);
  line-height: 1.04; letter-spacing: -.03em; color: var(--text);
}
.heading-lg {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(28px, 5vw, 54px);
  line-height: 1.1; letter-spacing: -.025em; color: var(--text);
}
.heading-md {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(22px, 3.5vw, 36px);
  line-height: 1.2; letter-spacing: -.02em;
}
.heading-sm { font-family: var(--display); font-weight: 600; font-size: 20px; line-height: 1.3; }
.text-lg { font-size: clamp(16px, 2vw, 20px); color: var(--text2); line-height: 1.75; }
.text-md { font-size: 15px; color: var(--text2); line-height: 1.7; }
.text-sm { font-size: 13px; color: var(--text3); line-height: 1.6; }
.text-mono { font-family: var(--mono); }
.text-gradient {
  background: linear-gradient(135deg, var(--blue2) 0%, var(--purple) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.text-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ── SECTION STRUCTURE ── */
.section { padding: 80px 0; position: relative; }
@media (min-width: 768px) { .section { padding: 120px 0; } }

.section-header { text-align: center; margin-bottom: 56px; }
@media (min-width: 768px) { .section-header { margin-bottom: 72px; } }
.section-label {
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--text3);
  margin-bottom: 16px;
}

/* ── DIVIDERS ── */
.divider { height: 1px; background: var(--border); position: relative; z-index: 1; }
.divider-glow { background: linear-gradient(90deg, transparent 0%, var(--border2) 30%, rgba(79,124,255,.3) 50%, var(--border2) 70%, transparent 100%); }

/* ── FORMS ── */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--text2); margin-bottom: 7px; letter-spacing: .02em; }
.form-input {
  width: 100%; padding: 13px 16px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border2);
  border-radius: var(--r); color: var(--text);
  font-family: var(--body); font-size: 15px;
  transition: border-color .2s, box-shadow .2s, background .2s;
  -webkit-appearance: none;
}
.form-input::placeholder { color: var(--text3); }
.form-input:focus { outline: none; border-color: var(--blue); background: rgba(79,124,255,.05); box-shadow: 0 0 0 3px rgba(79,124,255,.15); }
.form-input.error { border-color: var(--red); box-shadow: 0 0 0 3px rgba(255,77,106,.1); }
select.form-input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%234a5680'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; cursor: pointer; }
select.form-input option { background: var(--bg2); color: var(--text); }
.form-hint { font-size: 12px; color: var(--text3); margin-top: 5px; }
.form-error { font-size: 12px; color: var(--red); margin-top: 5px; display: none; }

/* ── ALERT ── */
.alert { padding: 16px 20px; border-radius: var(--r); font-size: 14px; font-weight: 500; display: flex; align-items: flex-start; gap: 12px; }
.alert svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; }
.alert-success { background: rgba(16,208,128,.1); border: 1px solid rgba(16,208,128,.25); color: var(--green); }
.alert-error { background: var(--red2); border: 1px solid rgba(255,77,106,.25); color: var(--red); }
.alert-info { background: rgba(79,124,255,.1); border: 1px solid rgba(79,124,255,.25); color: var(--blue2); }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideIn { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: translateX(0); } }
@keyframes shimmer { 0% { background-position: -600px 0; } 100% { background-position: 600px 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes countUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.anim-fade-up { animation: fadeUp .65s cubic-bezier(.22,.68,0,1.2) both; }
.d1 { animation-delay: .1s; } .d2 { animation-delay: .2s; } .d3 { animation-delay: .3s; }
.d4 { animation-delay: .4s; } .d5 { animation-delay: .5s; } .d6 { animation-delay: .6s; }

.reveal { opacity: 0; transform: translateY(32px); transition: opacity .65s ease, transform .65s cubic-bezier(.22,.68,0,1.2); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: .1s; } .reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; } .reveal-d4 { transition-delay: .4s; }

/* ── HERO SECTION ── */
.hero {
  padding: 120px 0 60px;
  text-align: center;
  position: relative;
}
@media (min-width: 768px) { .hero { padding: 160px 0 80px; } }

.hero-badge { margin-bottom: 28px; }
.hero-title { margin-bottom: 24px; max-width: 820px; margin-left: auto; margin-right: auto; }
.hero-title .line2 { color: var(--text2); }
.hero-desc { max-width: 580px; margin: 0 auto 40px; }
.hero-cta { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.hero-micro { font-size: 13px; color: var(--text3); }

/* ── STAT STRIP ── */
.stat-strip {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--border); border: 1px solid var(--border);
  border-radius: var(--r2); overflow: hidden;
}
@media (min-width: 640px) { .stat-strip { grid-template-columns: repeat(4, 1fr); } }
.stat-cell {
  background: var(--bg2); padding: 24px 20px; text-align: center;
}
.stat-value { font-family: var(--display); font-size: 32px; font-weight: 800; letter-spacing: -.03em; color: var(--text); line-height: 1; margin-bottom: 6px; }
.stat-label { font-size: 12px; font-family: var(--mono); color: var(--text3); text-transform: uppercase; letter-spacing: .08em; }

/* ── DASHBOARD MOCKUP ── */
.mockup-wrap { position: relative; margin-top: 64px; }
.mockup-glow {
  position: absolute; top: -60px; left: 50%; transform: translateX(-50%);
  width: min(800px, 100%); height: 300px;
  background: radial-gradient(ellipse, rgba(79,124,255,.15), transparent 70%);
  pointer-events: none;
}
.mockup {
  background: var(--bg2); border: 1px solid var(--border2);
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 40px 120px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.04);
}
.mockup-bar {
  background: var(--bg); border-bottom: 1px solid var(--border);
  padding: 14px 18px; display: flex; align-items: center; gap: 8px;
}
.m-dot { width: 12px; height: 12px; border-radius: 50%; }
.mockup-title { font-family: var(--mono); font-size: 12px; color: var(--text3); flex: 1; text-align: center; }
.mockup-body { display: grid; }
@media (min-width: 640px) { .mockup-body { grid-template-columns: 210px 1fr; } }

.m-sidebar { background: rgba(0,0,0,.3); border-right: 1px solid var(--border); padding: 20px 14px; display: none; }
@media (min-width: 640px) { .m-sidebar { display: block; } }
.m-sidebar-label { font-family: var(--mono); font-size: 10px; color: var(--text3); letter-spacing: .1em; text-transform: uppercase; padding: 0 8px; margin-bottom: 10px; }
.m-nav-item { display: flex; align-items: center; gap: 9px; padding: 9px 10px; border-radius: 8px; font-size: 13px; color: var(--text3); margin-bottom: 2px; cursor: default; }
.m-nav-item.act { background: rgba(79,124,255,.12); color: var(--blue2); }
.m-nav-item svg { width: 15px; height: 15px; }

.m-content { padding: 22px; }
.m-top-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; flex-wrap: wrap; gap: 10px; }
.m-page-title { font-family: var(--display); font-size: 15px; font-weight: 700; }
.m-actions { display: flex; align-items: center; gap: 8px; }
.m-badge-green { font-family: var(--mono); font-size: 11px; color: var(--green); background: var(--green2); border: 1px solid rgba(16,208,128,.2); padding: 4px 10px; border-radius: 6px; }
.m-btn { font-size: 12px; font-weight: 600; padding: 7px 13px; border-radius: 7px; background: var(--blue); color: #fff; border: none; cursor: default; display: flex; align-items: center; gap: 5px; }
.m-btn svg { width: 12px; height: 12px; }

.m-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 16px; }
.m-stat { background: rgba(0,0,0,.3); border: 1px solid var(--border); border-radius: 10px; padding: 12px; }
.m-stat-label { font-family: var(--mono); font-size: 10px; color: var(--text3); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.m-stat-val { font-family: var(--display); font-size: 20px; font-weight: 800; color: var(--text); letter-spacing: -.02em; }
.m-stat-sub { font-size: 11px; color: var(--green); margin-top: 2px; }

.m-table { background: rgba(0,0,0,.25); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.m-th {
  display: grid; grid-template-columns: 2fr 1fr 1fr 90px;
  padding: 9px 14px; border-bottom: 1px solid var(--border);
  font-family: var(--mono); font-size: 10px; color: var(--text3); text-transform: uppercase; letter-spacing: .06em;
}
.m-tr {
  display: grid; grid-template-columns: 2fr 1fr 1fr 90px;
  padding: 10px 14px; border-bottom: 1px solid var(--border);
  font-size: 13px; align-items: center;
}
.m-tr:last-child { border-bottom: none; }
.m-product { display: flex; align-items: center; gap: 8px; }
.m-thumb { width: 28px; height: 28px; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; }
.m-pname { font-size: 12px; font-weight: 600; }
.m-sku { font-family: var(--mono); font-size: 10px; color: var(--text3); }
.m-status { display: inline-flex; align-items: center; gap: 4px; font-family: var(--mono); font-size: 10px; font-weight: 600; padding: 3px 8px; border-radius: 100px; }
.s-live { background: var(--green2); color: var(--green); }
.s-ai { background: rgba(167,139,250,.12); color: var(--purple); }
.s-pend { background: rgba(240,168,48,.12); color: var(--gold2); }
.m-price { font-family: var(--mono); font-size: 12px; font-weight: 600; }
.m-action { font-family: var(--mono); font-size: 10px; padding: 4px 10px; border-radius: 5px; border: 1px solid var(--border2); color: var(--text3); cursor: default; }
.m-action.fix { background: rgba(240,168,48,.1); border-color: rgba(240,168,48,.3); color: var(--gold2); }

.mockup-fade {
  position: absolute; bottom: 0; left: 0; right: 0; height: 180px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none; z-index: 2;
}

/* ── PAIN CARDS ── */
.pain-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .pain-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .pain-grid { grid-template-columns: 1fr 1fr; gap: 20px; } }
.pain-card { padding: 28px; border-radius: var(--r2); background: var(--card); border: 1px solid var(--border); display: flex; gap: 18px; align-items: flex-start; transition: all .25s; }
.pain-card:hover { border-color: rgba(255,77,106,.25); background: rgba(255,77,106,.03); transform: translateY(-2px); }
.pain-icon-wrap { width: 44px; height: 44px; border-radius: 12px; background: var(--red2); border: 1px solid rgba(255,77,106,.2); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.pain-body h4 { font-family: var(--display); font-size: 16px; font-weight: 700; margin-bottom: 7px; }
.pain-body p { font-size: 14px; color: var(--text2); line-height: 1.65; }

/* ── COST BREAKDOWN ── */
.cost-panel { background: var(--card); border: 1px solid var(--border); border-radius: var(--r2); padding: 32px; }
.cost-big { font-family: var(--display); font-size: 72px; font-weight: 800; letter-spacing: -.04em; color: var(--red); line-height: 1; text-shadow: 0 0 60px rgba(255,77,106,.3); margin: 16px 0 8px; }
.cost-desc { font-size: 14px; color: var(--text3); margin-bottom: 24px; }
.cost-line { display: flex; align-items: center; justify-content: space-between; padding: 11px 14px; border-radius: 9px; background: rgba(0,0,0,.3); border: 1px solid var(--border); margin-bottom: 8px; }
.cost-line:last-child { background: rgba(16,208,128,.06); border-color: rgba(16,208,128,.2); margin-top: 16px; }
.cost-line span { font-size: 14px; color: var(--text2); }
.cost-line strong { font-family: var(--mono); font-weight: 600; }
.cost-line.good strong { color: var(--green); }
.cost-line.good span { color: var(--green); font-weight: 600; }

/* ── FEATURE CARDS ── */
.features-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .features-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .features-grid { grid-template-columns: 1fr 1fr 1fr; } }
.feat-card { padding: 28px; border-radius: var(--r2); background: var(--card); border: 1px solid var(--border); transition: all .25s; position: relative; overflow: hidden; }
.feat-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--blue), transparent); opacity: 0; transition: opacity .3s; }
.feat-card:hover { transform: translateY(-4px); border-color: rgba(79,124,255,.2); box-shadow: 0 20px 50px rgba(0,0,0,.35), 0 0 0 1px rgba(79,124,255,.1); }
.feat-card:hover::before { opacity: 1; }
.feat-card.span2 { grid-column: span 1; }
@media (min-width: 1024px) { .feat-card.span2 { grid-column: span 2; } }
.feat-icon { width: 48px; height: 48px; border-radius: 13px; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 18px; border: 1px solid var(--border2); }
.feat-icon.blue { background: rgba(79,124,255,.1); border-color: rgba(79,124,255,.2); }
.feat-icon.purple { background: rgba(167,139,250,.1); border-color: rgba(167,139,250,.2); }
.feat-icon.green { background: var(--green2); border-color: rgba(16,208,128,.25); }
.feat-icon.gold { background: rgba(240,168,48,.1); border-color: rgba(240,168,48,.2); }
.feat-icon.red { background: var(--red2); border-color: rgba(255,77,106,.2); }
.feat-icon.teal { background: rgba(20,184,166,.1); border-color: rgba(20,184,166,.2); }
.feat-title { font-family: var(--display); font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.feat-desc { font-size: 14px; color: var(--text2); line-height: 1.7; }
.feat-demo { margin-top: 16px; background: rgba(0,0,0,.4); border: 1px solid var(--border); border-radius: 9px; padding: 12px 14px; font-family: var(--mono); font-size: 12px; color: var(--text3); line-height: 1.8; }
.feat-demo .url { color: var(--blue2); }
.feat-demo .ok { color: var(--green); }
.feat-before-after { display: flex; gap: 8px; margin-top: 14px; font-size: 12px; font-family: var(--mono); flex-wrap: wrap; }

/* ── STEPS ── */
.steps-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .steps-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .steps-grid { grid-template-columns: repeat(4, 1fr); position: relative; } }
.step-card { padding: 28px 24px; border-radius: var(--r2); background: var(--card); border: 1px solid var(--border); text-align: center; transition: all .25s; }
.step-card:hover { transform: translateY(-4px); border-color: rgba(79,124,255,.25); box-shadow: 0 20px 40px rgba(0,0,0,.35); }
.step-num {
  width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--border2);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 14px; font-weight: 600; color: var(--text3);
  margin: 0 auto 18px; transition: all .25s;
}
.step-card:hover .step-num { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 0 20px var(--blue-glow); }
.step-emoji { font-size: 32px; margin-bottom: 14px; }
.step-title { font-family: var(--display); font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.step-desc { font-size: 14px; color: var(--text2); line-height: 1.65; }
.step-connector { display: none; }
@media (min-width: 1024px) {
  .step-connector {
    display: block; position: absolute; top: 52px; height: 2px;
    background: linear-gradient(90deg, var(--border2), rgba(79,124,255,.4), var(--border2));
    left: calc(12.5% + 26px); right: calc(12.5% + 26px);
  }
}

/* ── ROADMAP ── */
.roadmap-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .roadmap-grid { grid-template-columns: 1fr 1fr; } }
.roadmap-card { padding: 26px 28px; border-radius: var(--r2); background: var(--card); border: 1px solid var(--border); display: flex; gap: 18px; align-items: flex-start; transition: all .25s; }
.roadmap-card:hover { transform: translateY(-3px); border-color: rgba(79,124,255,.2); box-shadow: var(--shadow-md); }
.roadmap-emoji { font-size: 30px; line-height: 1; flex-shrink: 0; }
.roadmap-body h4 { font-family: var(--display); font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.roadmap-body p { font-size: 14px; color: var(--text2); line-height: 1.65; margin-bottom: 12px; }

/* ── PRICING ── */
.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px) { .pricing-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .pricing-grid { grid-template-columns: 1fr 1fr 1fr; } }
.plan { padding: 32px 28px; border-radius: var(--r2); background: var(--card); border: 1px solid var(--border); position: relative; transition: all .25s; }
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.plan.featured {
  background: linear-gradient(145deg, rgba(79,124,255,.07), rgba(109,72,255,.07));
  border-color: rgba(79,124,255,.3);
  box-shadow: 0 0 0 1px rgba(79,124,255,.1), 0 20px 60px rgba(79,124,255,.1);
}
.plan.featured:hover { box-shadow: 0 0 0 1px rgba(79,124,255,.2), 0 30px 80px rgba(79,124,255,.2); }
.plan-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--blue), #6d48ff);
  color: #fff; font-family: var(--mono); font-size: 10px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 16px; border-radius: 100px; white-space: nowrap;
}
.plan-tier { font-family: var(--mono); font-size: 11px; font-weight: 500; color: var(--text3); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 10px; }
.plan-price-wrap { margin-bottom: 8px; }
.plan-price { font-family: var(--display); font-size: 52px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.plan-price sup { font-size: 24px; vertical-align: super; }
.plan-period { font-size: 16px; font-weight: 400; color: var(--text3); }
.plan-desc { font-size: 14px; color: var(--text2); line-height: 1.65; margin: 14px 0 24px; }
.plan-divider { height: 1px; background: var(--border); margin: 20px 0; }
.plan-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.plan-feat { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text2); }
.plan-feat svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; }
.plan-feat.has svg { color: var(--green); }
.plan-feat.no { color: var(--text3); }
.plan-feat.no svg { color: var(--text3); opacity: .35; }
.plan-spots { font-family: var(--mono); font-size: 12px; color: var(--gold2); text-align: center; margin-top: 12px; }

/* ── PROOF SECTION ── */
.proof-box {
  background: linear-gradient(135deg, rgba(79,124,255,.06), rgba(109,72,255,.06));
  border: 1px solid rgba(79,124,255,.2); border-radius: var(--r3); padding: 56px 40px;
  text-align: center; position: relative; overflow: hidden;
}
@media (max-width: 640px) { .proof-box { padding: 40px 24px; } }
.proof-bg { position: absolute; top: -100px; left: 50%; transform: translateX(-50%); width: 600px; height: 400px; background: radial-gradient(ellipse, rgba(79,124,255,.08), transparent 70%); pointer-events: none; }
.proof-number { font-family: var(--display); font-size: clamp(72px, 12vw, 130px); font-weight: 800; letter-spacing: -.04em; line-height: 1; background: linear-gradient(135deg, var(--blue2), var(--purple)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin: 20px 0 10px; }
.proof-sub { font-family: var(--display); font-size: clamp(18px, 2.5vw, 24px); font-weight: 600; margin-bottom: 10px; }
.proof-detail { font-size: 15px; color: var(--text3); max-width: 460px; margin: 0 auto 36px; }
.proof-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.proof-badge { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.05); border: 1px solid var(--border2); border-radius: 100px; padding: 8px 18px; font-size: 13px; color: var(--text2); }
.proof-badge svg { width: 16px; height: 16px; color: var(--green); }

/* ── PROGRESS BARS ── */
.progress-wrap { margin-bottom: 14px; }
.progress-label-row { display: flex; justify-content: space-between; font-size: 12px; font-family: var(--mono); color: var(--text3); margin-bottom: 6px; }
.progress-track { height: 5px; background: var(--bg3); border-radius: 100px; overflow: hidden; }
.progress-fill { height: 100%; border-radius: 100px; background: linear-gradient(90deg, var(--blue), var(--purple)); animation: fillBar 1.8s cubic-bezier(.4,0,.2,1) both; }
@keyframes fillBar { from { width: 0 !important; } }

/* ── REGISTER PAGE ── */
.register-wrap { max-width: 580px; margin: 0 auto; }
.register-card { background: var(--card); border: 1px solid var(--border2); border-radius: var(--r3); padding: 40px; }
@media (max-width: 640px) { .register-card { padding: 28px 22px; border-radius: var(--r2); } }

/* ── ADMIN ── */
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th { background: var(--bg3); padding: 12px 16px; text-align: left; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--text3); border-bottom: 1px solid var(--border); }
.admin-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); color: var(--text2); }
.admin-table tr:hover td { background: rgba(255,255,255,.02); }
.admin-table-wrap { background: var(--card); border: 1px solid var(--border); border-radius: var(--r2); overflow: hidden; overflow-x: auto; }

/* ── INSTALLER ── */
.installer-wrap { max-width: 600px; margin: 0 auto; padding: 60px 20px; }
.installer-step { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 16px; }
.installer-step-num { width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.ok-check { background: var(--green2); color: var(--green); border: 1px solid rgba(16,208,128,.3); }
.err-x { background: var(--red2); color: var(--red); border: 1px solid rgba(255,77,106,.3); }
.check-label { font-size: 14px; color: var(--text2); padding-top: 4px; }
.check-sub { font-size: 12px; color: var(--text3); margin-top: 3px; }

/* ── FOOTER ── */
.footer { border-top: 1px solid var(--border); padding: 48px 0 80px; position: relative; z-index: 1; }
@media (min-width: 768px) { .footer { padding: 56px 0; } }
.footer-inner { display: flex; flex-direction: column; gap: 40px; }
@media (min-width: 768px) { .footer-inner { flex-direction: row; justify-content: space-between; align-items: flex-start; } }
.footer-brand p { font-size: 14px; color: var(--text3); margin-top: 12px; max-width: 240px; line-height: 1.6; }
.footer-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
@media (min-width: 480px) { .footer-links { grid-template-columns: repeat(3, 1fr); } }
.footer-col-title { font-family: var(--mono); font-size: 11px; color: var(--text3); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.footer-col a { display: block; font-size: 14px; color: var(--text2); margin-bottom: 10px; transition: color .15s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; margin-top: 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--text3); }

/* ── PAGE HEADER (inner pages) ── */
.page-hero { padding: 120px 0 64px; text-align: center; position: relative; }
.page-hero-bg { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(79,124,255,.08), transparent); pointer-events: none; }

/* ── RESPONSIVE UTILITIES ── */
.hide-mobile { display: none !important; }
@media (min-width: 640px) { .hide-mobile { display: revert !important; } }
.hide-desktop { display: block !important; }
@media (min-width: 640px) { .hide-desktop { display: none !important; } }

.grid-2 { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: 1fr 1fr 1fr; } }

/* ── SCROLL TOP BTN ── */
.scroll-top { position: fixed; bottom: 28px; right: 20px; z-index: 99; width: 44px; height: 44px; border-radius: 12px; background: var(--bg2); border: 1px solid var(--border2); color: var(--text2); display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; transform: translateY(10px); transition: all .25s; }
.scroll-top.visible { opacity: 1; transform: translateY(0); }
.scroll-top:hover { background: var(--card-hov); color: var(--text); }
.scroll-top svg { width: 18px; height: 18px; }

/* SUCCESS / THANK YOU */
.success-icon { width: 72px; height: 72px; border-radius: 50%; background: var(--green2); border: 2px solid rgba(16,208,128,.3); display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; }
.success-icon svg { width: 36px; height: 36px; color: var(--green); }
