/* CinchTech Capital — main.css */
/* ─── CSS Variables ─────────────────────────── */
:root {
  --accent: #f39c12;
  --accent-dark: #d68910;
  --bg: #0d0f18;
  --bg2: #13162a;
  --surface: #1a1d2e;
  --surface2: #1e2237;
  --border: rgba(255,255,255,0.08);
  --text: #e8eaf0;
  --text-muted: #94a3b8;
  --nav-height: 72px;
  --radius: 8px;
}

/* ─── Reset & Base ──────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
img { max-width: 100%; }

body {
  font-family: "Open Sans", sans-serif;
  font-size: 18px !important;
  color: var(--text) !important;
  background-color: var(--bg) !important;
  overflow-x: hidden;
  line-height: 1.9;
}

h1 { font-size: 61px !important; line-height: 1.1; font-weight: 700; color: #fff; }
h2 { font-size: 43px !important; line-height: 1.2; font-weight: 700; color: #fff; }
h3 { font-size: 28px !important; line-height: 1.3; font-weight: 600; color: #fff; }
h4 { font-size: 18px !important; font-weight: 600; color: #fff; }
p { line-height: 1.9; color: rgba(255,255,255,0.88); }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); text-decoration: none; }

/* ─── Dark Theme Overrides ──────────────────── */
#page-wrapper, #wrapper, #main, .container-fluid {
  background-color: var(--bg) !important;
}

/* ─── Page Top (non-index padding) ─────────── */
.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-color: var(--accent-dark) !important;
  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; background: transparent; border: 1px solid rgba(255,255,255,0.5); border-radius: 4px; padding: 2px 10px; cursor: pointer; font-size: 12px; }

/* ─── Navigation ────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background-color: var(--bg2);
  border-bottom: 1px solid var(--border);
  height: var(--nav-height);
  display: flex;
  align-items: center;
}
.site-nav .nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-nav .brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.site-nav .brand img { height: 32px; width: auto; }
.site-nav .brand span { font-size: 18px !important; font-weight: 700; color: #fff; }
.nav-links { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 0; }
.nav-links li a {
  font-size: 15px !important;
  color: var(--text-muted);
  padding: 0.5rem 1.1rem;
  display: block;
  transition: color 0.2s;
  font-weight: 500;
}
.nav-links li a:hover, .nav-links li.active a {
  color: var(--accent);
}
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; transition: all 0.3s; }

/* ─── Hero ──────────────────────────────────── */
.hero {
  background-color: rgba(10,15,40,0.35);
  background-image: url('../images/hero-main.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-blend-mode: multiply;
  min-height: 600px;
  position: relative;
  display: flex;
  align-items: center;
  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 .container { width: 100%; }
.hero h1 { color: #fff; margin-bottom: 1.2rem; }
.hero p { color: rgba(255,255,255,0.88); font-size: 19px !important; max-width: 600px; margin-bottom: 2rem; }
.hero .btn-primary {
  background: var(--accent);
  color: #fff;
  padding: 0.8rem 2.2rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 16px !important;
  border: none;
  transition: background 0.2s;
  display: inline-block;
}
.hero .btn-primary:hover { background: var(--accent-dark); color: #fff; }
.hero .btn-outline {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.6);
  color: #fff;
  padding: 0.8rem 2.2rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 16px !important;
  transition: all 0.2s;
  display: inline-block;
  margin-left: 1rem;
}
.hero .btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* ─── Page Hero (inner pages) ──────────────── */
.page-hero {
  background-color: rgba(10,15,40,0.35);
  background-image: url('../images/about-hero.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-blend-mode: multiply;
  min-height: 300px;
  position: relative;
  display: flex;
  align-items: center;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 0;
}
.page-hero > * { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: 43px !important; }
.page-hero p { color: rgba(255,255,255,0.82); }

/* ─── Container ─────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

/* ─── Section Spacing ───────────────────────── */
.section { padding: 80px 0; }
.section-alt { background-color: var(--surface); }
.section-dark { background-color: var(--bg2); }

/* ─── Section Headers ───────────────────────── */
.section-header { text-align: center; margin-bottom: 3rem; }
.section-label { display: inline-block; font-size: 13px !important; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 0.8rem; }
.section-header h2 { color: #fff; margin-bottom: 1rem; }
.section-header p { color: var(--text-muted); max-width: 600px; margin: 0 auto; font-size: 17px !important; }

/* ─── Stats Bar ─────────────────────────────── */
.stats-bar { background: var(--surface2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 40px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 2rem; text-align: center; }
.stat-item .stat-num { font-size: 40px !important; font-weight: 700; color: var(--accent); line-height: 1.1; }
.stat-item .stat-label { font-size: 14px !important; color: var(--text-muted); margin-top: 0.3rem; }

/* ─── Feature Grid ───────────────────────────── */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.3); }
.feature-card .icon { color: var(--accent); font-size: 32px !important; margin-bottom: 1rem; }
.feature-card h3 { color: #fff; margin-bottom: 0.8rem; }
.feature-card p { color: var(--text-muted); margin: 0; }

/* ─── Portfolio Cards ───────────────────────── */
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.8rem; }
.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 8px 24px rgba(0,0,0,0.25); }
.portfolio-card .co-name { font-size: 21px !important; font-weight: 700; color: #fff; margin-bottom: 0.4rem; }
.portfolio-card .co-round { font-size: 13px !important; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--accent); margin-bottom: 0.6rem; }
.portfolio-card .co-amount { font-size: 32px !important; font-weight: 700; color: #fff; line-height: 1.1; }
.portfolio-card .co-desc { color: var(--text-muted); font-size: 15px !important; margin-top: 0.8rem; }
.portfolio-card .sector-tag { display: inline-block; background: rgba(243,156,18,0.15); color: var(--accent); border-radius: 4px; padding: 2px 10px; font-size: 12px !important; font-weight: 600; margin-top: 1rem; }

/* ─── Team Cards ─────────────────────────────── */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 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 8px 24px 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 { color: #fff; margin-bottom: 0.3rem; }
.team-card .team-role { color: var(--accent); font-size: 14px !important; font-weight: 600; margin-bottom: 0.8rem; }
.team-card .bio { color: var(--text-muted); font-size: 15px !important; margin: 0; line-height: 1.7; }

/* ─── CTA Section ────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--accent-dark) 0%, #e67e22 100%);
  padding: 80px 0;
  text-align: center;
}
.cta-section h2, .cta-section h3, .cta-section p { color: #fff !important; }
.cta-section p { opacity: 0.9; }
.btn-cta-light {
  background: #fff;
  color: var(--accent-dark);
  padding: 0.85rem 2.4rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 16px !important;
  display: inline-block;
  transition: background 0.2s;
  border: none;
}
.btn-cta-light:hover { background: #f8f8f8; color: var(--accent-dark); }

/* ─── Two-column split ───────────────────────── */
.spotlight-section {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 4rem;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 2rem;
}
.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; }
@media (max-width: 768px) { .spotlight-section { grid-template-columns: 1fr; } }

/* ─── Contact Form ───────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info h3 { color: #fff; margin-bottom: 1rem; }
.contact-info p { color: var(--text-muted); }
.contact-info .info-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.4rem; }
.contact-info .info-item i { color: var(--accent); font-size: 19px !important; margin-top: 2px; min-width: 20px; }
.contact-info .info-item span { color: var(--text-muted); }
.contact-form .form-group { margin-bottom: 1.2rem; }
.contact-form label { display: block; color: var(--text-muted); font-size: 14px !important; margin-bottom: 0.4rem; font-weight: 600; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  color: var(--text);
  font-size: 15px !important;
  font-family: inherit;
  transition: border-color 0.2s;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); }
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form .btn-submit {
  background: var(--accent);
  color: #fff;
  padding: 0.85rem 2.4rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 16px !important;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.contact-form .btn-submit:hover { background: var(--accent-dark); }

/* ─── 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 8px 24px rgba(0,0,0,0.25); }
.insight-card .card-thumb { width: 100%; overflow: hidden; }
.insight-card .card-thumb img { width: 100%; aspect-ratio: 16/9; object-fit: cover; object-position: center; display: block; }
.insight-card .card-body { padding: 1.5rem; }
.insight-card .card-date { font-size: 13px !important; color: var(--text-muted); margin-bottom: 0.5rem; }
.insight-card h3 { color: #fff; margin-bottom: 0.6rem; font-size: 18px !important; }
.insight-card p { color: var(--text-muted); font-size: 14px !important; margin: 0; }

/* ─── VC Anchor / Backed By ──────────────────── */
.backed-section { padding: 60px 0; background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); text-align: center; }
.backed-section p { color: var(--text-muted); margin-bottom: 1.2rem; }
.vc-logo-row { display: flex; align-items: center; justify-content: center; gap: 3rem; flex-wrap: wrap; }
.vc-name { font-size: 24px !important; font-weight: 700; color: rgba(255,255,255,0.4); letter-spacing: 0.05em; }

/* ─── About Page Values ───────────────────────── */
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.8rem; }
.value-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  text-align: center;
}
.value-card .icon { color: var(--accent); font-size: 35px !important; margin-bottom: 1rem; }
.value-card h3 { color: #fff; margin-bottom: 0.6rem; }
.value-card p { color: var(--text-muted); font-size: 15px !important; margin: 0; }

/* ─── Footer ─────────────────────────────────── */
#footer {
  background-color: var(--bg2) !important;
  border-top: 1px solid var(--border);
  padding: 4rem 2rem 2rem;
  width: 100%;
}
#footer .inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  align-items: start;
  box-sizing: border-box;
}
#footer h2 {
  color: #ffffff;
  font-size: 16px !important;
  font-weight: 600;
  margin: 0 0 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
#footer p { color: var(--text-muted); font-size: 14px !important; line-height: 1.7; margin: 0; }
.footer-nav { list-style: none; margin: 0; padding: 0; }
.footer-nav li { margin-bottom: 0.5rem; }
.footer-nav a { color: var(--text-muted); text-decoration: none; font-size: 14px !important; transition: color 0.2s; }
.footer-nav a:hover { color: #fff; }
#footer .copyright {
  color: var(--text-muted);
  font-size: 13px !important;
  text-align: center;
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  max-width: 1100px;
}
@media (max-width: 768px) { #footer .inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { #footer .inner { grid-template-columns: 1fr; } }

/* ─── 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 5%;
  display: none;
}
#cookie-banner .cookie-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; max-width: 1200px; margin: 0 auto; flex-wrap: wrap; }
#cookie-banner p { color: var(--text-muted); font-size: 14px !important; margin: 0; }
#cookie-banner p a { color: var(--accent); }
.cookie-btn { 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-btn:hover { background: var(--accent-dark); }
.cookie-btn.decline { background: transparent; border: 1px solid var(--border); color: var(--text-muted); }
.cookie-btn.decline:hover { border-color: rgba(255,255,255,0.3); color: #fff; }
.cookie-btns { display: flex; gap: 0.8rem; }

/* ─── Legal Pages ────────────────────────────── */
.legal-content { max-width: 760px; margin: 0 auto; padding: 0 2rem; }
.legal-content h2 { font-size: 26px !important; color: #fff; margin: 2rem 0 1rem; }
.legal-content h3 { font-size: 18px !important; color: #fff; margin: 1.5rem 0 0.6rem; }
.legal-content p, .legal-content li { color: var(--text-muted); font-size: 15px !important; }
.legal-content ul { padding-left: 1.4rem; }
.legal-content ul li { margin-bottom: 0.4rem; }

/* ─── Responsive Nav ─────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: var(--nav-height); left: 0; right: 0; background: var(--bg2); border-bottom: 1px solid var(--border); padding: 1rem 0; }
  .nav-links.open { display: flex; }
  .nav-links li a { padding: 0.75rem 2rem; }
  .nav-toggle { display: block; }
  h1 { font-size: 42px !important; }
  h2 { font-size: 32px !important; }
  h3 { font-size: 22px !important; }
}

/* ─── Utilities ─────────────────────────────── */
.text-accent { color: var(--accent) !important; }
.text-muted-custom { color: var(--text-muted) !important; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 2rem; } .mb-3 { margin-bottom: 3rem; }

/* ─── Image overflow guard ───────────────────── */
.feature-img-wrap { width: 100%; max-width: 100%; overflow: hidden; border-radius: var(--radius); display: block; }
.feature-img-wrap img { width: 100%; max-width: 100%; height: auto; display: block; aspect-ratio: 16/9; object-fit: cover; }

/* ─── Scroll to top button ───────────────────── */
#back-top {
  position: fixed; bottom: 2rem; right: 2rem;
  background: var(--accent); color: #fff;
  width: 44px; height: 44px; border-radius: 50%;
  display: none; align-items: center; justify-content: center;
  font-size: 19px !important; z-index: 999; cursor: pointer;
  transition: background 0.2s;
}
#back-top:hover { background: var(--accent-dark); }