@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  --bg: #07090e;
  --bg-subtle: #0c1017;
  --surface: rgba(16, 22, 34, 0.75);
  --surface-hover: rgba(25, 34, 52, 0.85);
  --surface-active: #1e293b;
  --glass: rgba(10, 14, 23, 0.88);
  --border: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(56, 189, 248, 0.4);
  --text: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --primary: #0284c7;
  --primary-glow: rgba(2, 132, 199, 0.4);
  --accent: #2563eb;
  --cyan: #38bdf8;
  --emerald: #10b981;
  --emerald-glow: rgba(16, 185, 129, 0.35);
  --rose: #f43f5e;
  --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 35px -5px rgba(2, 132, 199, 0.25);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

:root[data-theme="light"] {
  --bg: #f8fafc;
  --bg-subtle: #f1f5f9;
  --surface: rgba(255, 255, 255, 0.85);
  --surface-hover: #ffffff;
  --surface-active: #f1f5f9;
  --glass: rgba(255, 255, 255, 0.9);
  --border: rgba(0, 0, 0, 0.08);
  --border-glow: rgba(2, 132, 199, 0.4);
  --text: #0f172a;
  --text-muted: #64748b;
  --text-dim: #94a3b8;
  --shadow-lg: 0 20px 40px -15px rgba(15, 23, 42, 0.08);
  --shadow-glow: 0 0 30px -5px rgba(2, 132, 199, 0.15);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

:root[data-theme="light"] html {
  color-scheme: light;
}

body {
  font-family: var(--font-main);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 50% -10%, rgba(2, 132, 199, 0.22), transparent 55%),
    radial-gradient(circle at 90% 20%, rgba(37, 99, 235, 0.12), transparent 45%);
  background-size: 36px 36px, 36px 36px, 100% 100%, 100% 100%;
  background-attachment: fixed;
}

/* Ambient Studio Lighting Mesh */
.ambient-glow-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.4;
  transition: all 1s ease;
}

.orb-1 {
  top: -20%;
  left: 20%;
  width: 60vw;
  height: 50vh;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.3) 0%, rgba(37, 99, 235, 0.15) 60%, transparent 80%);
  animation: orbFloat1 18s ease-in-out infinite alternate;
}

.orb-2 {
  top: 25%;
  right: -10%;
  width: 45vw;
  height: 55vh;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.22) 0%, rgba(37, 99, 235, 0.08) 70%, transparent 85%);
  animation: orbFloat2 22s ease-in-out infinite alternate;
}

.orb-3 {
  bottom: 5%;
  left: -5%;
  width: 50vw;
  height: 45vh;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.2) 0%, rgba(2, 132, 199, 0.08) 60%, transparent 80%);
  animation: orbFloat3 20s ease-in-out infinite alternate;
}

@keyframes orbFloat1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(60px, 40px) scale(1.08); }
}

@keyframes orbFloat2 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-50px, 60px) scale(0.95); }
}

@keyframes orbFloat3 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, -50px) scale(1.05); }
}

:root[data-theme="light"] .glow-orb {
  opacity: 0.2;
  filter: blur(100px);
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select {
  font-family: inherit;
  color: inherit;
  border: none;
  background: transparent;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--glass);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.brand-icon-wrap {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 0 20px var(--primary-glow);
  position: relative;
}

.brand-icon-wrap::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  z-index: -1;
  opacity: 0.5;
  filter: blur(6px);
}

.brand-text span {
  background: linear-gradient(135deg, #fff 40%, var(--text-muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

:root[data-theme="light"] .brand-text span {
  background: linear-gradient(135deg, #0f172a 40%, #475569);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 4px;
  border-radius: var(--radius-full);
}

.nav-item {
  font-size: 13px;
  font-weight: 600;
  padding: 7px 18px;
  border-radius: var(--radius-full);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.nav-item:hover {
  color: var(--text);
}

.nav-item.active {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  box-shadow: 0 0 16px var(--primary-glow);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-toggle, .btn-github {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--text);
  transition: all 0.2s ease;
}

.theme-toggle:hover, .btn-github:hover {
  background: var(--surface-hover);
  border-color: var(--border-glow);
  box-shadow: 0 0 15px var(--primary-glow);
  transform: translateY(-1px);
}

/* Hero */
.hero {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 60px 24px 30px;
  max-width: 1080px;
  margin: 0 auto;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: rgba(2, 132, 199, 0.12);
  border: 1px solid rgba(2, 132, 199, 0.35);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: #38bdf8;
  margin-bottom: 24px;
  box-shadow: 0 0 25px rgba(2, 132, 199, 0.2);
  animation: float 4s ease-in-out infinite;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.live-badge:hover {
  transform: translateY(-2px) scale(1.03);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  background: var(--emerald);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--emerald);
  animation: pulse-ring 1.8s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.5); opacity: 1; box-shadow: 0 0 18px var(--emerald); }
  100% { transform: scale(0.9); opacity: 0.8; }
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 18px;
  animation: fadeSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.gradient-text {
  background: linear-gradient(90deg, #ffffff 0%, #38bdf8 30%, #60a5fa 50%, #38bdf8 70%, #ffffff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  animation: textShine 6s linear infinite;
}

@keyframes textShine {
  to { background-position: 200% center; }
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-subtitle {
  font-size: clamp(15px, 1.8vw, 18px);
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 28px;
  line-height: 1.6;
  animation: fadeSlideUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Dual Hero Action Buttons */
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 36px;
  flex-wrap: wrap;
  animation: fadeSlideUp 0.95s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  color: #090d16 !important;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: var(--radius-full);
  box-shadow: 0 0 35px rgba(255, 255, 255, 0.35), 0 10px 25px rgba(0, 0, 0, 0.5);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-decoration: none;
}

.btn-hero-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 0 45px rgba(56, 189, 248, 0.6), 0 14px 30px rgba(0, 0, 0, 0.6);
  background: #f8fafc;
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px);
  font-weight: 600;
  font-size: 14px;
  padding: 12px 22px;
  border-radius: var(--radius-full);
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* SaaS Omni-Console with Animated Laser Border Glow */
.omni-console {
  max-width: 780px;
  margin: 0 auto 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 8px;
  box-shadow: var(--shadow-lg), 0 0 35px -5px rgba(2, 132, 199, 0.2);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  animation: fadeSlideUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  position: relative;
}

.omni-console::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.4), transparent);
  background-size: 200% 100%;
  animation: laserSweep 4s linear infinite;
  z-index: -1;
  opacity: 0.6;
}

@keyframes laserSweep {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.omni-console:focus-within {
  border-color: var(--cyan);
  box-shadow: var(--shadow-lg), 0 0 45px rgba(56, 189, 248, 0.35);
  transform: translateY(-2px);
}

.omni-modes {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
  padding: 2px 4px;
}

.omni-mode-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 8px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  background: transparent;
}

.omni-mode-btn:hover {
  color: var(--text);
  background: var(--surface-hover);
  transform: translateY(-1px);
}

.omni-mode-btn:active {
  transform: scale(0.96);
}

.omni-mode-btn.active {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 0 16px var(--primary-glow);
}

.key-hint {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.15);
  padding: 2px 6px;
  border-radius: 4px;
}

.badge-hot {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  background: rgba(16, 185, 129, 0.25);
  color: var(--emerald);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid rgba(16, 185, 129, 0.4);
  animation: pulse-ring 2s infinite;
}

.omni-input-wrap {
  display: flex;
  align-items: center;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 6px 8px 6px 16px;
  transition: all 0.25s ease;
}

.omni-input-wrap:focus-within {
  border-color: rgba(56, 189, 248, 0.5);
  background: rgba(15, 23, 42, 0.95);
}

.omni-input-icon {
  color: var(--text-dim);
  margin-right: 12px;
  display: flex;
  transition: transform 0.2s ease;
}

.omni-input-wrap:focus-within .omni-input-icon {
  transform: scale(1.1);
  color: var(--cyan);
}

.omni-input {
  flex: 1;
  font-size: 14.5px;
  font-weight: 500;
  outline: none;
  color: var(--text);
}

.omni-input::placeholder {
  color: var(--text-dim);
}

.btn-omni-action {
  background: var(--surface-hover);
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 600;
  font-size: 13px;
  padding: 9px 18px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-omni-action:hover {
  background: var(--surface-active);
  border-color: var(--border-glow);
  transform: translateY(-1px);
}

.btn-omni-action:active {
  transform: scale(0.96);
}

.btn-omni-action.btn-scan {
  background: linear-gradient(135deg, var(--emerald), #059669);
  color: #fff;
  border: none;
  box-shadow: 0 0 16px var(--emerald-glow);
}

.btn-omni-action.btn-scan:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px var(--emerald-glow);
}

.submit-feedback {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  animation: fadeIn 0.3s ease;
}

.submit-feedback.success {
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.submit-feedback.error {
  background: rgba(244, 63, 94, 0.15);
  color: var(--rose);
  border: 1px solid rgba(244, 63, 94, 0.3);
}

/* Radar Activity Ticker */
.radar-ticker-bar {
  max-width: 780px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 12px;
  color: var(--text-muted);
}

.ticker-dot {
  width: 7px;
  height: 7px;
  background: var(--emerald);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--emerald);
  animation: pulse-ring 2s infinite;
  flex-shrink: 0;
}

.ticker-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ticker-text span {
  color: var(--text);
  font-weight: 600;
}

/* High-End Bento Showcase Section */
.bento-section {
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 0 24px;
}

.bento-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.bento-card {
  position: relative;
  background: rgba(12, 16, 26, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-card:hover {
  border-color: rgba(56, 189, 248, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 25px 50px -10px rgba(0, 0, 0, 0.7), 0 0 30px rgba(2, 132, 199, 0.2);
}

.bento-wide {
  grid-column: 1 / -1;
  padding: 24px 28px;
}

.bento-card-glow {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 100%;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.bento-header {
  margin-bottom: 24px;
}

.bento-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--cyan);
  margin-bottom: 12px;
}

.bento-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: #fff;
}

.bento-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.bento-metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
}

.bento-metric-val {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.bento-metric-lbl {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

.bento-actions-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.bento-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
  text-decoration: none;
}

.bento-pill-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(2, 132, 199, 0.3);
}

/* Trends Bar & Legend */
.trends-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.trends-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  color: #fff;
}

.trends-subtitle {
  font-size: 12px;
  color: var(--text-muted);
}

.trends-bar-track {
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-full);
  display: flex;
  overflow: hidden;
  margin-bottom: 16px;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.5);
}

.trends-bar-seg {
  height: 100%;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.trends-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.2s ease;
}

.legend-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(56, 189, 248, 0.3);
  color: #fff;
  transform: translateY(-1px);
}

.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

/* Bottom Luxury CTA Banner */
.bottom-cta-banner {
  max-width: 1100px;
  margin: 60px auto 40px;
  padding: 0 24px;
  width: 100%;
}

.cta-banner-content {
  position: relative;
  background: linear-gradient(180deg, rgba(16, 22, 34, 0.8) 0%, rgba(7, 10, 16, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 50px 32px;
  text-align: center;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  overflow: hidden;
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.8), 0 0 50px -10px rgba(2, 132, 199, 0.2);
}

.cta-banner-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
}

.cta-banner-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  color: #fff;
}

.cta-banner-content p {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 30px;
  line-height: 1.5;
}

.cta-btn-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Modal Live Inspector */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.25s ease;
}

.modal-backdrop.hidden {
  display: none;
}

.modal-card {
  width: 100%;
  max-width: 680px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 0 50px rgba(99, 102, 241, 0.35);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: modalPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
  from { opacity: 0; transform: scale(0.94) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-header {
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.modal-title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.modal-icon-badge {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 0 15px var(--primary-glow);
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
}

.modal-host {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
}

.modal-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.2s;
}

.modal-close-btn:hover {
  background: var(--surface-hover);
  color: var(--text);
}

.modal-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-height: 75vh;
  overflow-y: auto;
}

.modal-preview-frame {
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  background: #000;
}

.modal-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.modal-metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.metric-cell {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.metric-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  font-weight: 700;
}

.metric-val {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.metric-speed {
  color: var(--emerald);
  font-family: var(--font-mono);
}

.modal-signals-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.modal-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-view-tabs {
  display: flex;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 3px;
  gap: 4px;
}

.modal-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 6px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.modal-tab-btn:hover {
  color: var(--text);
}

.modal-tab-btn.active {
  background: var(--surface-active);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.modal-view-container {
  width: 100%;
  position: relative;
}

.modal-sandbox-iframe {
  width: 100%;
  height: 380px;
  border: none;
  display: block;
  background: #ffffff;
}

.modal-footer-left {
  display: flex;
  align-items: center;
  flex: 1;
}

.modal-footer-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-modal-repo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: var(--radius-md);
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #818cf8;
  font-size: 12px;
  font-weight: 700;
  transition: all 0.2s;
}

.btn-modal-repo:hover {
  background: rgba(99, 102, 241, 0.25);
  border-color: var(--primary);
  color: #fff;
}

.btn-card-repo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-card-repo:hover {
  background: var(--surface-hover);
  border-color: var(--border-glow);
  color: #fff;
}

.btn-action-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  transition: all 0.2s;
}

.btn-action-pill:hover {
  color: #fff;
  border-color: var(--primary);
  background: var(--surface-hover);
  box-shadow: 0 0 15px var(--primary-glow);
}

.desktop-only {
  display: inline;
}
@media (max-width: 640px) {
  .desktop-only { display: none; }
}

/* Tech Stack Radar Trends */
.trends-section {
  max-width: 1240px;
  margin: 15px auto;
  padding: 0 24px;
  position: relative;
  z-index: 10;
}

.trends-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 24px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(16px);
}

.trends-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.trends-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
}

.trends-subtitle {
  font-size: 12px;
  color: var(--text-muted);
}

.trends-bar-track {
  height: 10px;
  background: var(--bg-subtle);
  border-radius: var(--radius-full);
  overflow: hidden;
  display: flex;
  margin-bottom: 14px;
  border: 1px solid var(--border);
}

.trends-bar-seg {
  height: 100%;
  transition: width 0.5s ease;
  cursor: pointer;
  position: relative;
}

.trends-bar-seg:hover {
  filter: brightness(1.2);
}

.trends-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
}

.legend-item:hover {
  color: var(--text);
  transform: translateY(-1px);
}

.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

/* Export Actions */
.export-actions {
  display: flex;
  gap: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2px;
}

.btn-export {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
}

.btn-export:hover {
  background: var(--surface-hover);
  color: var(--text);
}

/* Platform chips */
.platform-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 960px;
  margin: 0 auto;
  animation: fadeSlideUp 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.platform-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.platform-chip svg {
  opacity: 0.8;
  transition: transform 0.2s ease;
}

.platform-chip:hover {
  background: var(--surface-hover);
  border-color: var(--cyan);
  color: var(--text);
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.25);
}

.platform-chip:hover svg {
  transform: scale(1.15);
}

.platform-chip:active {
  transform: scale(0.95);
}

.platform-chip.active {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-color: var(--cyan);
  color: #fff;
  box-shadow: 0 0 20px var(--primary-glow);
  transform: translateY(-1px);
}

/* Stats counter strip */
.stats-strip {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1240px;
  margin: 20px auto 10px;
  padding: 0 24px;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 18px 22px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(16px);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 12px 30px -10px rgba(2, 132, 199, 0.3), var(--shadow-lg);
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--cyan);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.stat-card:hover .stat-icon {
  transform: scale(1.12) rotate(4deg);
  background: rgba(2, 132, 199, 0.15);
  border-color: var(--cyan);
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
}

/* Main Content Area */
.main-container {
  position: relative;
  z-index: 10;
  max-width: 1240px;
  margin: 30px auto 80px;
  padding: 0 24px;
  flex: 1;
}

/* Controls & Toolbar */
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.sort-tabs {
  display: flex;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 4px;
  border-radius: var(--radius-md);
}

.sort-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 10px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sort-tab:hover {
  color: var(--text);
  transform: translateY(-1px);
}

.sort-tab:active {
  transform: scale(0.96);
}

.sort-tab.active {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  box-shadow: 0 0 16px var(--primary-glow);
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.custom-select {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 500;
  outline: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.custom-select:hover, .custom-select:focus {
  border-color: var(--border-glow);
  background: var(--surface-hover);
}

.custom-select option {
  background: var(--bg-subtle);
  color: var(--text);
}

.layout-toggle {
  display: flex;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 3px;
}

.layout-btn {
  padding: 6px 10px;
  border-radius: 8px;
  color: var(--text-muted);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.2s;
}

.layout-btn.active {
  background: var(--surface-active);
  color: var(--text);
}

/* Feed */
.feed-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 22px;
}

.feed-title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.feed-count {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.site-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 24px;
}

.site-grid.list-view {
  grid-template-columns: 1fr;
}

.site-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  box-shadow: var(--shadow-lg);
  position: relative;
  backdrop-filter: blur(16px);
  animation: fadeInUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.site-card:hover {
  transform: translateY(-8px) scale(1.015);
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 20px 40px -15px rgba(2, 132, 199, 0.3), var(--shadow-glow);
}

.card-browser-bar {
  background: var(--bg-subtle);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
}

.window-dots {
  display: flex;
  gap: 5px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #eab308; }
.dot-green { background: #22c55e; }

.browser-url-chip {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 3px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--bg-subtle);
  overflow: hidden;
}

.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.site-card:hover .card-thumb img {
  transform: scale(1.05);
}

.thumb-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0d1222, #07090e);
  color: var(--text-muted);
  gap: 8px;
  padding: 20px;
  text-align: center;
}

.status-pill {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(16, 185, 129, 0.9);
  color: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  animation: pulse-indicator 1.2s infinite;
}

.card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 6px;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-hostname {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--primary);
  margin-bottom: 14px;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.tag-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.tag-badge.host {
  color: #818cf8;
  border-color: rgba(99, 102, 241, 0.25);
}

.tag-badge.fw {
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.25);
}

.signals-mini {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--border);
  margin-bottom: 16px;
  font-size: 12px;
  color: var(--text-dim);
}

.signal-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.signal-ok {
  color: var(--emerald);
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px;
  margin-top: auto;
}

.btn-card-visit-main {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-card-visit-main:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

.btn-card-inspect, .btn-card-share {
  background: var(--surface-hover);
  border: 1px solid var(--border);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-card-inspect:hover, .btn-card-share:hover {
  background: var(--surface-active);
  color: var(--text);
  border-color: var(--border-glow);
}

/* State Box & Loader */
.state-box {
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 60px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.state-icon {
  color: var(--primary);
  margin-bottom: 8px;
}

.state-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
}

.state-desc {
  color: var(--text-muted);
  font-size: 14px;
  max-width: 420px;
}

.loader-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 30px auto;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.hidden {
  display: none !important;
}

.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--surface);
  border: 1px solid var(--primary);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 100;
  transform: translateY(100px);
  opacity: 0;
  backdrop-filter: blur(20px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Top Scroll Progress Indicator */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, #0284c7, #38bdf8, #60a5fa);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.8), 0 0 20px rgba(2, 132, 199, 0.6);
  z-index: 1000;
  transition: width 0.1s cubic-bezier(0.1, 0.9, 0.2, 1);
  pointer-events: none;
}

/* Header on Scroll */
.site-header {
  transition: background 0.3s ease, border-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  background: rgba(7, 9, 14, 0.92);
  backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(56, 189, 248, 0.2);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6), 0 0 25px -5px rgba(2, 132, 199, 0.15);
}

/* Scroll Reveal Animations */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Stagger Animation Delays */
.stagger-1 { transition-delay: 0.05s; }
.stagger-2 { transition-delay: 0.10s; }
.stagger-3 { transition-delay: 0.15s; }
.stagger-4 { transition-delay: 0.20s; }
.stagger-5 { transition-delay: 0.25s; }

/* Floating Back-to-Top Button */
.btn-back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg), 0 0 25px rgba(2, 132, 199, 0.3);
  backdrop-filter: blur(16px);
  cursor: pointer;
  z-index: 90;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 1;
  transform: translateY(0);
}

.btn-back-to-top:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--cyan);
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 12px 30px rgba(2, 132, 199, 0.5), 0 0 20px rgba(56, 189, 248, 0.6);
}

.btn-back-to-top.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
}

/* Footer */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  background: var(--glass);
  backdrop-filter: blur(10px);
  padding: 26px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-credits {
  display: flex;
  align-items: center;
  gap: 16px;
}

@media (max-width: 900px) {
  .site-header { padding: 0 16px; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .site-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
  .toolbar { flex-direction: column; align-items: stretch; }
  .filter-group { justify-content: space-between; }
}

@media (max-width: 640px) {
  .hero { padding-top: 30px; }
  .stats-strip { grid-template-columns: 1fr; }
  .site-footer { flex-direction: column; gap: 12px; text-align: center; }
  .sort-tabs { overflow-x: auto; width: 100%; }
}

/* =========================================================
   LIGHT THEME COMPLETE COMPONENT OVERRIDES
   ========================================================= */
:root[data-theme="light"] body {
  background-color: #f8fafc;
  background-image: 
    linear-gradient(to right, rgba(0, 0, 0, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.04) 1px, transparent 1px),
    radial-gradient(circle at 50% -10%, rgba(2, 132, 199, 0.12), transparent 55%),
    radial-gradient(circle at 90% 20%, rgba(37, 99, 235, 0.06), transparent 45%);
}

:root[data-theme="light"] .site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.06);
}

:root[data-theme="light"] .hero h1 {
  color: #0f172a;
}

:root[data-theme="light"] .gradient-text {
  background: linear-gradient(90deg, #0284c7 0%, #0369a1 40%, #2563eb 70%, #0284c7 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

:root[data-theme="light"] .hero-subtitle {
  color: #475569;
}

:root[data-theme="light"] .btn-hero-primary {
  background: #0f172a;
  color: #ffffff !important;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.25);
}

:root[data-theme="light"] .btn-hero-primary:hover {
  background: #0284c7;
  color: #ffffff !important;
  box-shadow: 0 12px 30px -5px rgba(2, 132, 199, 0.4);
}

:root[data-theme="light"] .btn-hero-secondary {
  background: rgba(15, 23, 42, 0.06);
  color: #0f172a !important;
  border: 1px solid rgba(15, 23, 42, 0.14);
}

:root[data-theme="light"] .btn-hero-secondary:hover {
  background: rgba(15, 23, 42, 0.12);
  border-color: rgba(15, 23, 42, 0.25);
  color: #0f172a !important;
}

:root[data-theme="light"] .omni-console {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(0, 0, 0, 0.09);
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.08);
}

:root[data-theme="light"] .omni-input {
  color: #0f172a;
}

:root[data-theme="light"] .omni-input::placeholder {
  color: #94a3b8;
}

:root[data-theme="light"] .radar-ticker-bar {
  background: rgba(241, 245, 249, 0.9);
  border-color: rgba(0, 0, 0, 0.08);
  color: #475569;
}

:root[data-theme="light"] .radar-ticker-bar .ticker-text span {
  color: #0f172a;
}

:root[data-theme="light"] .platform-chip {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(0, 0, 0, 0.08);
  color: #475569;
}

:root[data-theme="light"] .platform-chip:hover {
  background: #ffffff;
  color: #0f172a;
  border-color: rgba(2, 132, 199, 0.3);
}

:root[data-theme="light"] .platform-chip.active {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #ffffff;
  border-color: transparent;
}

/* Bento Cards in Light Mode */
:root[data-theme="light"] .bento-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.06);
}

:root[data-theme="light"] .bento-title,
:root[data-theme="light"] .trends-title,
:root[data-theme="light"] .bento-metric-val {
  color: #0f172a;
}

:root[data-theme="light"] .bento-desc,
:root[data-theme="light"] .trends-subtitle {
  color: #64748b;
}

:root[data-theme="light"] .bento-metric-row {
  background: #f8fafc;
  border-color: rgba(0, 0, 0, 0.06);
}

:root[data-theme="light"] .bento-metric-lbl {
  color: #64748b;
}

:root[data-theme="light"] .bento-pill-btn {
  background: #f1f5f9;
  border-color: rgba(0, 0, 0, 0.1);
  color: #0f172a;
}

:root[data-theme="light"] .bento-pill-btn:hover {
  background: #e2e8f0;
  color: #0284c7;
}

:root[data-theme="light"] .trends-bar-track {
  background: rgba(0, 0, 0, 0.06);
}

:root[data-theme="light"] .legend-item {
  background: #f8fafc;
  border-color: rgba(0, 0, 0, 0.08);
  color: #475569;
}

:root[data-theme="light"] .legend-item:hover {
  background: #f1f5f9;
  color: #0f172a;
}

/* Cards & Feeds in Light Mode */
:root[data-theme="light"] .site-card {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.06);
}

:root[data-theme="light"] .card-browser-bar {
  background: #f1f5f9;
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

:root[data-theme="light"] .browser-url-chip {
  background: #ffffff;
  color: #475569;
  border-color: rgba(0, 0, 0, 0.06);
}

:root[data-theme="light"] .card-title {
  color: #0f172a;
}

:root[data-theme="light"] .card-hostname {
  color: #64748b;
}

:root[data-theme="light"] .tag-badge {
  background: #f1f5f9;
  border-color: rgba(0, 0, 0, 0.06);
  color: #334155;
}

:root[data-theme="light"] .sort-tab {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  color: #64748b;
}

:root[data-theme="light"] .sort-tab.active {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

:root[data-theme="light"] .btn-export,
:root[data-theme="light"] .custom-select,
:root[data-theme="light"] .layout-btn {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  color: #334155;
}

:root[data-theme="light"] .btn-card-visit-main {
  background: #0f172a;
  color: #ffffff;
}

:root[data-theme="light"] .btn-card-visit-main:hover {
  background: #0284c7;
}

:root[data-theme="light"] .btn-card-repo,
:root[data-theme="light"] .btn-card-inspect,
:root[data-theme="light"] .btn-card-share {
  background: #f1f5f9;
  border-color: rgba(0, 0, 0, 0.08);
  color: #334155;
}

:root[data-theme="light"] .btn-card-repo:hover,
:root[data-theme="light"] .btn-card-inspect:hover,
:root[data-theme="light"] .btn-card-share:hover {
  background: #e2e8f0;
  color: #0f172a;
}

/* Bottom CTA in Light Mode */
:root[data-theme="light"] .cta-banner-content {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 25px 50px -15px rgba(15, 23, 42, 0.08);
}

:root[data-theme="light"] .cta-banner-content h2 {
  color: #0f172a;
}

:root[data-theme="light"] .cta-banner-content p {
  color: #64748b;
}

:root[data-theme="light"] .btn-back-to-top {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.1);
  color: #0284c7;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

:root[data-theme="light"] .modal-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.1);
}

:root[data-theme="light"] .modal-header {
  background: #f8fafc;
}

:root[data-theme="light"] .modal-title {
  color: #0f172a;
}


