:root {
  --bg: #04060b;
  --panel: rgba(12, 16, 25, 0.9);
  --panel-strong: rgba(12, 16, 25, 0.96);
  --border: rgba(123, 250, 255, 0.3);
  --text: #f5f7fb;
  --muted: #9da9bb;
  --accent: #7bffb0;     /* mint glow */
  --accent-2: #7cf0ff;   /* cyan glow */
  --accent-3: #ff8dd6;   /* pink punch */
  --radius: 18px;
  --shadow: 0 24px 54px rgba(0, 0, 0, 0.55);
  --logo-img: url('https://images.unsplash.com/photo-1517649763962-0c623066013b?auto=format&fit=crop&w=400&q=60');
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Inter', 'Space Grotesk', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 18%, rgba(124,240,255,0.18), transparent 32%),
    radial-gradient(circle at 82% 12%, rgba(255,141,214,0.16), transparent 30%),
    linear-gradient(145deg, #050812 0%, #03050a 55%, #050812 100%);
  min-height: 100vh;
}

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

.topbar {
  display:flex; align-items:center; justify-content:space-between;
  padding: 14px 18px;
  position: sticky; top:0; z-index:30;
  background: linear-gradient(90deg, rgba(8,12,20,0.95), rgba(8,12,20,0.8));
  backdrop-filter: blur(14px);
  border-bottom:1px solid var(--border);
  box-shadow: var(--shadow);
}
.brand { display:flex; align-items:center; gap:10px; font-weight:800; text-transform:uppercase; letter-spacing:-0.02em; }
.logo-mark {
  width:38px; height:38px; border-radius:12px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.35), transparent 42%),
    var(--logo-img),
    conic-gradient(from 140deg, var(--accent), #7f6bff, var(--accent-2), var(--accent-3));
  box-shadow: 0 14px 32px rgba(124,240,255,0.25);
  position: relative;
}
.logo-mark::after { content:""; position:absolute; inset:4px; border-radius:10px; background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.02)); }
.logo-text { font-size:1rem; letter-spacing:0.08em; }

.nav-links { display:flex; gap:10px; align-items:center; flex-wrap:wrap; }
.nav-links a { padding:10px 13px; border-radius:12px; background: rgba(255,255,255,0.02); border:1px solid transparent; transition: 140ms; }
.nav-links a:hover, .nav-links a.is-active { border-color: var(--border); background: rgba(124,240,255,0.08);}
.pill.danger { background: rgba(255,99,99,0.14); color:#ffdede; border:1px solid rgba(255,99,99,0.35); padding:9px 12px; border-radius:999px;}

.container { max-width: 1080px; margin: 0 auto; padding: 12px 18px 44px; }

.hero {
  margin: 26px 0 18px;
  display:grid;
  gap:18px;
  grid-template-columns: 1.15fr 1fr;
}
.hero-narrow {
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}
.hero-card {
  padding:28px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, var(--panel-strong), rgba(12,16,25,0.78)),
    repeating-linear-gradient(125deg, rgba(124,240,255,0.05) 0 14px, transparent 14px 28px),
    var(--panel);
  border:1px solid var(--border);
  box-shadow: var(--shadow);
  position: relative;
  overflow:hidden;
}
.hero-card::after {
  content:"";
  position:absolute; inset:-20% 60% 10% -20%;
  background: radial-gradient(circle, rgba(124,240,255,0.16), transparent 55%);
  filter: blur(10px);
  pointer-events:none;
}
.hero h1 { margin: 0 0 12px; font-size: 2.2rem; letter-spacing:-0.02em;}
.hero p { margin:0; color: var(--muted); line-height:1.6; }
.hero-tags { display:flex; gap:8px; flex-wrap:wrap; margin-top:12px; }
.chip { padding:6px 12px; border-radius:999px; background:rgba(255,255,255,0.06); border:1px solid var(--border); font-size:0.9rem; }
.cta-row { display:flex; gap:10px; flex-wrap:wrap; margin-top:16px; }

.hero-img {
  position:relative;
  border-radius: var(--radius);
  min-height: 280px;
  border:1px solid var(--border);
  background-size: cover; background-position: center;
  overflow:hidden;
  box-shadow: var(--shadow);
  transform: perspective(800px) rotateY(-4deg);
}
.hero-img::after { content:""; position:absolute; inset:0; background: linear-gradient(120deg, rgba(0,0,0,0.55), transparent 60%); }
.hero-img::before { content:""; position:absolute; inset:0; background: radial-gradient(380px 220px at 18% 12%, rgba(124,240,255,0.18), transparent 70%); mix-blend-mode: screen; }

.glass { background: var(--panel); border:1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.card { padding: 20px; }
.grid { display:grid; gap:22px; }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); }
.stat-grid { display:grid; gap:16px; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); }
.stat-grid.compact { grid-template-columns: repeat(auto-fit, minmax(150px,1fr)); }
.stat-card { position:relative; overflow:hidden; }

.layout-split { display:grid; gap:18px; grid-template-columns: 1.3fr 0.7fr; align-items:start; }
.stack { display:grid; gap:18px; }
.tilt { transform: perspective(900px) rotateX(1deg) rotateY(-2deg); }

.table-shell { overflow-x:auto; }
table { width:100%; border-collapse: collapse; }
th, td { padding:12px 12px; border-bottom:1px solid rgba(255,255,255,0.08); text-align:left; }
th { color: var(--muted); font-weight:700; letter-spacing:0.01em; }
.metric { font-size: 2.1rem; font-weight:800; letter-spacing:-0.02em; }
.metric.small { font-size:1.6rem; }
.muted { color: var(--muted); }
.empty-state { color: var(--muted); padding:12px 0; }
.card-head { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; }
.section-title { display:flex; align-items:center; gap:10px; font-size:1.05rem; letter-spacing:-0.01em; text-transform:uppercase; }
.section-title::before { content:""; width:28px; height:3px; border-radius:99px; background:linear-gradient(90deg,var(--accent),var(--accent-2)); }

.btn {
  display:inline-block; padding:11px 14px; border-radius:13px; border:1px solid transparent;
  background: rgba(255,255,255,0.05); color: var(--text); cursor:pointer; font-weight:700;
}
.btn.primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow:0 12px 32px rgba(124,240,255,0.22); border:1px solid rgba(255,255,255,0.12);}
.btn.ghost { background: transparent; border:1px solid var(--border); }

.badge {
  display:inline-flex; align-items:center; gap:6px;
  padding:6px 10px; border-radius:12px; background:rgba(255,255,255,0.05);
  border:1px solid var(--border); color: var(--muted); font-weight:700; font-size:0.9rem;
}
td .status {
  display:inline-block; padding:6px 10px; border-radius:10px; font-weight:700; font-size:0.9rem;
}
.status.tiktok { background:rgba(124,240,255,0.14); color:#d9f7ff; border:1px solid rgba(124,240,255,0.3); }
.status.ebay { background:rgba(245,183,89,0.14); color:#ffe6c0; border:1px solid rgba(245,183,89,0.3); }

.ribbon { border-image: linear-gradient(120deg, rgba(124,240,255,0.28), rgba(255,141,214,0.28)) 1; }
.gradient-box {
  background: linear-gradient(145deg, var(--panel-strong), rgba(12,16,25,0.78)),
              radial-gradient(circle at 16% 18%, rgba(124,240,255,0.16), transparent 55%),
              radial-gradient(circle at 80% 8%, rgba(255,141,214,0.14), transparent 60%);
  border:1px solid rgba(255,255,255,0.08);
}
.mini-stat {
  padding:14px;
  border:1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.02);
}
.form-stack { display:grid; gap:10px; }
.bullet-list { list-style: disc; margin-left: 20px; line-height:1.6; }
.filter-bar { display:flex; gap:12px; flex-wrap:wrap; align-items:flex-end; }
.filter-bar label { display:block; color: var(--muted); font-weight:600; margin-bottom:4px; }
.filter-bar input, .filter-bar select, textarea {
  padding:11px 12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  color: var(--text);
}
textarea { width:100%; min-height:120px; }
.summary-pill { background: rgba(124,240,255,0.08); border:1px solid rgba(124,240,255,0.25); padding:10px 12px; border-radius:12px; color: var(--text); }
.divider { width:1px; height:60px; background: rgba(255,255,255,0.08); }
.stat-row { display:flex; gap:16px; align-items:flex-start; flex-wrap:wrap; }

.table-shell::-webkit-scrollbar { height: 10px; }
.table-shell::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.18); border-radius: 8px; }

@media (max-width: 1000px) {
  .layout-split { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .nav-links { justify-content:flex-end; }
}
