:root {
  --accent: #FF6B3D;
  --accent-2: #E8402A;
  --bg: #14161C;
  --panel: #1B1E26;
  --panel-2: #22252E;
  --panel-3: #10121A;
  --ink: #F4F3F0;
  --ink-2: #B0AFAA;
  --grey: #75746F;
  --line: #2A2E38;
  --green: #10B981;
  --yellow: #F59E0B;
  --red: #EF4444;
  --blue: #3B82F6;
  --purple: #A78BFA;
  --pink: #EC4899;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { background: var(--bg); }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, sans-serif;
  background: var(--bg); color: var(--ink); font-size: 15px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }

/* Blur blobs + rising dots */
.particles {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  overflow: hidden;
}
.particles::before, .particles::after {
  content: ''; position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: 0.4;
  animation: float 20s ease-in-out infinite;
}
.particles::before {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,107,61,0.3), transparent 70%);
  top: -100px; left: -100px;
}
.particles::after {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(59,130,246,0.25), transparent 70%);
  top: 30%; right: -100px;
  animation-delay: -10s;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(80px, 40px) scale(1.1); }
  66% { transform: translate(-50px, 80px) scale(0.95); }
}
.dot-particles { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.dot-particles span {
  position: absolute;
  width: 3px; height: 3px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0;
  animation: rise linear infinite;
  box-shadow: 0 0 6px currentColor;
}
@keyframes rise {
  0% { transform: translateY(0); opacity: 0; }
  10% { opacity: 0.7; }
  90% { opacity: 0.4; }
  100% { transform: translateY(-110vh); opacity: 0; }
}

.header, .hero, .body { position: relative; z-index: 2; }

/* Header */
.header {
  background: rgba(20, 22, 28, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  padding: 12px 24px; display: flex; align-items: center;
  justify-content: space-between; position: sticky; top: 0; z-index: 30;
  height: 57px;
}
.header-l { display: flex; align-items: center; gap: 20px; }
.header-r { display: flex; gap: 12px; align-items: center; }
.logo { font-size: 19px; font-weight: 800; letter-spacing: -0.3px; color: var(--ink); }
.logo .lp-lead { color: var(--ink); }
.logo .lp-price { color: var(--accent-2); }
.section-name { color: var(--grey); font-size: 13px; }
.section-name::before { content: '/'; margin: 0 10px; color: var(--line); }
.admin-btn {
  padding: 6px 14px; background: var(--accent); color: #fff;
  border-radius: 8px; text-decoration: none;
  font-size: 12px; font-weight: 600; border: 0; cursor: pointer;
  font-family: inherit;
}
.admin-btn:hover { background: var(--accent-2); }
.logout-btn {
  background: #dc2626; border: none; color: #fff;
  padding: 6px 14px; border-radius: 8px; cursor: pointer;
  font-size: 12px; font-weight: 700; font-family: inherit;
}
.logout-btn:hover { background: #b91c1c; }

/* Hero */
.hero {
  padding: 60px 40px 20px; text-align: center;
  position: relative; overflow: hidden;
}
.hero-inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.hero h1 {
  font-size: 44px; font-weight: 800; letter-spacing: -1.5px;
  line-height: 1.1; margin-bottom: 12px; color: var(--ink);
}
.hero p { font-size: 15px; color: var(--ink-2); max-width: 560px; margin: 0 auto; }

/* Body */
.body { max-width: 1240px; margin: 0 auto; padding: 24px 40px 100px; }

.tier { margin-bottom: 40px; }
.tier-head {
  display: flex; align-items: baseline; gap: 14px;
  margin-bottom: 20px; padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.tier-title {
  font-size: 18px; font-weight: 800;
  letter-spacing: -0.3px; color: var(--ink);
}
.tier-title .dot {
  display: inline-block; width: 9px; height: 9px;
  border-radius: 50%; margin-right: 10px;
  vertical-align: middle;
}
.tier-sub {
  font-size: 11px; color: var(--grey);
  text-transform: uppercase; letter-spacing: 1.6px; font-weight: 700;
}

/* Cards */
.grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 1100px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px)  { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px)  { .grid { grid-template-columns: 1fr; } }

.card {
  background: var(--panel-3); border: 1px solid var(--line);
  border-radius: 14px; padding: 0;
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative; overflow: hidden; cursor: pointer;
  display: flex; min-height: 130px; text-decoration: none; color: inherit;
}
.card::before {
  content: '';
  position: absolute; inset: -1px;
  border-radius: 14px; padding: 1.5px;
  background: conic-gradient(
    from 0deg,
    transparent 0%,
    var(--clr, var(--accent)) 15%,
    transparent 40%,
    transparent 60%,
    var(--clr, var(--accent)) 85%,
    transparent 100%
  );
  -webkit-mask: linear-gradient(#000,#000) content-box, linear-gradient(#000,#000);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0.35;
  transition: opacity 0.3s;
}
.card:hover::before {
  opacity: 1;
  animation: spin-conic 4s linear infinite;
}
@keyframes spin-conic {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.card:hover {
  box-shadow: 0 0 40px -8px var(--clr, var(--accent));
  transform: translateY(-3px);
}

.card .iso {
  width: 82px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--clr, var(--accent)) 15%, transparent),
    transparent);
  border-right: 1px solid var(--line);
  color: var(--clr, var(--accent));
  position: relative; z-index: 1;
}
.card .iso svg { width: 46px; height: 46px; }

.card .cat-body {
  padding: 14px 16px; flex: 1;
  display: flex; flex-direction: column; justify-content: center;
  min-width: 0; position: relative; z-index: 1;
}
.card h3 {
  font-size: 15px; font-weight: 700; letter-spacing: -0.2px;
  margin-bottom: 4px; color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.card p {
  font-size: 11.5px; color: var(--ink-2); line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.warn-label {
  position: absolute; top: 8px; left: 92px;
  font-size: 8px; font-weight: 800;
  color: var(--yellow);
  background: rgba(245,158,11,0.15);
  border: 1px solid rgba(245,158,11,0.4);
  padding: 2px 6px; border-radius: 3px;
  text-transform: uppercase; letter-spacing: 0.5px;
  z-index: 2;
}
.card.soon { cursor: default; opacity: 0.5; }
.card.soon:hover { transform: none; box-shadow: none; }
.card.soon::before { opacity: 0.15; animation: none; }
.card.soon .iso { color: var(--grey); }
.card.agent { cursor: default; }
.card.agent:hover { box-shadow: 0 0 30px -8px var(--clr, var(--accent)); }

/* Login screen */
.login-wrap {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 24px; position: relative; z-index: 2;
}
.login-box {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 16px; padding: 40px 36px;
  max-width: 420px; width: 100%;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.login-logo {
  font-size: 24px; font-weight: 800; letter-spacing: -0.5px;
  margin-bottom: 8px; text-align: center;
}
.login-logo .lp-lead { color: var(--ink); }
.login-logo .lp-price { color: var(--accent-2); }
.login-sub {
  color: var(--ink-2); font-size: 13px; text-align: center; margin-bottom: 28px;
}
.login-label {
  display: block; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.2px;
  color: var(--grey); margin-bottom: 8px;
}
.login-input {
  width: 100%; padding: 12px 14px;
  background: var(--panel-3); border: 1px solid var(--line);
  border-radius: 10px; color: var(--ink);
  font-family: inherit; font-size: 14px;
  margin-bottom: 16px;
}
.login-input:focus { outline: none; border-color: var(--accent); }
.login-btn {
  width: 100%; padding: 12px;
  background: var(--accent); color: #fff; border: 0;
  border-radius: 10px; cursor: pointer;
  font-family: inherit; font-size: 14px; font-weight: 700;
}
.login-btn:hover { background: var(--accent-2); }
.login-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.login-err {
  color: var(--red); font-size: 12px;
  margin-top: 12px; text-align: center;
  min-height: 18px;
}
.login-hint {
  font-size: 12px; color: var(--grey); text-align: center; margin-top: 20px;
}
