/* ================================================
   友油又 OilPal — Global Styles
   Dark glassmorphism + Taiwan political palette
   ================================================ */

/* ---- CSS Variables ---- */
:root {
  --green:       #1B9431;
  --green-light: #34D058;
  --green-glow:  rgba(27, 148, 49, 0.35);
  --blue:        #0A1EDB;
  --blue-light:  #4F75FF;
  --blue-glow:   rgba(10, 30, 219, 0.35);
  --teal:        #28C8C8;
  --white-party: #28C8C8;
  --yellow:      #FBBE01;

  --bg-900: #0a0c10;
  --bg-800: #111318;
  --bg-700: #181c24;
  --bg-600: #1f2330;
  --bg-glass: rgba(255,255,255,0.04);
  --bg-glass-hover: rgba(255,255,255,0.08);
  --border-glass: rgba(255,255,255,0.08);

  --text-primary:   #f0f4ff;
  --text-secondary: #8892aa;
  --text-muted:     #4a5168;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-card: 0 4px 32px rgba(0,0,0,0.4);
  --shadow-glow-green: 0 0 40px rgba(27,148,49,0.3);
  --shadow-glow-blue:  0 0 40px rgba(10,30,219,0.3);

  --font-body: 'Noto Sans TC', 'Space Grotesk', sans-serif;
  --font-mono: 'Space Grotesk', monospace;

  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg-900);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---- Utilities ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.hidden { display: none !important; }
.gradient-text {
  background: linear-gradient(135deg, var(--green-light) 0%, var(--teal) 50%, var(--blue-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ================================================
   HEADER
   ================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  background: rgba(10,12,16,0.85);
  border-bottom: 1px solid var(--border-glass);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.logo-zh {
  font-size: 1.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--green-light), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.05em;
}
.logo-en {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.logo-tagline {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  display: none;
}
@media (min-width: 600px) { .logo-tagline { display: inline; } }
.header-nav { display: flex; gap: 24px; }
.nav-link {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color var(--transition);
  font-weight: 500;
}
.nav-link:hover { color: var(--text-primary); }

/* ================================================
   HERO
   ================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 60px;
  overflow: hidden;
}
.hero-bg-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: floatOrb 8s ease-in-out infinite alternate;
}
.orb-green {
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--green) 0%, transparent 70%);
  top: -100px; left: -100px;
  animation-delay: 0s;
}
.orb-blue {
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--blue-light) 0%, transparent 70%);
  bottom: -80px; right: -80px;
  animation-delay: 3s;
}
.orb-teal {
  width: 300px; height: 300px;
  background: radial-gradient(circle, var(--teal) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 1.5s;
  opacity: 0.2;
}
@keyframes floatOrb {
  from { transform: scale(1) translateY(0); }
  to   { transform: scale(1.1) translateY(-20px); }
}
.hero-content {
  position: relative;
  text-align: center;
  max-width: 760px;
  z-index: 1;
}
.hero-title {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text-secondary);
  margin-bottom: 3rem;
  line-height: 1.8;
}

/* ---- Search Form ---- */
.search-form { width: 100%; }
.search-box {
  display: flex;
  align-items: center;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 6px 6px 6px 20px;
  gap: 12px;
  backdrop-filter: blur(12px);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.search-box:focus-within {
  border-color: var(--green-light);
  box-shadow: 0 0 0 3px var(--green-glow);
}
.search-icon { font-size: 1.2rem; flex-shrink: 0; }
.search-box input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-size: 1rem;
  font-family: inherit;
  min-width: 0;
}
.search-box input::placeholder { color: var(--text-muted); }
.btn-analyze {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  padding: 12px 32px;
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  flex-shrink: 0;
}
.btn-analyze:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px var(--green-glow);
}
.btn-analyze:active { transform: translateY(0); }
.btn-spinner {
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.coverage-line {
  margin-top: 16px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  min-height: 1.2em;
}

/* ================================================
   HOT NEWS
   ================================================ */
.hot-section { padding: 24px 0 56px; }
.hot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.hot-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 8px 0 20px;
}
.hot-toggle {
  display: flex;
  gap: 4px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 100px;
  padding: 4px;
}
.hot-toggle-btn {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 6px 18px;
  border-radius: 100px;
  transition: all var(--transition);
}
.hot-toggle-btn.active {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%);
  color: #fff;
}
.hot-list { display: flex; flex-direction: column; gap: 10px; }
.hot-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  transition: border-color var(--transition), transform var(--transition);
}
.hot-item:hover { border-color: rgba(255,255,255,0.18); transform: translateY(-1px); }
.hot-rank {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-muted);
  width: 28px;
  text-align: center;
  flex-shrink: 0;
}
.hot-item:nth-child(-n+3) .hot-rank { color: var(--yellow); }
.hot-body { flex: 1; min-width: 0; }
.hot-title {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color var(--transition);
}
.hot-title:hover { color: var(--teal); }
.hot-meta {
  display: flex;
  gap: 12px;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 3px;
  overflow: hidden;
  white-space: nowrap;
}
.hot-source { color: var(--teal); flex-shrink: 0; }
.hot-appear { flex-shrink: 0; }
.hot-companies { overflow: hidden; text-overflow: ellipsis; }
.hot-chip {
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid;
  border-radius: 100px;
  padding: 4px 12px;
  white-space: nowrap;
  flex-shrink: 0;
}
.hot-analyze-btn {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-glass-hover);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 6px 14px;
  flex-shrink: 0;
  transition: all var(--transition);
}
.hot-analyze-btn:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%);
  border-color: transparent;
}
@media (max-width: 640px) {
  .hot-chip { display: none; }
}

/* ================================================
   RESULTS SECTION
   ================================================ */
.results { padding-top: 0; animation: fadeIn 0.5s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* ---- Article Info Bar ---- */
.article-info-bar {
  background: var(--bg-800);
  border-bottom: 1px solid var(--border-glass);
  padding: 24px 0;
}
.article-info-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.article-source {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.article-title-display {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 4px 0;
  line-height: 1.4;
}
.article-link {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.article-link:hover { color: var(--teal); }
.companies-count {
  text-align: center;
  flex-shrink: 0;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 16px 24px;
}
.count-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--green-light), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.count-label { font-size: 0.8rem; color: var(--text-secondary); }

/* ---- View Panels ---- */
.view-panel { padding: 48px 0; }
.section-title {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 28px;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

/* ================================================
   SPECTRUM VIEW
   ================================================ */
.spectrum-stage { margin-bottom: 60px; }
.spectrum-header { margin-bottom: 40px; }
.spectrum-rail-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 20px 0 12px;
}
.spectrum-label-left { font-size: 0.8rem; font-weight: 700; color: var(--blue-light); white-space: nowrap; }
.spectrum-label-right { font-size: 0.8rem; font-weight: 700; color: var(--green-light); white-space: nowrap; }
.spectrum-rail {
  flex: 1;
  height: 24px;
  border-radius: 100px;
  background: linear-gradient(
    to right,
    #000095, #4F75FF 25%, #28C8C8 50%, #34D058 75%, #1B9431
  );
  position: relative;
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.4);
}
.spectrum-needle {
  position: absolute;
  top: 50%;
  width: 4px; height: 36px;
  background: #fff;
  border-radius: 2px;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 12px rgba(255,255,255,0.8);
  transition: left 1s cubic-bezier(0.4, 0, 0.2, 1);
}
.spectrum-verdict {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: 0.05em;
}

/* ---- Zones ---- */
.spectrum-zones {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}
.zone {
  border-radius: var(--radius-lg);
  padding: 20px;
  border: 1px solid var(--border-glass);
  background: var(--bg-glass);
  backdrop-filter: blur(8px);
  min-height: 200px;
}
.zone-blue  { border-color: rgba(79,117,255,0.3); background: rgba(10,30,219,0.08); }
.zone-neutral { border-color: rgba(255,255,255,0.1); }
.zone-green { border-color: rgba(52,208,88,0.3); background: rgba(27,148,49,0.08); }

.zone-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-glass);
}
.zone-title { font-weight: 800; font-size: 0.95rem; flex: 1; }
.zone-count {
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--bg-glass);
  border-radius: 100px;
  padding: 2px 10px;
  color: var(--text-secondary);
}
.zone-cards { display: flex; flex-direction: column; gap: 8px; }

/* Company Card (inside zone) */
.company-card {
  background: var(--bg-glass-hover);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 10px;
}
.company-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.2);
  box-shadow: var(--shadow-card);
}
.company-card-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.company-card-name {
  font-size: 0.85rem;
  font-weight: 600;
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.company-card-label {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 100px;
  white-space: nowrap;
}
.label-green  { background: rgba(27,148,49,0.25);  color: var(--green-light); }
.label-blue   { background: rgba(10,30,219,0.25);  color: var(--blue-light); }
.label-neutral{ background: rgba(255,255,255,0.1); color: var(--text-secondary); }
.label-none   { background: rgba(100,100,100,0.2); color: var(--text-muted); }

/* Party Pie */
.party-pies { }
.pie-container {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
#partyPie {
  border-radius: 50%;
  filter: drop-shadow(0 4px 24px rgba(0,0,0,0.5));
}
.pie-legend { display: flex; flex-direction: column; gap: 10px; }
.legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
}
.legend-dot {
  width: 14px; height: 14px;
  border-radius: 4px;
  flex-shrink: 0;
}
.legend-party { font-weight: 600; }
.legend-amount { color: var(--text-secondary); }
.legend-pct { font-weight: 700; margin-left: auto; padding-left: 16px; }

/* ================================================
   DETAIL LIST
   ================================================ */
.list-section { margin-top: 60px; }
.list-toolbar {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.list-search, .list-filter {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.875rem;
  font-family: inherit;
  padding: 10px 16px;
  outline: none;
  transition: border-color var(--transition);
}
.list-search { flex: 1; min-width: 200px; }
.list-search:focus, .list-filter:focus { border-color: var(--green-light); }
.list-filter option { background: var(--bg-800); }

.list-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-glass);
}
.list-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.list-table th {
  background: var(--bg-800);
  padding: 14px 16px;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  text-transform: uppercase;
  white-space: nowrap;
  border-bottom: 1px solid var(--border-glass);
}
.list-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  vertical-align: middle;
}
.list-table tr:last-child td { border-bottom: none; }
.list-table tbody tr {
  cursor: pointer;
  transition: background var(--transition);
}
.list-table tbody tr:hover { background: var(--bg-glass-hover); }
.td-name { font-weight: 700; }
.td-status-ok   { color: var(--green-light); font-size: 0.75rem; font-weight: 700; }
.td-status-none { color: var(--text-muted);  font-size: 0.75rem; }
.spectrum-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 100px;
  white-space: nowrap;
}
.badge-deep-green  { background: rgba(27,148,49,0.25);  color: var(--green-light); }
.badge-light-green { background: rgba(52,208,88,0.2);   color: #7adf96; }
.badge-neutral     { background: rgba(255,255,255,0.1); color: var(--text-secondary); }
.badge-light-blue  { background: rgba(79,117,255,0.2);  color: var(--blue-light); }
.badge-deep-blue   { background: rgba(10,30,219,0.25);  color: #a0b4ff; }
.badge-none        { background: rgba(100,100,100,0.15);color: var(--text-muted); }
.td-amount { font-weight: 600; font-family: var(--font-mono); }
.td-score {
  font-weight: 800;
  font-family: var(--font-mono);
  font-size: 0.9rem;
}

/* ================================================
   COMPANY DETAIL MODAL
   ================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fadeIn 0.2s ease;
}
.modal-box {
  background: var(--bg-800);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  max-width: 600px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 32px;
  position: relative;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
  animation: slideUp 0.3s cubic-bezier(0.4,0,0.2,1);
}
@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to   { transform: none; opacity: 1; }
}
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg-glass);
  color: var(--text-secondary);
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.modal-close:hover { background: var(--bg-glass-hover); color: var(--text-primary); }

/* Modal content styles */
.modal-company-name {
  font-size: 1.6rem;
  font-weight: 900;
  margin-bottom: 4px;
}
.modal-tax-id { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 20px; }
.modal-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}
.modal-info-item {
  background: var(--bg-glass);
  border-radius: var(--radius-md);
  padding: 12px 16px;
}
.modal-info-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.modal-info-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}
.modal-donations-title {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text-secondary);
}
.modal-donation-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.modal-donation-row:last-child { border-bottom: none; }
.modal-party-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}
.modal-party-name { font-weight: 700; font-size: 0.875rem; flex: 1; }
.modal-candidate { font-size: 0.8rem; color: var(--text-secondary); }
.modal-amount {
  font-weight: 800;
  font-family: var(--font-mono);
  font-size: 0.9rem;
}
.modal-no-data { color: var(--text-muted); text-align: center; padding: 24px; }

/* ================================================
   LOADING OVERLAY
   ================================================ */
.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,12,16,0.85);
  backdrop-filter: blur(16px);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
}
.loading-card {
  background: var(--bg-800);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 48px;
  text-align: center;
  max-width: 360px;
  width: 100%;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5);
}
.loading-spinner-big {
  width: 64px; height: 64px;
  border: 3px solid var(--border-glass);
  border-top-color: var(--green-light);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 24px;
}
.loading-title {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 24px;
}
.loading-steps { display: flex; flex-direction: column; gap: 10px; text-align: left; }
.loading-step {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.loading-step.active {
  color: var(--green-light);
  background: rgba(27,148,49,0.1);
  font-weight: 600;
}
.loading-step.done {
  color: var(--text-secondary);
}

/* ================================================
   ERROR TOAST
   ================================================ */
.error-toast {
  position: fixed;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  background: #ff3b3b;
  color: #fff;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 100px;
  z-index: 400;
  font-size: 0.9rem;
  box-shadow: 0 8px 32px rgba(255,59,59,0.4);
  animation: fadeIn 0.3s ease;
}

/* ================================================
   ABOUT SECTION
   ================================================ */
.about-section {
  padding: 80px 0;
  background: var(--bg-800);
  border-top: 1px solid var(--border-glass);
}
.about-title {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 40px;
  text-align: center;
}
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}
.about-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition);
}
.about-card:hover {
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.about-icon { font-size: 2rem; margin-bottom: 12px; }
.about-card h3 { font-weight: 800; margin-bottom: 8px; }
.about-card p { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.7; }
.about-disclaimer {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ================================================
   FOOTER
   ================================================ */
.site-footer {
  background: var(--bg-900);
  border-top: 1px solid var(--border-glass);
  padding: 24px 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.site-footer a { color: var(--text-secondary); transition: color var(--transition); }
.site-footer a:hover { color: var(--teal); }

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 768px) {
  .spectrum-zones {
    grid-template-columns: 1fr;
  }
  .modal-info-grid {
    grid-template-columns: 1fr;
  }
  .pie-container {
    flex-direction: column;
  }
  .hero-title { font-size: 2rem; }
}
@media (max-width: 480px) {
  .search-box { padding: 6px 6px 6px 14px; }
  .btn-analyze { padding: 10px 18px; font-size: 0.9rem; }
}
