﻿/* Root Evidence Ventures — main.css */

/* === CSS Variables === */
:root {
  --accent: #e74c3c;
  --accent-dark: #c0392b;
  --bg: #0d0f18;
  --bg2: #13151f;
  --surface: #1a1d2e;
  --surface2: #1e2235;
  --border: rgba(255,255,255,0.08);
  --text: #e8eaf0;
  --text-muted: #8892a4;
  --nav-height: 72px;
  --sidebar-w: 260px;
  --radius: 8px;
}

/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { max-width: 100%; display: block; }

body {
  font-family: 'Roboto', sans-serif;
  font-size: 18px !important;
  line-height: 1.85;
  background-color: var(--bg) !important;
  color: var(--text) !important;
  overflow-x: hidden;
}

/* === Typography === */
h1 { font-size: 61px !important; line-height: 1.1; font-weight: 700; }
h2 { font-size: 43px !important; line-height: 1.2; font-weight: 700; }
h3 { font-size: 28px !important; line-height: 1.3; font-weight: 600; }
h4 { font-size: 22px; line-height: 1.4; font-weight: 600; }
p { line-height: 1.85; }

a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: #ff6b5b; }

ul { list-style: none; padding: 0; margin: 0; }

/* === Layout === */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* === Funding Bar === */
#funding-bar {
  display: none;
  position: fixed !important;
  top: 0; left: 0; right: 0;
  z-index: 1100;
  background: var(--accent);
  color: #ffffff !important;
  padding: 10px 5%;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}
#funding-bar a, #funding-bar strong, #funding-bar span { color: #ffffff !important; }
#funding-bar button {
  color: rgba(255,255,255,0.85) !important;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.5);
  cursor: pointer;
  padding: 2px 10px;
  border-radius: 3px;
  font-size: 13px;
  margin-left: 8px;
}

/* === Navigation === */
#site-nav {
  position: fixed;
  top: 44px; left: 0; right: 0;
  z-index: 1000;
  background: rgba(13,15,24,0.97);
  border-bottom: 1px solid var(--border);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  backdrop-filter: blur(8px);
}
#site-nav .nav-inner {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-brand img { width: 32px; height: 32px; }
.nav-brand span {
  font-size: 17px !important;
  font-weight: 700;
  color: #ffffff !important;
  letter-spacing: 0.02em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
}
.nav-links li { display: inline-block; }
.nav-links a {
  font-size: 15px !important;
  font-weight: 500;
  color: rgba(255,255,255,0.82) !important;
  padding: 0 18px;
  height: var(--nav-height);
  line-height: var(--nav-height);
  display: inline-block;
  transition: color 0.2s, border-bottom 0.2s;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover,
.nav-links li.active a {
  color: #ffffff !important;
  border-bottom: 2px solid var(--accent);
}
.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  padding: 8px 22px !important;
  border-radius: var(--radius) !important;
  height: auto !important;
  line-height: normal !important;
  border-bottom: none !important;
}
.nav-cta:hover { background: var(--accent-dark) !important; }
.nav-mobile { display: none; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: #fff;
  font-size: 22px;
}

/* === Page padding === */
.page-top { padding-top: calc(var(--nav-height) + 44px); }

/* === Hero — Homepage === */
#hero {
  min-height: 620px;
  background-image: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)), url('../images/hero-main.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: rgba(5,10,30,0.35);
  background-blend-mode: multiply;
  position: relative;
  display: flex;
  align-items: center;
  padding: 5rem 0;
}
#hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 0;
  pointer-events: none;
}
#hero > * { position: relative; z-index: 1; }
.hero-content { max-width: 720px; }
.hero-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  background: rgba(46,204,113,0.12);
  padding: 4px 14px;
  border-radius: 20px;
}
#hero h1 { color: #ffffff; margin-bottom: 1.2rem; }
#hero p { color: rgba(255,255,255,0.88) !important; font-size: 20px; max-width: 600px; margin-bottom: 2rem; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-outline { background: transparent; border: 2px solid rgba(255,255,255,0.6); color: #fff; }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); color: #fff; }

/* === Stats Bar === */
.stats-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  text-align: center;
}
.stat-item {}
.stat-num {
  font-size: 38px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 14px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* === Section Utility === */
.section { padding: 88px 0; }
.section-alt { background: var(--bg2); }
.section-dark { background: var(--surface); }

.section-header { text-align: center; margin-bottom: 4rem; }
.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.section-header h2 { color: #ffffff; margin-bottom: 1rem; }
.section-header p {
  color: var(--text-muted);
  font-size: 18px;
  max-width: 580px;
  margin: 0 auto;
}

/* === Page Hero (inner pages) === */
.page-hero {
  min-height: 320px;
  background-image: url('../images/about-hero.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: rgba(5,10,30,0.35);
  background-blend-mode: multiply;
  position: relative;
  display: flex;
  align-items: center;
  padding: 5rem 0;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 0;
  pointer-events: none;
}
.page-hero > * { position: relative; z-index: 1; }
.page-hero h1 { color: #ffffff; }
.page-hero p { color: rgba(255,255,255,0.82) !important; }
.page-hero-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.8rem;
}

/* === Cards === */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.25);
}

/* === Feature Grid === */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.feature-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; }
.feature-icon {
  width: 52px; height: 52px;
  background: rgba(46,204,113,0.12);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem;
  color: var(--accent);
  font-size: 22px;
}
.feature-card h3 { color: #ffffff; margin-bottom: 0.6rem; }
.feature-card p { color: var(--text-muted); font-size: 16px; }

/* === About Page === */
.spotlight-section {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 4rem;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}
.story-text h2 { color: #ffffff; margin-bottom: 1.2rem; }
.story-text p { color: var(--text-muted); margin-bottom: 1rem; }
.story-img { width: 100%; overflow: hidden; border-radius: var(--radius); }
.story-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; object-position: center; border-radius: var(--radius); }

/* === Values === */
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; }
.value-card { background: var(--surface2); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.8rem; }
.value-card h3 { color: #ffffff; font-size: 20px !important; margin-bottom: 0.6rem; }
.value-card p { color: var(--text-muted); font-size: 16px; }

/* === Team === */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem; }
.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.team-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.25); }
.team-avatar {
  width: 160px;
  height: 160px;
  margin: 0 auto 1.4rem;
  overflow: hidden;
  border-radius: 8px;
  border: 2px solid var(--border);
}
.team-avatar img {
  width: 100%;
  max-width: 160px;
  aspect-ratio: 1/1;
  border-radius: 8px;
  object-fit: cover;
  object-position: 50% 10%;
  display: block;
  margin: 0 auto;
}
.initial-avatar {
  width: 160px;
  height: 160px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  margin: 0 auto 1.4rem;
}
.team-card h3 { color: #ffffff; font-size: 22px !important; margin-bottom: 4px; }
.team-card .team-role { color: var(--accent); font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.8rem; }
.team-card .bio { color: var(--text-muted); font-size: 15px; line-height: 1.7; }

/* === Portfolio === */
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.portfolio-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.portfolio-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.2); }
.portfolio-company { font-size: 22px !important; font-weight: 700; color: #ffffff; margin-bottom: 6px; }
.portfolio-amount { font-size: 32px !important; font-weight: 800; color: var(--accent); margin-bottom: 4px; }
.portfolio-round { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; }
.portfolio-desc { color: var(--text-muted); font-size: 15px; line-height: 1.65; margin-bottom: 1rem; }
.portfolio-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: rgba(231,76,60,0.1);
  padding: 3px 10px;
  border-radius: 20px;
}

/* === Insights Shell === */
.insights-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.insight-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.insight-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.2); }
.insight-thumb { width: 100%; aspect-ratio: 16/9; overflow: hidden; }
.insight-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.insight-body { padding: 1.5rem; }
.insight-category { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 0.6rem; }
.insight-body h3 { color: #ffffff; font-size: 20px !important; line-height: 1.35; margin-bottom: 0.6rem; }
.insight-meta { color: var(--text-muted); font-size: 13px; margin-top: 1rem; }
.insight-body p { color: var(--text-muted); font-size: 15px; }

/* === Contact === */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; align-items: start; }
.contact-info h3 { color: #ffffff; margin-bottom: 1rem; }
.contact-info p { color: var(--text-muted); margin-bottom: 1.5rem; }
.contact-detail { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.2rem; }
.contact-detail .ci-icon {
  width: 44px; height: 44px;
  min-width: 44px;
  background: rgba(46,204,113,0.12);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  font-size: 17px;
}
.contact-detail .ci-text { color: var(--text-muted); font-size: 15px; }
.contact-detail .ci-text strong { display: block; color: #ffffff; font-size: 14px; margin-bottom: 2px; text-transform: uppercase; letter-spacing: 0.06em; }
.contact-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 2.5rem; }
.form-group { margin-bottom: 1.4rem; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: var(--text-muted); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.06em; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  color: #ffffff;
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form-group textarea { height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-submit { width: 100%; background: var(--accent); color: #fff; border: none; padding: 14px; border-radius: var(--radius); font-size: 16px; font-weight: 700; cursor: pointer; transition: background 0.2s; }
.form-submit:hover { background: var(--accent-dark); }

/* === CTA Section === */
.cta-section {
  background: var(--surface);
  text-align: center;
  padding: 88px 0;
}
.cta-section h2 { color: #ffffff; margin-bottom: 1rem; }
.cta-section p { color: var(--text-muted); max-width: 520px; margin: 0 auto 2rem; }

/* === VC Anchor === */
.vc-anchor { text-align: center; padding: 48px 0; background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.vc-anchor p { color: var(--text-muted); font-size: 14px; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; }
.vc-anchor .vc-name { font-size: 24px !important; font-weight: 700; color: #ffffff; }

/* === Footer === */
#footer {
  background-color: #0a0b14;
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
  width: 100%;
}
#footer .inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 4rem;
  align-items: start;
  box-sizing: border-box;
}
#footer h2 {
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  margin-bottom: 1.2rem !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
#footer p { color: var(--text-muted); font-size: 15px; line-height: 1.7; }
.footer-brand-name { font-size: 18px !important; font-weight: 700; color: #ffffff !important; margin-bottom: 0.6rem; }
.footer-nav { list-style: none; margin: 0; padding: 0; }
.footer-nav li { margin-bottom: 0.6rem; display: block; }
.footer-nav a { color: var(--text-muted); text-decoration: none; font-size: 15px; transition: color 0.2s; }
.footer-nav a:hover { color: #ffffff; }
#footer .copyright {
  color: var(--text-muted);
  font-size: 13px;
  text-align: center;
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  max-width: 1100px;
}

/* === Cookie Banner === */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 10003;
  background: var(--surface2);
  border-top: 1px solid var(--border);
  padding: 1.2rem 2rem;
  display: none;
}
.cookie-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.cookie-text { color: var(--text-muted); font-size: 14px; }
.cookie-text a { color: var(--accent); }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btn {
  padding: 9px 20px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
}
.cookie-btn.accept { background: var(--accent); color: #fff; }
.cookie-btn.decline { background: transparent; border: 1px solid var(--border); color: var(--text-muted); }

/* === Mobile Nav === */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-mobile {
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 1rem 2rem;
    z-index: 999;
    display: none;
  }
  .nav-mobile.open { display: block; }
  .nav-mobile li { display: block; border-bottom: 1px solid var(--border); }
  .nav-mobile li:last-child { border-bottom: none; }
  .nav-mobile a { font-size: 16px !important; padding: 14px 0; display: block; color: var(--text) !important; height: auto; line-height: normal; border-bottom: none; }
  h1 { font-size: 42px !important; }
  h2 { font-size: 32px !important; }
  h3 { font-size: 24px !important; }
}

@media (max-width: 768px) {
  .spotlight-section { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  #footer .inner { grid-template-columns: 1fr 1fr; gap: 2rem; padding: 0 2rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  #footer .inner { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  h1 { font-size: 36px !important; }
}

/* === Legal Pages === */
.legal-hero { background: #13151f; padding: 4rem 0 3rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.legal-hero h1 { color: #ffffff; }
.legal-hero p { color: #8892a4; }
.legal-last-updated { color: #8892a4; font-size: 14px; margin-top: 0.5rem; }
.legal-content { max-width: 760px; margin: 0 auto; padding: 4rem 2rem; }
.legal-content h2 { color: #ffffff; font-size: 28px !important; margin: 2.5rem 0 1rem; }
.legal-content h3 { color: #ffffff; font-size: 20px !important; margin: 1.5rem 0 0.6rem; }
.legal-content p, .legal-content li { color: #8892a4; line-height: 1.85; margin-bottom: 1rem; }
.legal-content ul { list-style: disc; padding-left: 1.5rem; }
.legal-content a { color: #e74c3c; }

