/* =========================================================
   Moberg Analytics Ventures — main.css
   ========================================================= */

/* -- CSS Variables --------------------------------------- */
:root {
  --accent: #e67e22;
  --accent-dark: #cf6d17;
  --bg: #1a1c24;
  --surface: #22263a;
  --surface2: #2a2f45;
  --text: #e8eaf0;
  --text-muted: #8a90a8;
  --border: rgba(255,255,255,0.08);
  --radius: 10px;
  --nav-height: 72px;
  --font: "Kumbh Sans", system-ui, sans-serif;
}

/* -- Reset & Base ---------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 18px !important;
  line-height: 1.85;
  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; }

/* -- Typography ------------------------------------------ */
h1 { font-size: 61px !important; line-height: 1.1; font-weight: 800; color: #ffffff; }
h2 { font-size: 43px !important; line-height: 1.2; font-weight: 700; color: #ffffff; }
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; margin-bottom: 1.4rem; color: var(--text-muted); }
p:last-child { margin-bottom: 0; }

/* -- Layout Helpers -------------------------------------- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  box-sizing: border-box;
}
.section { padding: 80px 0; background-color: var(--bg); }
.section-alt { padding: 80px 0; background-color: var(--surface); }
.section-dark { padding: 80px 0; background-color: var(--surface2); }
.page-top { padding-top: var(--nav-height); }

/* -- Section Headers ------------------------------------- */
.section-label {
  display: inline-block;
  font-size: 13px !important;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.section-title { color: #ffffff; margin-bottom: 1rem; }
.section-subtitle {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  text-align: center;
  font-size: 17px !important;
}
.section-header { text-align: center; margin-bottom: 3rem; }

/* -- 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: 1.2rem;
  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-close {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.8) !important;
  font-size: 18px !important;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

/* -- Navbar ---------------------------------------------- */
#site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(26,28,36,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  padding: 0 2rem;
  justify-content: space-between;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #ffffff;
  font-weight: 700;
  font-size: 18px !important;
  text-decoration: none;
}
.nav-brand img { width: 32px; height: 32px; }
.nav-brand:hover { color: var(--accent); }
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0;
}
.nav-menu li a {
  font-size: 15px !important;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0 1rem;
  display: block;
  line-height: var(--nav-height);
  transition: color 0.2s;
}
.nav-menu li a:hover,
.nav-menu li.active a { color: var(--accent); }
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 21px !important;
  cursor: pointer;
}

/* -- Hero Section ---------------------------------------- */
#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(10,15,40,0.35);
  background-blend-mode: multiply;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: var(--nav-height);
}
#hero .hero-inner {
  max-width: 820px;
  padding: 80px 2rem;
}
#hero h1 { color: #ffffff; text-shadow: 0 2px 8px rgba(0,0,0,0.3); margin-bottom: 1.25rem; }
#hero .hero-sub { color: rgba(255,255,255,0.88); font-size: 19px !important; max-width: 600px; margin-bottom: 2.5rem; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Page Hero (non-homepage) */
.page-hero {
  min-height: 300px;
  background-image: linear-gradient(rgba(0,0,0,0.62),rgba(0,0,0,0.62)), url("../images/about-hero.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: 60px 0 40px;
}
.page-hero h1 { color: #ffffff; font-size: 43px !important; margin-bottom: 0.5rem; }
.page-hero p  { color: rgba(255,255,255,0.8); margin-bottom: 0; font-size: 17px !important; }

/* -- Buttons --------------------------------------------- */
.btn {
  display: inline-block;
  padding: 0.75em 2em;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px !important;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  text-decoration: none;
  border: 2px solid transparent;
}
.btn-primary { background: var(--accent); color: #ffffff; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn-outline { background: transparent; border-color: rgba(255,255,255,0.5); color: #ffffff; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 0.5em 1.4em; font-size: 14px !important; }

/* -- Stats Bar ------------------------------------------- */
.stats-bar { background: var(--surface2); padding: 40px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 2rem; text-align: center; }
.stat-number { font-size: 38px !important; font-weight: 800; color: var(--accent); line-height: 1.1; }
.stat-label { color: var(--text-muted); font-size: 14px !important; text-transform: uppercase; letter-spacing: 0.06em; margin-top: 0.3rem; }

/* -- Cards ----------------------------------------------- */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.8rem; }
.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 10px 28px rgba(0,0,0,0.18); }
.card-icon {
  width: 52px; height: 52px;
  background: rgba(230,126,34,0.12);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem;
  color: var(--accent);
  font-size: 21px !important;
}
.card h3 { color: #ffffff; margin-bottom: 0.6rem; }
.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.8rem; }
.portfolio-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.8rem 2rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.portfolio-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(0,0,0,0.2); }
.portfolio-card h3 { color: #ffffff; margin-bottom: 0.4rem; font-size: 20px !important; }
.portfolio-amount { font-size: 26px !important; font-weight: 800; color: var(--accent); margin: 0.3rem 0; line-height: 1.2; }
.portfolio-stage {
  display: inline-block;
  font-size: 12px !important; font-weight: 700;
  letter-spacing: 0.07em; text-transform: uppercase;
  background: rgba(230,126,34,0.15); color: var(--accent);
  border-radius: 4px; padding: 2px 10px; margin-bottom: 0.8rem;
}
.portfolio-desc { color: var(--text-muted); font-size: 15px !important; margin-bottom: 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: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.team-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(0,0,0,0.2); }
.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-initial-avatar {
  width: 160px; height: 160px;
  border-radius: 8px;
  background: var(--surface2);
  display: none;
  align-items: center; justify-content: center;
  font-size: 40px !important; font-weight: 700;
  color: var(--accent);
  margin: 0 auto 1.2rem;
}
.team-card h3 { color: #ffffff; margin-bottom: 0.25rem; 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-card .bio { color: var(--text-muted); font-size: 15px !important; line-height: 1.7; margin-bottom: 0; }

/* -- About Page ------------------------------------------ */
.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: #ffffff; }
.story-text p { color: var(--text-muted); }
.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);
}
.value-list { margin-top: 1.5rem; list-style: none; padding: 0; }
.value-list li { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1rem; color: var(--text-muted); }
.value-list li i { color: var(--accent); margin-top: 0.2rem; flex-shrink: 0; }
.value-list li strong { color: var(--text); }

/* -- 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;
  display: flex; flex-direction: column;
}
.insight-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(0,0,0,0.2); }
.insight-thumb { width: 100%; overflow: hidden; }
.insight-thumb img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.insight-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.insight-body h3 { color: #ffffff; font-size: 16px !important; margin-bottom: 0.5rem; }
.insight-body p  { color: var(--text-muted); font-size: 14px !important; flex: 1; margin-bottom: 1rem; }
.insight-meta { font-size: 13px !important; color: var(--text-muted); margin-bottom: 0.5rem; }
.insight-link { font-size: 14px !important; font-weight: 600; color: var(--accent); }

/* -- Contact Page ---------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 4rem; align-items: start; }
.contact-info h3 { color: #ffffff; margin-bottom: 1.5rem; font-size: 21px !important; }
.contact-detail { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.contact-detail i { color: var(--accent); margin-top: 0.25rem; flex-shrink: 0; width: 1.2rem; text-align: center; }
.contact-detail p { color: var(--text-muted); font-size: 15px !important; margin-bottom: 0; }
.contact-detail strong { color: var(--text); display: block; margin-bottom: 0.15rem; }
.contact-form-wrap { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 2.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.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.5rem; text-transform: uppercase; letter-spacing: 0.05em; }
.form-control {
  width: 100%; padding: 0.75rem 1rem;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 6px; color: var(--text);
  font-family: var(--font); font-size: 16px !important;
  transition: border-color 0.2s;
}
.form-control:focus { outline: none; border-color: var(--accent); }
textarea.form-control { resize: vertical; min-height: 140px; }

/* -- Footer ---------------------------------------------- */
#footer {
  background-color: var(--surface) !important;
  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 2em;
  align-items: start;
  box-sizing: border-box;
}
#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 { color: var(--text-muted); font-size: 16px !important; line-height: 1.7; margin: 0; }
.footer-brand { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1rem; }
.footer-brand img { width: 28px; height: 28px; }
.footer-brand span { color: #ffffff; font-weight: 700; font-size: 16px !important; }
.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; }
.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(--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; gap: 1.5rem; flex-wrap: wrap;
}
.cookie-inner p { color: var(--text-muted); font-size: 14px !important; margin-bottom: 0; flex: 1; min-width: 200px; }
.cookie-inner a { color: var(--accent); }
.cookie-buttons { 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;
}
#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;
}
#cookie-decline:hover { color: var(--text); }

/* -- Investors ------------------------------------------- */
.investors-wrap { text-align: center; padding: 60px 0; }
.investor-badge {
  display: inline-flex; align-items: center; gap: 0.75rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1rem 2rem;
  color: var(--text); font-weight: 700; font-size: 18px !important;
}
.investor-badge i { color: var(--accent); font-size: 22px !important; }

/* -- Responsive ------------------------------------------ */
@media (max-width: 992px) {
  h1 { font-size: 44px !important; }
  h2 { font-size: 32px !important; }
  .contact-grid { grid-template-columns: 1fr; }
  .spotlight-section { grid-template-columns: 1fr; gap: 2em; padding: 3em 2em; }
}
@media (max-width: 768px) {
  h1 { font-size: 36px !important; }
  h2 { font-size: 28px !important; }
  h3 { font-size: 22px !important; }
  .nav-menu {
    display: none; position: absolute; top: var(--nav-height); left: 0; right: 0;
    background: rgba(26,28,36,0.99); flex-direction: column;
    padding: 1rem 0; border-bottom: 1px solid var(--border);
  }
  .nav-menu.open { display: flex; }
  .nav-menu li a { line-height: 1; padding: 0.85rem 1.5rem; }
  .nav-toggle { display: block; }
  .form-row { grid-template-columns: 1fr; }
  #footer .inner { grid-template-columns: 1fr 1fr; gap: 2em; }
  .hero-cta { flex-direction: column; }
}
@media (max-width: 480px) {
  #footer .inner { grid-template-columns: 1fr; }
  .cookie-inner { flex-direction: column; align-items: flex-start; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
