@charset "utf-8";
/* ROI AI Capital — main.css */

/* ── CSS Variables ─────────────────────────────────────── */
:root {
  --accent:       #2ecc71;
  --accent-dark:  #27ae60;
  --bg:           #0d1117;
  --bg-surface:   #161b22;
  --bg-card:      #1c2333;
  --text:         #e6edf3;
  --text-muted:   #8b949e;
  --border:       rgba(255,255,255,0.08);
  --surface:      #161b22;
  --radius:       10px;
  --nav-height:   72px;
}

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

img { max-width: 100%; }

/* ── Dark theme applied to template containers ─────────── */
body { background-color: var(--bg) !important; color: var(--text) !important; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; font-size: 18px !important; line-height: 1.9; overflow-x: hidden; }

/* ── Typography ────────────────────────────────────────── */
h1 { font-size: 61px !important; line-height: 1.1; font-weight: 800; }
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: 18px !important; font-weight: 600; line-height: 1.4; }
p  { line-height: 1.75; }
li { line-height: 1.75; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent); }

/* ── Container ─────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  box-sizing: border-box;
}

/* ── Page Top ───────────────────────────────────────────── */
.page-top { padding-top: var(--nav-height, 72px); }

/* ── Funding Bar ────────────────────────────────────────── */
#funding-bar {
  display: none;
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  background: var(--accent-dark) !important;
  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 a { text-decoration: underline; }
#funding-bar button {
  color: rgba(255,255,255,0.85) !important;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  padding: 0 0 0 1rem;
  flex-shrink: 0;
}

/* ── Navbar ─────────────────────────────────────────────── */
.navbar {
  position: fixed !important;
  top: 0;
  width: 100%;
  background: rgba(13,17,23,0.96) !important;
  padding: 0 5%;
  height: var(--nav-height);
  z-index: 1000;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  transition: top 0.3s ease;
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--text) !important;
  font-size: 19px !important;
  font-weight: 700;
}
.logo img { width: 32px; height: 32px; }
.logo span { color: var(--text) !important; background: none; -webkit-text-fill-color: unset; background-clip: unset; }
.nav-links { display: flex; list-style: none; gap: 2.5rem; }
.nav-links a { font-size: 15px !important; text-decoration: none; color: var(--text-muted) !important; font-weight: 500; transition: color 0.2s; padding: 0.4rem 0; position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--accent) !important; }
.nav-links a::after { content: ''; position: absolute; width: 0; height: 2px; bottom: 0; left: 50%; transform: translateX(-50%); background: var(--accent); transition: width 0.3s ease; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.mobile-menu { display: none; flex-direction: column; cursor: pointer; gap: 5px; }
.mobile-menu span { width: 26px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.3s; }

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  background-image: linear-gradient(rgba(0,0,0,0.18), rgba(0,0,0,0.18)), url('../images/hero-main.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: rgba(10,15,40,0.35);
  background-blend-mode: multiply;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.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 { max-width: 900px; padding: 0 2rem; margin-top: 4rem; }
.hero-content h1 { color: #ffffff; margin-bottom: 1.5rem; }
.hero-content p { color: rgba(255,255,255,0.88); font-size: 19px !important; margin-bottom: 2.5rem; max-width: 680px; margin-left: auto; margin-right: auto; }
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  display: inline-block;
  padding: 0.9em 2.2em;
  background: var(--accent);
  color: #fff !important;
  font-weight: 600;
  font-size: 16px !important;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  border: 2px solid transparent;
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-outline {
  display: inline-block;
  padding: 0.9em 2.2em;
  background: transparent;
  color: #fff !important;
  font-weight: 600;
  font-size: 16px !important;
  border-radius: 6px;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.6);
  transition: border-color 0.2s, transform 0.2s;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent) !important; transform: translateY(-2px); }

/* ── Page Hero (inner pages) ───────────────────────────── */
.page-hero {
  background-image: linear-gradient(rgba(0,0,0,0.10), rgba(0,0,0,0.10)), url('../images/about-hero.jpg');
  background-size: cover;
  background-position: center;
  background-color: rgba(10,15,40,0.4);
  background-blend-mode: multiply;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}
.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: #fff; }
.page-hero p { color: rgba(255,255,255,0.82); font-size: 18px !important; }

/* ── Section Base ───────────────────────────────────────── */
.section-block { padding: 80px 0; }
.section-block.dark { background: var(--bg-surface); }
.section-block.darker { background: var(--bg); }
.section-block.alt { background: var(--bg-card); }
.section-label { display: block; font-size: 13px !important; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 0.75rem; }
.section-title { color: var(--text) !important; margin-bottom: 1rem; }
.section-subtitle { color: var(--text-muted); font-size: 16px !important; max-width: 600px; margin: 0 auto 3rem; text-align: center; line-height: 1.75; }
.text-center { text-align: center; }

/* ── Cards ──────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform 0.2s, box-shadow 0.2s;
  display: block;
  text-decoration: none !important;
  color: var(--text) !important;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.3); color: inherit !important; }
.card h3 { color: var(--text) !important; margin-bottom: 0.75rem; }
.card p  { color: var(--text-muted); }

/* ── Stats Bar ──────────────────────────────────────────── */
.stats-bar { background: var(--bg-card); padding: 48px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.stat-item { padding: 1.5rem; }
.stat-number { font-size: 40px !important; font-weight: 800; color: var(--accent); display: block; line-height: 1; margin-bottom: 0.5rem; }
.stat-label { color: var(--text-muted); font-size: 14px !important; text-transform: uppercase; letter-spacing: 0.05em; }

/* ── Feature Grid ───────────────────────────────────────── */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.feature-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; }
.feature-card h3 { color: var(--text) !important; margin-bottom: 0.75rem; font-size: 19px !important; }
.feature-card p  { color: var(--text-muted); font-size: 15px !important; }
.feature-icon-wrap { width: 48px; height: 48px; border-radius: 10px; background: rgba(46,204,113,0.12); display: flex; align-items: center; justify-content: center; margin-bottom: 1.2rem; }
.feature-icon-wrap svg { width: 24px; height: 24px; stroke: var(--accent); fill: none; stroke-width: 2; }

/* ── Investment Focus ───────────────────────────────────── */
.focus-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.focus-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem 2rem; }
.focus-item h4 { color: var(--text) !important; margin-bottom: 0.5rem; }
.focus-item p  { color: var(--text-muted); font-size: 14px !important; }

/* ── Team Cards ─────────────────────────────────────────── */
.team-grid-wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.team-card {
  background: var(--bg-card);
  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 24px rgba(0,0,0,0.3); }
.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 { color: var(--text) !important; margin-bottom: 0.4rem; font-size: 19px !important; }
.team-role { color: var(--accent); font-size: 14px !important; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.8rem; }
.team-bio { color: var(--text-muted); font-size: 15px !important; line-height: 1.65; }
.initial-avatar { width: 160px; height: 160px; background: var(--bg-surface); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 40px !important; font-weight: 800; color: var(--accent); margin: 0 auto 1.2rem; }

/* ── Portfolio Cards ────────────────────────────────────── */
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.portfolio-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; }
.portfolio-card h3 { color: var(--text) !important; margin-bottom: 0.5rem; font-size: 21px !important; }
.portfolio-card .co-desc { color: var(--text-muted); font-size: 15px !important; margin-bottom: 1.2rem; }
.portfolio-meta { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1rem; }
.badge { display: inline-block; padding: 0.3em 0.9em; border-radius: 20px; font-size: 12px !important; font-weight: 600; }
.badge-round { background: rgba(46,204,113,0.12); color: var(--accent); }
.badge-amount { background: rgba(255,255,255,0.06); color: var(--text-muted); }
.badge-sector { background: rgba(46,204,113,0.07); color: var(--accent); }

/* ── About Split ────────────────────────────────────────── */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-text h2 { color: var(--text) !important; margin-bottom: 1.5rem; }
.about-text p  { color: var(--text-muted); margin-bottom: 1.25rem; }
.about-img-wrap { overflow: hidden; border-radius: var(--radius); }
.about-img-wrap img { width: 100%; aspect-ratio: 4/3; object-fit: cover; object-position: center; display: block; border-radius: var(--radius); }

/* ── Spotlight / Story ──────────────────────────────────── */
.spotlight-section { display: grid; grid-template-columns: 3fr 2fr; gap: 4em; align-items: start; max-width: 1100px; margin: 0 auto; padding: 4em 2em; }
.story-text h2 { color: var(--text) !important; margin-bottom: 1rem; }
.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); display: block; }

/* ── Investors / Backed By ──────────────────────────────── */
.investors-section { text-align: center; padding: 3rem 0; }
.investors-section h2 { color: var(--text) !important; margin-bottom: 0.75rem; }
.investors-section p  { color: var(--text-muted); }
.vc-anchor { color: var(--accent); text-decoration: none; font-weight: 600; }
.vc-anchor:hover { text-decoration: underline; }

/* ── CTA Section ────────────────────────────────────────── */
.cta-section { background: var(--bg-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 80px 0; text-align: center; }
.cta-section h2 { color: var(--text) !important; margin-bottom: 1rem; }
.cta-section p  { color: var(--text-muted); max-width: 560px; margin: 0 auto 2rem; }

/* ── Contact Form ───────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.contact-info h2 { color: var(--text) !important; margin-bottom: 1rem; }
.contact-info p  { color: var(--text-muted); margin-bottom: 1.5rem; }
.contact-detail { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 1rem; }
.contact-detail svg { width: 20px; height: 20px; stroke: var(--accent); fill: none; stroke-width: 2; flex-shrink: 0; margin-top: 3px; }
.contact-detail span { color: var(--text-muted); font-size: 15px !important; }
.contact-form { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-group-single { margin-bottom: 1rem; }
.form-label { display: block; color: var(--text-muted); font-size: 14px !important; margin-bottom: 0.4rem; font-weight: 500; }
.form-input, .form-textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  color: var(--text);
  font-size: 15px !important;
  font-family: inherit;
  transition: border-color 0.2s;
}
.form-input:focus, .form-textarea:focus { outline: none; border-color: var(--accent); }
.form-textarea { resize: vertical; min-height: 120px; }
.btn-submit { background: var(--accent); color: #fff; border: none; padding: 0.85em 2em; font-size: 16px !important; font-weight: 600; border-radius: 6px; cursor: pointer; width: 100%; transition: background 0.2s; margin-top: 0.5rem; }
.btn-submit:hover { background: var(--accent-dark); }

/* ── Insights / Listing Shell ───────────────────────────── */
.insights-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.article-card { background: var(--bg-card); 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.3); }
.card-thumb { width: 100%; overflow: hidden; }
.card-thumb img { width: 100%; aspect-ratio: 16/9; object-fit: cover; object-position: center; display: block; }
.card-body { padding: 1.5rem; }
.card-date { color: var(--text-muted); font-size: 13px !important; margin-bottom: 0.5rem; }
.card-body h3 { color: var(--text) !important; font-size: 18px !important; margin-bottom: 0.5rem; }
.card-body h3 a { color: var(--text) !important; text-decoration: none; }
.card-body h3 a:hover { color: var(--accent) !important; }
.card-body p { color: var(--text-muted); font-size: 14px !important; }
.card-link { display: inline-block; margin-top: 1rem; color: var(--accent); font-size: 14px !important; font-weight: 600; text-decoration: none; }
.card-link:hover { text-decoration: underline; }

/* ── Footer ─────────────────────────────────────────────── */
#footer, .footer {
  background-color: var(--bg-surface) !important;
  border-top: 1px solid var(--border);
  padding: 4em 2em 2em;
}
#footer .inner, .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, .footer h2 { color: #ffffff !important; font-size: 18px !important; font-weight: 600; margin: 0 0 1em; letter-spacing: 0.05em; text-transform: uppercase; }
#footer p, .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: #fff; }
.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; }
.footer-brand p { color: var(--text-muted); font-size: 14px !important; line-height: 1.7; }
.footer-logo { display: flex; align-items: center; gap: 0.6rem; color: #fff; font-weight: 700; font-size: 16px !important; text-decoration: none; margin-bottom: 0.75rem; }
.footer-logo img { width: 28px; height: 28px; }

/* ── Cookie Banner ──────────────────────────────────────── */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10003;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 1.2rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
#cookie-banner p { color: var(--text-muted); font-size: 14px !important; margin: 0; flex: 1; }
#cookie-banner a { color: var(--accent); }
.cookie-buttons { display: flex; gap: 0.75rem; }
#cookie-accept { background: var(--accent); color: #fff !important; border: none; border-radius: 4px; padding: 8px 20px; font-size: 14px !important; font-weight: 600; cursor: pointer; }
#cookie-accept:hover { background: var(--accent-dark); }
#cookie-decline { background: transparent; border: 1px solid var(--border); color: var(--text-muted) !important; border-radius: 4px; padding: 8px 20px; font-size: 14px !important; font-weight: 600; cursor: pointer; }
#cookie-decline:hover { border-color: var(--text-muted); }

/* ── Legal Pages ────────────────────────────────────────── */
.legal-content { max-width: 760px; margin: 0 auto; padding: 3rem 2rem 5rem; }
.legal-content h1 { color: var(--text) !important; margin-bottom: 0.5rem; }
.legal-content h2 { color: var(--text) !important; margin: 2rem 0 0.75rem; font-size: 22px !important; }
.legal-content p  { color: var(--text-muted); margin-bottom: 1rem; }
.legal-content ul { color: var(--text-muted); padding-left: 1.5rem; margin-bottom: 1rem; }
.legal-content li { margin-bottom: 0.5rem; }
.legal-date { color: var(--text-muted); font-size: 14px !important; margin-bottom: 2.5rem; }

/* ── Image Overflow Safety ──────────────────────────────── */
.img-wrap { width: 100%; max-width: 100%; overflow: hidden; border-radius: var(--radius); display: block; }
.img-wrap img { width: 100%; max-width: 100%; height: auto; display: block; object-fit: cover; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 940px) {
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: rgba(13,17,23,0.98); flex-direction: column; padding: 2rem 5%; gap: 1rem; }
  .nav-links.active { display: flex; }
  .mobile-menu { display: flex; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-split { grid-template-columns: 1fr; }
  #footer .inner, .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  h1 { font-size: 42px !important; }
  h2 { font-size: 32px !important; }
  h3 { font-size: 22px !important; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .spotlight-section { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  #footer .inner, .footer-inner { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  #cookie-banner { flex-direction: column; align-items: flex-start; }
}
