/* =======================================================
   Hilberts AI Capital — main.css
   Accent: #4f8ef7 | Theme: dark
   ======================================================= */

/* ── CSS Custom Properties ────────────────────────────── */
:root {
  --accent:        #4f8ef7;
  --accent-dark:   #2563eb;
  --bg:            #0d0f18;
  --bg2:           #131624;
  --surface:       #1a1f35;
  --surface2:      #1e2540;
  --border:        rgba(255,255,255,0.09);
  --text:          #e8eaf0;
  --text-muted:    #8892a4;
  --radius:        8px;
  --nav-height:    72px;
}

/* ── Reset / Base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
img { max-width: 100%; }

body {
  background-color: var(--bg) !important;
  color: var(--text) !important;
  font-size: 18px !important;
  line-height: 1.9;
  font-family: 'Lora', serif;
  overflow-x: hidden;
}

h1 { font-size: 61px !important; line-height: 1.1; font-weight: 700; }
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: 20px; font-weight: 600; }
h1,h2,h3,h4,h5,h6 {
  color: #ffffff;
  font-family: 'Merriweather', serif;
}
p { color: rgba(255,255,255,0.82); line-height: 1.85; }
a { color: var(--accent); text-decoration: none; transition: color .25s; }
a:hover { color: #7aabff; }

/* ── Layout helpers ───────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
  box-sizing: border-box;
}
.section { padding: 90px 0; }
.section-sm { padding: 60px 0; }
.page-top { padding-top: var(--nav-height); }

/* ── 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 button {
  color: rgba(255,255,255,0.85) !important;
  background: transparent;
  border: none;
  font-size: 18px;
  cursor: pointer;
  margin-left: 1rem;
  line-height: 1;
}

/* ── Navigation ───────────────────────────────────────── */
.navbar-default {
  background: rgba(13,15,24,0.96) !important;
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
  position: fixed !important;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
}
.navbar-default .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  padding: 0 5%;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
.navbar-default .navbar-header { display: flex; align-items: center; }
.navbar-default .navbar-brand {
  color: #ffffff !important;
  font-family: 'Merriweather', serif;
  font-weight: 700;
  font-size: 18px !important;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  height: auto;
  line-height: var(--nav-height);
}
.navbar-brand .logo-img {
  height: 30px;
  width: auto;
  vertical-align: middle;
}
.navbar-default .navbar-nav li a {
  color: rgba(255,255,255,0.78) !important;
  font-size: 15px !important;
  font-weight: 500;
  letter-spacing: .5px;
  padding: 0 18px !important;
  line-height: var(--nav-height) !important;
  display: block;
  transition: color .25s;
}
.navbar-default .navbar-nav li a:hover,
.navbar-default .navbar-nav .active > a,
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
  color: var(--accent) !important;
  background: transparent !important;
}
.navbar-default .navbar-toggle {
  border: 1px solid rgba(255,255,255,0.25) !important;
  background: transparent !important;
  margin-top: 0;
}
.navbar-default .navbar-toggle .icon-bar { background: #ffffff; }
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus { background: transparent !important; }

/* ── Hero Section ─────────────────────────────────────── */
#home {
  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;
  text-align: center;
}
#home::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 0;
  pointer-events: none;
}
#home > * { position: relative; z-index: 2; }
#home h1 { color: #ffffff !important; text-shadow: 0 2px 8px rgba(0,0,0,0.4); margin-bottom: .5rem; }
#home h4 { color: rgba(255,255,255,0.88) !important; font-size: 20px !important; font-weight: 400; letter-spacing: 1px; margin-bottom: 2rem; }
#home p  { color: rgba(255,255,255,0.82) !important; max-width: 640px; margin: 0 auto 2.5rem; }
#home .btn-accent {
  background: var(--accent);
  color: #ffffff;
  border: 2px solid var(--accent);
  border-radius: 6px;
  padding: 14px 36px;
  font-size: 15px;
  font-weight: 600;
  margin: 6px;
  display: inline-block;
  transition: all .25s;
  cursor: pointer;
}
#home .btn-accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #ffffff; }
#home .btn-outline {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.7);
  color: #ffffff;
  border-radius: 6px;
  padding: 14px 36px;
  font-size: 15px;
  font-weight: 600;
  margin: 6px;
  display: inline-block;
  transition: all .25s;
}
#home .btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* particles canvas */
#particles-js {
  position: absolute;
  width: 100%; height: 100%;
  top: 0; left: 0;
  z-index: 1;
  pointer-events: none;
}

/* ── Stat Bar ─────────────────────────────────────────── */
.stats-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 0;
}
.stats-bar .stats-inner {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}
.stat-item { text-align: center; }
.stat-number { font-size: 38px; font-weight: 700; color: var(--accent); display: block; line-height: 1; }
.stat-label { font-size: 13px; color: var(--text-muted); margin-top: 6px; text-transform: uppercase; letter-spacing: 1.5px; }

/* ── Section headings ─────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 60px; }
.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.section-header h2 { color: #ffffff; margin-bottom: 16px; }
.section-header p { color: var(--text-muted); max-width: 580px; margin: 0 auto; font-size: 17px; }

/* ── Feature Grid ─────────────────────────────────────── */
.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 .2s, box-shadow .2s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.3); }
.feature-card .icon {
  width: 52px; height: 52px;
  background: rgba(79,142,247,0.12);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem;
  color: var(--accent);
  font-size: 22px;
}
.feature-card h3 { color: #ffffff; margin-bottom: .6rem; font-size: 22px !important; }
.feature-card p { color: var(--text-muted); margin: 0; font-size: 16px; line-height: 1.7; }

/* ── Portfolio Cards ──────────────────────────────────── */
.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 .2s, box-shadow .2s;
}
.portfolio-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.3); }
.portfolio-card .co-name { font-size: 24px !important; font-weight: 700; color: #ffffff; margin-bottom: .4rem; }
.portfolio-card .co-sector {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: rgba(79,142,247,0.12);
  border-radius: 20px;
  padding: 3px 12px;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.portfolio-card .co-amount { font-size: 30px !important; font-weight: 700; color: var(--accent); margin-bottom: .3rem; }
.portfolio-card .co-round { font-size: 14px; color: var(--text-muted); margin-bottom: 1rem; }
.portfolio-card p { color: rgba(255,255,255,0.75); font-size: 15px; margin: 0; }

/* ── Page Hero ────────────────────────────────────────── */
.page-hero {
  position: relative;
  padding: 100px 0 80px;
  text-align: center;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { color: #ffffff; margin-bottom: 1rem; }
.page-hero p { color: var(--text-muted); max-width: 580px; margin: 0 auto; font-size: 18px; }

/* About hero image bg */
.about-hero-bg {
  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;
}
.about-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 0;
  pointer-events: none;
}
.about-hero-bg > * { position: relative; z-index: 1; }

/* ── Spotlight / Story section ────────────────────────── */
.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; margin-bottom: 1.2rem; }
.story-text p { color: rgba(255,255,255,0.82); }
.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; } }

/* ── Team Cards ───────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 2rem;
}
.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2em 1.5em;
  text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.team-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.3); }
.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.2rem;
}
.team-card h3 { color: #ffffff; margin-bottom: .3rem; font-size: 22px !important; }
.team-role { color: var(--accent); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: .8rem; display: block; }
.team-card .bio { color: var(--text-muted); font-size: 15px; line-height: 1.7; margin: 0; }

/* ── Contact ──────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: start;
}
.contact-info h3 { color: #ffffff; margin-bottom: 1.2rem; font-size: 22px !important; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 1.5rem; }
.contact-item .ci-icon {
  width: 44px; height: 44px; min-width: 44px;
  background: rgba(79,142,247,0.12);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: 18px;
}
.contact-item .ci-text strong { color: #ffffff; display: block; margin-bottom: 2px; font-size: 14px; }
.contact-item .ci-text span { color: var(--text-muted); font-size: 15px; }
.contact-form .form-group { margin-bottom: 1.4rem; }
.contact-form label { display: block; color: rgba(255,255,255,0.7); font-size: 13px; font-weight: 600; margin-bottom: 6px; text-transform: uppercase; letter-spacing: .5px; }
.contact-form .form-control {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: #ffffff;
  padding: 12px 16px;
  font-size: 16px;
  transition: border-color .25s;
  outline: none;
  display: block;
}
.contact-form .form-control:focus { border-color: var(--accent); }
.contact-form textarea.form-control { min-height: 140px; resize: vertical; }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }

/* ── Insights listing ─────────────────────────────────── */
.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 .2s, box-shadow .2s;
}
.insight-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.3); }
.insight-card .card-thumb { 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; color: var(--text-muted); margin-bottom: .5rem; }
.insight-card .card-title { font-size: 20px !important; font-weight: 600; color: #ffffff !important; margin-bottom: .8rem; line-height: 1.4; }
.insight-card .card-title a { color: #ffffff; }
.insight-card .card-title a:hover { color: var(--accent); }
.insight-card .card-excerpt { font-size: 15px; color: var(--text-muted); margin: 0; line-height: 1.65; }

/* ── Buttons ──────────────────────────────────────────── */
.btn-primary-accent {
  background: var(--accent);
  color: #ffffff !important;
  border: 2px solid var(--accent);
  border-radius: 6px;
  padding: 14px 36px;
  font-size: 16px;
  font-weight: 600;
  display: inline-block;
  transition: all .25s;
  cursor: pointer;
}
.btn-primary-accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #ffffff !important; }
.btn-outline-light {
  background: transparent;
  color: #ffffff !important;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 6px;
  padding: 14px 36px;
  font-size: 16px;
  font-weight: 600;
  display: inline-block;
  transition: all .25s;
}
.btn-outline-light:hover { border-color: var(--accent); color: var(--accent) !important; }

/* ── Footer ───────────────────────────────────────────── */
#footer {
  background-color: var(--surface);
  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 4em;
  align-items: start;
  box-sizing: border-box;
}
#footer h2 {
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 700;
  margin: 0 0 1em;
  letter-spacing: .12em;
  text-transform: uppercase;
}
#footer p { color: var(--text-muted) !important; font-size: 16px !important; line-height: 1.7; margin: 0; }
.footer-nav { list-style: none; margin: 0; padding: 0; }
.footer-nav li { margin-bottom: .5em; }
.footer-nav a { color: var(--text-muted); text-decoration: none; font-size: 16px !important; transition: color .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;
}
@media (max-width: 768px) { #footer .inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { #footer .inner { grid-template-columns: 1fr; padding: 0 1em; } }

/* ── Cookie Banner ────────────────────────────────────── */
#cookie-banner {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 10003;
  background: var(--surface2);
  border-top: 1px solid var(--border);
  padding: 20px 5%;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
#cookie-banner p { color: rgba(255,255,255,0.82) !important; font-size: 14px; margin: 0; flex: 1; min-width: 200px; }
#cookie-banner a { color: var(--accent); }
.cookie-btn-wrap { display: flex; gap: .7rem; flex-shrink: 0; }
#cookie-accept {
  background: var(--accent);
  color: #fff !important;
  border: none;
  border-radius: 4px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
#cookie-decline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted) !important;
  border-radius: 4px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

/* ── CTA Section ──────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--accent-dark) 0%, #1e40af 100%);
  padding: 80px 0;
  text-align: center;
}
.cta-section h2 { color: #ffffff !important; margin-bottom: 1rem; }
.cta-section p { color: rgba(255,255,255,0.88) !important; max-width: 560px; margin: 0 auto 2rem; }

/* ── Investors / VC anchor ────────────────────────────── */
.investors-section {
  background: var(--bg2);
  padding: 60px 0;
  text-align: center;
}
.investors-section h2 { color: #ffffff; margin-bottom: 1rem; }
.investors-section p { color: var(--text-muted); margin-bottom: .5rem; }
.vc-anchor { font-size: 22px; font-weight: 700; color: var(--accent); margin-top: 1.5rem; display: block; }

/* ── Preloader ────────────────────────────────────────── */
.preloader {
  position: fixed; top:0; left:0; width:100%; height:100%;
  z-index: 99999; display: flex; align-items: center; justify-content: center;
  background: var(--bg);
}
.sk-spinner-wordpress { width:40px; height:40px; border-radius:50%; background: var(--accent); position:relative;
  animation: sk-spin 1s linear infinite; }
.sk-inner-circle { display:block; background:#fff; width:16px; height:16px; border-radius:50%; position:absolute; top:5px; left:5px; }
@keyframes sk-spin { 0%{transform:rotate(0)} 100%{transform:rotate(360deg)} }

/* ── Back to top ──────────────────────────────────────── */
.go-top {
  position:fixed; bottom:2em; right:2em;
  width:40px; height:40px; line-height:38px;
  background:var(--surface); border:1px solid var(--border);
  border-radius:50%; color:#fff; text-align:center;
  font-size:18px; display:none; z-index:999; transition: background .25s;
}
.go-top:hover { background: var(--accent); color:#fff; }

/* ── R-THEME1 ─────────────────────────────────────────── */
#page-wrapper, #wrapper, #main { background-color: var(--bg) !important; }

/* ── Alt sections ─────────────────────────────────────── */
.section-alt { background: var(--bg2); }
.section-dark { background: var(--surface); }

/* ── Value list ───────────────────────────────────────── */
.value-list { list-style: none; padding: 0; margin: 0; }
.value-list li {
  display: flex; align-items: flex-start; gap: 12px;
  margin-bottom: 1.2rem; color: rgba(255,255,255,0.82);
  font-size: 16px;
}
.value-list li i { color: var(--accent); margin-top: 4px; flex-shrink: 0; }

/* ── Form submit btn ──────────────────────────────────── */
.btn-submit {
  background: var(--accent);
  color: #ffffff !important;
  border: none;
  border-radius: 6px;
  padding: 14px 40px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background .25s;
  display: inline-block;
}
.btn-submit:hover { background: var(--accent-dark); }

/* ── Mobile responsive ────────────────────────────────── */
@media (max-width: 768px) {
  h1 { font-size: 38px !important; }
  h2 { font-size: 30px !important; }
  h3 { font-size: 22px !important; }
  .section { padding: 60px 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .collapse.navbar-collapse { background: rgba(13,15,24,0.98); padding: 1rem 0; }
  .navbar-default .navbar-nav li a { line-height: 44px !important; padding: 0 24px !important; }
}
@media (max-width: 480px) {
  h1 { font-size: 30px !important; }
}
