﻿/* Sentispec — main.css */

/* =========================================================
   CSS VARIABLES — DARK THEME
   ========================================================= */
:root {
  --bg: #08060e;
  --surface: #12101a;
  --text: #e8eaf0;
  --text-muted: #8892a4;
  --accent: #8b5cf6;
  --border: rgba(255,255,255,0.08);
  --radius: 12px;
  --gap: 3em;
  --sidebar-w: 0px;
  --funding-bar-h: 0px;
  --nav-height: 4.5em;
}

/* =========================================================
   BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }

body {
  background-color: var(--bg) !important;
  color: var(--text);
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-size: 18px;
  line-height: 1.9;
  margin: 0;
  padding: 0;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: #a78bfa; }

img { max-width: 100%; height: auto; }
.img-wrap { overflow: hidden; width: 100%; }
.img-wrap img { width: 100%; object-fit: cover; }

/* =========================================================
   TYPOGRAPHY
   ========================================================= */
h1 { font-size: 58px; font-weight: 700; line-height: 1.1; color: #ffffff; margin: 0 0 0.5em; }
h2 { font-size: 40px; font-weight: 700; line-height: 1.3; color: #ffffff; margin: 0 0 0.5em; }
h3 { font-size: 1.6rem; font-weight: 600; line-height: 1.4; color: #ffffff; margin: 0 0 0.4em; }
h4 { font-size: 18px; font-weight: 600; line-height: 1.5; color: #ffffff; margin: 0 0 0.3em; }
p, li { font-size: 18px; line-height: 1.9; }

.label, .tag, .meta { font-size: 0.9rem; }

/* =========================================================
   GRID & CONTAINER
   ========================================================= */
.container { max-width: 1100px; margin: 0 auto; padding: 0 2em; }
.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
   ========================================================= */
#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 rgba(255,255,255,0.08) !important;
  box-sizing: border-box !important;
}

#nav #logo {
  flex-shrink: 0 !important;
  display: flex !important;
  align-items: center !important;
  width: auto !important;
  position: static !important;
  top: auto !important;
  text-align: left !important;
}

#nav #logo h1 { margin: 0 !important; font-size: 1em !important; }

#nav > ul {
  display: flex !important;
  flex-direction: row !important;
  list-style: none !important;
  margin: 0 0 0 auto !important;
  padding: 0 !important;
}

#nav > ul > li > a {
  display: flex !important;
  align-items: center !important;
  height: 4.5em !important;
  padding: 0 1.2em !important;
  color: rgba(255,255,255,0.75) !important;
  font-size: 15px !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}

#nav > ul > li > a:hover,
#nav > ul > li.current > a { color: #ffffff !important; }

#page-wrapper { padding-top: 4.5em !important; }

@media screen and (max-width: 980px) {
  #nav > ul { display: none !important; }
}

/* =========================================================
   SECTION DEFAULTS
   ========================================================= */
section { padding: 5em 0; }
.section-header { text-align: center; margin-bottom: 3em; }
.section-header p { color: var(--text-muted); max-width: 600px; margin: 0 auto; font-size: 18px; }

/* =========================================================
   HERO
   ========================================================= */
#hero {
  min-height: 620px;
  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: 8em 4em 6em;
  position: relative;
}

#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; }

#banner {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  background: url('../images/hero-main.jpg') center/cover no-repeat;
  padding: 8em 4em 6em;
}

#banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 0;
  pointer-events: none;
}

#banner > * { position: relative; z-index: 2; }

body.page-about #banner {
  background-image: url('assets/images/about-hero.jpg') !important;
}

/* =========================================================
   HERO TWO-COLUMN
   ========================================================= */
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 6em;
  align-items: center;
}

.hero-label {
  color: var(--accent);
  font-size: 0.72em;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 1.5em;
  display: block;
}

.hero-tagline {
  color: rgba(255,255,255,0.55);
  font-size: 1em;
  line-height: 1.7;
  max-width: 480px;
}

.hero-desc {
  color: rgba(255,255,255,0.72);
  font-size: 0.95em;
  line-height: 1.9;
  margin-bottom: 2.5em;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 1em;
  align-items: flex-start;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn-primary {
  background: var(--accent);
  color: #fff;
  padding: 0.9em 2.2em;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  border: none;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.2s;
}
.btn-primary:hover { background: #7c3aed; color: #fff; }

.btn-outline {
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.8);
  padding: 0.9em 2.2em;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  transition: border-color 0.2s, color 0.2s;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* =========================================================
   FEATURE CARDS
   ========================================================= */
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2em;
}

.feature-card i {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 1em;
  display: block;
}

/* =========================================================
   PRODUCT FEATURE ROWS
   ========================================================= */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4em;
  align-items: center;
  margin-bottom: 5em;
}

.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }

.feature-row-text h3 { margin-bottom: 0.5em; }
.feature-row-text p { color: var(--text-muted); }

.feature-row-img { border-radius: var(--radius); overflow: hidden; }
.feature-row-img img { width: 100%; height: 320px; object-fit: cover; border-radius: var(--radius); }

/* =========================================================
   STATS BAR
   ========================================================= */
.stats-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3em 2em;
}
.stats-bar .container { display: flex; gap: 3em; justify-content: center; flex-wrap: wrap; text-align: center; }
.stat-item h3 { font-size: 40px; color: var(--accent); margin-bottom: 0.2em; }
.stat-item p { font-size: 15px; color: var(--text-muted); margin: 0; }

/* =========================================================
   ABOUT PAGE — STORY SECTION
   ========================================================= */
.spotlight-section { background: var(--surface); }
.spotlight-inner {
  display: flex;
  gap: 4em;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.story-img { flex-shrink: 0; width: 45%; }
.story-img img { width: 100%; border-radius: var(--radius); object-fit: cover; }
.story-text { flex: 1; }

/* =========================================================
   TEAM
   ========================================================= */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5em;
  max-width: 1100px;
  margin: 0 auto;
}

.team-card { text-align: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 2em; }

.team-card img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  margin-bottom: 1em;
}

.team-card h3 { font-size: 1.6rem; margin-bottom: 0.2em; }
.team-card .title { color: var(--accent); font-size: 0.9rem; letter-spacing: 0.05em; margin-bottom: 0.8em; }
.team-card p { color: var(--text-muted); font-size: 16px; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4em;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-info h3 {
  color: var(--accent);
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5em;
  margin-top: 2em;
}

.contact-info h3:first-child { margin-top: 0; }
.contact-info p { color: var(--text-muted); font-size: 16px; line-height: 1.7; margin: 0; }

.contact-message { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 2.5em; }
.contact-message h3 { margin-bottom: 1em; }
.contact-message p { color: var(--text-muted); margin-bottom: 2em; }

/* =========================================================
   INSIGHTS (BLOG INDEX) SHELL
   ========================================================= */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5em;
  max-width: 1100px;
  margin: 0 auto;
}

/* =========================================================
   INVESTORS SECTION (ABOUT)
   ========================================================= */
#investors { background: var(--bg); }
.investor-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2em;
  text-align: center;
}
.investor-card h3 { font-size: 1.6rem; margin-bottom: 0.3em; }
.investor-card p { color: var(--text-muted); font-size: 16px; }

/* =========================================================
   PROCESS STEPS
   ========================================================= */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2em;
  max-width: 1100px;
  margin: 0 auto;
  counter-reset: step-counter;
}

.process-step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2em;
  position: relative;
  counter-increment: step-counter;
}

.process-step::before {
  content: counter(step-counter);
  display: block;
  width: 2.5em;
  height: 2.5em;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  font-size: 16px;
  font-weight: 700;
  line-height: 2.5em;
  text-align: center;
  margin-bottom: 1em;
}

.process-step h3 { font-size: 1.2rem; margin-bottom: 0.5em; }
.process-step p { color: var(--text-muted); font-size: 15px; }

/* =========================================================
   CTA SECTION
   ========================================================= */
.cta-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 5em 2em;
}
.cta-section h2 { margin-bottom: 0.5em; }
.cta-section p { color: var(--text-muted); margin-bottom: 2em; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; gap: 1.5em; justify-content: center; flex-wrap: wrap; }

/* =========================================================
   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-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: 0.9em; }
.footer-nav a:hover { color: var(--text); }

#footer h3 { font-size: 1.4rem; margin-bottom: 0.5em; }
#footer h4 { font-size: 16px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 1em; }
#footer p { color: var(--text-muted); font-size: 15px; line-height: 1.7; }

/* =========================================================
   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: 16px; color: var(--text); }
.cookie-text p {
  font-size: 14px;
  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: 14px;
}

#cookie-accept {
  padding: 0.6em 1.4em;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}

/* =========================================================
   ARTICLE TYPOGRAPHY
   ========================================================= */
.article-body, .post-content { max-width: 720px; margin: 0 auto; }
.article-body p, article p { margin-bottom: 1.4em; line-height: 1.9; }
.article-body h2, article h2 { margin-top: 2.2em; margin-bottom: 0.8em; font-size: 40px; }
.article-body h3, article h3 { margin-top: 1.8em; margin-bottom: 0.6em; font-size: 1.6rem; }
.article-body ul, .article-body ol, article ul, article ol { margin-bottom: 1.4em; padding-left: 1.8em; }
.article-body li, article li { margin-bottom: 0.5em; line-height: 1.85; }

/* =========================================================
   PAGE HERO BANNERS (non-home pages)
   ========================================================= */
.page-hero {
  background: var(--surface);
  padding: 5em 2em 4em;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { font-size: 58px; margin-bottom: 0.5em; }
.page-hero p { color: var(--text-muted); font-size: 18px; max-width: 600px; margin: 0 auto; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 768px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.7rem; }
  body { font-size: 16px; }
  .hero-inner { grid-template-columns: 1fr; gap: 2em; }
  #hero, #banner { padding: 6em 2em 4em; }
  .contact-grid { grid-template-columns: 1fr; }
  .spotlight-inner { flex-direction: column; }
  .story-img { width: 100%; }
  .feature-row { grid-template-columns: 1fr; }
  .feature-row.reverse { direction: ltr; }
  #footer .inner { grid-template-columns: 1fr; padding: 2em; }
  .page-hero h1 { font-size: 2.2rem; }
  .team-grid { grid-template-columns: 1fr; }
}
