/* ================================================
   Gravis Robotics Capital - main.css
================================================ */
:root {
  --accent: #e67e22; --accent-dark: #cf6d17;
  --bg: #0d0f18; --bg2: #141622;
  --surface: #1a1d2e; --surface2: #1f2235;
  --border: rgba(255,255,255,0.08);
  --text: #e8eaf0; --text-muted: #8892a4;
  --nav-height: 72px; --radius: 10px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Kumbh Sans', system-ui, sans-serif;
  font-size: 18px !important; line-height: 1.85;
  background-color: var(--bg) !important; color: var(--text) !important;
}
#page-wrapper, #wrapper, #main { background-color: var(--bg) !important; }
h1 { font-size: 61px !important; line-height: 1.1; font-weight: 700; color: #ffffff; }
h2 { font-size: 43px !important; line-height: 1.2; font-weight: 700; color: #ffffff; margin-bottom: 1rem; }
h3 { font-size: 28px !important; line-height: 1.3; font-weight: 600; color: #ffffff; }
h4 { font-size: 18px !important; font-weight: 600; color: #ffffff; }
p { line-height: 1.85; color: var(--text); margin-bottom: 1.25rem; }
a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-dark); }
ul, ol { padding-left: 1.5rem; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 5%; box-sizing: border-box; }
.page-top { padding-top: var(--nav-height); }
section { padding: 80px 0; }
/* 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;
}
#funding-bar a, #funding-bar strong, #funding-bar span { color: #ffffff !important; }
#funding-bar button { color: rgba(255,255,255,0.85) !important; }
#funding-bar .funding-close {
  background: transparent; border: 1px solid rgba(255,255,255,0.5);
  color: rgba(255,255,255,0.85) !important; cursor: pointer;
  padding: 3px 10px; border-radius: 4px; font-size: 13px; margin-left: 1rem;
}
#funding-bar a.funding-link { color: #ffffff !important; text-decoration: underline; font-weight: 600; }
/* Navigation */
#site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(13,15,24,0.97); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border); height: var(--nav-height);
  display: flex; align-items: center; transition: top 0.3s ease;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 5%;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { height: 40px; width: auto; }
.nav-menu { display: flex; list-style: none; gap: 2rem; margin: 0; padding: 0; }
.nav-menu a {
  font-size: 15px !important; color: var(--text-muted); font-weight: 500;
  transition: color 0.2s; padding: 4px 0; border-bottom: 2px solid transparent;
}
.nav-menu a:hover, .nav-menu .active a { color: #ffffff; border-bottom-color: var(--accent); }
.nav-cta a {
  background: var(--accent); color: #ffffff !important;
  padding: 8px 20px; border-radius: 6px; font-size: 15px !important;
  font-weight: 600; border-bottom: none !important;
}
.nav-cta a:hover { background: var(--accent-dark); color: #ffffff; }
.nav-toggle {
  display: none; background: transparent; border: 1px solid var(--border);
  color: var(--text); padding: 8px 12px; border-radius: 6px; cursor: pointer; font-size: 18px;
}
/* Hero */
#hero {
  background-image: 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; min-height: 600px; display: flex; align-items: center;
}
#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: 2; }
.hero-content { padding: 120px 0; }
.hero-eyebrow {
  display: inline-block; font-size: 13px !important; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent);
  background: rgba(230,126,34,0.12); border: 1px solid rgba(230,126,34,0.3);
  padding: 4px 14px; border-radius: 20px; margin-bottom: 1.5rem;
}
.hero-content h1 { color: #ffffff; margin-bottom: 1.5rem; }
.hero-content p { color: rgba(255,255,255,0.82); font-size: 19px !important; max-width: 580px; margin-bottom: 2.5rem; }
.btn-primary {
  display: inline-block; background: var(--accent); color: #ffffff;
  padding: 14px 36px; border-radius: 6px; font-weight: 600; font-size: 16px !important;
  transition: background 0.2s, transform 0.2s; border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); color: #ffffff; }
.btn-outline {
  display: inline-block; background: transparent; color: #ffffff;
  padding: 13px 34px; border-radius: 6px; border: 2px solid rgba(255,255,255,0.4);
  font-weight: 600; font-size: 16px !important; transition: border-color 0.2s, color 0.2s; margin-left: 1rem;
}
.btn-outline:hover { border-color: #ffffff; color: #ffffff; }
.hero-stats {
  display: flex; gap: 3rem; margin-top: 3rem; padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-stat-num { font-size: 32px !important; font-weight: 700; color: var(--accent); }
.hero-stat-label { font-size: 14px !important; color: rgba(255,255,255,0.65); margin-top: 2px; }
/* Page Hero */
.page-hero {
  background-size: cover; background-position: center;
  background-color: rgba(5,10,30,0.35); background-blend-mode: multiply;
  position: relative; min-height: 320px; display: flex;
  align-items: flex-end; padding-bottom: 60px;
}
.page-hero::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.58); z-index: 0; }
.page-hero > * { position: relative; z-index: 1; }
.page-hero h1 { color: #ffffff; font-size: 48px !important; }
.page-hero p { color: rgba(255,255,255,0.78); font-size: 18px !important; max-width: 500px; }
.page-hero-eyebrow {
  font-size: 13px !important; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--accent); display: block; margin-bottom: 0.5rem;
}
.section-label {
  display: inline-block; font-size: 13px !important; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 1rem;
}
.section-header { margin-bottom: 3rem; }
.section-header h2 { margin-bottom: 0.75rem; }
.section-header p { color: var(--text-muted); max-width: 620px; font-size: 17px !important; }
.section-header.centered { text-align: center; }
.section-header.centered p { margin: 0 auto; }
/* Stats Bar */
.stats-bar { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 48px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.stat-num { font-size: 40px !important; font-weight: 700; color: var(--accent); line-height: 1.1; }
.stat-label { font-size: 14px !important; color: var(--text-muted); margin-top: 4px; }
/* Feature Cards */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; margin-top: 2rem; }
.feature-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem 1.5rem; 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-icon {
  width: 48px; height: 48px; background: rgba(230,126,34,0.12); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem; color: var(--accent); font-size: 21px !important;
}
.feature-card h3 { font-size: 18px !important; margin-bottom: 0.75rem; }
.feature-card p { color: var(--text-muted); font-size: 15px !important; margin-bottom: 0; }
/* Portfolio */
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.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.3); }
.portfolio-company { font-size: 20px !important; font-weight: 700; color: #ffffff; margin-bottom: 0.5rem; }
.portfolio-amount { font-size: 26px !important; font-weight: 700; color: var(--accent); margin-bottom: 0.25rem; }
.portfolio-stage {
  display: inline-block; font-size: 12px !important; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; background: rgba(230,126,34,0.12); color: var(--accent);
  border: 1px solid rgba(230,126,34,0.25); padding: 3px 10px; border-radius: 20px; margin-bottom: 1rem;
}
.portfolio-desc { color: var(--text-muted); font-size: 15px !important; margin-bottom: 0; }
/* Team - VC rounded rect style */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; margin-top: 2rem; }
.team-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2em 1.5em; text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.team-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,0.25); }
.team-card 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 1.2rem;
}
.team-card h3 { font-size: 18px !important; margin-bottom: 0.3rem; }
.team-role { color: var(--accent); font-size: 14px !important; font-weight: 600; margin-bottom: 0.75rem; }
.team-card .bio { color: var(--text-muted); font-size: 15px !important; line-height: 1.7; margin-bottom: 0; }
/* Insights */
.insights-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 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 8px 28px rgba(0,0,0,0.25); }
.insight-thumb { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: center; display: block; }
.insight-body { padding: 1.5rem; }
.insight-date { font-size: 13px !important; color: var(--text-muted); margin-bottom: 0.5rem; }
.insight-card h3 { font-size: 18px !important; margin-bottom: 0.5rem; }
.insight-card h3 a { color: #ffffff; }
.insight-card h3 a:hover { color: var(--accent); }
.insight-card p { color: var(--text-muted); font-size: 15px !important; margin-bottom: 0; }
.insight-tag {
  display: inline-block; font-size: 12px !important; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent); margin-bottom: 0.5rem;
}
/* About Spotlight */
.spotlight-section {
  display: grid; grid-template-columns: 3fr 2fr; gap: 4em;
  align-items: start; max-width: 1200px; margin: 0 auto; padding: 4em 5%;
}
.story-text h2 { margin-bottom: 1.5rem; }
.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); display: block;
}
.investors-section { background: var(--surface2); padding: 60px 0; }
.vc-anchor {
  display: inline-block; font-size: 22px !important; font-weight: 700; color: #ffffff;
  padding: 12px 28px; border: 2px solid var(--border); border-radius: 8px; margin-top: 1rem;
}
/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; margin-top: 2rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.contact-item-icon {
  width: 42px; height: 42px; background: rgba(230,126,34,0.12); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); flex-shrink: 0; font-size: 16px !important;
}
.contact-item-text { font-size: 15px !important; color: var(--text-muted); line-height: 1.6; }
.contact-item-text strong { color: var(--text); display: block; margin-bottom: 2px; }
.contact-form-wrap { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; }
.form-group { margin-bottom: 1.5rem; }
.form-group label {
  display: block; font-size: 14px !important; font-weight: 600; color: var(--text-muted);
  margin-bottom: 0.4rem; text-transform: uppercase; letter-spacing: 0.06em;
}
.form-control {
  width: 100%; background: var(--bg); border: 1px solid var(--border);
  border-radius: 6px; color: var(--text); font-size: 16px !important; font-family: inherit;
  padding: 12px 16px; transition: border-color 0.2s;
}
.form-control:focus { outline: none; border-color: var(--accent); }
.form-control::placeholder { color: var(--text-muted); }
textarea.form-control { resize: vertical; min-height: 130px; }
/* CTA */
.cta-section {
  background: linear-gradient(135deg, var(--surface) 0%, var(--bg2) 100%);
  border: 1px solid var(--border); border-radius: 16px; padding: 4rem 3rem; text-align: center;
}
.cta-section h2 { color: #ffffff; margin-bottom: 1rem; }
.cta-section p { color: rgba(255,255,255,0.75); max-width: 520px; margin: 0 auto 2rem; }
/* Footer */
#footer { background-color: var(--surface); border-top: 1px solid var(--border); padding: 4em 2em 2em; width: 100%; }
#footer .inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3em;
  max-width: 1400px; margin: 0 auto; padding: 0 4em; align-items: start; box-sizing: border-box;
}
#footer h2 { color: #ffffff; font-size: 18px !important; font-weight: 600; margin: 0 0 1em; letter-spacing: 0.05em; text-transform: uppercase; }
#footer p { color: var(--text-muted); font-size: 16px !important; line-height: 1.7; margin: 0; }
.footer-nav { list-style: none; margin: 0; padding: 0; }
.footer-nav li { margin-bottom: 0.5em; }
.footer-nav a { color: var(--text-muted); text-decoration: none; font-size: 16px !important; transition: color 0.2s; }
.footer-nav a:hover { color: #ffffff; }
#footer .copyright {
  color: var(--text-muted); font-size: 15px !important; text-align: center;
  margin: 2.5em auto 0; padding-top: 1.5em; 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(--surface); border-top: 1px solid var(--border);
  padding: 16px 5%; display: flex; align-items: center;
  justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
}
.cookie-text { color: var(--text-muted); font-size: 14px !important; flex: 1; min-width: 240px; }
.cookie-text a { color: var(--accent); }
.cookie-actions { display: flex; gap: 0.75rem; flex-shrink: 0; }
#cookie-accept {
  background: var(--accent); color: #fff; border: none; border-radius: 4px;
  padding: 10px 24px; font-size: 14px; font-weight: 600; cursor: pointer; transition: background 0.2s;
}
#cookie-accept:hover { background: var(--accent-dark); }
#cookie-decline {
  background: transparent; border: 1px solid var(--border); color: var(--text-muted);
  border-radius: 4px; padding: 10px 24px; font-size: 14px; font-weight: 600; cursor: pointer;
}
.section-dark { background-color: var(--bg2); padding: 80px 0; }
.section-surface { background-color: var(--surface); padding: 80px 0; }
.bg-dark { background-color: var(--bg2); }
.bg-surface { background-color: var(--surface); }
.bg-base { background-color: var(--bg); }
.legal-content { max-width: 760px; margin: 0 auto; padding: 60px 5%; }
.legal-content h2 { font-size: 26px !important; margin-top: 2.5rem; margin-bottom: 1rem; }
.legal-content h3 { font-size: 18px !important; margin-top: 1.5rem; margin-bottom: 0.75rem; }
.legal-content ul li { margin-bottom: 0.4rem; color: var(--text-muted); }
.legal-content table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; }
.legal-content th, .legal-content td { padding: 10px 12px; border: 1px solid var(--border); text-align: left; font-size: 15px !important; }
.legal-content th { background: var(--surface); color: var(--text); }
@media (max-width: 992px) {
  h1 { font-size: 46px !important; }
  h2 { font-size: 34px !important; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .spotlight-section { grid-template-columns: 1fr; }
  #footer .inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  body { font-size: 17px !important; }
  h1 { font-size: 38px !important; }
  h2 { font-size: 28px !important; }
  h3 { font-size: 22px !important; }
  section { padding: 60px 0; }
  .nav-menu { display: none; }
  .nav-toggle { display: block; }
  .nav-menu.open {
    display: flex; flex-direction: column; position: absolute;
    top: var(--nav-height); left: 0; right: 0; background: var(--bg);
    border-bottom: 1px solid var(--border); padding: 1rem 5%; gap: 0;
  }
  .nav-menu.open li { padding: 10px 0; border-bottom: 1px solid var(--border); }
  .hero-content { padding: 80px 0; }
  .hero-stats { flex-wrap: wrap; gap: 1.5rem; }
  .portfolio-grid { grid-template-columns: 1fr; }
  #footer .inner { grid-template-columns: 1fr; gap: 2em; padding: 0 2em; }
  .cta-section { padding: 2.5rem 1.5rem; }
}
@media (max-width: 480px) {
  h1 { font-size: 32px !important; }
  h2 { font-size: 24px !important; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .btn-outline { margin-left: 0; margin-top: 0.75rem; }
}
