/* === Blok AI Capital — main.css === */
/* === joinblokai.org — Dark VC Theme === */

/* --- CSS Variables --- */
:root {
  --accent: #e74c3c;
  --accent-dark: #c0392b;
  --bg: #0d0f18;
  --bg-alt: #131625;
  --surface: #1a1d2e;
  --surface2: #222540;
  --border: rgba(255,255,255,0.08);
  --text: #e8eaf0;
  --text-muted: #8892b0;
  --nav-height: 72px;
  --radius: 8px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background-color: var(--bg) !important;
  color: var(--text) !important;
  font-family: 'Roboto', sans-serif !important;
  font-size: 18px !important;
  line-height: 1.9 !important;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

img { max-width: 100%; height: auto; }

a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: #ff6b5b; text-decoration: none; }

ul { list-style: none; margin: 0; padding: 0; }

h1, h2, h3, h4, h5, h6 {
  color: #ffffff;
  font-weight: 700;
  margin-top: 0;
}

h1 { font-size: 61px !important; line-height: 1.1 !important; }
h2 { font-size: 43px !important; line-height: 1.2 !important; }
h3 { font-size: 28px !important; line-height: 1.3 !important; font-weight: 600 !important; }
h4 { font-size: 22px; }

p { color: rgba(255,255,255,0.88); line-height: 1.8; margin-bottom: 1rem; }

/* --- 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;
  text-align: center;
}
#funding-bar a, #funding-bar strong, #funding-bar span { color: #ffffff !important; }
#funding-bar a:hover { color: rgba(255,255,255,0.8) !important; text-decoration: underline; }
#funding-bar button {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.85) !important;
  font-size: 18px;
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
}

/* --- Navigation (sidebar) --- */
.responsive-nav {
  display: none;
}

#menu-toggle {
  z-index: 1200;
  cursor: pointer;
  position: fixed;
  top: 0; left: 0;
  color: #ffffff;
  background-color: var(--accent);
  width: 66px;
  height: 66px;
  line-height: 66px;
  text-align: center;
  display: inline-block;
  font-size: 23px !important;
}

#menu-close {
  cursor: pointer;
  text-align: right;
  color: var(--accent);
  background-color: #ffffff;
  width: 100%;
  height: 66px;
  text-align: center;
  display: inline-block;
  line-height: 66px;
  font-size: 23px !important;
}

#menu {
  left: 0;
  background-color: var(--bg-alt);
  box-sizing: border-box;
  height: 100vh;
  max-height: 100vh !important;
  max-width: 80vw !important;
  min-width: 45px !important;
  outline: none;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  padding: 0;
  position: fixed !important;
  top: 0;
  height: 100vh;
  max-height: 100vh !important;
  width: 22%;
  will-change: transform;
  z-index: 1050 !important;
}

#menu .menu-inner {
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.menu-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem 0 2rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}
.menu-logo img { width: 40px; height: 40px; object-fit: contain; }
.menu-logo span {
  font-size: 15px !important;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.main-nav { flex: 1; }
.main-nav ul { display: block; }
.main-nav ul li { display: block; }
.main-nav ul li a {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 15px !important;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all 0.2s;
  border-bottom: none;
}
.main-nav ul li a:hover,
.main-nav ul li.active a {
  background: rgba(231,76,60,0.12);
  color: var(--accent);
}

.menu-footer-area {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  margin-top: 2rem;
}
.menu-footer-area p {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}

/* --- Page Layout --- */
#page-wrapper {
  background-color: var(--bg);
  width: 78%;
  margin-left: 22%;
  min-height: 100vh;
}

.page-top {
  padding-top: var(--nav-height, 72px);
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* --- Hero Section --- */
#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;
  padding: 6rem 2rem;
}
#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 h1 { color: #ffffff; margin-bottom: 1.2rem; text-shadow: 0 2px 8px rgba(0,0,0,0.4); }
#hero p { color: rgba(255,255,255,0.88); font-size: 18px !important; max-width: 600px; }

.hero-content { max-width: 700px; }
.hero-badge {
  display: inline-block;
  background: rgba(231,76,60,0.15);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 13px !important;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4em 1em;
  border-radius: 2em;
  margin-bottom: 1.5rem;
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }

/* --- Buttons --- */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #ffffff;
  padding: 0.75em 2em;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px !important;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: var(--accent-dark); color: #ffffff; }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: #ffffff;
  padding: 0.75em 2em;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px !important;
  border: 2px solid rgba(255,255,255,0.6);
  transition: all 0.2s;
  cursor: pointer;
}
.btn-outline:hover { border-color: #ffffff; color: #ffffff; background: rgba(255,255,255,0.05); }

/* --- Section Styles --- */
.section {
  padding: 80px 0;
}
.section-dark {
  background-color: var(--bg-alt);
}
.section-alt {
  background-color: var(--surface);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-label {
  display: inline-block;
  font-size: 13px !important;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.section-header h2 { color: #ffffff; margin-bottom: 1rem; }
.section-header p { color: var(--text-muted); max-width: 580px; margin: 0 auto; font-size: 16px !important; }

/* --- Stats Bar --- */
.stats-bar {
  background-color: var(--surface2);
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  text-align: center;
}
.stat-item .stat-num {
  display: block;
  font-size: 40px !important;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.stat-item .stat-label {
  display: block;
  font-size: 14px !important;
  color: var(--text-muted);
  margin-top: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* --- Feature/Service Cards --- */
.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;
  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.35);
  border-color: rgba(231,76,60,0.3);
}
.feature-icon {
  width: 52px;
  height: 52px;
  background: rgba(231,76,60,0.12);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  color: var(--accent);
  font-size: 22px !important;
}
.feature-card h3 { color: #ffffff; margin-bottom: 0.75rem; font-size: 18px !important; }
.feature-card p { color: var(--text-muted); font-size: 15px !important; margin: 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: 1.8rem 2rem;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.portfolio-card:hover {
  transform: translateY(-3px);
  border-color: rgba(231,76,60,0.4);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.portfolio-name {
  font-size: 19px !important;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.3rem;
}
.portfolio-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}
.portfolio-amount {
  font-size: 22px !important;
  font-weight: 800;
  color: var(--accent);
}
.portfolio-round {
  font-size: 12px !important;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(231,76,60,0.12);
  border: 1px solid rgba(231,76,60,0.3);
  color: var(--accent);
  padding: 0.2em 0.7em;
  border-radius: 2em;
}
.portfolio-desc { color: var(--text-muted); font-size: 15px !important; margin: 0; }

/* --- Team Cards --- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}
.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 1.5rem 2rem;
  text-align: center;
  transition: transform 0.2s, border-color 0.2s;
}
.team-card:hover {
  transform: translateY(-3px);
  border-color: rgba(231,76,60,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: #ffffff; margin-bottom: 0.25rem; font-size: 18px !important; }
.team-role {
  font-size: 14px !important;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.team-bio { color: var(--text-muted); font-size: 14px !important; line-height: 1.65; margin: 0; }

/* --- About Page --- */
.page-hero {
  background-image: url('../images/about-hero.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: 360px;
  display: flex;
  align-items: flex-end;
  padding: 4rem 2rem;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.58);
  z-index: 0;
  pointer-events: none;
}
.page-hero > * { position: relative; z-index: 2; }
.page-hero h1 { color: #ffffff; font-size: 43px !important; margin: 0; }
.page-hero .hero-sub { color: rgba(255,255,255,0.82); font-size: 16px !important; margin: 0.5rem 0 0; }

/* Spotlight two-col */
.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: rgba(255,255,255,0.88); }
.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);
}

/* Investors / Backed By */
.investors-section {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  margin: 2rem 0;
}
.investors-section h3 { color: var(--accent); margin-bottom: 1rem; font-size: 13px !important; text-transform: uppercase; letter-spacing: 0.12em; }
.investors-section .anchor-firm { font-size: 18px !important; font-weight: 700; color: #ffffff; }
.investors-section .funding-detail { color: var(--text-muted); font-size: 15px !important; margin: 0; }

/* Values list */
.values-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 1.5rem; }
.value-item { display: flex; align-items: flex-start; gap: 0.75rem; }
.value-icon { color: var(--accent); font-size: 19px !important; margin-top: 0.2rem; flex-shrink: 0; }
.value-title { font-weight: 700; color: #ffffff; margin-bottom: 0.25rem; font-size: 15px !important; }
.value-desc { color: var(--text-muted); font-size: 14px !important; margin: 0; }

/* --- Insights Shell --- */
.insights-shell {
  padding: 4rem 2rem;
  text-align: center;
}
.insights-shell p { color: var(--text-muted); }

/* --- Contact Page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}
.contact-info h3 { color: #ffffff; margin-bottom: 1rem; }
.contact-info p { color: var(--text-muted); font-size: 15px !important; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.2rem;
}
.contact-detail .fa {
  color: var(--accent);
  font-size: 16px !important;
  margin-top: 0.3rem;
  width: 20px;
  text-align: center;
}
.contact-detail p { color: var(--text-muted); margin: 0; font-size: 15px !important; }

.contact-form .form-group { margin-bottom: 1.2rem; }
.contact-form label {
  display: block;
  font-size: 14px !important;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  background: var(--surface);
  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 input::placeholder,
.contact-form textarea::placeholder { color: var(--text-muted); opacity: 0.7; }

/* --- Footer --- */
#footer {
  background-color: #080a10;
  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: 14px !important;
  font-weight: 700 !important;
  margin: 0 0 1em !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
#footer p {
  color: var(--text-muted);
  font-size: 16px !important;
  line-height: 1.7;
  margin: 0;
}
.footer-brand-name {
  font-size: 17px !important;
  font-weight: 700;
  color: #ffffff !important;
  margin-bottom: 0.5rem !important;
}
.footer-nav { list-style: none; margin: 0; padding: 0; }
.footer-nav li { margin-bottom: 0.5em; display: block; }
.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;
  background: var(--surface2);
  border-top: 1px solid var(--border);
  padding: 1.2rem 2rem;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
#cookie-banner p {
  flex: 1;
  min-width: 200px;
  font-size: 14px !important;
  color: var(--text-muted);
  margin: 0;
}
#cookie-banner a { color: var(--accent); }
.cookie-btn {
  background: var(--accent);
  color: #fff !important;
  border: none;
  border-radius: var(--radius);
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.cookie-btn.decline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted) !important;
}

/* --- CTA Strip --- */
.cta-strip {
  background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 100%);
  padding: 4rem 2rem;
  text-align: center;
}
.cta-strip h2 { color: #ffffff !important; font-size: 32px !important; margin-bottom: 0.75rem; }
.cta-strip p { color: rgba(255,255,255,0.9); margin-bottom: 1.5rem; }

/* --- Page Hero (shared, non-home pages) --- */
.page-hero-plain {
  background-color: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 4rem 2rem 3rem;
}
.page-hero-plain h1 { color: #ffffff; font-size: 43px !important; }
.page-hero-plain p { color: var(--text-muted); max-width: 600px; }

/* --- Typography overrides (MANDATORY) --- */
body { font-size: 18px !important; }
h1 { font-size: 61px !important; }
h2 { font-size: 43px !important; }
h3 { font-size: 28px !important; }
nav a, .main-nav ul li a { font-size: 15px !important; }

/* --- Responsive --- */
@media (max-width: 1280px) {
  #page-wrapper { width: 78%; margin-left: 22%; }
}

@media (max-width: 845px) {
  .responsive-nav { display: block; }
  #menu-toggle { display: inline-block; }
  #menu-close { display: inline-block; }
  #menu {
    width: 300px;
    transform: translateX(-100%) !important;
    transition: transform 233ms cubic-bezier(0, 0, 0.21, 1);
    left: 0;
  }
  #menu.open {
    transform: translateX(0) !important;
  }
  #page-wrapper { width: 100%; margin-left: 0; }
  h1 { font-size: 42px !important; }
  h2 { font-size: 30px !important; }
  h3 { font-size: 22px !important; }
  .contact-grid { grid-template-columns: 1fr; }
  .spotlight-section { grid-template-columns: 1fr; gap: 2em; }
  .values-list { grid-template-columns: 1fr; }
  #footer .inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  #footer .inner { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  #cookie-banner { flex-direction: column; align-items: flex-start; }
}