@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --bg: #070910;
  --panel: rgba(16, 20, 36, .88);
  --border: rgba(147, 163, 199, .16);
  --text: #f2f5ff;
  --muted: #939bb5;
  --blue: #5d7cff;
  --purple: #b46cff;
  --green: #52e6b5;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, system-ui, sans-serif;
}
a { color: #aebeff; text-decoration: none; }
a:hover { color: #fff; }
button, input, select { font: inherit; }
button, .button { cursor: pointer; }
.container { width: min(1160px, calc(100% - 40px)); margin: auto; }
.grid-bg {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image: linear-gradient(rgba(98,121,190,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(98,121,190,.045) 1px, transparent 1px);
  background-size: 48px 48px;
}
body::before {
  content: ""; position: fixed; z-index: -1; pointer-events: none;
  width: 650px; height: 650px; border-radius: 50%;
  top: -380px; left: 15%;
  background: rgba(66, 90, 255, .17); filter: blur(100px);
}
.nav {
  min-height: 82px; display: flex; align-items: center;
  justify-content: space-between; gap: 20px;
  border-bottom: 1px solid var(--border);
}
.nav nav { display: flex; align-items: center; gap: 27px; }
.brand { color: white; font-size: 23px; font-weight: 900; letter-spacing: -1.2px; }
.brand span { color: #8193ff; }
.nav nav a, .nav > a:not(.brand) { font-size: 13px; font-weight: 600; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 20px; border: 1px solid transparent;
  border-radius: 10px; color: white; font-size: 13px; font-weight: 700;
  background: linear-gradient(110deg, #5275ff, #8a58f9);
  box-shadow: 0 7px 28px rgba(91, 100, 255, .19);
  transition: transform .2s, filter .2s;
}
.button:hover { color: white; transform: translateY(-2px); filter: brightness(1.12); }
.button:disabled { cursor: not-allowed; opacity: .55; box-shadow: none; }
.button.small { min-height: 36px; padding: 0 14px; font-size: 12px; }
.button.secondary { background: #121728; border-color: var(--border); box-shadow: none; }
.button.full { width: 100%; }
.hero { padding-top: 100px; padding-bottom: 65px; }
.badge, .eyebrow {
  color: #9baaff; font-size: 10px; font-weight: 800;
  letter-spacing: 2px;
}
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 13px; border: 1px solid rgba(107,129,255,.28);
  border-radius: 40px; background: rgba(80, 100, 255, .07);
}
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); }
.hero h1 { margin: 27px 0 18px; font-size: clamp(43px, 7vw, 78px); line-height: 1.05; letter-spacing: -4px; }
.gradient { background: linear-gradient(100deg, #7fa2ff, #c18aff 70%, #7be8e1); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-text { max-width: 590px; color: var(--muted); font-size: 16px; line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.stats { display: flex; flex-wrap: wrap; gap: 55px; margin-top: 65px; padding-top: 25px; border-top: 1px solid var(--border); }
.stats div { display: flex; flex-direction: column; gap: 8px; }
.stats strong { font-size: 24px; }
.stats span, .section-heading p { color: var(--muted); font-size: 11px; }
.section { padding-top: 50px; padding-bottom: 65px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 27px; }
.section-heading h2, .bottom-cta h2 { margin: 10px 0 0; font-size: clamp(25px, 4vw, 36px); letter-spacing: -1.4px; }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.plan {
  position: relative; padding: 25px 20px; border: 1px solid var(--border);
  border-radius: 16px; background: var(--panel); transition: transform .2s, border-color .2s;
}
.plan:hover { transform: translateY(-4px); border-color: rgba(123,145,255,.5); }
.plan.featured { border-color: rgba(132,111,255,.7); box-shadow: 0 0 38px rgba(100, 80, 255, .1); }
.popular { margin: -25px -20px 20px; padding: 9px; text-align: center; border-radius: 15px 15px 0 0; background: rgba(111,93,255,.18); color: #c1b7ff; font-size: 9px; font-weight: 800; letter-spacing: 1.5px; }
.plan h3 { margin: 0 0 9px; font-size: 19px; }
.plan-description { min-height: 34px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.price { margin: 22px 0; font-size: 31px; font-weight: 800; letter-spacing: -1px; }
.price span { font-size: 10px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.features { margin: 20px 0; border-top: 1px solid var(--border); }
.features div { display: flex; justify-content: space-between; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 11px; }
.features span { color: var(--muted); }
.register-link { display: block; margin-top: 12px; text-align: center; font-size: 10px; }
.bottom-cta { display: flex; justify-content: space-between; align-items: center; gap: 25px; padding: 35px; margin-top: 10px; margin-bottom: 70px; border: 1px solid var(--border); border-radius: 17px; background: linear-gradient(115deg, rgba(58,74,153,.15), rgba(111,65,153,.12)); }
.bottom-cta p { color: var(--muted); font-size: 12px; line-height: 1.8; }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 25px 0; border-top: 1px solid var(--border); color: var(--muted); font-size: 10px; }
.auth-wrap { display: flex; align-items: center; justify-content: center; min-height: calc(100vh - 83px); padding: 35px 20px; }
.auth-card { width: min(100%, 430px); padding: 35px; border: 1px solid var(--border); border-radius: 18px; background: rgba(13,17,30,.94); box-shadow: 0 25px 100px rgba(0,0,0,.22); }
.auth-card h1 { margin: 12px 0; font-size: 32px; letter-spacing: -1.4px; }
.auth-card > p { color: var(--muted); font-size: 12px; line-height: 1.7; }
.auth-card label { display: block; margin-top: 19px; font-size: 11px; font-weight: 700; }
.auth-card input { width: 100%; margin-top: 8px; padding: 13px; outline: none; border: 1px solid var(--border); border-radius: 9px; background: #090d18; color: white; }
.auth-card input:focus { border-color: #758aff; }
.auth-card small { display: block; margin-top: 7px; color: var(--muted); font-weight: 400; }
.auth-card .button { margin-top: 23px; }
.auth-bottom { text-align: center; margin-top: 23px !important; }
.auth-bottom a { color: #aab7ff; }
.alert { padding: 12px; margin: 15px 0; border: 1px solid rgba(255,126,143,.3); border-radius: 8px; background: rgba(255,80,110,.08); color: #ffb2bd; font-size: 12px; line-height: 1.6; }
.dashboard { padding-top: 65px; padding-bottom: 80px; }
.dashboard > h1 { font-size: clamp(30px, 5vw, 47px); letter-spacing: -2px; }
.dashboard > p { color: var(--muted); font-size: 13px; }
.dash-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 30px 0 45px; }
.dash-card { padding: 23px; border: 1px solid var(--border); border-radius: 13px; background: var(--panel); }
.dash-card > span { color: var(--muted); font-size: 10px; letter-spacing: 1px; }
.dash-card h3 { overflow-wrap: anywhere; }
.dash-card p { color: var(--muted); font-size: 11px; }
.empty { padding: 40px 20px; text-align: center; border: 1px dashed var(--border); border-radius: 14px; }
.empty p { margin-bottom: 22px; color: var(--muted); font-size: 12px; }
.table-wrap { width: 100%; overflow-x: auto; margin: 20px 0 40px; border: 1px solid var(--border); border-radius: 12px; background: var(--panel); }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 12px; }
th, td { padding: 15px; border-bottom: 1px solid var(--border); white-space: nowrap; }
th { color: var(--muted); font-size: 10px; font-weight: 700; }
.status { display: inline-block; padding: 5px 9px; border: 1px solid var(--border); border-radius: 20px; color: #d7dfff; font-size: 10px; }
.inline { display: inline-flex; align-items: center; gap: 8px; }
.nav-button { padding: 8px; border: 0; background: none; color: #aebeff; font-size: 12px; }
select { max-width: 130px; padding: 8px; border: 1px solid var(--border); border-radius: 7px; background: #0c1120; color: white; }
@media(max-width:1000px) { .plans { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media(max-width:600px) {
  .container { width: calc(100% - 28px); }
  .nav { min-height: 70px; }
  .nav nav { gap: 12px; }
  .nav nav a { font-size: 11px; }
  .nav .brand { font-size: 19px; }
  .hero { padding-top: 70px; }
  .hero h1 { letter-spacing: -2px; }
  .stats { gap: 25px; }
  .plans, .dash-grid { grid-template-columns: 1fr; }
  .section-heading, .bottom-cta, .footer { align-items: flex-start; flex-direction: column; }
  .bottom-cta { padding: 24px; }
  .auth-card { padding: 25px 20px; }
}
