/* Synthax — main.css */
/* ─── CSS Variables ─── */
:root {
  --bg: #080812;
  --surface: #0f1020;
  --surface2: #13152a;
  --text: #e8eaf0;
  --text-muted: #8892a4;
  --accent: #6366f1;
  --accent-hover: #4f51c8;
  --border: rgba(255,255,255,0.08);
  --radius: 12px;
  --gap: 3em;
  --sidebar-w: 0px;
  --funding-bar-h: 0px;
  --nav-height: 4.5em;
}

/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg) !important;
  color: var(--text);
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-size: 20px !important;
  line-height: 1.9 !important;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

img { max-width: 100%; height: auto; }
.img-wrap { overflow: hidden; width: 100%; }
.img-wrap img { width: 100%; object-fit: cover; }

/* ─── Typography ─── */
h1 { font-size: 61px !important; font-weight: 700; line-height: 1.1; color: #ffffff; }
h2 { font-size: 43px !important; font-weight: 700; line-height: 1.3; color: #ffffff; }
h3 { font-size: 28px !important; font-weight: 600; line-height: 1.4; color: #ffffff; }
h4 { font-size: 1.1rem; font-weight: 600; line-height: 1.5; color: #ffffff; }
p, li { font-size: 16px !important; line-height: 1.9 !important; }
.label, .tag, .meta { font-size: 0.9rem; }

/* ─── Layout ─── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 2em; }
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 2em; }
.section { padding: 6em 0; }
.section-header { text-align: center; margin-bottom: 3.5em; }
.section-header p { color: var(--text-muted); max-width: 620px; margin: 1em auto 0; }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--gap); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3em; align-items: center; }

/* ─── Funding Bar ─── */
#funding-bar { color: #fff !important; }

/* ─── Nav ─── */
.site-nav {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  padding: 0 2.5em !important;
  position: fixed !important;
  top: var(--funding-bar-h, 0px) !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  min-height: 4.5em !important;
  z-index: 9999 !important;
  background-color: var(--bg) !important;
  border-bottom: 1px solid var(--border) !important;
  box-sizing: border-box !important;
}
.site-nav .nav-logo {
  flex-shrink: 0 !important;
  display: flex !important;
  align-items: center !important;
  width: auto !important;
  position: static !important;
}
.site-nav .nav-menu {
  display: flex !important;
  flex-direction: row !important;
  list-style: none !important;
  margin: 0 0 0 auto !important;
  padding: 0 !important;
  gap: 0 !important;
}
.site-nav .nav-menu li a {
  display: flex !important;
  align-items: center !important;
  height: 4.5em !important;
  padding: 0 1.1em !important;
  color: rgba(255,255,255,0.72) !important;
  font-size: 15px !important;
  letter-spacing: 0.05em !important;
  text-transform: none !important;
  white-space: nowrap !important;
  transition: color 0.2s !important;
}
.site-nav .nav-menu li a:hover,
.site-nav .nav-menu li.active a { color: #ffffff !important; }
.site-nav .nav-menu li.nav-cta a {
  background: var(--accent) !important;
  color: #fff !important;
  border-radius: 6px !important;
  padding: 0.5em 1.4em !important;
  height: auto !important;
  align-self: center !important;
  margin-left: 0.5em !important;
}
.site-nav .nav-menu li.nav-cta a:hover { background: var(--accent-hover) !important; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5em;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  transition: all 0.3s;
}

/* ─── Page wrapper offset ─── */
.page-wrapper { padding-top: 4.5em; }

/* ─── Buttons ─── */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #fff !important;
  padding: 0.85em 2em;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  text-decoration: none;
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-outline {
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.8) !important;
  padding: 0.85em 2em;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.2s, color 0.2s;
  text-decoration: none;
}
.btn-outline:hover { border-color: #fff; color: #fff !important; }

/* ─── Hero Section ─── */
.site-hero {
  min-height: 680px;
  display: flex;
  align-items: center;
  background: var(--bg);
  background-image: url('../images/hero-main.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  padding: 7em 4em 5em;
  position: relative;
  overflow: hidden;
}
.site-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 0;
  pointer-events: none;
}
.site-hero > * { position: relative; z-index: 1; }
.hero-grid {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 5em;
  align-items: center;
}
.hero-label {
  color: var(--accent);
  font-size: 0.8em;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 1.2em;
}
.hero-left h1 { margin-bottom: 0.8em; }
.hero-left .hero-tagline {
  color: rgba(255,255,255,0.62);
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 500px;
}
.hero-right p {
  color: rgba(255,255,255,0.72);
  font-size: 1rem;
  line-height: 1.9 !important;
  margin-bottom: 2em;
}
.hero-ctas { display: flex; flex-direction: column; gap: 1em; align-items: flex-start; }

/* ─── Feature Cards ─── */
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2em;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover { border-color: rgba(99,102,241,0.4); transform: translateY(-3px); }
.feature-card .icon {
  width: 52px;
  height: 52px;
  background: rgba(99,102,241,0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2em;
  font-size: 1.4rem;
  color: var(--accent);
}
.feature-card h3 { font-size: 1.2rem; margin-bottom: 0.6em; }
.feature-card p { color: var(--text-muted); font-size: 0.98rem; }

/* ─── Stats bar ─── */
.stats-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3em 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2em;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2em;
  text-align: center;
}
.stat-number { font-size: 2.8rem; font-weight: 700; color: var(--accent); line-height: 1; }
.stat-label { color: var(--text-muted); font-size: 0.9rem; margin-top: 0.4em; }

/* ─── CTA Section ─── */
.cta-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 6em 0;
  text-align: center;
}
.cta-section h2 { margin-bottom: 0.8em; }
.cta-section p { color: var(--text-muted); margin-bottom: 2em; }
.cta-buttons { display: flex; gap: 1em; justify-content: center; flex-wrap: wrap; }

/* ─── Platform (Product) page ─── */
.platform-hero {
  min-height: 480px;
  background: var(--bg);
  display: flex;
  align-items: center;
  padding: 8em 2em 5em;
  text-align: center;
  position: relative;
}
.platform-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(99,102,241,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.platform-hero .container { position: relative; z-index: 2; }
.platform-hero h1 { margin-bottom: 0.7em; }
.platform-hero p { color: rgba(255,255,255,0.65); max-width: 600px; margin: 0 auto 2em; }

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4em;
  align-items: center;
  padding: 5em 0;
  border-bottom: 1px solid var(--border);
}
.feature-row:last-child { border-bottom: none; }
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }
.feature-row-img {
  border-radius: var(--radius);
  overflow: hidden;
}
.feature-row-img svg,
.feature-row-img img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}
.feature-row-text .icon {
  width: 52px;
  height: 52px;
  background: rgba(99,102,241,0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--accent);
  margin-bottom: 1em;
}
.feature-row-text h3 { font-size: 1.8rem; margin-bottom: 0.6em; }
.feature-row-text p { color: var(--text-muted); margin-bottom: 1.2em; }
.feature-list { list-style: none; padding: 0; }
.feature-list li {
  color: var(--text-muted);
  font-size: 0.98rem;
  padding: 0.3em 0;
  padding-left: 1.4em;
  position: relative;
}
.feature-list li::before {
  content: '✓';
  color: var(--accent);
  position: absolute;
  left: 0;
  font-weight: 700;
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2em;
  max-width: 1100px;
  margin: 0 auto;
}
.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2em;
  position: relative;
}
.step-num {
  font-size: 43px !important;
  font-weight: 700;
  color: rgba(99,102,241,0.3);
  line-height: 1;
  margin-bottom: 0.5em;
}
.step-card h3 { font-size: 1.1rem; margin-bottom: 0.5em; }
.step-card p { color: var(--text-muted); font-size: 0.95rem; }

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2em;
  max-width: 1100px;
  margin: 0 auto;
}
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2em;
}
.testimonial-card blockquote {
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.2em;
  font-style: italic;
}
.testimonial-card cite { color: var(--text-muted); font-size: 0.88rem; }
.testimonial-card strong { color: var(--text); }

/* ─── About Page ─── */
.page-hero::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.6); z-index: 0; pointer-events: none; }
.page-hero > * { position: relative; z-index: 1; }
.page-hero {
  min-height: 420px;
  background-image: url(\'images/about-hero.jpg\'); background-size: cover; background-position: center; background-repeat: no-repeat;
  display: flex;
  align-items: center;
  padding: 8em 2em 5em;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 0;
  pointer-events: none;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: -1;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { margin-bottom: 0.5em; }
.page-hero p { color: rgba(255,255,255,0.72); max-width: 560px; }

.spotlight-section { padding: 6em 0; }
.spotlight-inner {
  display: flex;
  gap: 4em;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2em;
}
.story-img { flex-shrink: 0; width: 45%; }
.story-img svg,
.story-img img { width: 100%; border-radius: var(--radius); object-fit: cover; display: block; }
.story-text { flex: 1; }
.story-text h2 { margin-bottom: 0.8em; }
.story-text p { color: var(--text-muted); margin-bottom: 1em; }

.values-section { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 6em 0; }

.investors-section { padding: 6em 0; }
#investors { scroll-margin-top: 6em; }
.investors-section .vc-badge {
  display: inline-block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.4em 2.5em;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
}
.investors-section .funding-detail {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 0.5em;
}

/* ─── Team Page ─── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2.5em;
  max-width: 1100px;
  margin: 0 auto;
}
.team-card { text-align: center; }
.team-card img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 3px solid rgba(99,102,241,0.3);
  margin-bottom: 1em;
}
.team-card h3 { font-size: 1.2rem; margin-bottom: 0.2em; }
.team-card .title { color: var(--accent); font-size: 0.9rem; margin-bottom: 0.7em; }
.team-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; }

/* ─── Contact Page ─── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4em;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2em;
}
.contact-info h3 { font-size: 1rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.4em; margin-top: 1.8em; }
.contact-info h3:first-child { margin-top: 0; }
.contact-info p { color: var(--text); font-size: 1rem; line-height: 1.8; }
.contact-message { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 2.5em; }
.contact-message h3 { font-size: 1.4rem; margin-bottom: 0.8em; }
.contact-message p { color: var(--text-muted); margin-bottom: 1.5em; }

/* ─── Blog index ─── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5em;
  max-width: 1100px;
  margin: 0 auto;
}
.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
}
.blog-card:hover { transform: translateY(-4px); border-color: rgba(99,102,241,0.3); }
.blog-card-img { height: 200px; overflow: hidden; background: var(--surface2); }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 1.8em; }
.blog-card-meta { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 0.7em; }
.blog-card h3 { font-size: 1.15rem; margin-bottom: 0.6em; }
.blog-card h3 a { color: #fff; }
.blog-card h3 a:hover { color: var(--accent); }
.blog-card p { color: var(--text-muted); font-size: 0.95rem; }

/* ─── Footer ─── */
#footer {
  width: 100%;
  background: var(--surface);
  border-top: 1px solid var(--border);
}
#footer .inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  max-width: 1400px;
  margin: 0 auto;
  padding: 3em 4em;
  gap: 3em;
}
#footer h3 { font-size: 1.1rem; margin-bottom: 0.8em; }
#footer h4 { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 1em; }
#footer p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.8; }
.footer-nav { list-style: none; padding: 0; margin: 0; }
.footer-nav li { margin-bottom: 0.6em; }
.footer-nav a { color: var(--text-muted); text-decoration: none; font-size: 15px !important; }
.footer-nav a:hover { color: var(--text); }
.footer-copy { color: var(--text-muted); font-size: 0.82em; margin-top: 1em; }

/* ─── Cookie Banner ─── */
#cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10003;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 1.2em 2em;
}
.cookie-content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2em;
  flex-wrap: wrap;
}
.cookie-text { flex: 1; }
.cookie-text strong { font-size: 1rem; color: var(--text); }
.cookie-text p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0.4em 0 0;
  line-height: 1.6;
}
.cookie-text a { color: var(--accent); }
.cookie-buttons { display: flex; gap: 0.8em; flex-shrink: 0; }
#cookie-decline {
  padding: 0.6em 1.4em;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.88rem;
}
#cookie-accept {
  padding: 0.6em 1.4em;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 600;
}

/* ─── Responsive ─── */
@media (max-width: 980px) {
  .site-nav .nav-menu { display: none !important; }
  .nav-toggle { display: block !important; }
  .hero-grid { grid-template-columns: 1fr; gap: 3em; }
  .site-hero { padding: 6em 2em 4em; }
  .feature-row { grid-template-columns: 1fr; }
  .feature-row.reverse { direction: ltr; }
}

@media (max-width: 768px) {
  body { font-size: 16px !important; }
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.7rem; }
  h3 { font-size: 1.3rem; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .spotlight-inner { flex-direction: column; }
  .story-img { width: 100%; }
  #footer .inner { grid-template-columns: 1fr; padding: 2em; }
  .contact-grid { grid-template-columns: 1fr; }
  .section { padding: 4em 0; }
  .cookie-content { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .cta-buttons { flex-direction: column; align-items: center; }
}

/* Override template font sizes */
p { font-size: 16px !important; line-height: 1.9 !important; }
