:root {
  --bg: #050816;
  --bg-soft: #081029;
  --card: rgba(255, 255, 255, 0.08);
  --card-strong: rgba(255, 255, 255, 0.12);
  --border: rgba(255, 255, 255, 0.12);
  --text: #ffffff;
  --muted: #a8b3cf;
  --blue: #2364ff;
  --cyan: #33d6ff;
  --success: #37e6a1;
  --danger: #ff5c7a;
  --warning: #ffd166;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(35, 100, 255, 0.35), transparent 32rem),
    radial-gradient(circle at top right, rgba(51, 214, 255, 0.16), transparent 30rem),
    linear-gradient(135deg, #030511 0%, #07112b 48%, #050816 100%);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }

.page-shell { position: relative; min-height: 100vh; }
.page-shell::before,
.page-shell::after {
  content: "";
  position: fixed;
  z-index: -1;
  border-radius: 999px;
  filter: blur(60px);
  opacity: 0.75;
}
.page-shell::before {
  width: 360px;
  height: 360px;
  background: rgba(35, 100, 255, 0.28);
  left: -120px;
  top: -110px;
}
.page-shell::after {
  width: 440px;
  height: 440px;
  background: rgba(51, 214, 255, 0.12);
  right: -170px;
  top: 80px;
}

.container { width: min(1180px, calc(100% - 36px)); margin: 0 auto; }

.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(5, 8, 22, 0.72);
  backdrop-filter: blur(22px);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  background: linear-gradient(135deg, #fff, #b9d7ff);
  color: #1154ff;
  box-shadow: 0 16px 35px rgba(35, 100, 255, 0.28);
  font-size: 24px;
}
.brand-title { font-size: 18px; font-weight: 900; line-height: 1; }
.brand-subtitle { margin-top: 4px; color: var(--muted); font-size: 12px; }
.nav-links { display: flex; align-items: center; gap: 26px; color: var(--muted); font-weight: 700; font-size: 14px; }
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.mobile-toggle { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 18px;
  padding: 13px 18px;
  color: #fff;
  font-weight: 900;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--blue), var(--cyan)); box-shadow: 0 18px 40px rgba(35,100,255,.25); }
.btn-light { color: #061025; background: #fff; }
.btn-ghost { background: rgba(255,255,255,.08); border: 1px solid var(--border); }
.btn-block { width: 100%; }
.btn-small { padding: 10px 14px; border-radius: 15px; font-size: 13px; }

.hero { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 50px; padding: 68px 0 48px; }
.eyebrow {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid rgba(51,214,255,.22);
  background: rgba(51,214,255,.09);
  color: #d7f8ff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}
.hero h1 { margin: 24px 0 18px; font-size: clamp(42px, 7vw, 78px); line-height: .95; letter-spacing: -0.06em; }
.gradient-text { background: linear-gradient(90deg, #79a7ff, #51e2ff, #fff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { margin: 0; color: var(--muted); font-size: 18px; line-height: 1.8; max-width: 650px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 34px; max-width: 620px; }
.stat-card { padding: 20px; border: 1px solid var(--border); background: rgba(255,255,255,.065); border-radius: 26px; backdrop-filter: blur(20px); }
.stat-value { font-size: 28px; font-weight: 950; }
.stat-label { margin-top: 5px; color: var(--muted); font-size: 13px; }

.hero-product {
  position: relative;
  border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(255,255,255,.13), rgba(255,255,255,.04));
  border-radius: 42px;
  box-shadow: var(--shadow);
  padding: 28px;
  overflow: hidden;
}
.hero-product::before {
  content: "";
  position: absolute;
  inset: 20px;
  border-radius: 36px;
  background: radial-gradient(circle, rgba(51,214,255,.18), transparent 60%);
}
.console-art {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
  border-radius: 32px;
  background: linear-gradient(145deg, rgba(2, 6, 23, .95), rgba(8, 31, 72, .95));
  overflow: hidden;
}
.console-box {
  width: 190px;
  height: 330px;
  border-radius: 38px 38px 28px 28px;
  background: linear-gradient(110deg, #f7fbff 0 34%, #111827 35% 50%, #f4f8ff 51% 100%);
  box-shadow: 0 40px 80px rgba(0,0,0,.45), 0 0 40px rgba(51,214,255,.28);
  transform: rotate(-8deg);
}
.console-box::after {
  content: "";
  display: block;
  width: 5px;
  height: 190px;
  margin: 60px auto 0;
  background: linear-gradient(var(--cyan), transparent);
  border-radius: 999px;
}
.float-chip {
  position: absolute;
  padding: 13px 15px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.11);
  backdrop-filter: blur(18px);
  font-weight: 900;
  box-shadow: 0 20px 45px rgba(0,0,0,.24);
}
.float-chip.one { top: 28px; left: 24px; }
.float-chip.two { right: 24px; bottom: 28px; }
.price-strip { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 22px; }
.price-strip span { color: var(--muted); font-size: 13px; font-weight: 800; }
.price-strip strong { display: block; margin-top: 4px; font-size: 26px; }

.section { padding: 58px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.section-kicker { color: #7fdfff; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; font-weight: 900; }
.section-title { margin: 9px 0 0; font-size: clamp(28px, 4vw, 42px); letter-spacing: -0.04em; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { border: 1px solid var(--border); background: var(--card); border-radius: 30px; padding: 22px; backdrop-filter: blur(22px); box-shadow: 0 16px 40px rgba(0,0,0,.14); }
.feature-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 20px; background: rgba(35,100,255,.18); color: #85e9ff; font-size: 24px; margin-bottom: 18px; }
.card h3 { margin: 0 0 8px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); line-height: 1.7; }
.product-card { transition: transform .2s ease, background .2s ease; }
.product-card:hover { transform: translateY(-5px); background: var(--card-strong); }
.product-visual { height: 180px; display: grid; place-items: center; border-radius: 24px; background: linear-gradient(145deg, rgba(7, 16, 42, .98), rgba(13, 47, 101, .95)); margin-bottom: 18px; font-size: 56px; }
.product-meta { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 12px; }
.badge { display: inline-flex; align-items: center; border-radius: 999px; padding: 7px 11px; background: rgba(51,214,255,.12); color: #bff5ff; font-size: 12px; font-weight: 900; }
.price { font-size: 22px; font-weight: 950; }

.auth-page { display: grid; min-height: calc(100vh - 84px); place-items: center; padding: 42px 0; }
.auth-card { width: min(460px, 100%); border: 1px solid var(--border); background: rgba(255,255,255,.09); border-radius: 36px; padding: 28px; backdrop-filter: blur(24px); box-shadow: var(--shadow); }
.auth-card h1 { margin: 0 0 10px; font-size: 34px; letter-spacing: -0.04em; }
.auth-card p { margin: 0 0 24px; color: var(--muted); line-height: 1.7; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; margin-bottom: 8px; color: #dbe6ff; font-size: 14px; font-weight: 800; }
.form-control { width: 100%; border: 1px solid var(--border); border-radius: 18px; padding: 14px 15px; outline: none; color: #fff; background: rgba(3, 7, 18, .45); transition: border .2s ease, box-shadow .2s ease; }
.form-control:focus { border-color: rgba(51,214,255,.8); box-shadow: 0 0 0 4px rgba(51,214,255,.12); }
.form-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 8px 0 18px; color: var(--muted); font-size: 14px; }
.form-link { color: #8eeaff; font-weight: 900; }
.input-wrap { position: relative; }
.password-toggle { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: transparent; border: 0; color: var(--muted); font-weight: 900; }
.auth-switch { text-align: center; margin-top: 20px; color: var(--muted); }
.notice { padding: 14px 15px; border-radius: 20px; background: rgba(55,230,161,.1); border: 1px solid rgba(55,230,161,.18); color: #d6fff0; font-size: 14px; line-height: 1.6; margin-bottom: 16px; }

.dashboard-layout { display: grid; grid-template-columns: 260px 1fr; gap: 24px; padding: 34px 0 60px; }
.sidebar { position: sticky; top: 100px; height: fit-content; border: 1px solid var(--border); background: rgba(255,255,255,.07); border-radius: 30px; padding: 18px; backdrop-filter: blur(22px); }
.side-link { display: flex; align-items: center; gap: 10px; padding: 13px 14px; border-radius: 17px; color: var(--muted); font-weight: 850; margin-bottom: 6px; }
.side-link:hover, .side-link.active { background: rgba(35,100,255,.18); color: #fff; }
.panel { border: 1px solid var(--border); background: rgba(255,255,255,.07); border-radius: 34px; padding: 24px; backdrop-filter: blur(22px); }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 700px; }
th, td { text-align: left; padding: 15px; border-bottom: 1px solid rgba(255,255,255,.08); }
th { color: #dbe6ff; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
td { color: var(--muted); }
.status { display: inline-flex; padding: 7px 10px; border-radius: 999px; font-size: 12px; font-weight: 900; }
.status.success { background: rgba(55,230,161,.12); color: #a8ffd9; }
.status.pending { background: rgba(255,209,102,.12); color: #ffe4a3; }

.footer { border-top: 1px solid rgba(255,255,255,.08); padding: 28px 0; color: var(--muted); text-align: center; font-size: 14px; }

@media (max-width: 900px) {
  .nav-links, .nav-actions { display: none; }
  .mobile-toggle { display: inline-flex; }
  .mobile-menu { display: none; padding: 0 0 16px; }
  .mobile-menu.open { display: grid; gap: 8px; }
  .mobile-menu a { padding: 14px; border-radius: 16px; background: rgba(255,255,255,.07); color: var(--muted); font-weight: 800; }
  .hero { grid-template-columns: 1fr; padding-top: 44px; }
  .hero-product { order: -1; }
  .console-art { min-height: 320px; }
  .console-box { width: 150px; height: 250px; }
  .grid-3, .dashboard-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .section-head { align-items: start; flex-direction: column; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 24px, 1180px); }
  .stats { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; }
  .btn { width: 100%; }
  .auth-card { padding: 22px; border-radius: 28px; }
}
