/*
 * Lucidean Capital — main.css
 * Template base: 2103 Central (Bootstrap 4)
 * Theme: dark
 * Accent: #1abc9c
 */

/* ── CSS Variables ──────────────────────────────────── */
:root {
  --accent:       #1abc9c;
  --accent-dark:  #148f77;
  --bg:           #0d1520;
  --bg-alt:       #111c2d;
  --surface:      #162032;
  --surface-alt:  #1a2740;
  --border:       rgba(255,255,255,0.08);
  --text:         #e8eaf0;
  --text-muted:   #8fa3b8;
  --nav-height:   72px;
  --radius:       8px;
}

/* ── Reset / Base ───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

img { max-width: 100%; }

body {
  font-family: 'Open Sans', Helvetica, Arial, sans-serif;
  font-size: 18px !important;
  line-height: 1.85;
  background-color: var(--bg) !important;
  color: var(--text) !important;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1 { font-size: 61px !important; line-height: 1.1; font-weight: 700; 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; color: rgba(255,255,255,0.88); }
a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: #1abc9c; }

ul { padding-left: 1.2rem; }

/* ── Funding Bar ────────────────────────────────────── */
#funding-bar {
  display: none;
  position: fixed !important;
  top: 0; left: 0; right: 0;
  z-index: 1100;
  background: var(--accent);
  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 { text-decoration: underline; }
#funding-bar button {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.85) !important;
  font-size: 18px;
  cursor: pointer;
  padding: 0 0 0 1rem;
  line-height: 1;
}

/* ── Navigation ─────────────────────────────────────── */
#site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(13,21,32,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  padding: 0 5%;
  transition: top 0.2s ease;
}
#site-nav .nav-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-brand img { height: 32px; }
.nav-brand-text { font-size: 18px !important; font-weight: 700; color: #ffffff; }

.nav-links { list-style: none; margin: 0; padding: 0; display: flex; gap: 2rem; align-items: center; }
.nav-links li a {
  font-size: 15px !important;
  font-weight: 500;
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links li a:hover,
.nav-links li.active a { color: var(--accent); }

.nav-cta {
  background: var(--accent);
  color: #ffffff !important;
  padding: 8px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px !important;
}
.nav-cta:hover { background: var(--accent-dark); color: #ffffff !important; }

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 22px;
  cursor: pointer;
  padding: 4px 8px;
}

/* ── Page Padding ───────────────────────────────────── */
.page-top { padding-top: var(--nav-height); }

/* ── Container ──────────────────────────────────────── */
.container, .lc-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
  box-sizing: border-box;
}

/* ── Hero ───────────────────────────────────────────── */
#hero {
  background-image: linear-gradient(rgba(0,0,0,0.52), rgba(0,0,0,0.52)), 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;
  min-height: 600px;
  display: flex;
  align-items: center;
  padding: 120px 5% 80px;
}
#hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.10);
  z-index: 0;
  pointer-events: none;
}
#hero > * { position: relative; z-index: 2; }

.hero-inner { max-width: 740px; }
.hero-label {
  display: inline-block;
  font-size: 13px !important;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.2rem;
}
#hero h1 { color: #ffffff; margin-bottom: 1rem; }
#hero p { color: rgba(255,255,255,0.88); font-size: 18px !important; max-width: 600px; margin-bottom: 2rem; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── Page Hero (inner pages) ────────────────────────── */
.page-hero {
  background-image: url('../images/about-hero.jpg');
  background-size: cover;
  background-position: center;
  background-color: rgba(10,15,40,0.40);
  background-blend-mode: multiply;
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  padding: 80px 5%;
}
.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: 48px !important; }
.page-hero p { color: rgba(255,255,255,0.82); }

/* ── Buttons ─────────────────────────────────────────── */
.btn-primary {
  background: var(--accent) !important;
  color: #ffffff !important;
  border: none;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px !important;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
  text-decoration: none;
}
.btn-primary:hover { background: var(--accent-dark) !important; transform: translateY(-2px); color: #ffffff !important; }

.btn-outline {
  background: transparent;
  color: rgba(255,255,255,0.9) !important;
  border: 2px solid rgba(255,255,255,0.5);
  padding: 12px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px !important;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  display: inline-block;
  text-decoration: none;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent) !important; background: rgba(26,188,156,0.08); }

/* ── Section Basics ─────────────────────────────────── */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--surface); }
.section-cta { background: var(--accent-dark); padding: 64px 0; }

.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.8rem;
}
.section-header h2 { color: #ffffff; margin-bottom: 1rem; }
.section-header p { color: var(--text-muted); max-width: 600px; margin: 0 auto; font-size: 16px !important; }

/* ── Stats Bar ──────────────────────────────────────── */
.stats-bar { background: var(--surface); padding: 48px 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 { font-size: 38px !important; font-weight: 700; color: var(--accent); line-height: 1; margin-bottom: 0.4rem; }
.stat-label { font-size: 14px !important; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }

/* ── Cards ───────────────────────────────────────────── */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.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 12px 28px rgba(0,0,0,0.25); }
.card-icon { font-size: 32px !important; color: var(--accent); margin-bottom: 1rem; }
.card h3 { color: #ffffff; margin-bottom: 0.6rem; font-size: 18px !important; }
.card p { color: var(--text-muted); font-size: 15px !important; margin: 0; }

/* ── Feature Section (2-col) ─────────────────────────── */
.feature-split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.feature-split.reverse { }
.feature-split-text h2 { color: #ffffff; margin-bottom: 1rem; }
.feature-split-text p { color: rgba(255,255,255,0.82); margin-bottom: 1.5rem; }
.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li { padding: 6px 0 6px 1.8rem; position: relative; color: rgba(255,255,255,0.82); font-size: 15px !important; }
.feature-list li::before { content: ''; position: absolute; left: 0; top: 13px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

.feature-img-wrap { width: 100%; max-width: 100%; overflow: hidden; border-radius: 12px; display: block; }
.feature-img-wrap img { width: 100%; max-width: 100%; height: auto; display: block; aspect-ratio: 16/9; object-fit: cover; }

/* ── Portfolio Section ──────────────────────────────── */
.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(-4px); box-shadow: 0 12px 28px rgba(0,0,0,0.25); }
.portfolio-card-name { font-size: 22px !important; font-weight: 700; color: #ffffff; margin-bottom: 0.3rem; }
.portfolio-amount { font-size: 32px !important; font-weight: 700; color: var(--accent); margin-bottom: 0.5rem; }
.portfolio-stage { display: inline-block; font-size: 12px !important; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); background: rgba(26,188,156,0.12); padding: 4px 12px; border-radius: 4px; margin-bottom: 1rem; }
.portfolio-desc { color: var(--text-muted); font-size: 15px !important; line-height: 1.6; }

/* ── 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 2rem;
  text-align: center;
}
.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.4rem;
}
.team-card h3 { color: #ffffff; font-size: 19px !important; margin-bottom: 0.3rem; }
.team-role { color: var(--accent); font-size: 14px !important; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 1rem; }
.team-bio { color: var(--text-muted); font-size: 15px !important; line-height: 1.65; margin: 0; }

/* ── Team Card Horizontal ────────────────────────────── */
.team-card.team-card--h {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 1.8em !important;
  padding: 1.8em 2em !important;
  text-align: left !important;
}
.team-card.team-card--h img { width:88px !important; height:88px !important; min-width:88px !important; margin:0 !important; border-radius:50% !important; max-width:88px !important; aspect-ratio:1/1 !important; }
.team-card.team-card--h .team-info { flex:1; min-width:0; }
@media (max-width: 600px) {
  .team-card.team-card--h { flex-direction:column !important; align-items:center !important; text-align:center !important; }
}

/* ── Insights / Blog Listing ─────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0,0,0,0.25); }
.blog-card-thumb { width: 100%; overflow: hidden; }
.blog-card-thumb img { width: 100%; aspect-ratio: 16/9; object-fit: cover; object-position: center; display: block; }
.blog-card-body { padding: 1.5rem; }
.blog-card-date { font-size: 13px !important; color: var(--text-muted); margin-bottom: 0.6rem; }
.blog-card-title { font-size: 17px !important; font-weight: 600; color: #ffffff !important; margin-bottom: 0.6rem; line-height: 1.4; }
.blog-card-excerpt { font-size: 14px !important; color: var(--text-muted); margin-bottom: 1rem; }
.blog-card-link { font-size: 14px !important; color: var(--accent); font-weight: 600; text-decoration: none; }
.blog-card-link:hover { color: var(--accent-dark); }

/* ── About / Story ───────────────────────────────────── */
.spotlight-section {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 4em;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4em 5%;
}
.story-text h2 { color: #ffffff; margin-bottom: 1rem; }
.story-text p { color: rgba(255,255,255,0.82); margin-bottom: 1.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; display: block; border-radius: var(--radius); }

/* ── Contact Form ────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 3fr 2fr; gap: 4rem; align-items: start; }
.contact-form-wrap { }
.form-group { margin-bottom: 1.4rem; }
.form-group label { display: block; font-size: 14px !important; font-weight: 600; color: var(--text); margin-bottom: 0.5rem; }
.form-control {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 15px !important;
  padding: 12px 16px;
  font-family: inherit;
  transition: border-color 0.2s;
}
.form-control:focus { outline: none; border-color: var(--accent); }
.form-control::placeholder { color: var(--text-muted); }
textarea.form-control { resize: vertical; min-height: 120px; }

.contact-info-box { }
.contact-info-box h3 { color: #ffffff; font-size: 21px !important; margin-bottom: 1.5rem; }
.contact-detail { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.2rem; }
.contact-detail i { color: var(--accent); font-size: 18px !important; margin-top: 4px; min-width: 20px; }
.contact-detail-text { }
.contact-detail-text strong { display: block; color: #ffffff; font-size: 14px !important; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 2px; }
.contact-detail-text span { color: var(--text-muted); font-size: 15px !important; }

/* ── VC Anchor / Backed by ───────────────────────────── */
.backedby-section { text-align: center; }
.backedby-section h2 { color: #ffffff; margin-bottom: 0.5rem; }
.backedby-name { font-size: 29px !important; font-weight: 700; color: var(--accent); margin-bottom: 0.5rem; }
.backedby-detail { color: var(--text-muted); }

/* ── CTA Section ─────────────────────────────────────── */
.cta-section { text-align: center; }
.cta-section h2 { color: #ffffff; margin-bottom: 1rem; }
.cta-section p { color: rgba(255,255,255,0.88); margin-bottom: 2rem; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ── Cookie Banner ───────────────────────────────────── */
#cookie-banner {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 10003;
  background: var(--surface-alt);
  border-top: 1px solid var(--border);
  padding: 1.2rem 5%;
  display: none;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.cookie-text { color: rgba(255,255,255,0.82); font-size: 14px !important; flex: 1; min-width: 200px; }
.cookie-text a { color: var(--accent); }
.cookie-btns { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.cookie-btn {
  padding: 10px 24px;
  border-radius: var(--radius);
  font-size: 14px !important;
  font-weight: 600;
  cursor: pointer;
  border: none;
  background: var(--accent);
  color: #ffffff;
  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: var(--accent); color: var(--accent); background: transparent; }

/* ── Footer ──────────────────────────────────────────── */
#footer {
  background-color: var(--surface);
  border-top: 1px solid var(--border);
  padding: 4em 2em 2em;
  text-align: left;
  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: 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-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; }
#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;
}

/* ── Page Wrapper ────────────────────────────────────── */
#page-wrapper { background-color: var(--bg) !important; }
#wrapper { background-color: var(--bg) !important; }
#main { background-color: var(--bg) !important; }

/* ── Typography overrides (specificity) ─────────────── */
body h1, body h2, body h3 { color: #ffffff; }
body p, body li { color: rgba(255,255,255,0.88); }

/* ── Loader (keep from template) ─────────────────────── */
#loader-wrapper {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 2000;
}
#loader {
  display: block; position: relative; left: 50%; top: 50%;
  width: 150px; height: 150px; margin: -75px 0 0 -75px;
  border-radius: 50%; border: 3px solid transparent;
  border-top-color: var(--accent);
  animation: spin 2s linear infinite; z-index: 1001;
}
@keyframes spin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
#loader-wrapper .loader-section {
  position: fixed; top: 0; width: 51%; height: 100%;
  background: var(--bg); z-index: 1000; transform: translateX(0);
}
#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); }
.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); }
.loaded #loader { opacity: 0; transition: all 0.3s ease-out; }
.loaded #loader-wrapper { visibility: hidden; transform: translateY(-100%); transition: all 0.3s 1s ease-out; }
.no-js #loader-wrapper { display: none; }

/* ── Mobile Nav ──────────────────────────────────────── */
.nav-mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  background: rgba(13,21,32,0.98);
  border-bottom: 1px solid var(--border);
  z-index: 999;
  padding: 1rem 5%;
}
.nav-mobile-menu.open { display: block; }
.nav-mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.nav-mobile-menu ul li { border-bottom: 1px solid var(--border); }
.nav-mobile-menu ul li a { display: block; padding: 12px 0; font-size: 15px !important; color: rgba(255,255,255,0.85); font-weight: 500; }
.nav-mobile-menu ul li.active a, .nav-mobile-menu ul li a:hover { color: var(--accent); }

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 992px) {
  h1 { font-size: 48px !important; }
  h2 { font-size: 34px !important; }
  h3 { font-size: 22px !important; }
  .feature-split { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  #footer .inner { grid-template-columns: 1fr 1fr; padding: 0 2em; }
}

@media (max-width: 768px) {
  h1 { font-size: 36px !important; }
  h2 { font-size: 28px !important; }
  h3 { font-size: 20px !important; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .hero-btns { flex-direction: column; }
  .spotlight-section { grid-template-columns: 1fr; }
  #footer .inner { grid-template-columns: 1fr; padding: 0 1em; }
  #footer { padding: 3em 1em 1.5em; }
  .section { padding: 60px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
}
