/* =========================================================
   NOVA AI CLEAN STYLE RESET
   Single source of truth: desktop sidebar + mobile burger + cards + charts
========================================================= */



:root{
  --bg:#06070c;
  --panel:rgba(8,10,16,.72);
  --card:rgba(255,255,255,.055);
  --card-strong:rgba(255,255,255,.075);
  --border:rgba(255,255,255,.09);
  --border-soft:rgba(255,255,255,.07);
  --text:#ffffff;
  --muted:#8f98b7;
  --muted-2:#aeb6d3;
  --blue:#72c8ff;
  --blue-2:#4da3ff;
  --purple:#8f5fff;
  --green:#72ffb5;
  --red:#ff7d9d;
  --orange:#ffb86b;
  --radius:30px;
  --shadow:0 22px 70px rgba(0,0,0,.36);
  --safe-top:env(safe-area-inset-top);
  --safe-bottom:env(safe-area-inset-bottom);
}

/* =========================
   RESET / BASE
========================= */

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  -webkit-text-size-adjust:100%;
  scroll-behavior:smooth;
}

body{
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  background:var(--bg);
  color:var(--text);
  min-height:100vh;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

body::before{
  content:"";
  position:fixed;
  inset:0;
  background:
    radial-gradient(circle at 15% 5%, rgba(90,70,255,.28), transparent 32%),
    radial-gradient(circle at 85% 20%, rgba(0,180,255,.17), transparent 30%),
    radial-gradient(circle at 50% 100%, rgba(155,92,255,.12), transparent 35%);
  pointer-events:none;
  z-index:-3;
}

a,
button{
  -webkit-tap-highlight-color:transparent;
}

button{
  font-family:inherit;
}

/* =========================
   BACKGROUND ORBS
========================= */

.orb{
  position:fixed;
  width:360px;
  height:360px;
  border-radius:50%;
  filter:blur(70px);
  opacity:.25;
  z-index:-2;
  animation:floatOrb 12s ease-in-out infinite;
}

.orb-one{
  top:80px;
  right:18%;
  background:#245cff;
}

.orb-two{
  bottom:60px;
  left:22%;
  background:#8d4dff;
  animation-delay:4s;
}

@keyframes floatOrb{
  0%,100%{ transform:translateY(0) scale(1); }
  50%{ transform:translateY(-35px) scale(1.08); }
}

/* =========================
   LAYOUT
========================= */

.dashboard-layout{
  display:flex;
  align-items:stretch;
  min-height:100vh;
}

.main-content{
  flex:1 1 auto;
  min-width:0;
  padding:34px 40px 50px;
}

body.app-body{
  display:flex;
  align-items:flex-start;
  min-height:100vh;
}

.signals-main{
  flex:1 1 auto;
  width:auto;
  min-width:0;
  min-height:100vh;
  padding:32px;
}

/* =========================
   SIDEBAR / BURGER NAV
========================= */

.sidebar{
  width:270px;
  min-width:270px;
  max-width:270px;
  min-height:100vh;
  flex:0 0 270px;
  padding:28px;
  border-right:1px solid rgba(255,255,255,.08);
  background:rgba(8,10,16,.68);
  backdrop-filter:blur(24px);
  display:flex;
  flex-direction:column;
  z-index:10;
}

.sidebar-mobile-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  width:100%;
}

.logo-wrap,
.nova-logo-link{
  display:flex;
  align-items:center;
  gap:14px;
  color:white;
  text-decoration:none;
  margin-bottom:46px;
}

.logo-wrap h2,
.nova-logo-link h2{
  font-size:22px;
  letter-spacing:-.03em;
  color:white;
}

/* old fallback logo */
.nova-core{
  width:44px;
  height:44px;
  border-radius:50%;
  background:linear-gradient(135deg,#1ea7ff,#915dff);
  box-shadow:0 0 25px rgba(0,170,255,.75),0 0 60px rgba(140,80,255,.5);
  position:relative;
  animation:pulse 4s infinite;
}

.nova-core::after{
  content:"";
  position:absolute;
  inset:10px;
  border-radius:50%;
  background:rgba(255,255,255,.75);
  box-shadow:0 0 18px rgba(255,255,255,.65);
}

@keyframes pulse{
  0%,100%{ transform:scale(1); }
  50%{ transform:scale(1.08); }
}

/* animated Nova logo */
.nova-logo-animated{
  position:relative;
  width:78px;
  height:78px;
  flex:0 0 78px;
  display:flex;
  align-items:center;
  justify-content:center;
  filter:
    drop-shadow(0 0 18px rgba(77,163,255,.65))
    drop-shadow(0 0 34px rgba(143,95,255,.38));
}

.nova-logo-ring,
.nova-logo-eyes{
  position:absolute;
  user-select:none;
  pointer-events:none;
  object-fit:contain;
}

.nova-logo-ring{
  width:78px;
  height:78px;
  animation:novaLogoSlowSpin 22s linear infinite;
  transform-origin:center;
}

.nova-logo-eyes{
  width:56px;
  height:56px;
  opacity:.95;
  animation:novaLogoBlink 7s infinite;
  filter:
    drop-shadow(0 0 10px rgba(80,220,255,.9))
    drop-shadow(0 0 18px rgba(80,160,255,.45));
}

@keyframes novaLogoSlowSpin{
  from{ transform:rotate(0deg); }
  to{ transform:rotate(360deg); }
}

@keyframes novaLogoBlink{
  0%, 88%, 92%, 100%{ transform:scaleY(1); opacity:.96; }
  90%{ transform:scaleY(.08); opacity:.65; }
}

.mobile-burger{
  display:none;
}

.nova-nav,
.sidebar nav{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.nova-nav a,
.sidebar nav a{
  position:relative;
  display:flex;
  align-items:center;
  color:#9ea7c7;
  text-decoration:none;
  padding:14px 16px 14px 30px;
  border-radius:16px;
  transition:.22s ease;
  font-size:14px;
}

.nova-nav a:hover,
.nova-nav a.active,
.sidebar nav a:hover,
.sidebar nav a.active{
  background:rgba(255,255,255,.07);
  color:white;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.06);
}

.nova-nav a:hover,
.sidebar nav a:hover{
  transform:translateX(4px);
}

.nova-nav a.active::before,
.sidebar nav a.active::before{
  content:"";
  position:absolute;
  left:10px;
  top:50%;
  transform:translateY(-50%);
  width:6px;
  height:6px;
  border-radius:50%;
  background:var(--blue);
  box-shadow:0 0 14px var(--blue);
}

.sidebar-bottom{
  margin-top:22px;
  display:grid;
  gap:12px;
}

.plan-box{
  padding:18px;
  border-radius:22px;
  background:linear-gradient(180deg,rgba(255,255,255,.075),rgba(255,255,255,.035));
  border:1px solid rgba(255,255,255,.09);
}

.plan-box p{
  color:var(--muted-2);
  font-size:14px;
  margin-bottom:6px;
}

.plan-box span{
  color:var(--green);
  font-size:12px;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.logout-link{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:12px 16px;
  border-radius:16px;
  color:#ff9bb2;
  text-decoration:none;
  font-weight:900;
  background:rgba(255,125,157,.08);
  border:1px solid rgba(255,125,157,.14);
  transition:.22s ease;
}

.logout-link:hover{
  color:white;
  background:rgba(255,125,157,.14);
  border-color:rgba(255,125,157,.24);
}

/* =========================
   GENERAL COMPONENTS
========================= */

.live-bar{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 14px;
  margin-bottom:24px;
  border-radius:999px;
  color:#b9c4e8;
  background:rgba(255,255,255,.055);
  border:1px solid rgba(255,255,255,.08);
  font-size:14px;
}

.live-dot{
  width:9px;
  height:9px;
  border-radius:50%;
  background:var(--green);
  box-shadow:0 0 18px rgba(117,255,183,.85);
  animation:blink 1.4s infinite;
}

@keyframes blink{
  0%,100%{ opacity:.45; }
  50%{ opacity:1; }
}

.topbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  margin-bottom:22px;
}

.topbar h1{
  font-size:42px;
  letter-spacing:-.06em;
}

.topbar p{
  color:#9098b4;
  margin-top:8px;
}

.ai-button,
.mini-button{
  border:none;
  color:white;
  font-weight:800;
  cursor:pointer;
  background:linear-gradient(135deg,#169dff,#8f5fff);
  box-shadow:0 0 32px rgba(0,160,255,.35);
  min-height:44px;
  transition:.22s ease;
}

.ai-button{
  padding:14px 22px;
  border-radius:999px;
}

.mini-button{
  margin-top:14px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.1);
  background:rgba(255,255,255,.06);
  color:var(--blue);
  box-shadow:none;
}

.ai-button:hover{
  transform:translateY(-2px);
  box-shadow:0 0 28px rgba(77,163,255,.22);
}

.read-more{
  display:inline-block;
  margin-top:16px;
  color:var(--blue);
  text-decoration:none;
  font-weight:800;
}

.read-more:hover{
  text-decoration:underline;
}

.muted-text{
  color:var(--muted);
  font-size:14px;
}

/* =========================
   CARDS / GRIDS
========================= */

.glass-card{
  position:relative;
  background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.035));
  border:1px solid rgba(255,255,255,.09);
  border-radius:var(--radius);
  padding:26px;
  backdrop-filter:blur(22px);
  box-shadow:var(--shadow);
  overflow:hidden;
  min-width:0;
  transition:transform .28s ease, box-shadow .28s ease, border-color .28s ease, background .28s ease;
}

.glass-card::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(135deg,rgba(255,255,255,.11),transparent 35%);
  opacity:.42;
  pointer-events:none;
}

.glass-card h1,
.glass-card h2,
.glass-card h3,
.glass-card p,
.glass-card span,
.glass-card div,
.glass-card a,
.glass-card ul,
.glass-card li{
  position:relative;
}

.glass-card:hover{
  transform:translateY(-4px);
  border-color:rgba(114,200,255,.16);
  box-shadow:0 10px 35px rgba(0,0,0,.32),0 0 24px rgba(77,163,255,.08);
  background:rgba(255,255,255,.06);
}

.hero-grid{
  display:grid;
  grid-template-columns:330px 1fr;
  gap:22px;
  margin-bottom:22px;
}

.card-grid,
.bottom-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
  margin-bottom:22px;
}

.top-picks-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
  margin-bottom:22px;
}

.card-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:16px;
  margin-bottom:8px;
}

.card-head p{
  color:var(--muted);
  margin-top:5px;
}

.section-header{
  margin:34px 0 20px;
}

.section-header h2{
  font-size:30px;
  letter-spacing:-.04em;
}

.section-header p{
  color:var(--muted);
  margin-top:6px;
}

.eyebrow{
  color:#70c7ff !important;
  font-size:12px;
  font-weight:900;
  letter-spacing:.16em;
  margin-bottom:12px;
  text-transform:uppercase;
}

.insight-card{
  display:grid;
  grid-template-columns:1fr 160px;
  align-items:center;
  gap:28px;
  margin-bottom:22px;
  border-color:rgba(77,163,255,.22);
}

.insight-card h1{
  font-size:clamp(32px,4vw,48px);
  line-height:1.05;
  letter-spacing:-.06em;
}

.insight-card h2{
  font-size:28px;
  letter-spacing:-.04em;
  margin-bottom:12px;
}

.insight-card p{
  color:var(--muted-2);
  line-height:1.6;
}

.insight-score{
  width:145px;
  height:145px;
  border-radius:34px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.09);
  box-shadow:0 0 42px rgba(77,163,255,.2);
}

.insight-score span{
  font-size:44px;
  font-weight:900;
}

.insight-score p{
  font-size:13px;
}



/* =========================
   DASHBOARD / STOCK CARDS
========================= */

.ticker{
  display:flex;
  gap:14px;
  overflow:hidden;
  margin-bottom:22px;
}

.ticker span{
  white-space:nowrap;
  padding:10px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.045);
  border:1px solid rgba(255,255,255,.07);
  color:#bac3e2;
  font-size:14px;
}

.pulse-card{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
}

.pulse-circle{
  width:178px;
  height:178px;
  border-radius:50%;
  margin:24px 0;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:42px;
  font-weight:900;
  background:radial-gradient(circle,#2b9cff 0%,#7b5cff 100%);
  box-shadow:0 0 55px rgba(0,170,255,.45),0 0 120px rgba(130,80,255,.28);
}

.bullish-text,
.green{
  color:var(--green);
}

.red{
  color:var(--red);
}

.stock-top{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:14px;
  margin-bottom:18px;
}

.stock-top > div{
  min-width:0;
}

.grade.small{
  min-width:44px;
  height:44px;
  padding:0;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:13px;
  white-space:nowrap;
  background:linear-gradient(135deg,#1ea7ff,#8f5fff);
  box-shadow:0 0 28px rgba(90,120,255,.45);
  font-weight:900;
}

.stock-card p{
  color:var(--muted-2);
  margin-bottom:18px;
}

.stock-score{
  padding:12px 14px;
  border-radius:16px;
  background:rgba(255,255,255,.055);
  margin-bottom:14px;
  color:#dbe4ff;
}

.confidence-bar{
  margin-top:22px;
  width:100%;
  height:14px;
  border-radius:999px;
  background:rgba(255,255,255,.08);
  overflow:hidden;
}

.confidence-fill{
  position:relative;
  width:78%;
  height:100%;
  background:linear-gradient(90deg,#1ea7ff,#8e5fff);
  overflow:hidden;
}

.confidence-fill::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.25),transparent);
  animation:confidenceShine 2.4s linear infinite;
}

@keyframes confidenceShine{
  0%{ transform:translateX(-100%); }
  100%{ transform:translateX(200%); }
}

.bottom-grid .glass-card h3{
  color:#9da8c8;
  font-size:13px;
  text-transform:uppercase;
  letter-spacing:.13em;
}

.bottom-grid .glass-card p{
  font-size:20px;
  font-weight:900;
  color:white;
  margin-top:10px;
}

/* =========================
   PICKS / PREDICTIONS
========================= */

.pick-card{
  min-height:320px;
  position:relative;
  overflow:hidden;
}

.pick-card::after{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(circle at top right,rgba(114,200,255,.12),transparent 45%);
  opacity:0;
  transition:opacity .3s ease;
  pointer-events:none;
}

.pick-card:hover::after{
  opacity:1;
}

.pick-card:hover{
  transform:translateY(-6px);
}

.pick-symbol{
  font-size:30px;
  letter-spacing:-.05em;
  transition:color .22s ease;
}

.pick-card:hover .pick-symbol{
  color:var(--blue);
}

.pick-company,
.pick-summary,
.pick-reason{
  color:var(--muted-2);
  line-height:1.55;
}

.pick-summary{
  margin:16px 0;
}

.pick-reason{
  margin-top:16px;
  font-size:14px;
}

.pick-risk{
  display:inline-block;
  margin-top:16px;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,125,157,.13);
  color:#ff9bb2;
  font-size:13px;
}

.prediction-card{
  position:relative;
  overflow:hidden;
  min-height:185px;
}

.prediction-card::before{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(circle at top right,rgba(114,255,181,.12),transparent 45%);
  pointer-events:none;
}

.prediction-direction{
  margin-top:14px;
  font-size:25px;
  font-weight:900;
  color:var(--green);
}

.prediction-card p{
  margin-top:12px;
  font-size:25px;
  font-weight:900;
  color:white;
}

.prediction-confidence{
  display:inline-block;
  margin-top:12px;
  color:#9da8c8;
  font-size:13px;
}

.pick-predictions{
  display:grid;
  gap:8px;
  margin-top:16px;
}

.pick-predictions span{
  padding:8px 10px;
  border-radius:12px;
  background:rgba(255,255,255,.055);
  border:1px solid rgba(255,255,255,.08);
  color:#dbe4ff;
  font-size:13px;
}

.prediction-mini-top{
  display:grid;
  grid-template-columns:36px 70px 1fr;
  gap:10px;
  align-items:center;
}

.prediction-mini-top span{
  color:var(--blue);
  font-weight:900;
}

.prediction-mini-top strong{
  color:white;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.prediction-mini-top em{
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  text-align:right;
}

.prediction-mini-bar{
  margin-top:8px;
  height:6px;
  border-radius:999px;
  overflow:hidden;
  background:rgba(255,255,255,.07);
}

.prediction-mini-bar div{
  height:100%;
  border-radius:999px;
  background:linear-gradient(90deg,#4da3ff,#72ffb5);
}

/* =========================
   LISTS / TABLES / WIDGETS
========================= */

.risk-list{
  list-style:none;
  padding-left:0;
  color:#fca5a5;
  line-height:1.55;
}

.risk-list li{
  position:relative;
  margin-bottom:10px;
  padding:12px 12px 12px 36px;
  border-radius:14px;
  background:rgba(255,120,120,.06);
  border:1px solid rgba(255,120,120,.09);
  color:#ffd0d8;
}

.risk-list li::before{
  content:"!";
  position:absolute;
  left:12px;
  top:50%;
  transform:translateY(-50%);
  width:16px;
  height:16px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:rgba(255,120,120,.18);
  color:#ff8aa0;
  font-size:11px;
  font-weight:900;
}

.mini-signal-widget{
  margin-top:12px;
}

.signal-row,
.scanner-widget-row,
.trend-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  padding:10px 0;
  border-bottom:1px solid rgba(255,255,255,.08);
}

.signal-row span,
.scanner-widget-row span{
  color:var(--muted);
  font-size:14px;
}

.signal-row strong,
.scanner-widget-row strong{
  color:white;
  font-size:14px;
}

.scanner-widget-row span{
  color:var(--green);
  font-weight:900;
}

.signal-table-wrap,
.table-wrap,
.scanner-table-wrap{
  width:100%;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
}

.scanner-table,
.signal-table{
  width:100%;
  border-collapse:collapse;
}

.signal-table{
  min-width:950px;
}

.scanner-table th,
.scanner-table td,
.signal-table th,
.signal-table td{
  padding:14px 12px;
  border-bottom:1px solid rgba(255,255,255,.08);
  text-align:left;
  color:#dbe4ff;
}

.scanner-table th,
.signal-table th{
  color:var(--muted);
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.scanner-table a{
  color:var(--blue);
  text-decoration:none;
  font-weight:900;
}

.scanner-table tr:hover{
  background:rgba(255,255,255,.035);
}

.score-pill,
.direction-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  font-weight:900;
}

.score-pill{
  min-width:42px;
  height:28px;
  background:linear-gradient(135deg, rgba(42,168,255,0.25), rgba(150,80,255,0.25));
  border:1px solid rgba(120,180,255,0.35);
  color:white;
}

.direction-pill{
  padding:6px 10px;
  font-size:12px;
  letter-spacing:.03em;
  background:rgba(255,255,255,.08);
  color:rgba(255,255,255,.75);
}

.direction-pill.bullish{
  background:rgba(35,255,160,.12);
  color:#56ffb0;
  border:1px solid rgba(86,255,176,.24);
}

.direction-pill.bearish{
  background:rgba(255,80,120,.12);
  color:#ff6f91;
  border:1px solid rgba(255,111,145,.24);
}

.direction-pill.neutral{
  background:rgba(255,255,255,.08);
  color:rgba(255,255,255,.68);
  border:1px solid rgba(255,255,255,.12);
}

/* =========================
   SCANNER / MOMENTUM / INSIDERS
========================= */

.scanner-card-row{
  display:flex;
  align-items:center;
  gap:14px;
  padding:14px;
  margin-bottom:8px;
  border-bottom:1px solid rgba(255,255,255,.08);
  border-radius:16px;
  text-decoration:none;
  transition:.22s ease;
}

.scanner-card-row:hover{
  transform:translateX(6px);
  background:rgba(255,255,255,.055);
  border-color:rgba(114,200,255,.16);
  box-shadow:0 0 24px rgba(77,163,255,.08);
}

.scanner-rank{
  color:var(--blue);
  font-weight:900;
  width:38px;
}

.scanner-main{
  flex:1;
  min-width:0;
}

.scanner-main strong{
  display:block;
  color:white;
  font-size:16px;
}

.scanner-main span{
  color:var(--muted);
  font-size:13px;
}

.scanner-mini-bar{
  margin-top:8px;
  height:6px;
  background:rgba(255,255,255,.07);
  border-radius:999px;
  overflow:hidden;
}

.scanner-mini-bar div{
  height:100%;
  border-radius:999px;
  background:linear-gradient(90deg,#4da3ff,#72ffb5);
}

.scanner-score{
  color:var(--green);
  font-weight:900;
  font-size:18px;
}

.insider-stat-grid,
.signal-stat-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
  margin-top:22px;
  margin-bottom:24px;
}

.signal-stat-grid{
  grid-template-columns:repeat(4,minmax(0,1fr));
}

.signal-grid-2{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
  margin-bottom:24px;
}

.insider-stat{
  min-height:150px;
  padding:24px;
}

.insider-stat span{
  color:var(--muted);
  font-size:13px;
  text-transform:uppercase;
  letter-spacing:.12em;
  font-weight:900;
}

.insider-stat h2{
  font-size:34px;
  margin-top:14px;
  letter-spacing:-.04em;
}

.insider-stat p{
  color:var(--muted-2);
  font-size:14px;
  line-height:1.45;
  margin-top:10px;
}

.insider-stat.purple{ border-color:rgba(165,94,255,.24); }
.insider-stat.blue{ border-color:rgba(77,163,255,.24); }
.insider-stat.green{ border-color:rgba(114,255,181,.2); }

.engine-notes{
  display:grid;
  gap:14px;
}

.engine-notes div{
  padding:14px 16px;
  border-radius:16px;
  background:rgba(255,255,255,.035);
  border:1px solid rgba(255,255,255,.08);
}

.engine-notes strong{
  display:block;
  margin-bottom:5px;
  color:white;
}

.engine-notes span{
  color:rgba(255,255,255,.62);
  font-size:14px;
}

/* =========================
   SECTOR / NEWS / SEARCH
========================= */

.sector-heatmap{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
  margin-top:20px;
}

.sector-tile{
  position:relative;
  overflow:hidden;
  padding:20px;
  border-radius:22px;
  background:rgba(255,255,255,.045);
  border:1px solid rgba(255,255,255,.08);
  transition:.22s ease;
}

.sector-tile:hover{
  transform:translateY(-3px);
  background:rgba(255,255,255,.07);
  border-color:rgba(114,200,255,.14);
}

.sector-top,
.sector-header-clean{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
}

.sector-header-clean strong{
  color:white;
  font-size:16px;
  line-height:1.2;
}

.sector-header-clean span,
.sector-score{
  color:var(--green);
  font-size:28px;
  font-weight:900;
}

.sector-meta{
  margin-top:12px;
  color:var(--muted);
  font-size:13px;
}

.sector-bar{
  width:100%;
  height:7px;
  border-radius:999px;
  background:rgba(255,255,255,.07);
  overflow:hidden;
  margin-top:14px;
}

.sector-fill{
  height:100%;
  border-radius:999px;
  background:linear-gradient(90deg,#4da3ff,#72ffb5);
}

.hot-sector{
  border-color:rgba(114,255,181,.22);
  box-shadow:0 0 26px rgba(114,255,181,.08);
}

.mid-sector{ border-color:rgba(77,163,255,.15); }
.cold-sector{ border-color:rgba(255,120,120,.14); }

.search-suggestions{
  margin-top:10px;
  display:grid;
  gap:8px;
}

.suggestion-row{
  padding:12px 14px;
  border-radius:14px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);
  cursor:pointer;
  transition:.2s ease;
}

.suggestion-row:hover{
  background:rgba(255,255,255,.08);
  transform:translateX(4px);
}

.suggestion-row strong{
  display:block;
  color:white;
}

.suggestion-row span{
  color:var(--muted);
  font-size:13px;
}

.market-news-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
  margin-top:18px;
}

.news-card{
  padding:18px;
  border-radius:22px;
  background:rgba(255,255,255,.045);
  border:1px solid rgba(255,255,255,.08);
  transition:.22s ease;
}

.news-card:hover{
  transform:translateY(-3px);
  border-color:rgba(114,200,255,.16);
}

.news-category{
  display:inline-block;
  margin-bottom:12px;
  padding:7px 12px;
  border-radius:999px;
  background:rgba(77,163,255,.12);
  color:var(--blue);
  font-size:12px;
  font-weight:900;
  letter-spacing:.08em;
}

.news-card p{
  color:#dbe4ff;
  line-height:1.55;
}

.heatmap-tags{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:18px;
}

.heatmap-tags span{
  padding:10px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.06);
  color:#d8def5;
}

/* =========================
   FORMS / AUTH / LANDING
========================= */

.watch-input,
.auth-card input{
  width:100%;
  padding:15px 16px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.09);
  background:rgba(255,255,255,.055);
  color:white;
  outline:none;
  font-size:15px;
}

.watch-input::placeholder,
.auth-card input::placeholder{
  color:#7f89a8;
}

.landing{
  min-height:100vh;
  padding:28px 40px;
}

.landing-nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.landing-hero{
  max-width:900px;
  padding-top:120px;
}

.landing-hero h1{
  font-size:clamp(52px,8vw,104px);
  line-height:.95;
  letter-spacing:-.08em;
  margin-bottom:24px;
}

.landing-hero p{
  max-width:650px;
  color:var(--muted-2);
  font-size:20px;
  line-height:1.6;
}

.landing-actions{
  display:flex;
  align-items:center;
  gap:20px;
  margin-top:34px;
}

.landing-actions a{
  text-decoration:none;
}

.landing-actions span{
  color:#7f89a8;
}

.auth-page{
  min-height:100vh;
  display:grid;
  place-items:center;
  padding:24px;
}

.auth-card{
  width:100%;
  max-width:430px;
  padding:34px;
  border-radius:32px;
  background:linear-gradient(180deg,rgba(255,255,255,.075),rgba(255,255,255,.035));
  border:1px solid rgba(255,255,255,.09);
  backdrop-filter:blur(22px);
  box-shadow:0 24px 80px rgba(0,0,0,.42);
  display:flex;
  flex-direction:column;
  gap:16px;
}

.auth-logo{
  margin-bottom:10px;
}

.auth-card h1{
  font-size:38px;
  letter-spacing:-.06em;
}

.auth-card p{
  color:var(--muted-2);
  margin-bottom:12px;
}

.auth-card button{
  width:100%;
  margin-top:8px;
}

.auth-card span{
  color:#8993b3;
  font-size:14px;
  text-align:center;
}

.auth-card a{
  color:var(--blue);
  text-decoration:none;
}

/* =========================
   APEX / CHARTS
========================= */

.nova-chart-card{
  padding:28px;
  overflow:hidden !important;
  border-radius:32px;
  background:
    radial-gradient(circle at top right, rgba(77,163,255,.16), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.065), rgba(255,255,255,.032));
}

.nova-chart-card .card-head{
  margin-bottom:18px;
}

.nova-chart-card h2{
  font-size:26px;
  letter-spacing:-.04em;
}

#stockPriceChart{
  width:100%;
  min-height:440px;
  margin-top:8px;
  overflow:hidden;
}

.chart-range-tabs{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.chart-range-tabs button{
  min-height:36px;
  padding:8px 14px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.1);
  background:rgba(255,255,255,.055);
  color:var(--muted-2);
  cursor:pointer;
  font-weight:900;
  transition:.22s ease;
}

.chart-range-tabs button:hover,
.chart-range-tabs button.active{
  color:white;
  background:linear-gradient(135deg,rgba(30,167,255,.26),rgba(143,95,255,.2));
  border-color:rgba(114,200,255,.28);
  box-shadow:0 0 20px rgba(77,163,255,.12);
}

.apexcharts-toolbar,
.apexcharts-zoom-icon,
.apexcharts-zoomin-icon,
.apexcharts-zoomout-icon,
.apexcharts-reset-icon,
.apexcharts-pan-icon,
.apexcharts-selection-icon,
.apexcharts-menu-icon{
  display:none !important;
  opacity:0 !important;
  visibility:hidden !important;
}

.apexcharts-canvas,
.apexcharts-svg{
  background:transparent !important;
}

.apexcharts-tooltip{
  background:rgba(8,10,18,.96) !important;
  border:1px solid rgba(255,255,255,.1) !important;
  color:white !important;
  box-shadow:0 18px 50px rgba(0,0,0,.5) !important;
  border-radius:14px !important;
}

.apexcharts-tooltip-title{
  background:rgba(255,255,255,.06) !important;
  border-bottom:1px solid rgba(255,255,255,.08) !important;
  color:white !important;
}

.apexcharts-xaxistooltip,
.apexcharts-yaxistooltip{
  background:rgba(10,12,20,.95) !important;
  border:1px solid rgba(255,255,255,.1) !important;
  color:white !important;
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:1200px){
  .main-content,
  .signals-main{
    padding:28px 24px 44px;
  }

  .topbar h1{
    font-size:36px;
  }

  .hero-grid{
    grid-template-columns:1fr;
  }

  .card-grid,
  .bottom-grid,
  .top-picks-grid,
  .insider-stat-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .signal-stat-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .sector-heatmap{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .insight-card{
    grid-template-columns:1fr;
  }

  .insight-score{
    width:100%;
    height:auto;
    min-height:110px;
    border-radius:24px;
  }
}

@media(max-width:768px){
  body{
    background:#05060b;
  }

  body::before{
    background:
      radial-gradient(circle at 20% 0%, rgba(90,70,255,.22), transparent 38%),
      radial-gradient(circle at 90% 15%, rgba(0,180,255,.12), transparent 34%);
  }

  .orb{
    width:230px;
    height:230px;
    filter:blur(58px);
    opacity:.18;
  }

  .dashboard-layout,
  body.app-body{
    display:block;
    min-height:100vh;
  }

  .sidebar{
    position:sticky;
    top:0;
    z-index:999;
    width:100%;
    min-width:0;
    max-width:none;
    min-height:auto;
    flex:none;
    padding:calc(12px + var(--safe-top)) 14px 12px;
    border-right:0;
    border-bottom:1px solid rgba(255,255,255,.08);
    background:rgba(6,8,14,.92);
    backdrop-filter:blur(24px);
  }

  .sidebar-mobile-head{
    width:100%;
  }

  .logo-wrap,
  .nova-logo-link{
    margin-bottom:0;
    gap:10px;
  }

  .logo-wrap h2,
  .nova-logo-link h2{
    font-size:18px;
  }

  .nova-logo-animated{
    width:58px;
    height:58px;
    flex-basis:58px;
  }

  .nova-logo-ring{
    width:58px;
    height:58px;
  }

  .nova-logo-eyes{
    width:42px;
    height:42px;
  }

  .nova-core{
    width:34px;
    height:34px;
  }

  .nova-core::after{
    inset:8px;
  }

  .mobile-burger{
    display:flex;
    width:44px;
    height:44px;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    gap:5px;
    border-radius:15px;
    border:1px solid rgba(255,255,255,.1);
    background:rgba(255,255,255,.065);
    color:white;
    cursor:pointer;
  }

  .mobile-burger span{
    width:18px;
    height:2px;
    border-radius:999px;
    background:white;
    transition:.22s ease;
  }

  body.nav-open .mobile-burger span:nth-child(1){
    transform:translateY(7px) rotate(45deg);
  }

  body.nav-open .mobile-burger span:nth-child(2){
    opacity:0;
  }

  body.nav-open .mobile-burger span:nth-child(3){
    transform:translateY(-7px) rotate(-45deg);
  }

  .sidebar .nova-nav,
  .sidebar nav,
  .sidebar .sidebar-bottom{
    display:none;
  }

  body.nav-open .sidebar .nova-nav,
  body.nav-open .sidebar nav{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:9px;
    margin-top:14px;
  }

  body.nav-open .sidebar .sidebar-bottom{
    display:grid;
    gap:10px;
    margin-top:12px;
  }

  .sidebar .nova-nav a,
  .sidebar nav a{
    justify-content:center;
    text-align:center;
    padding:13px 10px;
    border-radius:16px;
    font-size:13px;
    background:rgba(255,255,255,.045);
    border:1px solid rgba(255,255,255,.07);
  }

  .sidebar .nova-nav a:hover,
  .sidebar nav a:hover{
    transform:none;
  }

  .sidebar .nova-nav a.active::before,
  .sidebar nav a.active::before{
    display:none;
  }

  .sidebar .plan-box{
    margin-top:0;
    padding:14px;
    border-radius:18px;
  }

  .logout-link{
    min-height:42px;
    border-radius:14px;
  }

  .main-content,
  .signals-main{
    width:100%;
    max-width:100%;
    margin-left:0;
    padding:18px 14px calc(34px + var(--safe-bottom));
  }

  .topbar,
  .signals-main .page-hero{
    display:block;
    margin-bottom:18px;
    padding:0;
  }

  .topbar h1,
  .signals-main .page-hero h1{
    font-size:30px;
    line-height:1.05;
    letter-spacing:-.055em;
  }


  .live-bar{
    max-width:100%;
    margin-bottom:16px;
    padding:9px 12px;
    font-size:12px;
    white-space:nowrap;
  }

  .ticker{
    gap:8px;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
    margin-bottom:16px;
  }

  .ticker::-webkit-scrollbar{
    display:none;
  }

  .ticker span{
    font-size:12px;
    padding:8px 11px;
  }

  .hero-grid,
  .card-grid,
  .bottom-grid,
  .top-picks-grid,
  .insider-stat-grid,
  .signal-stat-grid,
  .signal-grid-2,
  .sector-heatmap,
  .market-news-grid{
    grid-template-columns:1fr;
    gap:14px;
    margin-bottom:14px;
  }

  .glass-card{
    border-radius:22px;
    padding:18px;
    box-shadow:0 16px 44px rgba(0,0,0,.34);
  }

  .glass-card:hover,
  .pick-card:hover,
  .sector-tile:hover,
  .news-card:hover{
    transform:none;
  }

  .pulse-circle{
    width:142px;
    height:142px;
    font-size:34px;
    margin:18px 0;
  }

  .insight-card{
    display:block;
    padding:20px;
  }

  .insight-card h1{
    font-size:30px;
    line-height:1.08;
  }

  .insight-card h2{
    font-size:24px;
    line-height:1.12;
  }

  .insight-score{
    width:100%;
    height:auto;
    min-height:105px;
    margin-top:18px;
    border-radius:22px;
  }

  .insight-score span{
    font-size:34px;
  }

  .section-header{
    margin:24px 0 14px;
  }

  .section-header h2{
    font-size:24px;
  }

  .pick-card{
    min-height:auto;
  }

  .pick-symbol{
    font-size:26px;
  }

  .pick-company,
  .pick-summary,
  .pick-reason{
    font-size:14px;
  }

  .pick-risk{
    margin-top:12px;
    font-size:12px;
  }

  .pick-predictions{
    gap:7px;
  }

  .pick-predictions span{
    font-size:12px;
    padding:8px 9px;
  }

  .stock-top{
    gap:12px;
    margin-bottom:14px;
  }

  .grade.small{
    min-width:38px;
    width:38px;
    height:38px;
    font-size:12px;
  }

  .bottom-grid .glass-card p{
    font-size:24px;
  }

  .scanner-card-row{
    padding:13px;
    border-radius:16px;
  }

  .scanner-rank{
    width:28px;
    font-size:13px;
  }

  .scanner-main strong{
    font-size:15px;
  }

  .scanner-main span{
    font-size:12px;
  }

  .scanner-score{
    font-size:16px;
  }

  .sector-tile{
    border-radius:20px;
    padding:16px;
  }

  .sector-header-clean span,
  .sector-score{
    font-size:24px;
  }

  .insider-stat{
    min-height:auto;
    padding:18px;
  }

  .insider-stat h2{
    font-size:28px;
  }

  .market-news-grid{
    margin-top:14px;
  }

  .news-card{
    border-radius:18px;
    padding:15px;
  }

  .nova-chart-card{
    padding:18px;
    border-radius:24px;
  }

  .nova-chart-card .card-head{
    flex-direction:column;
    gap:14px;
  }

  .chart-range-tabs{
    width:100%;
    justify-content:flex-start;
  }

  .chart-range-tabs button{
    flex:1;
    padding:8px 10px;
  }

  #stockPriceChart{
    min-height:340px;
  }

  .prediction-mini-top{
    grid-template-columns:32px 58px 1fr;
    gap:7px;
    font-size:12px;
  }

  .prediction-mini-top em{
    font-size:12px;
  }

  .risk-list li{
    padding:11px 11px 11px 34px;
    font-size:13px;
  }

  .signal-table{
    min-width:850px;
  }

  .scanner-table{
    min-width:760px;
  }

  .auth-page{
    padding:calc(18px + var(--safe-top)) 16px calc(18px + var(--safe-bottom));
  }

  .auth-card{
    max-width:100%;
    padding:24px;
    border-radius:26px;
  }

  .auth-card h1{
    font-size:31px;
  }

  .auth-card input{
    min-height:48px;
    font-size:16px;
  }

  .landing{
    padding:calc(18px + var(--safe-top)) 16px calc(24px + var(--safe-bottom));
  }

  .landing-nav{
    gap:14px;
  }

  .landing-hero{
    padding-top:70px;
  }

  .landing-hero h1{
    font-size:clamp(44px,15vw,66px);
  }

  .landing-hero p{
    font-size:17px;
  }

  .landing-actions{
    flex-direction:column;
    align-items:stretch;
    gap:12px;
  }

  .landing-actions .ai-button,
  .landing-actions a{
    width:100%;
    text-align:center;
  }
}

@media(max-width:480px){
  .main-content,
  .signals-main{
    padding-left:12px;
    padding-right:12px;
  }

  .glass-card{
    padding:16px;
    border-radius:20px;
  }

  .ai-button,
  .mini-button{
    width:100%;
    justify-content:center;
    text-align:center;
  }
}
/* Premium analysis title */
.premium-analysis-page .premium-analysis-title{
  font-size:32px;
  line-height:1.08;
  letter-spacing:-0.055em;
  max-width:820px;
}

@media(max-width:768px){
  .premium-analysis-page .premium-analysis-title{
    font-size:26px;
  }
}
/* =========================================================
   NOVA AI SETUP BOX
========================================================= */

.nova-setup-box{
  margin-top:22px;
  margin-bottom:22px;
  padding:24px;
  border-radius:26px;
  background:
    radial-gradient(circle at top left, rgba(114,200,255,.14), transparent 35%),
    radial-gradient(circle at bottom right, rgba(155,107,255,.14), transparent 38%),
    rgba(255,255,255,.055);
  border:1px solid rgba(255,255,255,.10);
  box-shadow:0 22px 70px rgba(0,0,0,.32);
}

.nova-setup-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:18px;
  margin-bottom:20px;
}

.nova-setup-head h2{
  margin:4px 0 0;
  font-size:26px;
  letter-spacing:-.04em;
}

.setup-badge{
  padding:8px 12px;
  border-radius:999px;
  font-size:12px;
  color:#bfeaff;
  border:1px solid rgba(114,200,255,.28);
  background:rgba(114,200,255,.10);
  white-space:nowrap;
}

.nova-setup-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:14px;
}

.setup-item{
  padding:17px;
  border-radius:20px;
  background:rgba(0,0,0,.24);
  border:1px solid rgba(255,255,255,.08);
}

.setup-item span{
  display:block;
  margin-bottom:8px;
  font-size:12px;
  color:var(--muted);
}

.setup-item strong{
  display:block;
  font-size:18px;
  color:#fff;
  letter-spacing:-.02em;
}

.setup-note{
  margin:18px 0 0;
  color:var(--muted-2);
  font-size:14px;
  line-height:1.6;
}

@media(max-width:900px){
  .nova-setup-grid{
    grid-template-columns:repeat(2, 1fr);
  }
}

@media(max-width:520px){
  .nova-setup-box{
    padding:18px;
    border-radius:22px;
  }

  .nova-setup-grid{
    grid-template-columns:1fr;
  }

  .nova-setup-head{
    flex-direction:column;
  }
}

/* =========================================================
   PREMIUM FULL ANALYSIS
========================================================= */
/* =========================================================
   NOVA VOLUME CHART
========================================================= */

.nova-volume-chart{
  margin-top:8px;
  min-height:115px;
  padding-top:6px;
  border-top:1px solid rgba(255,255,255,.07);
}

.nova-volume-chart .apexcharts-tooltip{
  border-radius:14px !important;
  background:rgba(8,10,16,.96) !important;
  border:1px solid rgba(255,255,255,.12) !important;
  box-shadow:0 18px 45px rgba(0,0,0,.45) !important;
}

@media(max-width:768px){
  .nova-volume-chart{
    min-height:95px;
  }
}
/* =========================================================
   APEXCHARTS TOOLTIP FIX
========================================================= */

.nova-chart-card{
  overflow:visible !important;
}

.apexcharts-tooltip,
.apexcharts-xaxistooltip,
.apexcharts-yaxistooltip{
  z-index:99999 !important;
  background:rgba(8,10,18,.98) !important;
  color:#ffffff !important;
  border:1px solid rgba(255,255,255,.16) !important;
  border-radius:14px !important;
  box-shadow:0 18px 55px rgba(0,0,0,.65) !important;
  backdrop-filter:blur(14px);
}

.apexcharts-tooltip-title{
  background:rgba(255,255,255,.08) !important;
  color:#ffffff !important;
  border-bottom:1px solid rgba(255,255,255,.12) !important;
}

.apexcharts-tooltip-text,
.apexcharts-tooltip-text-y-label,
.apexcharts-tooltip-text-y-value,
.apexcharts-tooltip-series-group{
  color:#ffffff !important;
}
/* =========================================================
   PREMIUM ANALYSIS MOBILE POLISH
========================================================= */

@media(max-width:768px){

  .premium-analysis-page{
    padding:88px 14px 28px;
  }

  .premium-analysis-page .insight-card{
    padding:20px;
    border-radius:24px;
    gap:18px;
  }

  .premium-analysis-page .premium-analysis-title{
    font-size:clamp(26px, 8vw, 34px);
    line-height:1.08;
    letter-spacing:-0.045em;
  }

  .premium-analysis-page #summary{
    font-size:14px;
    line-height:1.55;
  }

  .premium-analysis-page .insight-score{
    min-width:94px;
    padding:14px;
    border-radius:20px;
  }

  .premium-analysis-page .insight-score span{
    font-size:26px;
  }

  .nova-chart-card{
    padding:18px;
    border-radius:24px;
  }

  .nova-chart-card .card-head{
    flex-direction:column;
    align-items:flex-start;
    gap:14px;
  }

  .chart-range-tabs{
    width:100%;
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    gap:8px;
  }

  .chart-range-tabs button{
    width:100%;
    padding:9px 0;
    font-size:12px;
  }

  #stockPriceChart{
    min-height:330px !important;
  }

  .nova-volume-chart{
    min-height:90px;
  }

  .nova-setup-box{
    padding:18px;
    border-radius:24px;
  }

  .nova-setup-head{
    gap:10px;
    margin-bottom:16px;
  }

  .nova-setup-head h2{
    font-size:22px;
  }

  .setup-badge{
    font-size:11px;
    padding:7px 10px;
  }

  .nova-setup-grid{
    grid-template-columns:1fr;
    gap:10px;
  }

  .setup-item{
    padding:14px;
    border-radius:18px;
  }

  .setup-item strong{
    font-size:16px;
    line-height:1.35;
  }

  .setup-note{
    font-size:13px;
    line-height:1.55;
  }

  .premium-analysis-page .bottom-grid,
  .premium-analysis-page .hero-grid{
    grid-template-columns:1fr;
    gap:14px;
  }

  .premium-analysis-page .glass-card{
    border-radius:22px;
  }
}
/* =========================================================
   NOVA GUIDE CHAT
========================================================= */

.nova-guide-card{
  padding:24px;
}

.nova-guide-messages{
  min-height:360px;
  max-height:520px;
  overflow-y:auto;
  display:flex;
  flex-direction:column;
  gap:12px;
  padding:6px;
}

.nova-guide-bubble{
  max-width:78%;
  padding:14px 16px;
  border-radius:18px;
  font-size:14px;
  line-height:1.55;
  border:1px solid rgba(255,255,255,.08);
}

.nova-guide-bubble.nova{
  align-self:flex-start;
  color:#dce8ff;
  background:rgba(255,255,255,.06);
}

.nova-guide-bubble.user{
  align-self:flex-end;
  color:#fff;
  background:linear-gradient(135deg, rgba(114,200,255,.22), rgba(155,107,255,.22));
  border-color:rgba(114,200,255,.25);
}

.nova-guide-bubble.loading{
  align-self:flex-start;
  color:#8f98b7;
  background:rgba(255,255,255,.04);
}

.nova-guide-form{
  display:flex;
  gap:12px;
  margin-top:18px;
}

.nova-guide-form input{
  flex:1;
  min-height:50px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(0,0,0,.26);
  color:#fff;
  padding:0 16px;
  outline:none;
}

.nova-guide-form button{
  min-width:110px;
  border:none;
  border-radius:16px;
  color:#05060b;
  font-weight:800;
  background:linear-gradient(135deg, #72c8ff, #9b6bff);
  cursor:pointer;
}

@media(max-width:640px){
  .nova-guide-bubble{
    max-width:92%;
  }

  .nova-guide-form{
    flex-direction:column;
  }

  .nova-guide-form button{
    min-height:48px;
  }
}

/* =========================================================
   NOVA GUIDE POPUP WIDGET
========================================================= */

.nova-guide-widget{
  position:fixed;
  right:24px;
  bottom:24px;
  z-index:9999;
  font-family:inherit;
}

.nova-guide-toggle{
  display:flex;
  align-items:center;
  gap:10px;
  padding:14px 18px;
  border:1px solid rgba(114,200,255,.26);
  border-radius:999px;
  color:#fff;
  background:
    radial-gradient(circle at top left, rgba(114,200,255,.28), transparent 34%),
    linear-gradient(135deg, rgba(14,18,30,.96), rgba(20,14,36,.96));
  box-shadow:
    0 18px 55px rgba(0,0,0,.45),
    0 0 28px rgba(114,200,255,.20);
  cursor:pointer;
  font-weight:800;
}

.nova-guide-avatar{
  width:34px;
  height:34px;
  border-radius:50%;
  display:grid;
  place-items:center;
  overflow:hidden;
  background:rgba(255,255,255,.06);
  box-shadow:
    0 0 16px rgba(114,200,255,.55),
    0 0 28px rgba(155,107,255,.28);
}

.nova-guide-avatar img{
  width:38px;
  height:38px;
  object-fit:contain;
  animation:novaGuideSpin 18s linear infinite;
}

.nova-guide-title-wrap{
  display:flex;
  align-items:center;
  gap:12px;
}

.nova-guide-head-avatar{
  width:42px;
  height:42px;
  border-radius:50%;
  display:grid;
  place-items:center;
  overflow:hidden;
  background:rgba(255,255,255,.06);
  box-shadow:
    0 0 18px rgba(114,200,255,.5),
    0 0 34px rgba(155,107,255,.22);
}

.nova-guide-head-avatar img{
  width:46px;
  height:46px;
  object-fit:contain;
  animation:novaGuideSpin 22s linear infinite;
}

@keyframes novaGuideSpin{
  from{ transform:rotate(0deg); }
  to{ transform:rotate(360deg); }
}

.nova-guide-panel{
  position:absolute;
  right:0;
  bottom:68px;
  width:380px;
  max-width:calc(100vw - 32px);
  height:540px;
  max-height:calc(100vh - 110px);
  display:none;
  flex-direction:column;
  overflow:hidden;
  border-radius:28px;
  border:1px solid rgba(255,255,255,.11);
  background:
    radial-gradient(circle at top left, rgba(114,200,255,.14), transparent 35%),
    radial-gradient(circle at bottom right, rgba(155,107,255,.16), transparent 38%),
    rgba(8,10,16,.96);
  box-shadow:
    0 28px 90px rgba(0,0,0,.62),
    0 0 34px rgba(114,200,255,.12);
  backdrop-filter:blur(22px);
}

.nova-guide-panel.open{
  display:flex;
}

.nova-guide-panel-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:18px 18px 14px;
  border-bottom:1px solid rgba(255,255,255,.08);
}

.nova-guide-panel-head p{
  margin:0 0 3px;
  font-size:11px;
  color:#72c8ff;
  text-transform:uppercase;
  letter-spacing:.14em;
  font-weight:800;
}

.nova-guide-panel-head strong{
  color:#fff;
  font-size:16px;
}

.nova-guide-panel-head button{
  width:34px;
  height:34px;
  border:none;
  border-radius:50%;
  color:#fff;
  background:rgba(255,255,255,.08);
  cursor:pointer;
  font-size:22px;
  line-height:1;
}

.nova-guide-panel-messages{
  flex:1;
  overflow-y:auto;
  padding:16px;
  display:flex;
  flex-direction:column;
  gap:12px;
}

.nova-guide-msg{
  max-width:86%;
  padding:12px 14px;
  border-radius:18px;
  font-size:13px;
  line-height:1.5;
  border:1px solid rgba(255,255,255,.08);
  white-space:pre-wrap;
}

.nova-guide-msg.nova{
  align-self:flex-start;
  color:#dce8ff;
  background:rgba(255,255,255,.06);
}

.nova-guide-msg.user{
  align-self:flex-end;
  color:#fff;
  background:linear-gradient(135deg, rgba(114,200,255,.24), rgba(155,107,255,.24));
  border-color:rgba(114,200,255,.25);
}

.nova-guide-msg.loading{
  align-self:flex-start;
  color:#8f98b7;
  background:rgba(255,255,255,.04);
}

.nova-guide-panel-form{
  display:flex;
  gap:10px;
  padding:14px;
  border-top:1px solid rgba(255,255,255,.08);
}

.nova-guide-panel-form input{
  flex:1;
  min-width:0;
  height:46px;
  border-radius:15px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(0,0,0,.28);
  color:#fff;
  padding:0 14px;
  outline:none;
}

.nova-guide-panel-form button{
  min-width:78px;
  border:none;
  border-radius:15px;
  color:#05060b;
  font-weight:900;
  cursor:pointer;
  background:linear-gradient(135deg, #72c8ff, #9b6bff);
}

.nova-guide-limit{
  margin:0;
  padding:0 16px 14px;
  color:#8f98b7;
  font-size:11px;
}

@media(max-width:640px){
  .nova-guide-widget{
    right:14px;
    bottom:14px;
  }

  .nova-guide-toggle{
    padding:13px 15px;
  }

  .nova-guide-panel{
    right:-4px;
    bottom:64px;
    width:calc(100vw - 20px);
    height:70vh;
    border-radius:24px;
  }
}
/* =========================================================
   NOVA GUIDE AVATAR LOGO
========================================================= */

.nova-guide-avatar,
.nova-guide-head-avatar{
  position:relative;
  border-radius:50%;
  display:grid;
  place-items:center;
  overflow:hidden;
  background:
    radial-gradient(circle at center, rgba(114,200,255,.18), rgba(5,6,11,.92) 62%);
  box-shadow:
    0 0 18px rgba(114,200,255,.58),
    0 0 34px rgba(155,107,255,.30);
}

.nova-guide-avatar{
  width:42px;
  height:42px;
  flex:0 0 42px;
}

.nova-guide-head-avatar{
  width:68px;
  height:68px;
  flex:0 0 68px;
}

.nova-guide-ring,
.nova-guide-eyes{
  position:absolute;
  object-fit:contain;
  pointer-events:none;
  user-select:none;
}

/* Button logo */
.nova-guide-avatar .nova-guide-ring{
  width:65px;
  height:65px;
  animation:novaGuideSpin 22s linear infinite;
}

.nova-guide-avatar .nova-guide-eyes{
  width:38px;
  height:38px;
  z-index:2;
  animation:novaGuideBlink 6.5s infinite !important;
  transform-origin:center;
}

.nova-guide-head-avatar .nova-guide-ring{
  width:92px;
  height:92px;
  animation:novaGuideSpin 26s linear infinite;
}

.nova-guide-head-avatar .nova-guide-eyes{
  width:62px;
  height:62px;
  z-index:2;
  animation:novaGuideBlink 7.5s infinite !important;
  transform-origin:center;
}

.nova-guide-title-wrap{
  display:flex;
  align-items:center;
  gap:12px;
}

@keyframes novaGuideSpin{
  from{ transform:rotate(0deg); }
  to{ transform:rotate(360deg); }
}

/* =========================================================
   NOVA PERFORMANCE PAGE
========================================================= */

.nova-page{
  background:
    radial-gradient(circle at top left, rgba(84, 155, 255, .14), transparent 34%),
    radial-gradient(circle at top right, rgba(155, 107, 255, .12), transparent 32%),
    #050711;
  color:#f4f7ff;
  min-height:100vh;
}

.nova-main{
  margin-left:260px;
  padding:34px;
  min-height:100vh;
}

.performance-hero{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:24px;
  margin-bottom:26px;
  padding:26px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:28px;
  background:
    radial-gradient(circle at top left, rgba(114,200,255,.16), transparent 34%),
    linear-gradient(135deg, rgba(14,18,30,.90), rgba(8,10,18,.92));
  box-shadow:0 24px 80px rgba(0,0,0,.34);
}

.performance-hero h1{
  margin:0;
  font-size:42px;
  line-height:1.05;
  letter-spacing:-.04em;
}

.performance-hero p{
  margin:10px 0 0;
  max-width:720px;
  color:#9aa7c7;
  font-size:15px;
  line-height:1.6;
}

.eyebrow{
  margin:0 0 8px !important;
  color:#72c8ff !important;
  font-size:11px !important;
  font-weight:900 !important;
  letter-spacing:.16em !important;
  text-transform:uppercase;
}

.btn-secondary{
  border:1px solid rgba(114,200,255,.22);
  border-radius:16px;
  padding:12px 16px;
  color:#dcecff;
  background:rgba(255,255,255,.06);
  font-weight:800;
  cursor:pointer;
}

.performance-grid{
  display:grid;
  grid-template-columns:repeat(5, minmax(0, 1fr));
  gap:16px;
  margin-bottom:18px;
}

.performance-card{
  position:relative;
  overflow:hidden;
  padding:20px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:24px;
  background:
    radial-gradient(circle at top right, rgba(114,200,255,.13), transparent 32%),
    rgba(255,255,255,.055);
  box-shadow:0 18px 55px rgba(0,0,0,.26);
}

.performance-card::after{
  content:"";
  position:absolute;
  inset:auto -20px -35px auto;
  width:120px;
  height:120px;
  border-radius:50%;
  background:rgba(114,200,255,.10);
  filter:blur(20px);
}

.performance-card p{
  margin:0 0 10px;
  color:#8f9bbd;
  font-size:12px;
  font-weight:800;
}

.performance-card h2{
  margin:0;
  font-size:32px;
  letter-spacing:-.04em;
}

.performance-card span{
  display:block;
  margin-top:8px;
  color:#7985a6;
  font-size:12px;
}

.performance-layout{
  display:grid;
  grid-template-columns:1.6fr .8fr;
  gap:18px;
  margin-bottom:18px;
}

.performance-panel{
  padding:22px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:28px;
  background:
    radial-gradient(circle at top left, rgba(114,200,255,.10), transparent 32%),
    rgba(9,12,22,.86);
  box-shadow:0 24px 80px rgba(0,0,0,.28);
}

.performance-panel.large{
  min-height:340px;
}

.panel-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  margin-bottom:18px;
}

.panel-head h3{
  margin:0;
  font-size:20px;
  letter-spacing:-.02em;
}

.range-tabs{
  display:flex;
  gap:8px;
  padding:5px;
  border-radius:999px;
  background:rgba(255,255,255,.055);
  border:1px solid rgba(255,255,255,.08);
}

.range-tabs button{
  border:none;
  border-radius:999px;
  padding:8px 12px;
  color:#8f9bbd;
  background:transparent;
  font-weight:800;
  cursor:pointer;
}

.range-tabs button.active{
  color:#050711;
  background:linear-gradient(135deg, #72c8ff, #9b6bff);
}

.performance-placeholder{
  height:240px;
  display:grid;
  place-items:center;
  border-radius:22px;
  border:1px dashed rgba(114,200,255,.24);
  background:
    linear-gradient(180deg, rgba(114,200,255,.08), transparent),
    rgba(0,0,0,.18);
  color:#8f9bbd;
  font-weight:800;
}

.strategy-list{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.strategy-row{
  display:flex;
  justify-content:space-between;
  gap:16px;
  padding:14px;
  border-radius:18px;
  background:rgba(255,255,255,.055);
  border:1px solid rgba(255,255,255,.08);
}

.strategy-row strong{
  display:block;
  color:#fff;
  font-size:14px;
}

.strategy-row span{
  display:block;
  margin-top:4px;
  color:#7f8aaa;
  font-size:12px;
}

.muted{
  color:#8f9bbd;
}

.history-panel{
  margin-bottom:40px;
}

.performance-search{
  width:210px;
  height:42px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(0,0,0,.22);
  color:#fff;
  padding:0 14px;
}

.performance-table-wrap{
  overflow:auto;
  border-radius:20px;
  border:1px solid rgba(255,255,255,.08);
}

.performance-table{
  width:100%;
  min-width:1180px;
  border-collapse:collapse;
}

.performance-table th{
  padding:14px 16px;
  text-align:left;
  color:#7f8aaa;
  font-size:11px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.08em;
  background:rgba(255,255,255,.045);
  border-bottom:1px solid rgba(255,255,255,.08);
}

.performance-table td{
  padding:15px 16px;
  color:#dce6ff;
  font-size:13px;
  border-bottom:1px solid rgba(255,255,255,.065);
}

.performance-table tr:hover td{
  background:rgba(114,200,255,.045);
}

.performance-table td strong{
  display:block;
  color:#fff;
  font-size:14px;
}

.performance-table td span{
  display:block;
  margin-top:4px;
  color:#7f8aaa;
  font-size:11px;
}

.positive{
  color:#42f5a7 !important;
  font-weight:900;
}

.negative{
  color:#ff6b8a !important;
  font-weight:900;
}

.status-pill{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  padding:7px 10px;
  border-radius:999px;
  font-size:11px !important;
  font-weight:900;
  text-transform:uppercase;
  color:#cfe8ff !important;
  background:rgba(114,200,255,.10);
  border:1px solid rgba(114,200,255,.22);
}

.status-pill.active{
  color:#42f5a7 !important;
  background:rgba(66,245,167,.10);
  border-color:rgba(66,245,167,.22);
}

.status-pill.hit{
  color:#42f5a7 !important;
}

.status-pill.miss{
  color:#ff6b8a !important;
}

.mini-hit{
  color:#42f5a7 !important;
  display:inline !important;
  margin-left:6px;
}

.mini-miss{
  color:#ff6b8a !important;
  display:inline !important;
  margin-left:6px;
}

.empty-table{
  text-align:center;
  color:#8f9bbd !important;
  padding:40px !important;
}

@media(max-width:1100px){
  .nova-main{
    margin-left:0;
    padding:22px;
  }

  .performance-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

  .performance-layout{
    grid-template-columns:1fr;
  }
}

@media(max-width:640px){
  .nova-main{
    padding:16px;
  }

  .performance-hero{
    flex-direction:column;
    padding:20px;
  }

  .performance-hero h1{
    font-size:34px;
  }

  .performance-grid{
    grid-template-columns:1fr;
  }

  .panel-head{
    flex-direction:column;
  }

  .range-tabs{
    width:100%;
    overflow:auto;
  }
}
/* =========================================================
   PREMIUM DASHBOARD POLISH
========================================================= */

.premium-command-hero{
  display:grid;
  grid-template-columns:minmax(0, 1.35fr) minmax(330px, .65fr);
  gap:24px;
  margin-bottom:24px;
  align-items:stretch;
}

.command-hero-left,
.command-hero-card{
  position:relative;
  overflow:hidden;
  border-radius:34px;
  border:1px solid rgba(255,255,255,.10);
  background:
    radial-gradient(circle at top left, rgba(114,200,255,.18), transparent 34%),
    radial-gradient(circle at bottom right, rgba(143,95,255,.16), transparent 38%),
    linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.035));
  box-shadow:0 26px 90px rgba(0,0,0,.34);
  backdrop-filter:blur(24px);
}

.command-hero-left{
  padding:34px;
}

.command-hero-left::after{
  content:"";
  position:absolute;
  right:-80px;
  top:-80px;
  width:260px;
  height:260px;
  border-radius:50%;
  background:rgba(114,200,255,.12);
  filter:blur(18px);
  pointer-events:none;
}

.premium-live-bar{
  margin-bottom:24px;
}

.command-hero-left h1{
  max-width:760px;
  font-size:clamp(44px, 2.2vw, 74px);
  line-height:.94;
  letter-spacing:-.075em;
  margin:0;
}

.command-subtitle{
  max-width:720px;
  margin-top:18px;
  color:var(--muted-2);
  font-size:16px;
  line-height:1.7;
}

.command-actions{
  display:flex;
  align-items:center;
  gap:18px;
  margin-top:28px;
  flex-wrap:wrap;
}

.dashboard-secondary-link{
  color:#dcecff;
  text-decoration:none;
  font-weight:900;
  padding:13px 16px;
  border-radius:999px;
  background:rgba(255,255,255,.055);
  border:1px solid rgba(255,255,255,.09);
  transition:.22s ease;
}

.dashboard-secondary-link:hover{
  transform:translateY(-2px);
  border-color:rgba(114,200,255,.24);
  box-shadow:0 0 26px rgba(114,200,255,.10);
}

.command-hero-card{
  padding:28px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  min-height:310px;
}

.command-card-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
}

.command-card-top span{
  color:var(--muted);
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.14em;
}

.command-card-top strong{
  font-size:54px;
  line-height:1;
  letter-spacing:-.06em;
  color:#fff;
  text-shadow:0 0 28px rgba(114,200,255,.32);
}

.command-hero-card > p{
  margin:22px 0;
  color:var(--green);
  line-height:1.55;
  font-size:14px;
}

.command-mini-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:10px;
}

.command-mini-grid div{
  padding:14px;
  border-radius:18px;
  background:rgba(0,0,0,.24);
  border:1px solid rgba(255,255,255,.08);
}

.command-mini-grid span{
  display:block;
  color:var(--muted);
  font-size:11px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.08em;
  margin-bottom:8px;
}

.command-mini-grid strong{
  font-size:22px;
  color:#fff;
}

.premium-dashboard-grid{
  display:grid;
  grid-template-columns:minmax(0, 1.45fr) minmax(310px, .55fr);
  gap:22px;
  margin-bottom:24px;
}

.premium-chart-card{
  min-height:390px;
}

.premium-chart-card #marketChart{
  min-height:320px;
}

.premium-status-card{
  display:flex;
  flex-direction:column;
}

.premium-status-card h3{
  font-size:28px;
  letter-spacing:-.04em;
  margin-bottom:18px;
}

.status-stack{
  display:grid;
  gap:12px;
  margin-top:8px;
}

.status-stack div{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:15px;
  border-radius:18px;
  background:rgba(0,0,0,.22);
  border:1px solid rgba(255,255,255,.08);
}

.status-stack span{
  color:var(--muted);
  font-size:13px;
}

.status-stack strong{
  color:var(--green);
  font-size:14px;
}

@media(max-width:1100px){
  .premium-command-hero,
  .premium-dashboard-grid{
    grid-template-columns:1fr;
  }

  .command-hero-card{
    min-height:auto;
  }
}

@media(max-width:640px){
  .command-hero-left,
  .command-hero-card{
    border-radius:26px;
    padding:22px;
  }

  .command-hero-left h1{
    font-size:20px;
  }

  .command-subtitle{
    font-size:14px;
  }

  .command-actions{
    align-items:stretch;
    flex-direction:column;
  }

  .command-actions .ai-button,
  .dashboard-secondary-link{
    width:100%;
    text-align:center;
  }

  .command-mini-grid{
    grid-template-columns:1fr;
  }

  .command-card-top strong{
    font-size:44px;
  }
}

/* =========================================================
   PREMIUM DASHBOARD POLISH V2
========================================================= */

.main-content{
  max-width:1480px;
}

.premium-command-hero{
  display:grid;
  grid-template-columns:minmax(0, 1.35fr) 390px;
  gap:22px;
  margin-bottom:24px;
}

.command-hero-left,
.command-hero-card,
.premium-chart-card,
.premium-status-card{
  border-radius:28px;
  border:1px solid rgba(255,255,255,.085);
  background:
    radial-gradient(circle at top left, rgba(114,200,255,.10), transparent 34%),
    radial-gradient(circle at bottom right, rgba(143,95,255,.10), transparent 38%),
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.025));
  box-shadow:
    0 18px 60px rgba(0,0,0,.28),
    inset 0 1px 0 rgba(255,255,255,.04);
}

.command-hero-left{
  min-height:340px;
  padding:34px 38px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.premium-live-bar{
  width:max-content;
  max-width:100%;
  margin-bottom:22px;
  padding:9px 14px;
  font-size:13px;
  background:rgba(255,255,255,.055);
  border-color:rgba(255,255,255,.08);
}

.command-hero-left h1{
  max-width:680px;
  font-size:clamp(44px, 4.8vw, 66px);
  line-height:.98;
  letter-spacing:-.07em;
}

.command-subtitle{
  max-width:670px;
  margin-top:18px;
  color:#a9b2cf;
  font-size:15px;
  line-height:1.75;
}

.command-actions{
  margin-top:26px;
}

.command-actions .ai-button{
  min-width:150px;
  text-align:center;
  padding:13px 20px;
  font-size:14px;
  box-shadow:0 0 26px rgba(77,163,255,.22);
}

.dashboard-secondary-link{
  padding:12px 18px;
  font-size:14px;
  background:rgba(255,255,255,.045);
}

/* Market pulse card */
.command-hero-card{
  min-height:340px;
  padding:26px;
  justify-content:space-between;
}

.command-card-top{
  align-items:flex-start;
}

.command-card-top span{
  font-size:11px;
  color:#9aa7c7;
}

.command-card-top strong{
  font-size:48px;
  letter-spacing:-.07em;
  color:white;
}

.command-hero-card > p{
  min-height:54px;
  margin:18px 0 20px;
  color:#8fffd0;
  font-size:14px;
  line-height:1.55;
}

.command-mini-grid{
  gap:10px;
}

.command-mini-grid div{
  padding:14px 12px;
  border-radius:16px;
  background:rgba(0,0,0,.23);
  border:1px solid rgba(255,255,255,.065);
}

.command-mini-grid span{
  font-size:10px;
  color:#8d97b7;
}

.command-mini-grid strong{
  font-size:20px;
}

/* Middle dashboard grid */
.premium-dashboard-grid{
  display:grid;
  grid-template-columns:minmax(0, 1.65fr) 360px;
  gap:22px;
  margin-bottom:24px;
}

.premium-chart-card{
  min-height:410px;
  padding:26px;
}

.premium-chart-card .card-head{
  margin-bottom:12px;
}

.premium-chart-card .card-head h3{
  font-size:22px;
  letter-spacing:-.035em;
}

.premium-chart-card .card-head p{
  font-size:14px;
  color:#9aa7c7;
}

.premium-chart-card #marketChart{
  min-height:315px;
}

/* Status card */
.premium-status-card{
  min-height:410px;
  padding:26px;
}

.premium-status-card h3{
  font-size:26px;
  margin-bottom:22px;
}

.status-stack{
  gap:12px;
}

.status-stack div{
  padding:14px 16px;
  border-radius:16px;
  background:rgba(0,0,0,.20);
  border:1px solid rgba(255,255,255,.065);
}

.status-stack span{
  font-size:13px;
  color:#9aa7c7;
}

.status-stack strong{
  font-size:14px;
  color:#72ffb5;
}

.premium-status-card .read-more{
  margin-top:22px;
  font-size:14px;
}

/* Premium intelligence card */
.insight-card{
  border-radius:28px;
  padding:30px;
  background:
    radial-gradient(circle at top left, rgba(143,95,255,.16), transparent 36%),
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.026));
}

.insight-card h2{
  font-size:26px;
  line-height:1.2;
}

.insight-card p{
  max-width:760px;
}

.insight-score{
  width:135px;
  height:135px;
  border-radius:28px;
  background:rgba(0,0,0,.22);
}

.insight-score span{
  font-size:38px;
}

/* Make general dashboard cards a little softer */
.main-content > section{
  margin-bottom:24px;
}

.bottom-grid{
  gap:18px;
}

.bottom-grid .glass-card{
  border-radius:26px;
  padding:24px;
}

/* Dashboard top picks better spacing */
.top-picks-grid{
  gap:18px;
}

.pick-card{
  border-radius:26px;
}

.pick-symbol{
  font-size:28px;
}

.pick-summary{
  color:#aab4d0;
}

/* Scanner/news/heatmap sections */
.market-news-grid,
.sector-heatmap{
  gap:14px;
}

.news-card,
.sector-tile,
.scanner-card-row{
  border-radius:18px;
}

/* Mobile */
@media(max-width:1200px){
  .premium-command-hero,
  .premium-dashboard-grid{
    grid-template-columns:1fr;
  }

  .command-hero-card,
  .premium-status-card{
    min-height:auto;
  }
}

@media(max-width:640px){
  .command-hero-left{
    min-height:auto;
    padding:24px;
  }

  .command-hero-left h1{
    font-size:42px;
  }

  .command-subtitle{
    font-size:14px;
  }

  .command-card-top strong{
    font-size:42px;
  }

  .command-mini-grid{
    grid-template-columns:1fr;
  }

  .premium-chart-card,
  .premium-status-card,
  .insight-card{
    padding:20px;
    border-radius:24px;
  }
}

/* =========================================================
   DASHBOARD WITHOUT MARKET PULSE CARD
========================================================= */

.dashboard-hero-clean{
  grid-template-columns:1fr !important;
}

.dashboard-hero-clean .command-hero-left{
  min-height:300px;
}

.dashboard-hero-clean .command-subtitle{
  max-width:760px;
}

/* =========================================================
   DASHBOARD PERFORMANCE SNAPSHOT CARD
========================================================= */

.performance-snapshot-card{
  position:relative;
}

.performance-snapshot-card::after{
  content:"";
  position:absolute;
  right:-55px;
  top:-55px;
  width:170px;
  height:170px;
  border-radius:50%;
  background:rgba(114,255,181,.10);
  filter:blur(22px);
  pointer-events:none;
}

.performance-snapshot-card .command-card-top strong{
  font-size:34px;
  color:#72ffb5;
  letter-spacing:-.05em;
  text-shadow:0 0 24px rgba(114,255,181,.22);
}

.performance-snapshot-card > p{
  color:#b9c4e8;
  font-size:14px;
  line-height:1.65;
}

.snapshot-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-top:18px;
  min-height:42px;
  padding:11px 15px;
  border-radius:999px;
  color:#050711;
  background:linear-gradient(135deg, #72ffb5, #72c8ff);
  text-decoration:none;
  font-weight:900;
  box-shadow:0 0 26px rgba(114,255,181,.16);
}
/* =========================================================
   PREMIUM DASHBOARD FINAL POLISH
========================================================= */

.premium-dashboard-page{
  max-width:1480px;
}

.performance-snapshot-card{
  position:relative;
}

.performance-snapshot-card::after{
  content:"";
  position:absolute;
  right:-55px;
  top:-55px;
  width:170px;
  height:170px;
  border-radius:50%;
  background:rgba(114,255,181,.10);
  filter:blur(22px);
  pointer-events:none;
}

.performance-snapshot-card .command-card-top strong{
  font-size:34px;
  color:#72ffb5;
  letter-spacing:-.05em;
  text-shadow:0 0 24px rgba(114,255,181,.22);
}

.performance-snapshot-card > p{
  color:#b9c4e8;
  font-size:14px;
  line-height:1.65;
}

.snapshot-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-top:18px;
  min-height:42px;
  padding:11px 15px;
  border-radius:999px;
  color:#050711;
  background:linear-gradient(135deg, #72ffb5, #72c8ff);
  text-decoration:none;
  font-weight:900;
  box-shadow:0 0 26px rgba(114,255,181,.16);
}

.premium-dashboard-page .top-picks-grid{
  margin-bottom:26px;
}

.premium-dashboard-page .section-header{
  margin-top:28px;
}

.premium-dashboard-page .insight-card{
  margin-top:4px;
}
/* =========================================================
   DASHBOARD PREMIUM TOP PICK CARDS
========================================================= */

.premium-setup-card{
  min-height:390px;
  display:flex;
  flex-direction:column;
  border-radius:28px;
  background:
    radial-gradient(circle at top right, rgba(114,200,255,.13), transparent 38%),
    radial-gradient(circle at bottom left, rgba(143,95,255,.10), transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,.065), rgba(255,255,255,.032));
}

.premium-setup-card::after{
  content:"";
  position:absolute;
  right:-60px;
  top:-60px;
  width:160px;
  height:160px;
  border-radius:50%;
  background:rgba(114,200,255,.10);
  filter:blur(22px);
  pointer-events:none;
}

.setup-label{
  display:inline-flex;
  margin-bottom:9px;
  padding:6px 10px;
  border-radius:999px;
  color:#72c8ff;
  background:rgba(114,200,255,.10);
  border:1px solid rgba(114,200,255,.20);
  font-size:10px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.12em;
}

.premium-setup-card .pick-summary{
  min-height:68px;
  margin:16px 0 18px;
  color:#aeb8d7;
  font-size:14px;
  line-height:1.6;
}

.setup-metrics-row{
  display:grid;
  grid-template-columns:.7fr .7fr 1.35fr;
  gap:10px;
  margin-top:4px;
}

.setup-metrics-row div,
.setup-levels div{
  padding:13px;
  border-radius:16px;
  background:rgba(0,0,0,.22);
  border:1px solid rgba(255,255,255,.075);
}

.setup-metrics-row span,
.setup-levels span{
  display:block;
  margin-bottom:7px;
  color:#8f98b7;
  font-size:10px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.10em;
}

.setup-metrics-row strong{
  display:block;
  color:#fff;
  font-size:15px;
  line-height:1.15;
  letter-spacing:-.02em;
}

.setup-levels{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-top:10px;
}

.setup-levels strong{
  display:block;
  color:#dce8ff;
  font-size:14px;
  line-height:1.25;
}

.setup-confidence-bar{
  margin-top:18px;
  height:10px;
}

.setup-card-footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-top:auto;
  padding-top:16px;
}

.setup-card-footer .pick-risk{
  margin-top:0;
}

.setup-read-more{
  margin-top:0;
  white-space:nowrap;
}

@media(max-width:768px){
  .setup-metrics-row{
    grid-template-columns:1fr;
  }

  .setup-levels{
    grid-template-columns:1fr;
  }

  .setup-card-footer{
    align-items:flex-start;
    flex-direction:column;
  }
}

/* =========================================================
   NOVA AI FREE DASHBOARD
========================================================= */

.free-dashboard-page{
  max-width:1480px;
}

.free-hero{
  display:grid;
  grid-template-columns:1.55fr .8fr;
  gap:26px;
  align-items:stretch;
  padding:34px;
  border-radius:32px;
  position:relative;
  overflow:hidden;
  margin-bottom:26px;
}

.free-hero::before{
  content:"";
  position:absolute;
  inset:-1px;
  background:
    radial-gradient(circle at 18% 12%, rgba(114,200,255,.18), transparent 34%),
    radial-gradient(circle at 82% 18%, rgba(143,95,255,.16), transparent 34%);
  pointer-events:none;
}

.free-hero-content,
.free-hero-side{
  position:relative;
  z-index:1;
}

.free-hero h1{
  margin:18px 0 14px;
  font-size:clamp(38px, 5vw, 72px);
  line-height:.95;
  letter-spacing:-.07em;
}

.free-hero p{
  max-width:760px;
  color:#aeb8d7;
  font-size:15px;
  line-height:1.75;
}

.free-hero-actions{
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
  margin-top:24px;
}

.free-hero-side{
  padding:26px;
  border-radius:26px;
  background:rgba(0,0,0,.22);
  border:1px solid rgba(255,255,255,.08);
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.free-plan-badge{
  display:inline-flex;
  width:max-content;
  padding:8px 12px;
  border-radius:999px;
  color:#72c8ff;
  background:rgba(114,200,255,.10);
  border:1px solid rgba(114,200,255,.20);
  font-size:11px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.12em;
}

.free-plan-price{
  margin-top:20px;
  color:#fff;
  font-size:48px;
  font-weight:950;
  letter-spacing:-.06em;
}

.free-plan-price small{
  color:#8f98b7;
  font-size:14px;
  letter-spacing:0;
}

.free-dashboard-grid{
  display:grid;
  grid-template-columns:1.2fr 1fr 1fr;
  gap:22px;
  margin-bottom:26px;
}

.free-card{
  min-height:260px;
  border-radius:28px;
  position:relative;
  overflow:hidden;
}

.free-card h3{
  margin:8px 0 12px;
  color:#fff;
  font-size:25px;
  letter-spacing:-.04em;
}

.free-card p{
  color:#aeb8d7;
  font-size:14px;
  line-height:1.65;
}

.free-mini-stats{
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:10px;
  margin-top:22px;
}

.free-mini-stats div{
  padding:13px;
  border-radius:16px;
  background:rgba(0,0,0,.22);
  border:1px solid rgba(255,255,255,.07);
}

.free-mini-stats span{
  display:block;
  color:#8f98b7;
  font-size:10px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.10em;
  margin-bottom:6px;
}

.free-mini-stats strong{
  color:#fff;
  font-size:14px;
}

.locked-card{
  opacity:.92;
}

.locked-card::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(135deg, rgba(0,0,0,.05), rgba(143,95,255,.06));
  pointer-events:none;
}

.lock-icon{
  width:44px;
  height:44px;
  border-radius:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.10);
  margin-bottom:16px;
}

.free-preview-section{
  margin-top:10px;
}

.free-preview-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:22px;
}

.free-preview-card{
  border-radius:26px;
  min-height:210px;
}

.preview-tag{
  display:inline-flex;
  padding:7px 10px;
  border-radius:999px;
  color:#72ffb5;
  background:rgba(114,255,181,.10);
  border:1px solid rgba(114,255,181,.18);
  font-size:10px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.12em;
}

.free-preview-card h3{
  margin:16px 0 10px;
  color:#fff;
  font-size:22px;
  letter-spacing:-.03em;
}

.free-preview-card p{
  color:#aeb8d7;
  font-size:14px;
  line-height:1.65;
}

.free-upgrade-box{
  margin-top:26px;
  border-radius:30px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  background:
    radial-gradient(circle at top right, rgba(114,200,255,.14), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
}

.free-upgrade-box h2{
  margin:8px 0 8px;
  color:#fff;
  font-size:34px;
  letter-spacing:-.05em;
}

.free-upgrade-box p{
  color:#aeb8d7;
  max-width:760px;
  line-height:1.65;
}

@media(max-width:1050px){
  .free-hero,
  .free-dashboard-grid,
  .free-preview-grid{
    grid-template-columns:1fr;
  }

  .free-upgrade-box{
    align-items:flex-start;
    flex-direction:column;
  }
}

@media(max-width:650px){
  .free-hero{
    padding:24px;
  }

  .free-mini-stats{
    grid-template-columns:1fr;
  }

  .free-plan-price{
    font-size:38px;
  }
}



/* =========================================================
   NOVA AI PRICING CLEAN UPDATE
========================================================= */

.pricing-simple-page{
  max-width:1320px;
  margin:0 auto;
  padding-top:34px;
}

.pricing-hero-card{
  margin-bottom:26px;
}

.pricing-hero-card h1{
  margin:8px 0 10px;
  color:#fff;
  font-size:clamp(42px, 5vw, 72px);
  letter-spacing:-.07em;
}

.pricing-grid-clean{
  align-items:stretch;
}

.price-plan-card{
  position:relative;
  min-height:520px;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  border-radius:28px;
}

.price-plan-card::after{
  content:"";
  position:absolute;
  right:-70px;
  top:-70px;
  width:180px;
  height:180px;
  border-radius:50%;
  background:rgba(114,200,255,.09);
  filter:blur(24px);
  pointer-events:none;
}

.featured-plan-card{
  border:1px solid rgba(114,200,255,.35);
  box-shadow:0 0 45px rgba(114,200,255,.13);
  transform:translateY(-10px);
}

.popular-badge-clean{
  position:absolute;
  top:20px;
  right:20px;
  z-index:2;
  padding:8px 12px;
  border-radius:999px;
  color:#050711;
  background:linear-gradient(135deg, #72c8ff, #8f5fff);
  font-size:11px;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:.10em;
}

.price-plan-card h2{
  margin:12px 0 0;
  color:#fff;
  font-size:40px;
  font-weight:950;
  letter-spacing:-.06em;
}

.price-period{
  display:block;
  margin-top:4px;
  color:#8f98b7;
  font-size:14px;
  font-weight:800;
}

.price-plan-card .pick-summary{
  margin:22px 0;
  min-height:72px;
}

.plan-list{
  list-style:none;
  padding:0;
  margin:0 0 26px;
  display:flex;
  flex-direction:column;
  gap:12px;
}

.plan-list li{
  color:#c2cbea;
  font-size:14px;
  line-height:1.35;
}

.plan-list li::before{
  content:"✓";
  margin-right:9px;
  color:#72ffb5;
  font-weight:950;
}

.plan-button{
  margin-top:auto;
  text-align:center;
}

.pricing-risk-note{
  margin-top:26px;
  border-radius:28px;
}

.pricing-risk-note h2{
  color:#fff;
  margin:8px 0;
  font-size:30px;
  letter-spacing:-.04em;
}

.pricing-risk-note p{
  color:#aeb8d7;
  line-height:1.65;
}

@media(max-width:900px){
  .featured-plan-card{
    transform:none;
  }

  .price-plan-card{
    min-height:auto;
  }
}


/* =========================================================
   ACCOUNT PAGE SUBSCRIPTION POLISH
========================================================= */

.account-page{
  max-width:1480px;
}

.account-hero-card h1{
  margin:8px 0 8px;
  color:#fff;
  font-size:clamp(38px, 5vw, 58px);
  letter-spacing:-.06em;
}

.account-plan-score span{
  font-size:34px;
  letter-spacing:-.04em;
}

.account-grid{
  align-items:stretch;
}

.account-card{
  min-height:330px;
  display:flex;
  flex-direction:column;
  border-radius:28px;
  position:relative;
  overflow:hidden;
}

.account-card h2{
  margin:12px 0 12px;
  color:#fff;
  font-size:26px;
  letter-spacing:-.04em;
}

.account-status-pill{
  display:inline-flex;
  width:max-content;
  margin-top:auto;
  padding:9px 13px;
  border-radius:999px;
  color:#72ffb5;
  background:rgba(114,255,181,.12);
  border:1px solid rgba(114,255,181,.16);
  font-size:12px;
  font-weight:900;
}

.account-subscription-card{
  background:
    radial-gradient(circle at top right, rgba(114,200,255,.13), transparent 36%),
    radial-gradient(circle at bottom left, rgba(143,95,255,.12), transparent 40%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
}

.account-plan-details{
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
  margin:22px 0;
}

.account-plan-details div{
  padding:13px 14px;
  border-radius:16px;
  background:rgba(0,0,0,.22);
  border:1px solid rgba(255,255,255,.075);
}

.account-plan-details span{
  display:block;
  margin-bottom:6px;
  color:#8f98b7;
  font-size:10px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.10em;
}

.account-plan-details strong{
  color:#fff;
  font-size:14px;
}

.account-plan-actions{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin-top:auto;
}

.account-plan-button{
  min-height:42px;
  padding:11px 16px;
  text-decoration:none;
}

.account-link-button,
.account-danger-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:11px 15px;
  border-radius:999px;
  text-decoration:none;
  font-size:13px;
  font-weight:900;
}

.account-link-button{
  color:#dce8ff;
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.11);
}

.account-danger-button{
  color:#ff9bb8;
  background:rgba(255,92,135,.12);
  border:1px solid rgba(255,92,135,.18);
}

.logout-button{
  width:max-content;
  margin-top:auto;
}

@media(max-width:900px){
  .account-card{
    min-height:auto;
  }

  .account-plan-actions{
    align-items:flex-start;
    flex-direction:column;
  }
}

.error-page {
  min-height: calc(100vh - 40px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.error-shell {
  width: min(680px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top left, rgba(79, 70, 229, 0.18), transparent 34%),
    rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(22px);
  border-radius: 28px;
  padding: 42px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.35);
}

.error-shell h1 {
  margin: 6px 0 12px;
  font-size: clamp(2rem, 5vw, 4rem);
  letter-spacing: -0.05em;
}

.error-shell p {
  max-width: 540px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.7;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

@media (max-width: 768px) {
  .error-page {
    align-items: flex-start;
    padding-top: 80px;
  }

  .error-shell {
    padding: 26px;
    border-radius: 22px;
  }
}
.nova-landing-body {
  background:
    radial-gradient(circle at 20% 5%, rgba(88, 101, 242, 0.24), transparent 32%),
    radial-gradient(circle at 80% 10%, rgba(168, 85, 247, 0.18), transparent 30%),
    #05070d;
  color: #fff;
  overflow-x: hidden;
}

.landing-bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: radial-gradient(circle at top, black, transparent 72%);
  z-index: 0;
}

.nova-landing {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - 36px));
  margin: 0 auto;
  padding: 24px 0 40px;
}

.nova-landing-nav {
  position: sticky;
  top: 18px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(8, 10, 20, 0.72);
  backdrop-filter: blur(24px);
  border-radius: 22px;
  box-shadow: 0 20px 80px rgba(0,0,0,0.25);
}

.nova-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
}

.nova-brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,0.06);
  box-shadow: 0 0 34px rgba(99,102,241,0.45);
}

.nova-brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nova-brand strong {
  display: block;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
}

.nova-brand small {
  display: block;
  color: rgba(255,255,255,0.52);
  font-size: 0.72rem;
}

.nova-nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nova-nav-links a {
  color: rgba(255,255,255,0.66);
  text-decoration: none;
  font-size: 0.88rem;
}

.nova-nav-links a:hover {
  color: #fff;
}

.nova-nav-cta,
.nova-primary-btn,
.nova-secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
}

.nova-nav-cta,
.nova-primary-btn {
  color: #fff;
  background: linear-gradient(135deg, #5b6cff, #a855f7);
  box-shadow: 0 0 38px rgba(99,102,241,0.42);
}

.nova-secondary-btn {
  color: rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
}

.nova-hero {
  min-height: 760px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 56px;
  padding: 70px 0 80px;
}

.nova-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  padding: 9px 13px;
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: 999px;
  background: rgba(255,255,255,0.055);
  color: rgba(255,255,255,0.76);
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.nova-badge span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #60a5fa;
  box-shadow: 0 0 18px #60a5fa;
}

.nova-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(3.4rem, 6.2vw, 6.6rem);
  line-height: 0.92;
  letter-spacing: -0.075em;
}

.nova-hero-text {
  max-width: 620px;
  margin: 28px 0 0;
  color: rgba(255,255,255,0.68);
  font-size: 1.14rem;
  line-height: 1.75;
}

.nova-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.nova-hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 38px;
  max-width: 720px;
}

.nova-hero-proof div,
.performance-preview-grid article,
.engine-flow article,
.feature-grid div {
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.045);
  backdrop-filter: blur(20px);
  border-radius: 22px;
  padding: 18px;
}

.nova-hero-proof strong {
  display: block;
  margin-bottom: 5px;
  font-size: 1rem;
}

.nova-hero-proof span {
  color: rgba(255,255,255,0.56);
  font-size: 0.82rem;
}

.nova-hero-visual {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nova-visual-frame {
  position: relative;
  width: min(520px, 100%);
  aspect-ratio: 0.82;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nova-visual-glow {
  position: absolute;
  width: 82%;
  height: 82%;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(99,102,241,0.42), transparent 58%),
    radial-gradient(circle, rgba(168,85,247,0.3), transparent 64%);
  filter: blur(20px);
  animation: novaPulse 4s ease-in-out infinite;
}

.nova-character-wrap {
  position: relative;
  z-index: 2;
  width: min(440px, 92%);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  filter:
    drop-shadow(0 0 44px rgba(99,102,241,0.42))
    drop-shadow(0 28px 70px rgba(0,0,0,0.65));
}

.nova-character-ring {
  position: absolute;
  width: 112%;
  height: 112%;
  left: 50%;
  top: 50%;
  object-fit: contain;
  transform-origin: center center;
  animation: novaRingSpinCentered 18s linear infinite;
}

.nova-character-eyes {
  position: absolute;
  width: 34%;
  max-width: 150px;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
  object-fit: contain;
  z-index: 3;
  animation: novaBlink 5.5s infinite;
}

.floating-panel {
  position: absolute;
  z-index: 4;
  width: 210px;
  padding: 14px 15px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  background: rgba(8, 10, 22, 0.72);
  backdrop-filter: blur(22px);
  box-shadow: 0 18px 70px rgba(0,0,0,0.32);
}

.floating-panel small {
  display: block;
  color: rgba(147,197,253,0.92);
  text-transform: uppercase;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
}

.floating-panel strong {
  display: block;
  margin: 5px 0;
  font-size: 0.92rem;
}

.floating-panel span {
  color: rgba(255,255,255,0.58);
  font-size: 0.78rem;
}

.panel-one {
  top: 90px;
  left: -40px;
}

.panel-two {
  right: -34px;
  top: 270px;
}

.panel-three {
  left: 30px;
  bottom: 70px;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 28px;
}

.section-heading h2,
.showcase-content h2,
.nova-cta-section h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4.2vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.section-heading p,
.showcase-content p,
.nova-cta-section p {
  color: rgba(255,255,255,0.64);
  line-height: 1.75;
}

.nova-engine-section,
.nova-showcase,
.nova-performance-preview,
.nova-cta-section {
  margin-top: 70px;
}

.engine-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.engine-flow article span {
  display: inline-flex;
  margin-bottom: 18px;
  color: rgba(147,197,253,0.95);
  font-weight: 800;
}

.engine-flow h3,
.performance-preview-grid h3 {
  margin: 0 0 8px;
}

.engine-flow p,
.performance-preview-grid span,
.feature-grid span {
  color: rgba(255,255,255,0.58);
  line-height: 1.55;
  font-size: 0.88rem;
}

.nova-showcase {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: center;
  padding: 34px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 34px;
  background:
    radial-gradient(circle at 20% 20%, rgba(99,102,241,0.2), transparent 36%),
    rgba(255,255,255,0.032);
}

.showcase-visual {
  border-radius: 28px;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  box-shadow: inset 0 0 60px rgba(99,102,241,0.16);
}

.showcase-visual img {
  display: block;
  width: 100%;
  opacity: 0.95;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.feature-grid strong {
  display: block;
  margin-bottom: 6px;
}

.performance-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.performance-preview-grid small {
  display: block;
  color: rgba(147,197,253,0.9);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.65rem;
}

.performance-preview-grid strong {
  display: block;
  margin: 10px 0 6px;
  font-size: 1.15rem;
}

.nova-cta-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 42px;
  border-radius: 34px;
  border: 1px solid rgba(255,255,255,0.09);
  background:
    linear-gradient(135deg, rgba(91,108,255,0.18), rgba(168,85,247,0.1)),
    rgba(255,255,255,0.035);
}

.nova-landing-disclaimer {
  margin-top: 34px;
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  background: rgba(255,255,255,0.035);
  color: rgba(255,255,255,0.62);
  line-height: 1.6;
  font-size: 0.86rem;
}

.nova-landing-disclaimer strong {
  display: block;
  color: rgba(255,255,255,0.88);
  margin-bottom: 6px;
}

.nova-landing-disclaimer p {
  margin: 0;
}

.nova-landing-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 26px;
  padding: 24px 4px 6px;
  color: rgba(255,255,255,0.58);
}

.nova-landing-footer strong {
  display: block;
  color: rgba(255,255,255,0.9);
}

.nova-landing-footer span {
  display: block;
  margin-top: 4px;
  font-size: 0.86rem;
}

.nova-landing-footer a {
  color: rgba(255,255,255,0.58);
  text-decoration: none;
  margin-left: 16px;
}

.nova-landing-footer a:hover {
  color: #fff;
}

@keyframes novaPulse {
  0%, 100% {
    transform: scale(0.96);
    opacity: 0.72;
  }

  50% {
    transform: scale(1.05);
    opacity: 1;
  }
}

@media (max-width: 980px) {
  .nova-nav-links {
    display: none;
  }

  .nova-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .nova-hero-visual {
    min-height: 520px;
  }

  .engine-flow,
  .performance-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nova-showcase {
    grid-template-columns: 1fr;
  }

  .nova-cta-section {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .nova-landing {
    width: min(100% - 22px, 1240px);
    padding-top: 12px;
  }

  .nova-landing-nav {
    top: 10px;
  }

  .nova-nav-cta {
    display: none;
  }

  .nova-hero {
    padding-top: 48px;
    gap: 24px;
  }

  .nova-hero h1 {
    font-size: clamp(3rem, 15vw, 4.6rem);
  }

  .nova-hero-text {
    font-size: 1rem;
  }

  .nova-hero-proof,
  .engine-flow,
  .performance-preview-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .nova-hero-visual {
    min-height: 440px;
  }

  .floating-panel {
    width: 185px;
  }

  .panel-one {
    top: 40px;
    left: 0;
  }

  .panel-two {
    right: 0;
    top: 225px;
  }

  .panel-three {
    left: 10px;
    bottom: 16px;
  }

  .nova-showcase,
  .nova-cta-section {
    padding: 22px;
    border-radius: 26px;
  }

  .nova-landing-footer {
    flex-direction: column;
  }

  .nova-landing-footer a {
    display: inline-flex;
    margin: 0 14px 10px 0;
  }
}
@keyframes novaRingSpinCentered {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
@keyframes novaBlink {
  0%, 44%, 48%, 100% {
    transform: translate(-50%, -44%) scaleY(1);
    opacity: 1;
  }

  46% {
    transform: translate(-50%, -44%) scaleY(0.15);
    opacity: 0.95;
  }
}

.nova-mini-logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.nova-mini-ring-wrap {
  position: absolute;
  inset: -7px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: novaMiniSpin 28s linear infinite;
  transform-origin: 50% 50%;
}

.nova-mini-ring {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.18);
}

.nova-mini-eyes {
  position: absolute;
  z-index: 3;
  width: 42%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -42%);
  object-fit: contain;
  animation: novaMiniBlink 5.5s infinite;
}

@keyframes novaMiniSpin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes novaMiniBlink {
  0%, 44%, 48%, 100% {
    transform: translate(-50%, -42%) scaleY(1);
    opacity: 1;
  }

  46% {
    transform: translate(-50%, -42%) scaleY(0.12);
    opacity: 0.9;
  }
}
.nova-mini-logo {
  position: relative;
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,0.06);
  box-shadow: 0 0 34px rgba(99,102,241,0.45);
}

.nova-mini-ring-axis {
  position: absolute;
  width: 58px;
  height: 58px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  transform-origin: 50% 50%;
  animation: novaMiniAxisSpin 29s linear infinite;
}

.nova-mini-ring {
  position: absolute;
  width: 58px;
  height: 58px;
  left: 50%;
  top: 50%;
  object-fit: contain;

  /*
    Her justerer vi selve billedet inde i aksen.
    Det er denne del der kompenserer for at webp-filen ikke er visuelt centreret.
  */
  transform: translate(-50%, -50%) scale(1.18);
  transform-origin: 50% 50%;
}

.nova-mini-eyes {
  position: absolute;
  z-index: 5;
  width: 19px;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
  object-fit: contain;
  animation: novaMiniBlink 5.5s infinite;
}

@keyframes novaMiniAxisSpin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes novaMiniBlink {
  0%, 44%, 48%, 100% {
    transform: translate(-50%, -50%) scaleY(1);
    opacity: 1;
  }

  46% {
    transform: translate(-50%, -50%) scaleY(0.12);
    opacity: 0.9;
  }
}.nova-chart-preview {
  position: relative;
  min-height: 420px;
  padding: 22px;
  margin-top: 34px;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 10%, rgba(96,165,250,0.18), transparent 38%),
    radial-gradient(circle at 80% 20%, rgba(168,85,247,0.16), transparent 34%),
    rgba(255,255,255,0.035);
}

.chart-preview-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.chart-preview-top span,
.chart-price span,
.chart-preview-stats span {
  display: block;
  color: rgba(255,255,255,0.52);
  font-size: 0.78rem;
}

.chart-preview-top strong {
  display: block;
  margin-top: 4px;
  font-size: 1.6rem;
  letter-spacing: -0.04em;
}

.chart-price {
  text-align: right;
}

.chart-price strong {
  display: block;
  color: #fff;
  font-size: 1.1rem;
}

.chart-price span {
  color: #4ade80;
}

.chart-preview-body {
  position: relative;
  height: 260px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.075);
  background:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px),
    rgba(5,7,13,0.48);
  background-size: 52px 52px;
}

.chart-preview-body svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.chart-line {
  fill: none;
  stroke: rgba(96,165,250,0.98);
  stroke-width: 4;
  filter: drop-shadow(0 0 14px rgba(96,165,250,0.65));
  stroke-dasharray: 800;
  stroke-dashoffset: 800;
  animation: novaChartDraw 2.2s ease forwards;
}

.chart-fill {
  fill: url(#novaChartFill);
  opacity: 0;
  animation: novaChartFade 1.2s ease forwards 0.9s;
}

.chart-signal-card {
  position: absolute;
  right: 18px;
  top: 22px;
  width: min(240px, calc(100% - 36px));
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(8,10,22,0.76);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 50px rgba(0,0,0,0.28);
}

.chart-signal-card small {
  display: block;
  color: rgba(147,197,253,0.95);
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.64rem;
}

.chart-signal-card strong {
  display: block;
  margin: 6px 0;
  font-size: 0.95rem;
}

.chart-signal-card span {
  color: rgba(255,255,255,0.58);
  font-size: 0.78rem;
  line-height: 1.45;
}

.chart-preview-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.chart-preview-stats div {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.075);
}

.chart-preview-stats strong {
  display: block;
  margin-top: 6px;
  font-size: 1.05rem;
}

@keyframes novaChartDraw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes novaChartFade {
  to {
    opacity: 1;
  }
}

@media (max-width: 640px) {
  .nova-chart-preview {
    min-height: auto;
    padding: 16px;
  }

  .chart-preview-body {
    height: 230px;
  }

  .chart-signal-card {
    left: 14px;
    right: 14px;
    top: 14px;
    width: auto;
  }

  .chart-preview-stats {
    grid-template-columns: 1fr;
  }
}
.nova-why-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 34px;
  align-items: stretch;
  margin-top: 30px;
}

.why-copy {
  padding: 30px;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,0.08);
  background:
    radial-gradient(circle at top left, rgba(96,165,250,0.16), transparent 40%),
    rgba(255,255,255,0.035);
  backdrop-filter: blur(22px);
}

.why-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 3.8vw, 4.1rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.why-copy p {
  margin: 20px 0 0;
  color: rgba(255,255,255,0.64);
  line-height: 1.75;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.why-card {
  position: relative;
  min-height: 260px;
  padding: 24px;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.025));
  backdrop-filter: blur(20px);
  overflow: hidden;
}

.why-card::before {
  content: "";
  position: absolute;
  inset: auto -40px -70px auto;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: rgba(96,165,250,0.12);
  filter: blur(22px);
}

.why-card.featured {
  border-color: rgba(139,92,246,0.34);
  background:
    radial-gradient(circle at top, rgba(139,92,246,0.22), transparent 44%),
    rgba(255,255,255,0.045);
  box-shadow: 0 0 52px rgba(139,92,246,0.12);
}

.why-number {
  display: inline-flex;
  margin-bottom: 34px;
  color: rgba(147,197,253,0.95);
  font-weight: 900;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
}

.why-card h3 {
  position: relative;
  z-index: 2;
  margin: 0 0 12px;
  font-size: 1.3rem;
  letter-spacing: -0.04em;
}

.why-card p {
  position: relative;
  z-index: 2;
  margin: 0;
  color: rgba(255,255,255,0.62);
  line-height: 1.62;
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  .nova-why-section {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-card {
    min-height: auto;
  }
}

.nova-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.nova-brand-text strong {
  font-size: 0.95rem;
  letter-spacing: -0.03em;
}

.nova-brand-text small {
  margin-top: 4px;
  color: rgba(255,255,255,0.52);
  font-size: 0.72rem;
}

.nova-burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  background: rgba(255,255,255,0.055);
  backdrop-filter: blur(18px);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nova-burger span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255,255,255,0.88);
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.nova-burger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nova-burger.active span:nth-child(2) {
  opacity: 0;
}

.nova-burger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nova-mobile-menu {
  display: none;
}

@media (max-width: 760px) {
  .nova-landing {
    width: min(100% - 22px, 1240px);
    padding-top: 10px;
  }

  .nova-landing-nav {
    top: 10px;
    padding: 10px;
    border-radius: 18px;
  }

  .nova-brand {
    min-width: 0;
  }

  .nova-brand-text strong {
    font-size: 0.86rem;
  }

  .nova-brand-text small {
    display: none;
  }

  .nova-mini-logo {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 14px;
  }

  .nova-nav-links,
  .nova-nav-cta {
    display: none;
  }

  .nova-burger {
    display: inline-flex;
  }

  .nova-mobile-menu {
    position: fixed;
    top: 76px;
    left: 11px;
    right: 11px;
    z-index: 50;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.09);
    background: rgba(7, 9, 18, 0.92);
    backdrop-filter: blur(26px);
    box-shadow: 0 26px 90px rgba(0,0,0,0.45);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
  }

  .nova-mobile-menu.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nova-mobile-menu a {
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 0 14px;
    border-radius: 14px;
    color: rgba(255,255,255,0.78);
    text-decoration: none;
    background: rgba(255,255,255,0.035);
    border: 1px solid rgba(255,255,255,0.05);
  }

  .nova-mobile-menu a:hover {
    color: #fff;
    background: rgba(255,255,255,0.065);
  }

  .nova-mobile-menu .mobile-menu-cta {
    justify-content: center;
    color: #fff;
    font-weight: 800;
    background: linear-gradient(135deg, #5b6cff, #a855f7);
    box-shadow: 0 0 34px rgba(99,102,241,0.32);
  }

  .nova-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 26px;
    padding: 46px 0 42px;
  }

  .nova-badge {
    margin-bottom: 18px;
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    padding: 8px 11px;
  }

  .nova-hero h1 {
    max-width: 100%;
    font-size: clamp(2.75rem, 15vw, 4.5rem);
    line-height: 0.9;
    letter-spacing: -0.075em;
  }

  .nova-hero-text {
    margin-top: 22px;
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .nova-hero-actions {
    margin-top: 26px;
    gap: 10px;
  }

  .nova-primary-btn,
  .nova-secondary-btn {
    width: 100%;
    min-height: 48px;
  }

  .nova-hero-proof {
    grid-template-columns: 1fr;
    margin-top: 24px;
  }

  .nova-hero-visual {
    min-height: 360px;
    order: -1;
  }

  .nova-visual-frame {
    width: min(340px, 100%);
  }

  .nova-character-wrap {
    width: min(260px, 74%);
  }

  .floating-panel {
    width: 168px;
    padding: 11px 12px;
    border-radius: 15px;
  }

  .floating-panel small {
    font-size: 0.56rem;
  }

  .floating-panel strong {
    font-size: 0.78rem;
  }

  .floating-panel span {
    font-size: 0.68rem;
  }

  .panel-one {
    top: 38px;
    left: 0;
  }

  .panel-two {
    right: 0;
    top: 155px;
  }

  .panel-three {
    left: 18px;
    bottom: 22px;
  }

  .nova-why-section,
  .nova-showcase,
  .nova-cta-section {
    margin-top: 34px;
  }

  .why-copy,
  .nova-showcase,
  .nova-cta-section {
    padding: 20px;
    border-radius: 24px;
  }

  .why-copy h2,
  .section-heading h2,
  .showcase-content h2,
  .nova-cta-section h2 {
    font-size: clamp(2rem, 10vw, 3.2rem);
    line-height: 0.98;
    letter-spacing: -0.06em;
  }

  .why-copy p,
  .section-heading p,
  .showcase-content p,
  .nova-cta-section p {
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .engine-flow,
  .performance-preview-grid,
  .feature-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .engine-flow article,
  .performance-preview-grid article,
  .feature-grid div,
  .why-card {
    border-radius: 22px;
    padding: 18px;
    min-height: auto;
  }

  .nova-chart-preview {
    min-height: auto;
    padding: 16px;
  }

  .chart-preview-top {
    flex-direction: column;
    gap: 8px;
  }

  .chart-price {
    text-align: left;
  }

  .chart-preview-body {
    height: 230px;
    border-radius: 20px;
  }

  .chart-signal-card {
    left: 12px;
    right: 12px;
    top: 12px;
    width: auto;
  }

  .chart-preview-stats {
    grid-template-columns: 1fr;
  }

  .nova-landing-footer {
    flex-direction: column;
    gap: 16px;
  }

  .nova-landing-footer a {
    display: inline-flex;
    margin: 0 14px 10px 0;
  }
}
/* Public navbar fixed shared width */
.nova-landing-nav {
  width: min(1240px, calc(100vw - 36px));
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

/* Mobile navbar width */
@media (max-width: 760px) {
  .nova-landing-nav {
    width: min(100% - 22px, 1240px);
  }
}
.legal-page {
  margin-top: 54px;
  padding: 42px;
  border-radius: 34px;
  border: 1px solid rgba(255,255,255,0.08);
  background:
    radial-gradient(circle at top left, rgba(96,165,250,0.16), transparent 38%),
    rgba(255,255,255,0.035);
  backdrop-filter: blur(22px);
}

.legal-page h1 {
  margin: 0;
  font-size: clamp(2.8rem, 7vw, 6.2rem);
  line-height: 0.92;
  letter-spacing: -0.075em;
}

.legal-updated {
  margin: 18px 0 0;
  color: rgba(255,255,255,0.52);
}

.legal-content {
  max-width: 860px;
  margin-top: 42px;
}

.legal-content h2 {
  margin: 30px 0 10px;
  font-size: 1.18rem;
  letter-spacing: -0.03em;
}

.legal-content p {
  margin: 0;
  color: rgba(255,255,255,0.66);
  line-height: 1.75;
}

.legal-content a {
  color: #93c5fd;
  text-decoration: none;
}

.legal-content a:hover {
  color: #fff;
}

@media (max-width: 760px) {
  .legal-page {
    margin-top: 28px;
    padding: 22px;
    border-radius: 24px;
  }

  .legal-page h1 {
    font-size: clamp(2.4rem, 13vw, 4rem);
  }

  .legal-content {
    margin-top: 28px;
  }
}