/*
 * CoConstruct AI Ventures — main.css
 * Template: 2124 Vertex (adapted)
 * Theme: Dark | Accent: #e67e22
 */

/* ── CSS Variables ───────────────────────────────────── */
:root {
  --accent:       #e67e22;
  --accent-dark:  #c0601a;
  --bg:           #1a1a2e;
  --bg2:          #16213e;
  --bg3:          #0f3460;
  --surface:      #1e2a3a;
  --surface2:     #243347;
  --text:         #e8eaf0;
  --text-muted:   rgba(232,234,240,0.72);
  --border:       rgba(255,255,255,0.10);
  --radius:       8px;
  --nav-height:   72px;
  --sidebar-w:    0px;
}

/* ── Reset & Base ────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { overflow-x: hidden; }
body {
  font-family: 'Kumbh Sans', system-ui, sans-serif;
  font-size: 18px !important;
  line-height: 1.75;
  background-color: var(--bg) !important;
  color: var(--text) !important;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-dark); }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ── Typography ──────────────────────────────────────── */
h1 { font-size: 61px !important; line-height: 1.1 !important; font-weight: 700; color: #ffffff; }
h2 { font-size: 43px !important; line-height: 1.2 !important; font-weight: 700; color: #ffffff; margin-bottom: 1rem; }
h3 { font-size: 28px !important; line-height: 1.3 !important; font-weight: 600; color: #ffffff; }
h4 { font-size: 18px !important; font-weight: 600; color: #ffffff; }
p { line-height: 1.75; color: var(--text); }

/* ── Utility ─────────────────────────────────────────── */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 5%; }
.section-label {
  display: block; font-size: 13px !important; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 0.75rem;
}
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { margin-bottom: 1rem; }
.section-header p { color: var(--text-muted); max-width: 620px; margin: 0 auto; font-size: 17px !important; }
.page-top { padding-top: var(--nav-height); }
.text-accent { color: var(--accent) !important; }
.text-muted  { color: var(--text-muted) !important; }

/* ── Funding Bar ─────────────────────────────────────── */
#funding-bar {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1100;
  background-color: var(--accent-dark);
  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 a:hover { color: rgba(255,255,255,0.82) !important; }
#funding-bar button {
  background: transparent; border: none;
  color: rgba(255,255,255,0.85) !important;
  font-size: 18px !important; line-height: 1; padding: 0 4px; cursor: pointer;
}

/* ── Navbar ──────────────────────────────────────────── */
#site-nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(26,26,46,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-height);
  display: flex; align-items: center;
  transition: top 0.3s;
}
#site-nav .nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 5%;
}
.nav-brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.nav-brand img { height: 36px; width: auto; }
.nav-brand-name { font-size: 16px !important; font-weight: 700; color: #fff; letter-spacing: 0.02em; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a {
  font-size: 15px !important; font-weight: 500;
  color: var(--text-muted); text-decoration: none;
  transition: color 0.2s; padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover, .nav-links a.active {
  color: #ffffff; border-bottom-color: var(--accent);
}
.nav-cta {
  background: var(--accent); color: #ffffff !important;
  padding: 8px 20px !important; border-radius: 6px !important;
  font-weight: 600 !important; border-bottom: none !important;
}
.nav-cta:hover { background: var(--accent-dark) !important; color: #fff !important; }
.nav-toggle {
  display: none; background: transparent; border: none;
  color: var(--text); font-size: 21px !important; padding: 4px;
}

/* ── Mobile Nav ──────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-links { display: none; position: absolute; top: var(--nav-height); left: 0; right: 0;
    background: var(--bg2); flex-direction: column; padding: 1.5rem 5%; gap: 0;
    border-bottom: 1px solid var(--border); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.75rem 0; border-bottom: 1px solid var(--border); width: 100%; }
  .nav-links a:last-child { border-bottom: none; }
  .nav-toggle { display: block; }
}

/* ── Hero Section ────────────────────────────────────── */
#hero {
  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(10,15,40,0.35);
  background-blend-mode: multiply;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  min-height: 600px;
  padding: 6rem 5% 5rem;
  text-align: center;
}
#hero::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(0,0,0,0.48); z-index: 0; pointer-events: none;
}
#hero > * { position: relative; z-index: 2; }
.hero-inner { max-width: 860px; margin: 0 auto; }
.hero-tag {
  display: inline-block; background: rgba(230,126,34,0.18);
  color: var(--accent); font-size: 13px !important; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 6px 16px; border-radius: 20px; margin-bottom: 1.5rem;
  border: 1px solid rgba(230,126,34,0.35);
}
#hero h1 { color: #ffffff; text-shadow: 0 2px 10px rgba(0,0,0,0.4); margin-bottom: 1.5rem; }
.hero-subtitle {
  font-size: 18px !important; color: rgba(255,255,255,0.82) !important;
  max-width: 620px; margin: 0 auto 2.5rem; line-height: 1.7;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Page Hero (inner pages) ─────────────────────────── */
.page-hero {
  background-image: linear-gradient(rgba(0,0,0,0.60), rgba(0,0,0,0.60)), url('../images/about-hero.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  min-height: 320px;
  display: flex; align-items: center;
  padding: 5rem 5% 3rem;
}
.page-hero::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(0,0,0,0.40); z-index: 0; pointer-events: none;
}
.page-hero > * { position: relative; z-index: 2; }
.page-hero h1 { font-size: 43px !important; color: #ffffff; margin-bottom: 0.5rem; }
.page-hero p { color: rgba(255,255,255,0.82); font-size: 17px !important; }

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-block; padding: 0.75em 2.2em;
  border-radius: 6px; font-weight: 600; font-size: 15px !important;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  cursor: pointer; line-height: 1.4; text-decoration: none;
}
.btn-primary { background: var(--accent); color: #ffffff; border: 2px solid var(--accent); }
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn-outline { background: transparent; border: 2px solid rgba(255,255,255,0.65); color: #ffffff; }
.btn-outline:hover { border-color: #fff; color: #fff; }
.btn-sm { padding: 0.55em 1.4em; font-size: 14px !important; }

/* ── Stats Bar ───────────────────────────────────────── */
.stats-bar {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0;
}
.stats-bar .container { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: space-around; align-items: center; }
.stat-item { text-align: center; padding: 0.5rem 1.5rem; }
.stat-number { font-size: 32px !important; font-weight: 800; color: var(--accent); line-height: 1.1; }
.stat-label { font-size: 13px !important; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 0.25rem; }

/* ── Feature Grid ────────────────────────────────────── */
.section { padding: 5rem 0; }
.section-alt { background: var(--bg2); }
.section-dark { background: var(--bg3); }

.features-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.75rem;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.25); border-color: rgba(230,126,34,0.35); }
.feature-icon { font-size: 32px !important; color: var(--accent); margin-bottom: 1.2rem; }
.feature-card h3 { margin-bottom: 0.75rem; font-size: 20px !important; }
.feature-card p { color: var(--text-muted); font-size: 15px !important; margin: 0; }

/* ── Portfolio Grid ──────────────────────────────────── */
.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(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.20); }
.portfolio-card h3 { font-size: 22px !important; margin-bottom: 0.5rem; }
.portfolio-meta { display: flex; gap: 0.75rem; flex-wrap: wrap; margin: 0.75rem 0 1rem; }
.badge {
  display: inline-block; background: rgba(230,126,34,0.15);
  color: var(--accent); font-size: 12px !important; font-weight: 600;
  padding: 3px 10px; border-radius: 12px; border: 1px solid rgba(230,126,34,0.3);
}
.badge-sector {
  background: rgba(255,255,255,0.06);
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.portfolio-amount { font-size: 22px !important; font-weight: 800; color: var(--accent); margin: 0.5rem 0 0.25rem; }
.portfolio-card p { color: var(--text-muted); font-size: 15px !important; margin: 0.5rem 0 0; }

/* ── 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: 2.5rem 2rem;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.team-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.20); }
.team-card img {
  width: 100%; max-width: 160px; aspect-ratio: 1 / 1;
  border-radius: var(--radius); object-fit: cover; object-position: 50% 10%;
  display: block; margin: 0 auto 1.5rem;
  border: 3px solid rgba(230,126,34,0.3);
}
.team-card h3 { font-size: 22px !important; margin-bottom: 0.25rem; }
.team-role { font-size: 14px !important; color: var(--accent); font-weight: 600; margin-bottom: 1rem; display: block; }
.team-card .bio { color: var(--text-muted); font-size: 15px !important; line-height: 1.65; margin: 0; }

/* ── Insights / Blog Cards ───────────────────────────── */
.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;
  display: flex; flex-direction: column;
}
.insight-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.20); }
.card-thumb {
  width: 100%; overflow: hidden;
}
.card-thumb img {
  width: 100%; aspect-ratio: 16 / 9;
  object-fit: cover; object-position: center;
  display: block; transition: transform 0.3s;
}
.insight-card:hover .card-thumb img { transform: scale(1.04); }
.card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.card-date { font-size: 13px !important; color: var(--text-muted); margin-bottom: 0.5rem; }
.card-body h3 { font-size: 20px !important; margin-bottom: 0.75rem; }
.card-body p { color: var(--text-muted); font-size: 15px !important; line-height: 1.6; flex: 1; margin: 0 0 1rem; }
.card-body a { color: var(--accent); font-size: 14px !important; font-weight: 600; }

/* ── About / Two Column ──────────────────────────────── */
.spotlight-section {
  display: grid; grid-template-columns: 3fr 2fr; gap: 4rem;
  align-items: start; max-width: 1200px; margin: 0 auto; padding: 4rem 5%;
}
.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; display: block; border-radius: var(--radius); }
@media (max-width: 768px) { .spotlight-section { grid-template-columns: 1fr; } }

/* ── Values List ─────────────────────────────────────── */
.values-list { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 1.5rem; }
.value-item { display: flex; gap: 1rem; align-items: flex-start; }
.value-icon { color: var(--accent); font-size: 21px !important; flex-shrink: 0; margin-top: 2px; }
.value-item h4 { margin-bottom: 0.25rem; font-size: 16px !important; }
.value-item p { color: var(--text-muted); font-size: 14px !important; margin: 0; }

/* ── Contact Form ────────────────────────────────────── */
.contact-section { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
@media (max-width: 768px) { .contact-section { grid-template-columns: 1fr; } }
.contact-info h3 { font-size: 24px !important; margin-bottom: 1.5rem; }
.contact-detail { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.5rem; }
.contact-detail i { color: var(--accent); font-size: 18px !important; margin-top: 3px; flex-shrink: 0; }
.contact-detail span { color: var(--text-muted); line-height: 1.6; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-size: 14px !important; color: var(--text-muted); margin-bottom: 0.5rem; font-weight: 500; }
.form-control {
  width: 100%; background: var(--surface);
  border: 1px solid var(--border); border-radius: 6px;
  color: var(--text); font-family: inherit; font-size: 15px !important;
  padding: 0.75rem 1rem; transition: border-color 0.2s;
}
.form-control:focus { outline: none; border-color: var(--accent); }
textarea.form-control { resize: vertical; min-height: 130px; }

/* ── CTA Section ─────────────────────────────────────── */
.cta-section {
  background: var(--bg3); border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 4.5rem 0; text-align: center;
}
.cta-section h2 { color: #ffffff !important; margin-bottom: 1rem; }
.cta-section p { color: rgba(255,255,255,0.80) !important; max-width: 600px; margin: 0 auto 2rem; }

/* ── Insights Shell ──────────────────────────────────── */
.shell-notice {
  background: var(--surface); border: 1px solid rgba(230,126,34,0.3);
  border-radius: var(--radius); padding: 2rem; margin-bottom: 2rem;
  color: var(--text-muted); font-size: 15px !important; text-align: center;
}

/* ── Footer ──────────────────────────────────────────── */
#footer {
  background-color: var(--bg2);
  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: 1400px; margin: 0 auto;
  padding: 0 5%; align-items: start; box-sizing: border-box;
}
#footer h2 {
  color: #ffffff; font-size: 18px !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 .brand-desc { margin-top: 0.5rem; }
.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: #ffffff; }
#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 {
  display: none; position: fixed; bottom: 1.5rem; left: 1.5rem;
  right: 1.5rem; z-index: 9999;
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: 0 8px 32px rgba(0,0,0,0.45);
  padding: 1.5rem 2rem; max-width: 680px; margin: 0 auto;
}
.cookie-row { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.cookie-text { flex: 1; font-size: 14px !important; color: var(--text-muted); line-height: 1.55; }
.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 20px;
  font-size: 14px; cursor: pointer; transition: border-color 0.2s, color 0.2s;
}
#cookie-decline:hover { border-color: rgba(255,255,255,0.4); color: var(--text); }

/* ── Page Loader ─────────────────────────────────────── */
#loader-wrapper {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 9998;
  pointer-events: none;
}
#loader-wrapper .loader-section {
  position: fixed; top: 0; width: 51%; height: 100%;
  background: var(--bg); z-index: 9997;
}
#loader-wrapper .loader-section.section-left { left: 0; }
#loader-wrapper .loader-section.section-right { right: 0; }
.loaded #loader-wrapper .loader-section.section-left {
  transform: translateX(-100%);
  transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
}
.loaded #loader-wrapper .loader-section.section-right {
  transform: translateX(100%);
  transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
}
.loaded #loader-wrapper { visibility: hidden; transition: all 0.3s 1s ease-out; }

/* ── Investors Section ───────────────────────────────── */
.investors-section { padding: 3.5rem 0; background: var(--bg2); }
.investor-name {
  font-size: 19px !important; font-weight: 700; color: var(--accent);
  letter-spacing: 0.03em; margin-bottom: 0.25rem;
}
.investor-note { color: var(--text-muted); font-size: 15px !important; }

/* ── Misc ────────────────────────────────────────────── */
.divider { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

/* ── R-IMG-OVERFLOW1 global safeguard ────────────────── */
img { max-width: 100%; }
.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; }

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 992px) {
  h1 { font-size: 48px !important; }
  h2 { font-size: 36px !important; }
  h3 { font-size: 24px !important; }
  .features-grid, .portfolio-grid, .team-grid, .insights-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
  .contact-section { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  h1 { font-size: 36px !important; }
  h2 { font-size: 28px !important; }
  h3 { font-size: 22px !important; }
  body { font-size: 16px !important; }
  .hero-actions { flex-direction: column; align-items: center; }
  .section { padding: 3rem 0; }
  .stats-bar .container { flex-direction: column; gap: 1.5rem; }
  .team-grid { grid-template-columns: 1fr; }
}