﻿/*
 * Rapidata — main.css
 * Dark theme, blue accent, data analytics platform
 */

/* ===== CSS VARIABLES ===== */
:root {
  --bg: #0a0e1a;
  --surface: #111827;
  --surface-2: #1a2236;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --accent: #3b82f6;
  --accent-hover: #2563eb;
  --border: rgba(255,255,255,0.08);
  --radius: 10px;
  --gap: 2.5em;
  --sidebar-w: 0px;
  --funding-bar-h: 0px;
  --nav-height: 4.5em;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg) !important;
  color: var(--text);
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-size: 20px !important;
  line-height: 1.9 !important;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
.img-wrap { overflow: hidden; width: 100%; }
.img-wrap img { width: 100%; object-fit: cover; }

a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-hover); }

ul { list-style: none; }

/* ===== TYPOGRAPHY ===== */
h1 { font-size: 61px !important !important; font-weight: 700; line-height: 1.1; color: #fff; }
h2 { font-size: 43px !important !important; font-weight: 700; line-height: 1.3; color: #fff; }
h3 { font-size: 28px !important !important; font-weight: 600; line-height: 1.4; color: #fff; }
h4 { font-size: 18px; font-weight: 600; line-height: 1.5; color: #fff; }
p, li { font-size: 16px !important; line-height: 1.9 !important; color: var(--text); }

/* ===== LAYOUT ===== */
.container { max-width: 1100px; margin: 0 auto; padding: 0 2em; }
.section { padding: 5em 0; }
.section-header { text-align: center; margin-bottom: 3em; }
.section-header h2 { margin-bottom: 0.6em; }
.section-header p { color: var(--text-muted); max-width: 600px; margin: 0 auto; }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: var(--gap); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3em; align-items: center; }

/* ===== FUNDING BAR ===== */
#funding-bar { color: #fff !important; }

/* ===== NAVIGATION ===== */
#site-nav {
  position: fixed;
  top: var(--funding-bar-h, 0px);
  left: 0; right: 0;
  width: 100%;
  min-height: var(--nav-height);
  background-color: rgba(10, 14, 26, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 9999;
  display: flex;
  align-items: center;
  padding: 0 2.5em;
  box-sizing: border-box;
}
#site-nav .nav-brand {
  flex-shrink: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  text-decoration: none;
}
#site-nav .nav-brand span { color: var(--accent); }
#site-nav .nav-menu {
  display: flex;
  flex-direction: row;
  list-style: none;
  margin: 0 0 0 auto;
  padding: 0;
  gap: 0;
}
#site-nav .nav-menu li a {
  display: flex;
  align-items: center;
  height: var(--nav-height);
  padding: 0 1.2em;
  color: rgba(255,255,255,0.75);
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.2s;
}
#site-nav .nav-menu li a:hover,
#site-nav .nav-menu li.active a { color: #fff; }
#site-nav .nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  margin-left: auto;
}

#page-wrapper { padding-top: calc(var(--nav-height) + var(--funding-bar-h, 0px)); }

/* ===== HERO ===== */
#hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  background: url('../images/hero-main.jpg') center/cover no-repeat, var(--bg);
  padding: 6em 2.5em 5em;
}
#hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(5, 9, 20, 0.72);
  z-index: 0;
  pointer-events: none;
}
#hero > .container { position: relative; z-index: 2; }
#hero .hero-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 5em;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
#hero .hero-label {
  color: var(--accent);
  font-size: 0.78em;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 1.2em;
}
#hero h1 {
  color: #ffffff;
  font-size: 3.4em;
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 1em;
}
#hero .hero-tagline {
  color: rgba(255,255,255,0.75);
  font-size: 1.05em;
  line-height: 1.7;
  max-width: 480px;
}
#hero .hero-desc {
  color: rgba(255,255,255,0.7);
  font-size: 0.95em;
  line-height: 1.9 !important;
  margin-bottom: 2.5em;
}
#hero .hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 1em;
  align-items: flex-start;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #fff !important;
  padding: 0.85em 2.2em;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9em;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  cursor: pointer;
  border: none;
  letter-spacing: 0.04em;
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  color: #fff !important;
}
.btn-secondary {
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.85) !important;
  padding: 0.85em 2.2em;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.9em;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.btn-secondary:hover { border-color: rgba(255,255,255,0.7); color: #fff !important; }

/* ===== FEATURE CARDS ===== */
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2em;
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}
.feature-card .card-icon {
  width: 64px; height: 64px;
  border-radius: 14px;
  background: rgba(59,130,246,0.12);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2em;
  padding: 12px;
  box-sizing: border-box;
}
.feature-card .card-icon img { width: 100%; height: 100%; object-fit: contain; }
.feature-card h3 { margin-bottom: 0.5em; font-size: 18px; }
.feature-card p { color: var(--text-muted); font-size: 0.92em; }

/* ===== STATS SECTION ===== */
.stats-section { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 3em 0; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: 2em; max-width: 1100px; margin: 0 auto; padding: 0 2em; text-align: center; }
.stat-item .stat-number { font-size: 40px !important; font-weight: 700; color: var(--accent); line-height: 1; margin-bottom: 0.3em; }
.stat-item .stat-label { color: var(--text-muted); font-size: 0.9em; }

/* ===== ABOUT PAGE ===== */
.page-banner {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  background: url('../images/about-hero.jpg') center/cover no-repeat, var(--bg);
  padding: 5em 2.5em;
}
.page-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(5,9,20,0.72);
  z-index: 0;
  pointer-events: none;
}
.page-banner > * { position: relative; z-index: 2; }
.page-banner h1 { color: #fff; }
.page-banner p { color: rgba(255,255,255,0.72); margin-top: 0.6em; }

body.page-about .page-banner { background-image: url('../images/about-hero.jpg'), linear-gradient(180deg, var(--bg) 0%, var(--surface) 100%); }

.spotlight-section .spotlight-inner {
  display: flex;
  gap: 4em;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2em;
}
.story-img {
  flex-shrink: 0;
  width: 45%;
  overflow: hidden;
  border-radius: var(--radius);
}
.story-img img { width: 100%; object-fit: cover; border-radius: var(--radius); }
.story-text { flex: 1; }
.story-text h2 { margin-bottom: 0.8em; }
.story-text p { color: var(--text-muted); margin-bottom: 1em; }

/* Investors section */
#investors { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.investor-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8em;
  display: flex;
  align-items: center;
  gap: 1.5em;
}
.investor-logo { width: 60px; height: 60px; border-radius: 10px; background: rgba(59,130,246,0.1); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.investor-logo i { color: var(--accent); font-size: 24px; }

/* ===== TEAM PAGE ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
  gap: 2.5em;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2em;
}
.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5em 2em;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.team-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,0.3); }
.team-card img {
  width: 150px; height: 150px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  margin: 0 auto 1.2em;
  border: 3px solid rgba(59,130,246,0.3);
}
.team-card h3 { margin-bottom: 0.3em; font-size: 18px; }
.team-card .team-title { color: var(--accent); font-size: 0.82em; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1em; }
.team-card p { color: var(--text-muted); font-size: 0.9em; line-height: 1.7; }

/* ===== BLOG LISTING ===== */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px,1fr));
  gap: 2em;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2em;
}
.article-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.article-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.25); }
.article-card a { text-decoration: none; color: inherit; display: block; }
.card-thumb { aspect-ratio: 16/9; overflow: hidden; }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.article-card:hover .card-thumb img { transform: scale(1.05); }
.card-body { padding: 1.5em; }
.card-body time { font-size: 0.8em; color: var(--text-muted); display: block; margin-bottom: 0.5em; }
.card-body h3 { font-size: 18px; margin-bottom: 0.6em; color: #fff; line-height: 1.4; }
.card-body p { color: var(--text-muted); font-size: 0.88em; line-height: 1.65; margin-bottom: 1em; }
.read-more { color: var(--accent); font-size: 0.85em; font-weight: 600; }
.pinned-badge {
  display: inline-block;
  background: rgba(59,130,246,0.18);
  color: var(--accent);
  font-size: 0.72em;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25em 0.7em;
  border-radius: 4px;
  margin-bottom: 0.6em;
}

/* ===== ARTICLE PAGE ===== */
.article-hero {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  background: url('../images/blog-seed-round.jpg') center/cover no-repeat, var(--bg);
  padding: 4em 2.5em;
}
.article-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(5,9,20,0.70);
  z-index: 0;
  pointer-events: none;
}
.article-hero > * { position: relative; z-index: 2; }

.article-wrapper {
  max-width: 780px;
  margin: 0 auto;
  padding: 4em 2em;
}
.article-wrapper .article-meta {
  display: flex; gap: 1.2em; align-items: center;
  margin-bottom: 2em;
  flex-wrap: wrap;
}
.article-wrapper .article-meta time { color: var(--text-muted); font-size: 0.85em; }
.article-wrapper .article-meta .author { color: var(--text-muted); font-size: 0.85em; }
.article-wrapper h1 { margin-bottom: 0.5em; font-size: 2.2rem; color: #fff; }
.article-wrapper .article-img { margin: 2em 0; border-radius: var(--radius); overflow: hidden; }
.article-wrapper .article-img img { width: 100%; height: auto; object-fit: cover; }
.article-wrapper h2 { color: #fff; margin: 2em 0 0.8em; font-size: 24px; }
.article-wrapper h3 { color: #fff; margin: 1.5em 0 0.6em; }
.article-wrapper p { color: var(--text-muted); margin-bottom: 1.2em; }
.article-wrapper ul, .article-wrapper ol { margin: 1em 0 1.5em 1.5em; }
.article-wrapper ul { list-style: disc; }
.article-wrapper ol { list-style: decimal; }
.article-wrapper li { color: var(--text-muted); margin-bottom: 0.5em; }
.article-nav { margin-top: 3em; padding-top: 2em; border-top: 1px solid var(--border); }
.article-nav a { color: var(--accent); font-size: 0.9em; }

/* ===== CONTACT PAGE ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4em;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2em;
}
.contact-info h3 { margin-bottom: 0.5em; font-size: 16px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.contact-info p { color: var(--text-muted); margin-bottom: 1.5em; }
.contact-info a { color: var(--text-muted); }
.contact-info a:hover { color: var(--accent); }
.contact-message h3 { margin-bottom: 1em; }
.contact-message p { color: var(--text-muted); margin-bottom: 1.5em; }

/* ===== LEGAL PAGES ===== */
.legal-wrapper {
  max-width: 820px;
  margin: 0 auto;
  padding: 4em 2em;
}
.legal-wrapper h1 { margin-bottom: 0.4em; }
.legal-wrapper .legal-meta { color: var(--text-muted); font-size: 0.85em; margin-bottom: 2.5em; }
.legal-wrapper h2 { margin: 2em 0 0.8em; font-size: 1.35rem; padding-top: 1em; border-top: 1px solid var(--border); }
.legal-wrapper h3 { margin: 1.5em 0 0.5em; font-size: 18px; color: var(--text); }
.legal-wrapper p { color: var(--text-muted); margin-bottom: 1em; }
.legal-wrapper ul { list-style: disc; margin: 0.8em 0 1.2em 1.8em; }
.legal-wrapper li { color: var(--text-muted); margin-bottom: 0.4em; }
.legal-wrapper table { width: 100%; border-collapse: collapse; margin: 1.5em 0; }
.legal-wrapper th, .legal-wrapper td { padding: 0.75em 1em; border: 1px solid var(--border); font-size: 0.9em; text-align: left; }
.legal-wrapper th { background: var(--surface); color: #fff; }
.legal-wrapper td { color: var(--text-muted); }

/* ===== FOOTER ===== */
#footer {
  width: 100%;
  background: var(--surface);
  border-top: 1px solid var(--border);
}
#footer .inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  max-width: 1400px;
  margin: 0 auto;
  padding: 3em 4em;
  gap: 3em;
}
#footer h3 { font-size: 18px; margin-bottom: 0.8em; }
#footer h4 { font-size: 0.82em; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 1em; }
#footer p { color: var(--text-muted); font-size: 0.9em; line-height: 1.7; }
.footer-nav { list-style: none; padding: 0; margin: 0; }
.footer-nav li { margin-bottom: 0.6em; }
.footer-nav a { color: var(--text-muted); text-decoration: none; font-size: 0.9em; transition: color 0.2s; }
.footer-nav a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid var(--border); padding: 1.5em 4em; max-width: 1400px; margin: 0 auto; }
.footer-bottom p { color: var(--text-muted); font-size: 0.82em; }

/* ===== COOKIE BANNER ===== */
#cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10003;
  background: var(--surface-2);
  color: var(--text);
  padding: 1.2em 2em;
  border-top: 1px solid var(--border);
  align-items: center;
  justify-content: space-between;
  gap: 1.5em;
  flex-wrap: wrap;
}
#cookie-banner p { color: var(--text); font-size: 0.9em; margin: 0; }
#cookie-banner a { color: var(--accent); }
.cookie-buttons { display: flex; gap: 0.8em; flex-shrink: 0; }
.cookie-buttons button {
  padding: 0.55em 1.4em;
  border-radius: 5px;
  font-size: 0.85em;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background 0.2s;
}
#cookie-accept { background: var(--accent); color: #fff; }
#cookie-accept:hover { background: var(--accent-hover); }
#cookie-decline { background: var(--border); color: var(--text); background-color: rgba(255,255,255,0.08); }
#cookie-decline:hover { background-color: rgba(255,255,255,0.14); }

/* ===== PRICING PAGE ===== */
.pricing-hero { background: var(--bg); padding: 5em 0 3em; text-align: center; border-bottom: 1px solid var(--border); }
.pricing-hero h1 { margin-bottom: 0.5em; }
.pricing-hero p { color: var(--text-muted); max-width: 560px; margin: 0 auto; }

.pricing-table {
  display: grid;
  gap: 2em;
  max-width: 1100px;
  margin: 0 auto;
}
.pricing-table[data-plans="3"] { grid-template-columns: repeat(3, 1fr); }

.plan {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2em;
  position: relative;
  display: flex;
  flex-direction: column;
}
.plan--featured { border-top: 3px solid var(--accent); }
.pt-badge {
  position: absolute;
  top: -1em;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  padding: 0.25em 1em;
  border-radius: 2em;
  font-size: 0.8em;
  font-weight: 600;
  white-space: nowrap;
}
.plan h3 { font-size: 1.25rem; margin-bottom: 0.5em; color: #fff; }
.plan .price {
  font-size: 40px !important;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.3em;
}
.plan .price span { font-size: 16px; font-weight: 400; color: var(--text-muted); }
.plan .price-desc { color: var(--text-muted); font-size: 0.88em; margin-bottom: 1.5em; }
.plan .features {
  list-style: none;
  padding: 0;
  margin: 0 0 2em;
  flex: 1;
}
.plan .features li {
  color: var(--text-muted);
  font-size: 0.92em;
  padding: 0.6em 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 0.6em;
}
.plan .features li:last-child { border-bottom: none; }
.plan .features li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.05em;
}
.plan .btn-outline {
  display: inline-block;
  border: 1px solid var(--border);
  color: var(--text) !important;
  padding: 0.8em 1.5em;
  border-radius: 6px;
  font-size: 0.9em;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
  margin-top: auto;
}
.plan .btn-outline:hover { border-color: var(--accent); color: var(--accent) !important; }
.plan .btn-primary { width: 100%; text-align: center; margin-top: auto; }

.pricing-faq { max-width: 820px; margin: 0 auto; padding: 0 2em; }
.faq-item { border-bottom: 1px solid var(--border); padding: 1.5em 0; }
.faq-item h3 { font-size: 16px; color: #fff; margin-bottom: 0.5em; }
.faq-item p { color: var(--text-muted); font-size: 0.92em; margin: 0; }

@media (max-width: 900px) {
  .pricing-table[data-plans="3"] { grid-template-columns: 1fr; overflow-x: auto; }
}

/* ===== PRODUCT PAGE ===== */
.product-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4em;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto 5em;
  padding: 0 2em;
}
.product-feature.reverse { direction: rtl; }
.product-feature.reverse > * { direction: ltr; }
.product-feature h2 { margin-bottom: 0.8em; }
.product-feature p { color: var(--text-muted); margin-bottom: 1.2em; }
.product-feature ul { list-style: none; padding: 0; }
.product-feature ul li { color: var(--text-muted); padding: 0.4em 0; padding-left: 1.5em; position: relative; }
.product-feature ul li::before { content: ''; position: absolute; left: 0; top: 0.75em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

.pricing-section { background: var(--surface); }

/* ===== RESPONSIVE ===== */
@media (max-width: 980px) {
  #site-nav .nav-menu { display: none; }
  #site-nav .nav-toggle { display: block; }
  #site-nav .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 1em 0;
  }
  #site-nav .nav-menu.open li a { height: auto; padding: 0.75em 2em; }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 24px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  #hero .hero-grid { grid-template-columns: 1fr; gap: 2em; }
  #hero h1 { font-size: 2.2em; }
  .spotlight-section .spotlight-inner { flex-direction: column; }
  .story-img { width: 100%; }
  .contact-grid { grid-template-columns: 1fr; }
  #footer .inner { grid-template-columns: 1fr; padding: 2em; }
  .footer-bottom { padding: 1.5em 2em; }
  .product-feature { grid-template-columns: 1fr; }
  .product-feature.reverse { direction: ltr; }
}
@media (max-width: 480px) {
  #cookie-banner { flex-direction: column; align-items: flex-start; }
}

/* ===== UTILITY ===== */
.text-accent { color: var(--accent); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.mt-1 { margin-top: 1em; }
.mb-2 { margin-bottom: 2em; }
.alt-section { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* ===== FIX3: SITE LOGO ===== */
.site-logo { display:flex; align-items:center; gap:0.5em; text-decoration:none; font-size:1.3rem; font-weight:700; color:#fff; }
.logo-icon { color:#3b82f6; font-size:1.4rem; }
.site-logo:hover { opacity:0.9; text-decoration:none; }

/* ===== FIX5: FUNDING BAR + NAV ===== */
nav, #nav, .navbar { top: var(--funding-bar-h, 0px); }
#funding-bar { color:#fff !important; }

/* ===== FIX6: COOKIE BANNER (FULL) ===== */
#cookie-banner { display:none; position:fixed; bottom:0; left:0; right:0; z-index:10003; background:var(--surface,#151825); border-top:1px solid rgba(255,255,255,0.08); padding:1.2em 2em; }
.cookie-content { max-width:1100px; margin:0 auto; display:flex; align-items:center; gap:2em; flex-wrap:wrap; }
.cookie-text { flex:1; }
.cookie-text strong { font-size: 16px; color:#fff; }
.cookie-text p { font-size: 14px; color:rgba(255,255,255,0.65); margin:0.4em 0 0; line-height:1.6; }
.cookie-text a { color:#3b82f6; }
.cookie-buttons { display:flex; gap:0.8em; flex-shrink:0; }
#cookie-decline { padding:0.6em 1.4em; border:1px solid rgba(255,255,255,0.2); background:transparent; color:rgba(255,255,255,0.65); border-radius:6px; cursor:pointer; font-size: 14px; }
#cookie-accept { padding:0.6em 1.4em; background:#3b82f6; color:#fff; border:none; border-radius:6px; cursor:pointer; font-size: 14px; font-weight:600; }

/* Override template font sizes */
p { font-size: 16px !important; line-height: 1.9 !important; }
