/* ================================================================
   Elinuse AI Capital — main.css
   Dark VC theme | Accent: #2ecc71
   ================================================================ */

/* ── Variables ─────────────────────────────────────────────────── */
:root {
  --accent:       #2ecc71;
  --accent-dark:  #27ae60;
  --bg:           #0d1117;
  --surface:      #161b22;
  --surface2:     #1c2230;
  --border:       rgba(255,255,255,0.08);
  --text:         #e8eaf0;
  --text-muted:   #8b949e;
  --nav-height:   72px;
  --radius:       10px;
  --max-w:        1100px;
}

/* ── Reset ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: var(--accent); transition: color .2s; }
a:hover { color: var(--accent-dark); }
ul { list-style: none; }

/* ── Base ───────────────────────────────────────────────────────── */
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 18px !important;
  line-height: 1.9;
  color: var(--text) !important;
  background-color: var(--bg) !important;
  overflow-x: hidden;
}

/* ── Typography ─────────────────────────────────────────────────── */
h1 { font-size: 61px !important; line-height: 1.1; font-weight: 800; letter-spacing: -1px; }
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: 18px !important; font-weight: 600; line-height: 1.4; }
p  { line-height: 1.9; margin-bottom: 1.2rem; }
p:last-child { margin-bottom: 0; }

/* ── Layout ─────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}
.section { padding: 80px 0; }
.section-hero { padding: 120px 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-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;
}
#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; cursor: pointer; font-size: 18px; line-height: 1; }

/* ── Navbar ─────────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(13,17,23,0.95);
  backdrop-filter: blur(12px);
  padding: 0 5%;
  height: var(--nav-height);
  z-index: 1000;
  border-bottom: 1px solid var(--border);
  transition: top .3s ease;
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: var(--text) !important;
  font-weight: 700;
  font-size: 18px !important;
  text-decoration: none;
}
.nav-logo img { height: 28px; width: auto; }
.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav-links a {
  font-size: 15px !important;
  color: var(--text-muted);
  font-weight: 500;
  padding: .3rem 0;
  position: relative;
  transition: color .2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform .2s;
}
.nav-links a:hover,
.nav-links a.active { color: #fff; }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.mobile-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}
.mobile-menu span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: .3s;
}

/* ── Hero ────────────────────────────────────────────────────────── */
.hero {
  min-height: 600px;
  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;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,20,40,0.75) 0%, rgba(0,30,20,0.65) 100%);
  z-index: 0;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 0;
  pointer-events: none;
}
.hero > * { position: relative; z-index: 2; }
.hero-content {
  max-width: 820px;
  padding: 0 2rem;
}
.hero-content h1 { color: #ffffff; margin-bottom: 1.5rem; }
.hero-content p {
  font-size: 20px !important;
  color: rgba(255,255,255,0.88);
  margin-bottom: 2.5rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Page Hero (inner pages) */
.page-hero {
  min-height: 320px;
  background-color: var(--surface);
  background-image: url('../images/about-hero.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-blend-mode: multiply;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.58);
  z-index: 0;
}
.page-hero > * { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: 43px !important; }
.page-hero p  { color: rgba(255,255,255,0.82); font-size: 18px !important; margin-top: .8rem; }

/* ── Buttons ─────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: .75em 2em;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px !important;
  cursor: pointer;
  transition: background .2s, transform .2s, box-shadow .2s;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(46,204,113,.3);
}
.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,.5);
  color: #fff;
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: transparent;
}

/* ── Section Header ─────────────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 3rem; }
.section-label {
  display: inline-block;
  font-size: 12px !important;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .75rem;
}
.section-title { color: #fff; margin-bottom: 1rem; }
.section-subtitle {
  color: var(--text-muted);
  font-size: 16px !important;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Stats Bar ───────────────────────────────────────────────────── */
.stats-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 0;
}
.stats-bar .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
  text-align: center;
}
.stat-item .stat-num {
  font-size: 38px !important;
  font-weight: 800;
  color: var(--accent);
  display: block;
  line-height: 1;
}
.stat-item .stat-lbl {
  font-size: 13px !important;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
  margin-top: .4rem;
}

/* ── Cards ───────────────────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  transition: transform .2s, box-shadow .2s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,.3);
}
.card h3 { color: #fff; margin-bottom: .5rem; }
.card p  { color: var(--text-muted); }

/* Grid layouts */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }

/* ── Team Cards ─────────────────────────────────────────────────── */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.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,.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: #fff; font-size: 18px !important; margin-bottom: .25rem; }
.team-role { color: var(--accent); font-size: 14px !important; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .75rem; }
.team-bio { color: var(--text-muted); font-size: 14px !important; line-height: 1.6; }

/* ── Portfolio Cards ─────────────────────────────────────────────── */
.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.75rem;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,.3);
  border-color: var(--accent);
}
.portfolio-company { font-size: 19px !important; font-weight: 700; color: #fff; margin-bottom: .4rem; }
.portfolio-stage { display: inline-block; background: rgba(46,204,113,.15); color: var(--accent); font-size: 12px !important; font-weight: 700; padding: .2em .7em; border-radius: 4px; margin-bottom: .75rem; text-transform: uppercase; letter-spacing: .05em; }
.portfolio-amount { font-size: 24px !important; font-weight: 800; color: var(--accent); margin-bottom: .5rem; }
.portfolio-desc { color: var(--text-muted); font-size: 14px !important; line-height: 1.6; }
.portfolio-date { color: var(--text-muted); font-size: 13px !important; margin-top: .75rem; }

/* ── Insights Cards ──────────────────────────────────────────────── */
.insights-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.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,.3); }
.card-thumb {
  width: 100%;
  overflow: hidden;
}
.card-thumb img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  object-position: center;
  display: block;
  height: 200px;
}
.card-body { padding: 1.5rem; }
.card-meta { display: flex; gap: .75rem; align-items: center; margin-bottom: .75rem; }
.card-date { color: var(--text-muted); font-size: 13px !important; }
.card-tag { background: rgba(46,204,113,.12); color: var(--accent); font-size: 12px !important; font-weight: 700; padding: .15em .6em; border-radius: 4px; text-transform: uppercase; letter-spacing: .05em; }
.insight-card h3 { color: #fff; font-size: 16px !important; line-height: 1.45; margin-bottom: .6rem; }
.insight-card p  { color: var(--text-muted); font-size: 14px !important; line-height: 1.65; margin: 0; }

/* ── Contact Form ────────────────────────────────────────────────── */
.contact-form { display: grid; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: .5rem; }
.form-group label { font-size: 14px !important; color: var(--text-muted); font-weight: 500; }
.form-group input,
.form-group textarea,
.form-group select {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: .75rem 1rem;
  color: var(--text);
  font-size: 15px !important;
  font-family: inherit;
  transition: border-color .2s;
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--accent); }
.form-group textarea { min-height: 130px; resize: vertical; }

/* Contact info */
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-icon { width: 40px; height: 40px; border-radius: 8px; background: rgba(46,204,113,.12); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-icon svg { width: 18px; height: 18px; stroke: var(--accent); fill: none; stroke-width: 2; }
.contact-item h4 { color: #fff; font-size: 14px !important; font-weight: 600; margin-bottom: .2rem; }
.contact-item p  { color: var(--text-muted); font-size: 14px !important; line-height: 1.5; margin: 0; }

/* ── Footer ──────────────────────────────────────────────────────── */
#footer {
  background-color: #090d14;
  border-top: 1px solid var(--border);
  padding: 4em 0 2em;
}
#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 !important;
  margin: 0 0 1em !important;
  letter-spacing: .05em;
  text-transform: uppercase;
}
#footer p {
  color: var(--text-muted);
  font-size: 16px !important;
  line-height: 1.7;
  margin: 0;
}
.footer-brand-logo { height: 28px; width: auto; margin-bottom: 1rem; }
.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;
}

/* ── Cookie Banner ───────────────────────────────────────────────── */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: var(--surface2);
  border-top: 1px solid var(--border);
  padding: 1rem 5%;
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
}
#cookie-banner p { margin: 0; font-size: 14px !important; color: var(--text-muted); flex: 1; min-width: 200px; }
#cookie-banner p a { color: var(--accent); }
.cookie-btns { display: flex; gap: .75rem; }
#cookie-accept, .cookie-btn {
  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-btn.decline, #cookie-decline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
}

/* ── Section Alternation ─────────────────────────────────────────── */
.section-alt { background: var(--surface); }
.section-dark { background: linear-gradient(135deg, #0d1117 0%, #161b22 100%); }
.section-green {
  background: linear-gradient(135deg, rgba(46,204,113,.08) 0%, rgba(39,174,96,.04) 100%);
  border-top: 1px solid rgba(46,204,113,.1);
  border-bottom: 1px solid rgba(46,204,113,.1);
}

/* ── About Page ─────────────────────────────────────────────────── */
.spotlight-section {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 4em;
  align-items: start;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 4em 2em;
}
.story-text h2 { color: #fff; }
.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;
  border-radius: var(--radius);
  display: block;
}
.about-values { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.value-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  gap: .75rem;
  align-items: flex-start;
}
.value-icon { width: 32px; height: 32px; border-radius: 6px; background: rgba(46,204,113,.12); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.value-icon svg { width: 16px; height: 16px; stroke: var(--accent); fill: none; stroke-width: 2; }
.value-text h4 { color: #fff; font-size: 14px !important; font-weight: 600; margin-bottom: .2rem; }
.value-text p  { color: var(--text-muted); font-size: 13px !important; margin: 0; line-height: 1.5; }

/* Investors section */
.investors-section { background: var(--surface); border-radius: var(--radius); padding: 2rem; border: 1px solid var(--border); }
.investors-section h3 { color: #fff; margin-bottom: .75rem; }
.investors-section p  { color: var(--text-muted); }

/* ── Feature icons (inline SVG) ─────────────────────────────────── */
.feature-icon-wrap { width: 48px; height: 48px; border-radius: 10px; background: rgba(46,204,113,.12); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; flex-shrink: 0; }
.feature-icon-wrap svg { width: 22px; height: 22px; stroke: var(--accent); fill: none; stroke-width: 2; }

/* ── Legal pages ─────────────────────────────────────────────────── */
.legal-content { max-width: 760px; margin: 0 auto; padding: 0 2rem; }
.legal-content h2 { color: #fff; font-size: 26px !important; margin: 2.5rem 0 1rem; }
.legal-content h3 { color: #fff; font-size: 19px !important; margin: 1.8rem 0 .8rem; }
.legal-content p, .legal-content li { color: var(--text-muted); line-height: 1.8; }
.legal-content ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.legal-content li { list-style: disc; margin-bottom: .4rem; }

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 960px) {
  h1 { font-size: 44px !important; }
  h2 { font-size: 34px !important; }
  h3 { font-size: 22px !important; }
  .grid-2 { grid-template-columns: 1fr; gap: 2rem; }
  .spotlight-section { grid-template-columns: 1fr; }
  #footer .inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  h1 { font-size: 36px !important; }
  h2 { font-size: 28px !important; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: var(--nav-height); left: 0; right: 0; background: rgba(13,17,23,.98); padding: 1.5rem 5%; border-bottom: 1px solid var(--border); }
  .nav-links.active { display: flex; }
  .mobile-menu { display: flex; }
  .mobile-menu.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
  .mobile-menu.open span:nth-child(2) { opacity: 0; }
  .mobile-menu.open span:nth-child(3) { transform: rotate(-45deg) translate(6px,-6px); }
  .mobile-menu span { background: var(--text) !important; }
  .form-row { grid-template-columns: 1fr; }
  #footer .inner { grid-template-columns: 1fr; padding: 0 2em; }
  .hero-content h1 { font-size: 36px !important; }
  .section { padding: 60px 0; }
  .cookie-btns { width: 100%; }
}
@media (max-width: 480px) {
  .hero { min-height: 520px; }
  .stats-bar .container { grid-template-columns: 1fr 1fr; }
}
