/* main.css — Inspakt Technology Ventures — inspakttech.org */
/* autoWeb4.0 v5.6 — dark theme — accent #2ecc71 */

/* ── CSS Variables ─────────────────────────────────────── */
:root {
  --accent: #2ecc71;
  --accent-dark: #27ae60;
  --bg: #0d1117;
  --bg2: #161b22;
  --surface: #1c2230;
  --surface2: #222c3c;
  --border: rgba(255,255,255,0.08);
  --text: #e8edf5;
  --text-muted: #8892a4;
  --nav-height: 72px;
  --radius: 10px;
}

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
a { text-decoration: none; }
ul { list-style: none; }

/* ── Base Typography (MANDATORY !important) ────────────── */
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;
}
h1 { font-size: 61px !important; line-height: 1.1; font-weight: 800; }
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.8; }

/* ── R-THEME1: Dark theme applied to wrappers ──────────── */
#page-wrapper { background-color: var(--bg) !important; }
#wrapper { background-color: var(--bg) !important; }
#main { background-color: var(--bg) !important; }

/* ── Layout ────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
  box-sizing: border-box;
}
.page-top { padding-top: var(--nav-height, 72px); }

/* ── Funding Bar (R-FUNDING-BAR1 — fixed, index only) ──── */
#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 {
  background: none;
  border: none;
  color: rgba(255,255,255,0.85) !important;
  cursor: pointer;
  font-size: 18px;
  margin-left: 1rem;
  line-height: 1;
  padding: 0 4px;
}

/* ── Navigation ────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(13,17,23,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: top 0.3s ease;
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
  height: var(--nav-height);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 19px !important;
  font-weight: 700;
  color: var(--text) !important;
}
.nav-logo img { height: 32px; width: auto; }
.nav-logo span { color: var(--accent); }
.nav-links {
  display: flex;
  gap: 2.5rem;
}
.nav-links a {
  font-size: 15px !important;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width 0.25s ease;
}
.nav-links a:hover,
.nav-links a.active { color: var(--text); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.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: 0.3s;
}

/* ── Hero (R-IMG8 v3) ──────────────────────────────────── */
.hero {
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background-image: 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;
}
.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-content {
  max-width: 860px;
  padding: 0 2rem;
}
.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-content h1 {
  color: #ffffff;
  margin-bottom: 1.5rem;
}
.hero-content p {
  font-size: 18px !important;
  color: rgba(255,255,255,0.88);
  max-width: 640px;
  margin: 0 auto 2.5rem;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #0d1117;
  padding: 0.8em 2.2em;
  border-radius: 6px;
  font-weight: 700;
  font-size: 15px !important;
  transition: background 0.2s, transform 0.2s;
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-outline {
  display: inline-block;
  background: transparent;
  border: 2px solid rgba(255,255,255,0.5);
  color: #ffffff;
  padding: 0.75em 2em;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px !important;
  transition: border-color 0.2s, color 0.2s;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* ── Page Hero (inner pages) ───────────────────────────── */
.page-hero {
  min-height: 300px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background-image: url('../images/about-hero.jpg');
  background-size: cover;
  background-position: center;
  background-color: rgba(10,15,40,0.35);
  background-blend-mode: multiply;
  padding: 5rem 0;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 0;
  pointer-events: none;
}
.page-hero > * { position: relative; z-index: 2; }
.page-hero h1 { color: #ffffff; font-size: 52px !important; }
.page-hero p { color: rgba(255,255,255,0.82); font-size: 17px !important; margin-top: 0.8rem; }

/* ── Sections ──────────────────────────────────────────── */
.section { padding: 90px 0; }
.section-alt { background: var(--bg2); }
.section-dark { background: var(--surface); }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-label {
  display: inline-block;
  font-size: 12px !important;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.8rem;
}
.section-header h2 { color: var(--text); 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: 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(160px, 1fr));
  gap: 2rem;
  text-align: center;
}
.stat-item { }
.stat-number {
  font-size: 42px !important;
  font-weight: 800;
  color: var(--accent);
  display: block;
  line-height: 1.1;
}
.stat-label {
  font-size: 13px !important;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.4rem;
}

/* ── Cards ─────────────────────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.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 8px 24px rgba(0,0,0,0.25);
}
.card-icon {
  width: 48px;
  height: 48px;
  background: rgba(46,204,113,0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}
.card-icon svg { width: 22px; height: 22px; stroke: var(--accent); }
.card h3 { color: var(--text); margin-bottom: 0.6rem; }
.card p { color: var(--text-muted); font-size: 15px !important; line-height: 1.7; }

/* ── Feature Split ─────────────────────────────────────── */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 5rem;
}
.feature-split.reverse { direction: rtl; }
.feature-split.reverse > * { direction: ltr; }
.feature-split-text h2 { color: var(--text); margin-bottom: 1rem; }
.feature-split-text p { color: var(--text-muted); margin-bottom: 1.5rem; }
.feature-split-img {
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius);
}
.feature-split-img img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
.feature-list { margin-top: 1.5rem; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0.5rem 0;
  color: var(--text-muted);
  font-size: 15px !important;
}
.feature-list li::before {
  content: '';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  border-radius: 50%;
  background: rgba(46,204,113,0.15);
  border: 1.5px solid var(--accent);
  display: flex;
}

/* ── Our Story / About Split ───────────────────────────── */
.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: var(--text); margin-bottom: 1.5rem; }
.story-text p { color: var(--text-muted); margin-bottom: 1.2rem; line-height: 1.8; }
.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;
}

/* ── Team (VC / Investment — rounded rect, R-IMG2) ─────── */
.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: 2em 1.5em;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.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: var(--text); margin-bottom: 0.3rem; }
.team-role {
  font-size: 14px !important;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}
.team-card .bio { color: var(--text-muted); font-size: 15px !important; line-height: 1.65; }

/* ── Portfolio Table ───────────────────────────────────── */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.portfolio-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.portfolio-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  border-color: rgba(46,204,113,0.3);
}
.portfolio-company { font-size: 18px !important; font-weight: 700; color: var(--text); margin-bottom: 0.4rem; }
.portfolio-amount { font-size: 29px !important; font-weight: 800; color: var(--accent); margin-bottom: 0.3rem; }
.portfolio-stage {
  display: inline-block;
  font-size: 11px !important;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2em 0.7em;
  border-radius: 20px;
  background: rgba(46,204,113,0.12);
  color: var(--accent);
  margin-bottom: 0.8rem;
}
.portfolio-desc { color: var(--text-muted); font-size: 14px !important; line-height: 1.6; }
.portfolio-date { font-size: 12px !important; color: var(--text-muted); margin-top: 0.8rem; opacity: 0.7; }

/* ── CTA Section ───────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  padding: 80px 0;
  text-align: center;
}
.cta-section h2 { color: #0d1117 !important; font-size: 38px !important; margin-bottom: 1rem; }
.cta-section p { color: rgba(0,0,0,0.72) !important; font-size: 17px !important; margin-bottom: 2rem; }
.cta-section .btn-dark {
  background: #0d1117;
  color: #ffffff;
  padding: 0.85em 2.4em;
  border-radius: 6px;
  font-weight: 700;
  font-size: 16px !important;
  transition: background 0.2s, transform 0.2s;
}
.cta-section .btn-dark:hover { background: #1c2230; transform: translateY(-2px); }

/* ── Insights / Blog listing ───────────────────────────── */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.8rem;
}
.insight-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.insight-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.25); }
.insight-thumb {
  width: 100%;
  overflow: hidden;
}
.insight-thumb img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.3s;
}
.insight-card:hover .insight-thumb img { transform: scale(1.04); }
.insight-body { padding: 1.5rem; }
.insight-date { font-size: 12px !important; color: var(--text-muted); margin-bottom: 0.5rem; }
.insight-body h3 { color: var(--text); font-size: 17px !important; margin-bottom: 0.5rem; }
.insight-body p { color: var(--text-muted); font-size: 14px !important; line-height: 1.6; }
.insight-body a.read-more {
  display: inline-block;
  margin-top: 0.8rem;
  font-size: 14px !important;
  font-weight: 600;
  color: var(--accent);
}

/* ── Contact ───────────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}
.contact-info h2 { color: var(--text); margin-bottom: 1rem; }
.contact-info p { color: var(--text-muted); margin-bottom: 2rem; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-detail svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}
.contact-detail-text strong { display: block; color: var(--text); font-size: 14px !important; }
.contact-detail-text span { color: var(--text-muted); font-size: 14px !important; }
.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.85em 1.1em;
  font-size: 15px !important;
  color: var(--text);
  font-family: inherit;
  transition: border-color 0.2s;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--text-muted); }
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form button {
  align-self: flex-start;
  background: var(--accent);
  color: #0d1117;
  border: none;
  padding: 0.85em 2.4em;
  border-radius: 6px;
  font-weight: 700;
  font-size: 16px !important;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.contact-form button:hover { background: var(--accent-dark); transform: translateY(-2px); }

/* ── Anchor VC ─────────────────────────────────────────── */
.anchor-section {
  background: var(--bg2);
  padding: 60px 0;
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.anchor-section p { color: var(--text-muted); font-size: 15px !important; margin-bottom: 0.5rem; }
.anchor-section a { color: var(--accent); font-weight: 600; }
.anchor-section a:hover { text-decoration: underline; }

/* ── Backed-by / Investors (text + VC name only, no image) */
.investors-section { padding: 60px 0; text-align: center; }
.investors-section h2 { color: var(--text); margin-bottom: 1rem; }
.investors-section p { color: var(--text-muted); }
.vc-badge {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.8em 2em;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-weight: 700;
  font-size: 17px !important;
}
.vc-badge span { color: var(--accent); }

/* ── Footer (R-FOOTER1) ────────────────────────────────── */
#footer {
  background-color: var(--surface, #1e293b);
  border-top: 1px solid var(--border, rgba(255,255,255,0.08));
  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;
  font-size: 18px !important;
  font-weight: 600;
  margin: 0 0 1em;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
#footer p {
  color: var(--text-muted, #64748b);
  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, #64748b);
  text-decoration: none;
  font-size: 16px !important;
  transition: color 0.2s;
}
.footer-nav a:hover { color: #ffffff; }
#footer .copyright {
  color: var(--text-muted, #64748b);
  font-size: 15px !important;
  text-align: center;
  margin: 2.5em auto 0;
  padding-top: 1.5em;
  border-top: 1px solid var(--border, rgba(255,255,255,0.08));
  max-width: 1100px;
}

/* ── Legal Pages ───────────────────────────────────────── */
.legal-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 4rem 2rem;
}
.legal-content h1 { font-size: 38px !important; color: var(--text); margin-bottom: 0.5rem; }
.legal-content .last-updated { color: var(--text-muted); font-size: 14px !important; margin-bottom: 2.5rem; }
.legal-content h2 { font-size: 22px !important; color: var(--text); margin: 2rem 0 0.8rem; }
.legal-content p,
.legal-content li { color: var(--text-muted); line-height: 1.8; margin-bottom: 0.8rem; }
.legal-content ul { padding-left: 1.5rem; list-style: disc; }
.legal-content a { color: var(--accent); }

/* ── Cookie Banner ─────────────────────────────────────── */
#cookie-banner { z-index: 9999; }
#cookie-accept,
.cookie-btn {
  background: var(--accent);
  color: #0d1117;
  border: none;
  border-radius: 6px;
  padding: 0.55em 1.4em;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
#cookie-decline,
.cookie-btn.decline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  border-radius: 6px;
  padding: 0.55em 1.4em;
  font-size: 14px;
  cursor: pointer;
}

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 960px) {
  .contact-layout { grid-template-columns: 1fr; }
  .spotlight-section { grid-template-columns: 1fr; }
  .feature-split { grid-template-columns: 1fr; gap: 2rem; }
  .feature-split.reverse { direction: ltr; }
}
@media (max-width: 768px) {
  h1 { font-size: 42px !important; }
  h2 { font-size: 32px !important; }
  h3 { font-size: 22px !important; }
  .hero { min-height: 520px; }
  .page-hero h1 { font-size: 36px !important; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: rgba(13,17,23,0.98); padding: 1.5rem 5%; gap: 1.2rem; border-bottom: 1px solid var(--border); }
  .nav-links.active { display: flex; }
  .mobile-menu { display: flex; }
  .form-row { grid-template-columns: 1fr; }
  #footer .inner { grid-template-columns: 1fr 1fr; }
  .section { padding: 64px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  h1 { font-size: 34px !important; }
  #footer .inner { grid-template-columns: 1fr; padding: 0 1em; }
  .hero-actions { flex-direction: column; align-items: center; }
}
