/* ============================================================
   InstaHealth — Ana Stil Dosyası
   ============================================================ */
:root {
  --bg-base:     #0d0f1e;
  --bg-card:     #151829;
  --bg-card2:    #1a1d30;
  --bg-sidebar:  #111322;
  --accent1:     #ff6b35;
  --accent2:     #f7c59f;
  --accent3:     #7c3aed;
  --accent4:     #a78bfa;
  --accent-green:#10b981;
  --accent-red:  #ef4444;
  --accent-blue: #3b82f6;
  --border:      rgba(255,255,255,0.06);
  --border2:     rgba(255,255,255,0.12);
  --text-primary:#f0f2ff;
  --text-secondary:#8b92b8;
  --text-muted:  #5a6080;
  --glow1:       rgba(255,107,53,0.22);
  --radius:      14px;
  --shadow:      0 8px 32px rgba(0,0,0,0.45);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg-base);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
}
h1,h2,h3,h4,h5 { font-family: 'Syne', sans-serif; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 99px; }

/* ─── LAYOUT ─────────────────────────────────────────── */
.app-wrap { display: flex; min-height: 100vh; }
.main-wrap { flex: 1; display: flex; flex-direction: column; overflow: hidden; min-width: 0; }
.content { flex: 1; overflow-y: auto; padding: 28px; }

/* ─── SIDEBAR ────────────────────────────────────────── */
.sidebar {
  width: 72px; background: var(--bg-sidebar);
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column; align-items: center;
  padding: 20px 0; gap: 6px; flex-shrink: 0;
  position: relative; z-index: 20;
  transition: width .25s ease;
}
.sidebar.expanded { width: 220px; align-items: flex-start; padding: 20px 12px; }
.sidebar-toggle {
  position: absolute; right: -12px; top: 76px;
  width: 24px; height: 24px;
  background: var(--bg-card2); border: 1px solid var(--border2);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 13px; cursor: pointer; color: var(--text-secondary); z-index: 30;
  transition: .2s;
}
.sidebar-toggle:hover { border-color: var(--accent1); color: var(--accent1); }
.sidebar-logo-wrap {
  display: flex; align-items: center; gap: 10px;
  padding: 4px; margin-bottom: 12px;
  text-decoration: none;
}
.sidebar-logo {
  width: 40px; height: 40px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent1), var(--accent3));
  border-radius: 11px; display: flex; align-items: center;
  justify-content: center; font-size: 20px;
}
.sidebar-logo-label {
  font-family: 'Syne', sans-serif; font-size: 16px; font-weight: 800;
  display: none; white-space: nowrap;
}
.sidebar.expanded .sidebar-logo-label { display: block; }
.sidebar-nav { display: flex; flex-direction: column; gap: 3px; width: 100%; flex: 1; }
.sidebar-item {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px; cursor: pointer; transition: .15s;
  color: var(--text-muted); font-size: 19px;
}
.sidebar.expanded .sidebar-item {
  width: 100%; padding: 0 10px; gap: 10px; justify-content: flex-start;
}
.sidebar-item:hover { background: var(--border); color: var(--text-primary); }
.sidebar-item.active { background: rgba(255,107,53,.15); color: var(--accent1); }
.sidebar-item-label { font-size: 13px; font-weight: 600; display: none; white-space: nowrap; }
.sidebar.expanded .sidebar-item-label { display: block; }
.sidebar-bottom { margin-top: auto; width: 100%; padding-top: 12px; border-top: 1px solid var(--border); }
.sidebar-avatar-wrap {
  display: flex; align-items: center; gap: 10px;
  padding: 8px; border-radius: 10px; cursor: pointer;
  transition: .2s; margin-bottom: 4px;
}
.sidebar.expanded .sidebar-avatar-wrap:hover { background: var(--border); }
.sidebar-avatar {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent3), var(--accent1));
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; border: 2px solid var(--border2); overflow: hidden;
}
.sb-user-info { display: none; }
.sidebar.expanded .sb-user-info { display: block; }
.sidebar-avatar-name { font-size: 13px; font-weight: 600; }
.sidebar-avatar-role { font-size: 11px; color: var(--text-muted); }

/* ─── TOPBAR ─────────────────────────────────────────── */
.topbar {
  height: 60px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; padding: 0 28px; gap: 14px;
  flex-shrink: 0; background: var(--bg-base); position: relative;
}
.topbar-breadcrumb { font-size: 13px; color: var(--text-muted); }
.topbar-breadcrumb span { color: var(--text-primary); font-weight: 600; }
.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.topbar-search {
  display: flex; align-items: center; gap: 8px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 9px; padding: 7px 14px;
}
.topbar-search input {
  background: transparent; border: none; outline: none;
  font-family: 'DM Sans', sans-serif; font-size: 13px;
  color: var(--text-primary); width: 150px;
}
.topbar-search input::placeholder { color: var(--text-muted); }
.sync-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 7px 14px;
  background: rgba(255,107,53,.1); border: 1px solid rgba(255,107,53,.25);
  border-radius: 9px; font-family: 'DM Sans', sans-serif;
  font-size: 13px; font-weight: 600; color: var(--accent1);
  cursor: pointer; transition: .2s;
}
.sync-btn:hover { background: rgba(255,107,53,.2); }
.sync-btn.loading svg { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.notif-btn {
  position: relative; width: 36px; height: 36px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 9px; display: flex; align-items: center;
  justify-content: center; cursor: pointer; font-size: 16px; transition: .2s;
}
.notif-btn:hover { border-color: var(--accent1); }
.notif-dot {
  position: absolute; top: 6px; right: 6px; width: 7px; height: 7px;
  background: var(--accent-red); border-radius: 50%; border: 2px solid var(--bg-base);
}

/* ─── NOTIFICATIONS ──────────────────────────────────── */
.notif-panel {
  position: fixed; top: 60px; right: 20px; width: 340px;
  background: var(--bg-card2); border: 1px solid var(--border2);
  border-radius: var(--radius); box-shadow: var(--shadow);
  z-index: 100; display: none;
}
.notif-panel.open { display: block; animation: slideDown .2s ease; }
@keyframes slideDown { from{opacity:0;transform:translateY(-8px)} to{opacity:1;transform:translateY(0)} }
.notif-header {
  padding: 14px 18px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.notif-header h4 { font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.notif-list { max-height: 360px; overflow-y: auto; }
.notif-item {
  padding: 13px 18px; border-bottom: 1px solid var(--border);
  display: flex; gap: 10px; cursor: pointer; transition: .15s;
}
.notif-item:hover { background: var(--border); }
.notif-item:last-child { border-bottom: none; }
.notif-unread { background: rgba(255,107,53,.04); }
.notif-severity { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; margin-top: 5px; }
.notif-severity.danger  { background: var(--accent-red); }
.notif-severity.warning { background: #f59e0b; }
.notif-severity.info    { background: var(--accent-blue); }
.notif-item-title { font-size: 13px; font-weight: 600; margin-bottom: 3px; }
.notif-item-msg   { font-size: 12px; color: var(--text-muted); line-height: 1.5; }
.notif-item-time  { font-size: 11px; color: var(--text-muted); margin-top: 4px; }

/* ─── BUTTONS ────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 10px;
  font-family: 'DM Sans', sans-serif; font-size: 14px;
  font-weight: 600; cursor: pointer; transition: .2s;
  border: none; text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent1), #e85d2f);
  color: #fff; box-shadow: 0 4px 20px rgba(255,107,53,.3);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 28px rgba(255,107,53,.5); }
.btn-purple {
  background: linear-gradient(135deg, var(--accent3), #6d28d9);
  color: #fff; box-shadow: 0 4px 20px rgba(124,58,237,.3);
}
.btn-purple:hover { transform: translateY(-1px); }
.btn-ghost {
  background: transparent; border: 1px solid var(--border2); color: var(--text-secondary);
}
.btn-ghost:hover { border-color: var(--accent1); color: var(--accent1); }
.btn-danger { background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.3); color: var(--accent-red); }
.btn-sm  { padding: 7px 14px; font-size: 13px; }
.btn-lg  { padding: 14px 32px; font-size: 16px; }
.btn-block { width: 100%; justify-content: center; }

/* ─── CARDS ──────────────────────────────────────────── */
.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px; margin-bottom: 20px;
}
.card-title   { font-size: 13px; font-weight: 600; color: var(--text-secondary); margin-bottom: 4px; }
.card-value   { font-family: 'Syne',sans-serif; font-size: 26px; font-weight: 800; }
.section-title { font-size: 16px; font-weight: 700; letter-spacing: -.3px; margin-bottom: 18px; }
.section-header {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px;
}

/* ─── KPI GRID ───────────────────────────────────────── */
.kpi-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-bottom: 20px; }
.kpi-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px 22px;
  position: relative; overflow: hidden; transition: .2s;
}
.kpi-card:hover { border-color: var(--border2); }
.kpi-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent1), var(--accent3));
  opacity: 0; transition: .2s;
}
.kpi-card:hover::after { opacity: 1; }
.kpi-label { font-size: 11px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 6px; }
.kpi-value { font-family: 'Syne',sans-serif; font-size: 26px; font-weight: 800; letter-spacing: -.5px; }
.kpi-meta  { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.kpi-delta {
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 5px; margin-left: 6px;
}
.kpi-delta.pos { background: rgba(16,185,129,.12); color: var(--accent-green); }
.kpi-delta.neg { background: rgba(239,68,68,.12);  color: var(--accent-red); }

/* ─── CHARTS LAYOUT ──────────────────────────────────── */
.charts-row   { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; margin-bottom: 20px; }
.charts-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.chart-wrap   { position: relative; height: 220px; }
.chart-wrap-sm { position: relative; height: 160px; }

/* ─── HEALTH ─────────────────────────────────────────── */
.health-donut-wrap { position: relative; display: inline-flex; align-items: center; justify-content: center; }
.health-donut-inner { position: absolute; text-align: center; pointer-events: none; }
.health-score-big   { font-family: 'Syne',sans-serif; font-size: 34px; font-weight: 800; line-height: 1; }
.health-score-label { font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; }
.sub-scores { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.sub-score  { background: var(--bg-card2); border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; }
.sub-score-label { font-size: 11px; color: var(--text-muted); margin-bottom: 6px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; }
.sub-score-bar   { height: 4px; background: var(--border); border-radius: 99px; overflow: hidden; margin-bottom: 5px; }
.sub-score-fill  { height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--accent1), var(--accent3)); transition: width 1s ease; }
.sub-score-val   { font-family: 'Syne',sans-serif; font-size: 15px; font-weight: 700; }

/* ─── TABLE ──────────────────────────────────────────── */
.data-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.data-table th {
  text-align: left; padding: 10px 14px;
  font-size: 11px; font-weight: 700; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: .5px;
  border-bottom: 1px solid var(--border);
}
.data-table td { padding: 11px 14px; border-bottom: 1px solid var(--border); color: var(--text-secondary); }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--bg-card2); color: var(--text-primary); }

/* ─── BADGES ─────────────────────────────────────────── */
.badge { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 99px; font-size: 11px; font-weight: 700; }
.badge-green  { background: rgba(16,185,129,.12); color: var(--accent-green); }
.badge-red    { background: rgba(239,68,68,.12);  color: var(--accent-red); }
.badge-orange { background: rgba(255,107,53,.12); color: var(--accent1); }
.badge-purple { background: rgba(124,58,237,.12); color: var(--accent4); }
.badge-blue   { background: rgba(59,130,246,.12); color: var(--accent-blue); }
.badge-gray   { background: var(--border); color: var(--text-muted); }
.tag { display: inline-flex; padding: 2px 8px; border-radius: 6px; font-size: 11px; font-weight: 600; background: var(--border); color: var(--text-secondary); }

/* ─── FORMS ──────────────────────────────────────────── */
.form-group  { margin-bottom: 18px; }
.form-label  { font-size: 13px; font-weight: 600; color: var(--text-secondary); margin-bottom: 7px; display: block; }
.form-input  {
  width: 100%; background: var(--bg-card); border: 1px solid var(--border2);
  border-radius: 10px; padding: 12px 16px;
  font-family: 'DM Sans', sans-serif; font-size: 14px;
  color: var(--text-primary); transition: .2s; outline: none;
}
.form-input:focus  { border-color: var(--accent1); box-shadow: 0 0 0 3px rgba(255,107,53,.12); }
.form-input::placeholder { color: var(--text-muted); }
.form-error  { font-size: 13px; color: var(--accent-red); margin-top: 6px; }
.form-success { font-size: 13px; color: var(--accent-green); margin-top: 6px; }

/* ─── LANDING PAGE ───────────────────────────────────── */
.land-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 64px; border-bottom: 1px solid var(--border);
  position: relative; z-index: 10;
}
.land-logo { display: flex; align-items: center; gap: 12px; font-family: 'Syne',sans-serif; font-size: 20px; font-weight: 800; }
.land-logo-icon { width: 36px; height: 36px; background: linear-gradient(135deg,var(--accent1),var(--accent3)); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.land-nav-links { display: flex; gap: 4px; }
.land-nav-links a { color: var(--text-secondary); font-size: 14px; font-weight: 500; padding: 8px 16px; border-radius: 8px; transition: .2s; }
.land-nav-links a:hover { color: var(--text-primary); background: var(--border); }
.land-nav-cta { display: flex; gap: 8px; }
.land-bg { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(120px); opacity: .16; }
.blob-1 { width: 700px; height: 700px; background: var(--accent3); top: -200px; right: -100px; }
.blob-2 { width: 500px; height: 500px; background: var(--accent1); bottom: -150px; left: -100px; }
.blob-3 { width: 300px; height: 300px; background: var(--accent-blue); top: 40%; left: 28%; }
.land-hero {
  position: relative; z-index: 5; display: flex; flex-direction: column;
  align-items: center; text-align: center; padding: 100px 40px 80px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,107,53,.1); border: 1px solid rgba(255,107,53,.25);
  border-radius: 99px; padding: 6px 16px; font-size: 12px; font-weight: 600;
  color: var(--accent1); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 28px;
}
.hero-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent1); animation: pdot 2s infinite; }
@keyframes pdot { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(1.4)} }
.hero-title { font-size: clamp(40px,6vw,78px); font-weight: 800; line-height: 1.05; letter-spacing: -2px; max-width: 820px; margin-bottom: 24px; }
.hero-title .grad { background: linear-gradient(135deg,var(--accent1) 0%,var(--accent4) 60%,var(--accent2) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-sub  { font-size: 18px; color: var(--text-secondary); max-width: 560px; line-height: 1.7; margin-bottom: 40px; }
.hero-cta  { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; justify-content: center; }
.hero-stats { display: flex; gap: 48px; margin-top: 60px; padding-top: 40px; border-top: 1px solid var(--border); }
.hero-stat-num   { font-family: 'Syne',sans-serif; font-size: 28px; font-weight: 800; background: linear-gradient(135deg,var(--accent1),var(--accent4)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-stat-label { font-size: 13px; color: var(--text-muted); margin-top: 2px; }
.partner-strip {
  position: relative; z-index: 5; padding: 20px 64px;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
}
.partner-label { font-size: 11px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; white-space: nowrap; }
.partner-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.partner-badge { display: flex; align-items: center; gap: 7px; padding: 7px 14px; background: var(--bg-card); border: 1px solid var(--border2); border-radius: 8px; font-size: 12px; color: var(--text-secondary); font-weight: 500; }
.p-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.features-grid { position: relative; z-index: 5; display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; padding: 60px 64px; }
.feature-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; transition: .3s; }
.feature-card:hover { border-color: var(--border2); transform: translateY(-3px); }
.feature-icon { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 14px; }
.fi-orange { background: rgba(255,107,53,.12); }
.fi-purple { background: rgba(124,58,237,.12); }
.fi-green  { background: rgba(16,185,129,.12); }
.fi-blue   { background: rgba(59,130,246,.12); }
.fi-pink   { background: rgba(236,72,153,.12); }
.fi-yellow { background: rgba(234,179,8,.12); }
.feature-title { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.feature-desc  { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }
.land-cta-section {
  position: relative; z-index: 5; margin: 0 64px 80px;
  background: linear-gradient(135deg,rgba(124,58,237,.12),rgba(255,107,53,.08));
  border: 1px solid var(--border2); border-radius: 20px;
  padding: 60px; text-align: center;
}
.land-cta-title { font-size: clamp(26px,3vw,44px); font-weight: 800; margin-bottom: 14px; letter-spacing: -1px; }
.land-cta-sub   { font-size: 16px; color: var(--text-secondary); margin-bottom: 32px; }
.land-footer {
  position: relative; z-index: 5; padding: 22px 64px;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.land-footer-links { display: flex; gap: 18px; }
.land-footer-links a { font-size: 13px; color: var(--text-muted); transition: .2s; }
.land-footer-links a:hover { color: var(--text-secondary); }

/* ─── AUTH PAGE ──────────────────────────────────────── */
.auth-wrap  { display: flex; min-height: 100vh; }
.auth-left  {
  flex: 1; display: flex; flex-direction: column; justify-content: center;
  align-items: center; padding: 60px; border-right: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.auth-right { width: 480px; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 60px 50px; }
.auth-box   { width: 100%; max-width: 380px; }
.auth-logo  { display: flex; align-items: center; gap: 10px; font-family: 'Syne',sans-serif; font-size: 18px; font-weight: 800; margin-bottom: 36px; }
.auth-logo-icon { width: 32px; height: 32px; background: linear-gradient(135deg,var(--accent1),var(--accent3)); border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.auth-title { font-size: 26px; font-weight: 800; letter-spacing: -.5px; margin-bottom: 6px; }
.auth-sub   { font-size: 14px; color: var(--text-secondary); margin-bottom: 28px; }
.auth-tabs  { display: flex; background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; padding: 4px; margin-bottom: 24px; }
.auth-tab   { flex: 1; padding: 8px; text-align: center; border-radius: 7px; font-size: 14px; font-weight: 600; cursor: pointer; transition: .15s; color: var(--text-muted); }
.auth-tab.active { background: var(--bg-card2); color: var(--text-primary); }
.ig-oauth-btn {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px; background: linear-gradient(135deg,#f58529,#dd2a7b,#8134af,#515bd4);
  border: none; border-radius: 10px; color: #fff;
  font-family: 'DM Sans',sans-serif; font-size: 14px; font-weight: 600;
  cursor: pointer; transition: .2s; text-decoration: none;
}
.ig-oauth-btn:hover { opacity: .9; transform: translateY(-1px); }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: var(--text-muted); font-size: 13px; }
.auth-divider::before,.auth-divider::after { content:''; flex: 1; height: 1px; background: var(--border); }
.auth-feature-list { display: flex; flex-direction: column; gap: 13px; }
.auth-feature-item { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-secondary); }
.auth-check { width: 20px; height: 20px; border-radius: 50%; background: rgba(16,185,129,.15); display: flex; align-items: center; justify-content: center; font-size: 11px; flex-shrink: 0; color: var(--accent-green); }

/* ─── CONNECT BANNER ─────────────────────────────────── */
.connect-banner {
  display: flex; align-items: center; justify-content: space-between;
  background: linear-gradient(135deg,rgba(245,133,41,.07),rgba(129,52,175,.07));
  border: 1px solid rgba(245,133,41,.2); border-radius: var(--radius);
  padding: 16px 22px; margin-bottom: 20px;
}
.connect-cta { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 400px; text-align: center; gap: 14px; }
.connect-cta-icon { font-size: 64px; margin-bottom: 8px; }

/* ─── SHADOWBAN ──────────────────────────────────────── */
.risk-track { height: 8px; background: var(--border); border-radius: 99px; overflow: hidden; margin: 16px 0 6px; }
.risk-fill  { height: 100%; border-radius: 99px; transition: width 1.2s ease; }
.risk-fill.low    { background: var(--accent-green); }
.risk-fill.medium { background: #f59e0b; }
.risk-fill.high   { background: var(--accent-red); }
.risk-labels { display: flex; justify-content: space-between; font-size: 11px; color: var(--text-muted); margin-bottom: 14px; }
.risk-score-huge { font-family: 'Syne',sans-serif; font-size: 52px; font-weight: 800; text-align: center; line-height: 1; }
.risk-score-huge.low    { color: var(--accent-green); }
.risk-score-huge.medium { color: #f59e0b; }
.risk-score-huge.high   { color: var(--accent-red); }

/* ─── COMPETITOR ─────────────────────────────────────── */
.comp-vs-grid { display: grid; grid-template-columns: 1fr 40px 1fr; align-items: start; gap: 14px; margin-bottom: 16px; }
.comp-col { background: var(--bg-card2); border: 1px solid var(--border); border-radius: 10px; padding: 16px; }
.comp-vs-badge { width: 38px; height: 38px; background: linear-gradient(135deg,var(--accent1),var(--accent3)); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; color: #fff; margin-top: 20px; }
.comp-metric { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.comp-metric:last-child { border-bottom: none; }
.comp-metric-lbl { color: var(--text-muted); font-size: 12px; }
.comp-win  { color: var(--accent-green); font-weight: 700; }
.comp-lose { color: var(--accent-red); }

/* ─── ADMIN ──────────────────────────────────────────── */
.admin-stat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-bottom: 24px; }
.admin-stat { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; text-align: center; }
.admin-stat-val { font-family: 'Syne',sans-serif; font-size: 34px; font-weight: 800; margin-bottom: 6px; }
.admin-stat-lbl { font-size: 13px; color: var(--text-muted); }

/* ─── ALERTS ─────────────────────────────────────────── */
.alert { padding: 12px 16px; border-radius: 10px; font-size: 14px; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.alert-error   { background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.25); color: var(--accent-red); }
.alert-success { background: rgba(16,185,129,.1); border: 1px solid rgba(16,185,129,.25); color: var(--accent-green); }
.alert-warning { background: rgba(245,158,11,.1); border: 1px solid rgba(245,158,11,.25); color: #f59e0b; }

/* ─── MISC ───────────────────────────────────────────── */
.divider { height: 1px; background: var(--border); margin: 20px 0; }
.follower-event { display: flex; align-items: center; gap: 10px; padding: 9px 12px; background: var(--bg-card2); border-radius: 9px; font-size: 13px; margin-bottom: 8px; }
.follower-event-count { font-weight: 700; }
.follower-event-count.gain { color: var(--accent-green); }
.follower-event-count.loss { color: var(--accent-red); }
.follower-event-date { font-size: 11px; color: var(--text-muted); margin-left: auto; }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.mt-4 { margin-top: 16px; }
.mb-4 { margin-bottom: 16px; }

/* ─── ANIMATIONS ─────────────────────────────────────── */
@keyframes fadeIn { from{opacity:0;transform:translateY(10px)} to{opacity:1;transform:translateY(0)} }
.fade-in { animation: fadeIn .4s ease both; }
.fade-in-1 { animation-delay: .06s; }
.fade-in-2 { animation-delay: .12s; }
.fade-in-3 { animation-delay: .18s; }

/* ─── RESPONSIVE ─────────────────────────────────────── */
@media(max-width:1100px) {
  .kpi-grid { grid-template-columns: repeat(2,1fr); }
  .charts-row { grid-template-columns: 1fr; }
  .charts-row-3 { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: repeat(2,1fr); padding: 40px 28px; }
  .land-nav { padding: 18px 28px; }
  .land-hero { padding: 70px 28px 60px; }
  .land-cta-section { margin: 0 28px 60px; padding: 40px; }
  .land-footer { padding: 18px 28px; }
  .partner-strip { padding: 16px 28px; }
  .admin-stat-grid { grid-template-columns: repeat(2,1fr); }
}
@media(max-width:700px) {
  .auth-left { display: none; }
  .auth-right { width: 100%; }
  .kpi-grid { grid-template-columns: 1fr 1fr; }
  .charts-row-3 { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; flex-wrap: wrap; justify-content: center; }
}
