@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
  --bg: #090a0f;
  --bg-2: #0d0f17;
  --surface: rgba(18, 21, 31, 0.75);
  --surface-hover: rgba(26, 31, 46, 0.85);
  --surface-2: #161a29;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.15);
  --line-glow: rgba(16, 185, 129, 0.4);
  --text: #f8fafc;
  --muted: #94a3b8;
  --dim: #cbd5e1;
  --green: #10b981;
  --green-glow: rgba(16, 185, 129, 0.5);
  --green-soft: rgba(16, 185, 129, 0.12);
  --purple: #8b5cf6;
  --purple-glow: rgba(139, 92, 246, 0.4);
  --cyan: #06b6d4;
  --gold: #fbbf24;
  --red: #f43f5e;
  --radius: 16px;
  --radius-sm: 10px;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background-color: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(16, 185, 129, 0.18) 0%, transparent 50%),
    radial-gradient(circle at 90% 40%, rgba(139, 92, 246, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 10% 80%, rgba(6, 182, 212, 0.1) 0%, transparent 40%),
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 48px 48px, 48px 48px;
  background-position: 0 0, 0 0, 0 0, -1px -1px, -1px -1px;
}

/* Mouse Ambient Torch Spotlight */
#mouse-spotlight {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(650px circle at var(--mouse-x, 50vw) var(--mouse-y, 50vh), rgba(16, 185, 129, 0.07), transparent 80%);
  transition: opacity 0.3s ease;
}

a { color: inherit; }
img { max-width: 100%; }

.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; position: relative; z-index: 2; }
.mono { font-family: var(--mono); }

/* Typography & Glows */
h1 {
  font-size: clamp(42px, 6.5vw, 72px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.05;
  background: linear-gradient(135deg, #ffffff 20%, #a7f3d0 70%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 45px rgba(16, 185, 129, 0.35);
}

h2 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -1px;
  background: linear-gradient(135deg, #ffffff 40%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.glow-text {
  color: var(--green);
  text-shadow: 0 0 20px var(--green-glow), 0 0 40px rgba(16, 185, 129, 0.3);
}

.kicker {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.15);
  margin-bottom: 20px;
}

.lede {
  margin-top: 20px;
  color: var(--dim);
  font-size: 18px;
  max-width: 52ch;
  line-height: 1.65;
}

/* Bold Animated Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  font-family: var(--font);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.2px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn:active {
  transform: translateY(1px) scale(0.98);
}

.btn-pill { border-radius: 999px; padding: 12px 28px; font-size: 15px; }
.btn-sm { border-radius: 10px; padding: 8px 14px; font-size: 13px; }
.btn-md { border-radius: 12px; padding: 12px 18px; font-size: 14px; }
.btn-block { width: 100%; }

/* Primary Button: Shimmer & Radiant Glow */
.btn-primary {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #032215;
  border-color: rgba(255, 255, 255, 0.25);
  font-weight: 700;
  box-shadow: 0 4px 20px -2px rgba(16, 185, 129, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.4);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: 0.6s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.65), 0 0 20px rgba(16, 185, 129, 0.4), inset 0 1px 1px #fff;
  filter: brightness(1.06);
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-color: var(--line-2);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(16, 185, 129, 0.5);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.2);
}

.btn-warn {
  background: rgba(251, 191, 36, 0.1);
  color: var(--gold);
  border-color: rgba(251, 191, 36, 0.35);
}
.btn-warn:hover {
  background: rgba(251, 191, 36, 0.2);
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.3);
  transform: translateY(-2px);
}

.btn-danger {
  background: rgba(244, 63, 94, 0.1);
  color: var(--red);
  border-color: rgba(244, 63, 94, 0.35);
}
.btn-danger:hover {
  background: rgba(244, 63, 94, 0.2);
  border-color: var(--red);
  box-shadow: 0 0 20px rgba(244, 63, 94, 0.3);
  transform: translateY(-2px);
}

/* Navs */
.mkt-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(9, 10, 15, 0.82);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}

.mkt-nav .bar { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; font-weight: 800; font-size: 18px;
  letter-spacing: -0.5px;
}

.brand .mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, #10b981 0%, #059669 50%, #8b5cf6 100%);
  display: grid; place-items: center; color: #021a10;
  font-weight: 800; font-size: 16px;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand:hover .mark {
  transform: rotate(-6deg) scale(1.08);
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.8), 0 0 15px rgba(139, 92, 246, 0.5);
}

.links { display: flex; align-items: center; gap: 24px; font-size: 14px; font-weight: 600; color: var(--dim); }
.links a { text-decoration: none; transition: color 0.2s ease; }
.links a:hover { color: #fff; text-shadow: 0 0 12px rgba(255, 255, 255, 0.5); }
.links .cta { margin-left: 8px; }

.app-nav {
  background: rgba(13, 15, 23, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.app-nav .bar { display: flex; align-items: center; gap: 12px; height: 64px; width: min(1320px, calc(100% - 32px)); margin: 0 auto; }
.app-nav .links { margin-left: 20px; gap: 6px; flex: 1; }
.app-nav .links a {
  padding: 8px 14px; border-radius: var(--radius-sm); color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 600;
  transition: all 0.2s ease;
}
.app-nav .links a:hover, .app-nav .links a.active {
  color: #fff; background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.15);
}
.app-nav .links a.active {
  border-bottom: 2px solid var(--green);
}
.app-nav .who { margin-left: auto; display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); }
.pill-admin {
  font-family: var(--mono); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--gold); background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.4); padding: 4px 10px; border-radius: 999px;
  box-shadow: 0 0 15px rgba(251, 191, 36, 0.2);
}

/* Hero Section */
.hero { padding: 100px 0 60px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 32px 0 28px; }
.trust { display: flex; gap: 24px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.trust b { color: var(--text); font-weight: 600; }

.ip-card {
  margin-top: 48px;
  background: var(--surface);
  backdrop-filter: blur(24px);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.7), 0 0 25px rgba(16, 185, 129, 0.1);
  transition: all 0.3s ease;
}

.ip-card:hover {
  border-color: var(--line-glow);
  box-shadow: 0 15px 50px -10px rgba(0, 0, 0, 0.8), 0 0 35px rgba(16, 185, 129, 0.25);
  transform: translateY(-2px);
}

.ip-card .label { font-family: var(--mono); font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.ip-card code { font-family: var(--mono); font-size: 20px; font-weight: 700; color: var(--green); text-shadow: 0 0 20px var(--green-glow); }
.dot {
  width: 10px; height: 10px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 4px var(--green-soft), 0 0 12px var(--green);
  display: inline-block; margin-right: 8px;
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.7; }
}

/* Sections & Grid Cards */
.section { padding: 90px 0; }
.sec-kicker { font-family: var(--mono); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--green); margin-bottom: 12px; }
.sec-sub { color: var(--muted); margin: 12px 0 40px; max-width: 56ch; font-size: 16px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.card {
  background: var(--surface);
  backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.card:hover {
  background: var(--surface-hover);
  border-color: rgba(16, 185, 129, 0.35);
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.8), 0 0 25px rgba(16, 185, 129, 0.12);
  transform: translateY(-4px);
}

.card h3 { font-size: 18px; font-weight: 700; margin: 12px 0 6px; letter-spacing: -0.3px; }
.card p { color: var(--muted); font-size: 14px; line-height: 1.6; }

.ico {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(139, 92, 246, 0.15));
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--green); font-size: 20px;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.15);
}

/* Pricing / Plans */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.plan {
  background: var(--surface);
  backdrop-filter: blur(24px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex; flex-direction: column;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.plan:hover {
  transform: translateY(-6px);
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 0 20px 45px -15px rgba(0, 0, 0, 0.9), 0 0 30px rgba(16, 185, 129, 0.2);
}

.plan.featured {
  border-color: var(--green);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.14) 0%, rgba(18, 21, 31, 0.8) 40%), var(--surface);
  box-shadow: 0 0 35px rgba(16, 185, 129, 0.25);
}

.plan.featured::before {
  content: 'POPULAR CHOICE';
  position: absolute;
  top: -12px; right: 20px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #032215;
  font-family: var(--mono);
  font-size: 10px; font-weight: 800; letter-spacing: 1px;
  padding: 3px 10px; border-radius: 999px;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.6);
}

.plan .ore { font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.plan h3 { font-size: 24px; font-weight: 800; margin: 8px 0 4px; letter-spacing: -0.5px; }
.plan .price { font-size: 44px; font-weight: 800; letter-spacing: -1.5px; margin: 14px 0 6px; color: #fff; }
.plan .price span { font-size: 15px; color: var(--muted); font-weight: 500; }
.plan ul { list-style: none; margin: 20px 0 24px; flex: 1; }
.plan li { font-size: 14px; color: var(--dim); padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.plan li::before { content: "✓ "; color: var(--green); font-weight: 800; margin-right: 6px; text-shadow: 0 0 10px var(--green-glow); }

/* CTA Band */
.cta-band {
  border: 1px solid rgba(16, 185, 129, 0.35);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(139, 92, 246, 0.1) 100%), rgba(18, 21, 31, 0.9);
  backdrop-filter: blur(20px);
  border-radius: 24px; padding: 56px 40px; text-align: center;
  box-shadow: 0 0 50px rgba(16, 185, 129, 0.2);
}
.cta-band h2 { margin-bottom: 12px; }
.cta-band p { color: var(--dim); margin-bottom: 24px; font-size: 17px; }

/* Tables & Badges */
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th {
  text-align: left; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--muted); font-weight: 600; padding: 14px 16px; border-bottom: 1px solid var(--line);
}
.table td { padding: 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.04); vertical-align: middle; }
.table tr:hover td { background: rgba(255, 255, 255, 0.03); }

.badge {
  display: inline-flex; align-items: center; gap: 8px; border-radius: 999px;
  padding: 4px 12px; font-size: 12px; font-weight: 700; letter-spacing: 0.3px;
}
.badge-on {
  background: rgba(16, 185, 129, 0.15); color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.25);
}
.badge-off { background: rgba(255, 255, 255, 0.05); color: var(--muted); border: 1px solid var(--line); }
.badge-warn {
  background: rgba(251, 191, 36, 0.15); color: #fde047;
  border: 1px solid rgba(251, 191, 36, 0.4);
  box-shadow: 0 0 15px rgba(251, 191, 36, 0.25);
}
.badge-bad {
  background: rgba(244, 63, 94, 0.15); color: #fda4af;
  border: 1px solid rgba(244, 63, 94, 0.4);
  box-shadow: 0 0 15px rgba(244, 63, 94, 0.25);
}

/* Console View */
.console {
  background: #06070a; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--radius-sm);
  font-family: var(--mono); font-size: 12px; color: #86efac; padding: 18px;
  height: 320px; overflow: auto; white-space: pre-wrap; line-height: 1.5;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.8);
}

/* Input Fields */
input, select, textarea {
  width: 100%; background: #0c0e14; color: var(--text); border: 1px solid var(--line-2);
  border-radius: var(--radius-sm); padding: 13px 16px; font: 14px var(--font);
  transition: all 0.2s ease;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.3), inset 0 0 8px rgba(16, 185, 129, 0.1);
}

/* Auth / Signup / Login */
.auth-shell {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 24px;
}

.auth-card {
  width: min(560px, 100%);
  background: var(--surface);
  backdrop-filter: blur(28px);
  border: 1px solid var(--line-2);
  border-radius: 24px;
  padding: 44px 40px;
  box-shadow: 0 24px 60px -15px rgba(0, 0, 0, 0.9), 0 0 35px rgba(16, 185, 129, 0.15);
  transition: all 0.3s ease;
}

.auth-card:hover {
  border-color: rgba(16, 185, 129, 0.45);
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.95), 0 0 45px rgba(16, 185, 129, 0.25);
}

.auth-card h1 {
  font-size: 32px;
  letter-spacing: -1px;
  margin-bottom: 12px;
  line-height: 1.2;
}

label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--dim);
  margin: 16px 0 8px;
  letter-spacing: 0.2px;
}

.hint {
  color: var(--muted);
  font-size: 13px;
  margin-top: 20px;
  text-align: center;
  line-height: 1.6;
}

.hint code {
  font-family: var(--mono);
  color: var(--green);
  font-size: 12px;
}

.err {
  background: rgba(244, 63, 94, 0.14);
  color: #fda4af;
  border: 1px solid rgba(244, 63, 94, 0.35);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  margin-bottom: 20px;
}

/* Footer */
footer { border-top: 1px solid var(--line); padding: 60px 0 32px; color: var(--muted); font-size: 14px; }
.foot { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 36px; }
footer a { display: block; text-decoration: none; margin: 8px 0; color: var(--dim); transition: color 0.2s; }
footer a:hover { color: var(--green); text-shadow: 0 0 10px var(--green-glow); }
.copy { border-top: 1px solid var(--line); padding-top: 20px; display: flex; justify-content: space-between; font-size: 13px; }

/* Responsive */
@media (max-width: 900px) {
  .grid-3, .grid-4, .plans, .stats, .split, .foot { grid-template-columns: 1fr; }
  .links .hide { display: none; }
  h1 { font-size: 42px; }
  .hero { padding-top: 50px; }
}
