:root {
  --bg: #050816;
  --bg-2: #0a0f1f;
  --surface: #0f1629;
  --surface-2: #151d33;
  --border: #1f2a44;
  --border-2: #2a3655;
  --text: #eef2ff;
  --text-2: #c7d0e8;
  --muted: #8b95b5;
  --muted-2: #6b7494;
  --accent: #3b82f6;
  --accent-2: #60a5fa;
  --accent-glow: rgba(59,130,246,.35);
  --cta: #f97316;
  --cta-2: #fb923c;
  --ok: #22c55e;
  --warn: #f59e0b;
  --bad: #ef4444;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow: 0 10px 40px rgba(0,0,0,.35);
  --shadow-lg: 0 20px 60px rgba(0,0,0,.45);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: var(--accent-2); text-decoration: none; transition: .15s; }
a:hover { color: #fff; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.container-xs { max-width: 560px; margin: 0 auto; padding: 0 24px; }

.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(5,8,22,.7); backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.2rem; color: #fff; letter-spacing: -.3px; }
.brand img { width: 38px; height: 38px; }
.brand span { background: linear-gradient(135deg, #fff, var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--text-2); font-size: .95rem; font-weight: 500; }
.nav-links a:hover { color: #fff; }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: 10px; font-weight: 600; font-size: .95rem;
  border: 1px solid transparent; cursor: pointer; transition: .2s; white-space: nowrap;
}
.btn-primary { background: linear-gradient(135deg, var(--accent), #2563eb); color: #fff; box-shadow: 0 4px 16px var(--accent-glow); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 24px var(--accent-glow); color: #fff; }
.btn-cta { background: linear-gradient(135deg, var(--cta), #ea580c); color: #fff; box-shadow: 0 4px 16px rgba(249,115,22,.35); }
.btn-cta:hover { transform: translateY(-1px); color: #fff; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border-2); }
.btn-ghost:hover { border-color: var(--accent); color: #fff; background: rgba(59,130,246,.08); }
.btn-sm { padding: 8px 16px; font-size: .88rem; }
.btn-lg { padding: 14px 28px; font-size: 1.05rem; }
.hamburger { display: none; background: none; border: none; color: var(--text); cursor: pointer; padding: 8px; }

.hero { padding: 90px 0 70px; position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 900px; border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,.18), transparent 60%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.hero-text h1 {
  font-size: 3.2rem; font-weight: 900; line-height: 1.05; letter-spacing: -1.5px; margin-bottom: 22px;
}
.hero-text h1 .grad {
  background: linear-gradient(135deg, #fff 0%, var(--accent-2) 50%, var(--accent) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-text p { color: var(--text-2); font-size: 1.15rem; max-width: 520px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-trust { display: flex; gap: 26px; flex-wrap: wrap; color: var(--muted); font-size: .88rem; }
.hero-trust span { display: flex; align-items: center; gap: 6px; }
.hero-trust .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }

.hero-visual {
  position: relative; background: var(--surface); border: 1px solid var(--border-2);
  border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-lg);
}
.hero-visual .bar { display: flex; gap: 6px; margin-bottom: 16px; }
.hero-visual .bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--border-2); }
.hero-visual .bar i:nth-child(1){background:#ef4444;} .hero-visual .bar i:nth-child(2){background:#f59e0b;} .hero-visual .bar i:nth-child(3){background:#22c55e;}
.dash-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.dash-card { background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; padding: 14px; }
.dash-card .label { font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.dash-card .val { font-size: 1.5rem; font-weight: 800; margin-top: 4px; }
.dash-card .val small { font-size: .8rem; color: var(--muted); font-weight: 400; }
.dash-bar { height: 6px; background: var(--border); border-radius: 3px; margin-top: 10px; overflow: hidden; }
.dash-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); border-radius: 3px; }
.status-row { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--muted); margin-top: 8px; }
.status-row .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); }

.trust-strip {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: var(--bg-2); padding: 22px 0;
}
.trust-strip .row { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 16px; }
.trust-strip .item { color: var(--muted); font-size: .9rem; font-weight: 500; display: flex; align-items: center; gap: 8px; }
.trust-strip .item strong { color: var(--text); }

.section { padding: 90px 0; }
.section-alt { background: var(--bg-2); }
.section-title { font-size: 2.2rem; font-weight: 800; letter-spacing: -.8px; margin-bottom: 10px; }
.section-sub { color: var(--muted); font-size: 1.05rem; max-width: 620px; margin-bottom: 48px; }
.section-head { margin-bottom: 48px; }
.section-head.center { text-align: center; }
.section-head.center .section-sub { margin-left: auto; margin-right: auto; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.feat {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; transition: .2s;
}
.feat:hover { border-color: var(--border-2); transform: translateY(-2px); }
.feat .icon {
  width: 44px; height: 44px; border-radius: 10px; background: rgba(59,130,246,.12);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px; color: var(--accent-2);
}
.feat h4 { font-size: 1.05rem; margin-bottom: 6px; }
.feat p { color: var(--muted); font-size: .92rem; }

.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 22px; }
.price-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 30px; position: relative; transition: .2s; display: flex; flex-direction: column;
}
.price-card:hover { border-color: var(--border-2); transform: translateY(-3px); }
.price-card.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 20px 50px var(--accent-glow); }
.price-card.featured::before {
  content: 'Popular'; position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), #2563eb); color: #fff; font-size: .75rem;
  font-weight: 700; padding: 4px 14px; border-radius: 999px; letter-spacing: .5px; text-transform: uppercase;
}
.price-card .type { color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
.price-card h3 { font-size: 1.25rem; margin: 6px 0 14px; }
.price-card .price { font-size: 2.4rem; font-weight: 900; letter-spacing: -1px; margin-bottom: 4px; }
.price-card .price small { font-size: .9rem; color: var(--muted); font-weight: 400; }
.price-card .desc { color: var(--muted); font-size: .9rem; margin-bottom: 20px; min-height: 38px; }
.price-card ul { list-style: none; margin: 0 0 24px; flex: 1; }
.price-card ul li { padding: 7px 0; color: var(--text-2); font-size: .92rem; display: flex; gap: 10px; align-items: flex-start; }
.price-card ul li .ck { color: var(--ok); flex-shrink: 0; margin-top: 2px; }
.price-card .btn { width: 100%; justify-content: center; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; position: relative; }
.step .num {
  width: 36px; height: 36px; border-radius: 50%; background: rgba(59,130,246,.12);
  color: var(--accent-2); font-weight: 800; display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px; border: 1px solid var(--border-2);
}
.step h4 { margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .9rem; }

.testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.quote { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.quote .stars { color: var(--warn); margin-bottom: 12px; letter-spacing: 2px; }
.quote p { color: var(--text-2); font-size: .95rem; margin-bottom: 16px; font-style: italic; }
.quote .who { display: flex; align-items: center; gap: 10px; }
.quote .avatar { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), #7c3aed); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .85rem; }
.quote .who .name { font-weight: 600; font-size: .9rem; }
.quote .who .role { color: var(--muted); font-size: .8rem; }

.faq { max-width: 760px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: 10px; margin-bottom: 10px; overflow: hidden; background: var(--surface); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; color: var(--text);
  padding: 16px 20px; font-size: 1rem; font-weight: 600; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; font-family: inherit;
  list-style: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q:hover { background: var(--surface-2); }
.faq-q .plus { color: var(--accent-2); font-size: 1.4rem; transition: .2s; }
.faq-item[open] .faq-q .plus { transform: rotate(45deg); }
.faq-a { overflow: hidden; }
.faq-a p { padding: 0 20px 18px; color: var(--muted); font-size: .95rem; }

.cta-banner {
  background: linear-gradient(135deg, rgba(59,130,246,.15), rgba(124,58,237,.12));
  border: 1px solid var(--border-2); border-radius: var(--radius-lg);
  padding: 50px 40px; text-align: center;
}
.cta-banner h2 { font-size: 2rem; font-weight: 800; margin-bottom: 12px; }
.cta-banner p { color: var(--muted); margin-bottom: 24px; font-size: 1.05rem; }

.auth-box { max-width: 440px; margin: 70px auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow); }
.auth-box h2 { margin-bottom: 8px; font-size: 1.6rem; }
.auth-box .sub { color: var(--muted); margin-bottom: 22px; font-size: .92rem; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .85rem; color: var(--muted); margin-bottom: 6px; font-weight: 500; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; background: var(--bg-2); border: 1px solid var(--border);
  border-radius: 10px; color: var(--text); font-size: .95rem; font-family: inherit; transition: .15s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.alert { padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; font-size: .9rem; }
.alert-err { background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.4); color: #fca5a5; }
.alert-ok { background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.4); color: #86efac; }

.dash { padding: 40px 0 60px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-bottom: 32px; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.stat .n { font-size: 1.9rem; font-weight: 900; color: var(--accent-2); }
.stat .l { color: var(--muted); font-size: .85rem; margin-top: 2px; }
.table-wrap { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--border); font-size: .9rem; }
.table th { color: var(--muted); font-weight: 600; background: var(--surface-2); font-size: .8rem; text-transform: uppercase; letter-spacing: .5px; }
.table tr:last-child td { border-bottom: none; }
.table tr:hover td { background: rgba(59,130,246,.04); }
.badge { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: .75rem; font-weight: 600; }
.badge-open { background: rgba(34,197,94,.12); color: var(--ok); }
.badge-closed { background: rgba(139,149,181,.12); color: var(--muted); }
.badge-pending { background: rgba(245,158,11,.12); color: var(--warn); }
.badge-active { background: rgba(34,197,94,.12); color: var(--ok); }
.badge-suspended { background: rgba(239,68,68,.12); color: var(--bad); }

.chat { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; max-height: 460px; overflow-y: auto; }
.msg { margin-bottom: 14px; max-width: 80%; }
.msg .meta { font-size: .75rem; color: var(--muted); margin-bottom: 4px; }
.msg .body { background: var(--surface); padding: 10px 14px; border-radius: 10px; display: inline-block; font-size: .92rem; }
.msg.admin { margin-left: auto; text-align: right; }
.msg.admin .body { background: rgba(59,130,246,.15); border: 1px solid rgba(59,130,246,.3); }

.sidebar { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px; }
.sidebar a { display: block; padding: 10px 14px; border-radius: 8px; color: var(--text-2); margin-bottom: 2px; font-size: .92rem; font-weight: 500; }
.sidebar a:hover, .sidebar a.active { background: var(--surface-2); color: #fff; }
.sidebar a.active { background: rgba(59,130,246,.12); color: var(--accent-2); }

footer { border-top: 1px solid var(--border); padding: 60px 0 30px; background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-col h5 { font-size: .85rem; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-bottom: 14px; font-weight: 600; }
.footer-col a { display: block; color: var(--text-2); font-size: .9rem; margin-bottom: 8px; }
.footer-col a:hover { color: #fff; }
.footer-brand { font-weight: 800; font-size: 1.15rem; color: #fff; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.footer-brand img { width: 30px; height: 30px; }
.footer-desc { color: var(--muted); font-size: .9rem; max-width: 280px; }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: var(--muted); font-size: .85rem; }

.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.mt { margin-top: 16px; } .mb { margin-bottom: 16px; }
.mt-lg { margin-top: 32px; } .mb-lg { margin-bottom: 32px; }
pre { background: var(--bg-2); padding: 14px; border-radius: 10px; overflow: auto; font-size: .8rem; color: var(--muted); border: 1px solid var(--border); }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-text h1 { font-size: 2.3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .hamburger { display: block; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: var(--bg-2); padding: 20px 24px; border-bottom: 1px solid var(--border); gap: 14px; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-text h1 { font-size: 1.9rem; }
}
