/* Quaddro — main.css */

:root {
  --bg: #0c0804;
  --surface: #131210;
  --text: #e8e6e0;
  --text-muted: #8a8278;
  --accent: #f97316;
  --border: rgba(255,255,255,0.08);
  --radius: 12px;
  --gap: 3em;
  --sidebar-w: 0px;
  --funding-bar-h: 0px;
  --nav-height: 4.5em;
}

/* ─── Typography ─── */
body {
  background-color: var(--bg) !important;
  color: var(--text);
  font-family: 'Roboto', 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-size: 20px !important !important;
  line-height: 1.9 !important !important;
  margin: 0;
  padding: 0;
}

h1 { font-size: 61px !important !important; font-weight: 700; line-height: 1.1; color: #ffffff; margin-bottom: 0.5em; }
h2 { font-size: 43px !important !important; font-weight: 700; line-height: 1.3; color: #ffffff; margin-bottom: 0.5em; }
h3 { font-size: 28px !important !important; font-weight: 600; line-height: 1.4; color: #ffffff; margin-bottom: 0.4em; }
h4 { font-size: 18px !important; font-weight: 600; line-height: 1.5; color: #ffffff; }
p, li { font-size: 18px; line-height: 1.9 !important; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: #fb923c; }
img { max-width: 100%; height: auto; }
.img-wrap { overflow: hidden; width: 100%; }
.img-wrap img { width: 100%; object-fit: cover; }

/* ─── Layout ─── */
.container-custom {
  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; }
section { padding: 5em 0; }

/* ─── Funding Bar ─── */
#funding-bar { color: #fff !important; }

/* ─── Nav ─── */
.site-nav {
  position: fixed !important;
  top: var(--funding-bar-h, 0px) !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  min-height: 4.5em !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  padding: 0 2.5em !important;
  z-index: 9999 !important;
  background-color: rgba(12, 8, 4, 0.97) !important;
  border-bottom: 1px solid var(--border) !important;
  box-sizing: border-box !important;
}
.site-nav .site-logo {
  flex-shrink: 0 !important;
  display: flex !important;
  align-items: center !important;
  text-decoration: none !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;
}
.site-nav .nav-menu 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;
  text-decoration: none !important;
}
.site-nav .nav-menu li a:hover,
.site-nav .nav-menu li.active a { color: #ffffff !important; }
.site-nav .nav-menu li.active a { color: var(--accent) !important; }
.page-wrapper { padding-top: 4.5em !important; }

/* Mobile nav */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: #fff;
  padding: 0.5em 0.8em;
  border-radius: 6px;
  cursor: pointer;
  font-size: 18px;
  margin-left: auto;
}
@media screen and (max-width: 980px) {
  .site-nav .nav-menu { display: none !important; }
  .nav-toggle { display: block !important; }
  .site-nav.nav-open .nav-menu {
    display: flex !important;
    flex-direction: column !important;
    position: fixed !important;
    top: calc(var(--funding-bar-h, 0px) + 4.5em) !important;
    left: 0 !important;
    right: 0 !important;
    background: rgba(12,8,4,0.98) !important;
    border-bottom: 1px solid var(--border) !important;
    margin: 0 !important;
    z-index: 10002 !important;
    padding: 0.5em 0 !important;
  }
  .site-nav.nav-open .nav-menu li a {
    height: auto !important;
    padding: 0.8em 2em !important;
  }
}

/* ─── Hero ─── */
.hero-section {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  background: url('../images/hero-main.jpg') center/cover no-repeat;
  background-color: var(--bg);
  padding: 8em 2em 6em;
  box-sizing: border-box;
}
.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.62);
  z-index: 0;
  pointer-events: none;
}
.hero-section > * { position: relative; z-index: 2; }
.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-section h1 { color: #ffffff; }
.hero-desc { color: rgba(255,255,255,0.55); font-size: 1em; line-height: 1.7; max-width: 480px; }
.hero-right p { color: rgba(255,255,255,0.72); font-size: 0.95em; line-height: 1.9 !important; margin-bottom: 2.5em; }
.hero-ctas { display: flex; flex-direction: column; gap: 1em; align-items: flex-start; }

/* Subpage hero (no background image) */
.page-hero {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  background: url('../images/about-hero.jpg') center/cover no-repeat;
  background-color: var(--surface);
  padding: 6em 2em 4em;
  box-sizing: border-box;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 0;
}
.page-hero > * { position: relative; z-index: 2; }
.page-hero .container-custom { width: 100%; }

/* ─── Buttons ─── */
.btn-primary-c {
  background: var(--accent);
  color: #fff !important;
  padding: 0.9em 2.2em;
  border-radius: 6px;
  text-decoration: none !important;
  font-weight: 600;
  display: inline-block;
  transition: background 0.2s;
}
.btn-primary-c:hover { background: #ea6a0a; color: #fff !important; }
.btn-outline-c {
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.8) !important;
  padding: 0.9em 2.2em;
  border-radius: 6px;
  text-decoration: none !important;
  display: inline-block;
  transition: border-color 0.2s, color 0.2s;
}
.btn-outline-c:hover { border-color: var(--accent); color: var(--accent) !important; }

/* ─── Section headers ─── */
.section-header { text-align: center; margin-bottom: 3em; }
.section-header .label-tag {
  color: var(--accent);
  font-size: 0.8em;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.8em;
}
.section-header p { color: var(--text-muted); max-width: 600px; margin: 0.8em auto 0; }

/* ─── Stats bar ─── */
.stats-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3em 2em;
}
.stats-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2em;
  text-align: center;
}
.stat-item .stat-num {
  font-size: 45px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  display: block;
}
.stat-item .stat-label { color: var(--text-muted); font-size: 0.9em; margin-top: 0.4em; }

/* ─── 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: var(--accent); transform: translateY(-3px); }
.feature-card .feature-icon {
  width: 56px;
  height: 56px;
  background: rgba(249,115,22,0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2em;
  font-size: 1.4em;
  color: var(--accent);
}
.feature-card h3 { font-size: 28px !important; }
.feature-card p { color: var(--text-muted); font-size: 16px; }

/* ─── Product feature rows ─── */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5em;
  align-items: center;
  margin-bottom: 5em;
}
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }
.feature-row-text .tag-pill {
  display: inline-block;
  background: rgba(249,115,22,0.12);
  color: var(--accent);
  font-size: 0.78em;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3em 0.9em;
  border-radius: 20px;
  margin-bottom: 1em;
}
.feature-row-img {
  border-radius: var(--radius);
  overflow: hidden;
}
.feature-row-img img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}
.feature-row-img .img-placeholder {
  width: 100%;
  height: 320px;
  border-radius: var(--radius);
  display: block;
  background: rgba(249,115,22,0.06);
  border: 1px solid var(--border);
}

/* ─── Steps (how it works) ─── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2em;
  counter-reset: step;
  max-width: 1100px;
  margin: 0 auto;
}
.step-item { text-align: center; padding: 1.5em; }
.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1em;
}
.step-item h3 { font-size: 28px !important; }
.step-item p { color: var(--text-muted); font-size: 15px; }

/* ─── About page ─── */
.spotlight-section { background: var(--surface); }
.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 img { width: 100%; border-radius: var(--radius); object-fit: cover; }
.story-text { flex: 1; }
.story-text p { color: var(--text-muted); }

/* ─── Team cards ─── */
.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 1.5em; }
.team-card img {
  width: 150px; height: 150px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  margin-bottom: 1em;
  border: 3px solid rgba(249,115,22,0.3);
}
.team-card h3 { font-size: 28px !important; margin-bottom: 0.3em; }
.team-card .title { color: var(--accent); font-size: 0.9em; font-weight: 600; margin-bottom: 0.8em; }
.team-card p { color: var(--text-muted); font-size: 15px; line-height: 1.7; }

/* ─── Contact page ─── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4em;
  max-width: 1000px;
  margin: 0 auto;
}
.contact-info h3 { font-size: 28px !important; color: var(--accent); 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 h3 { font-size: 28px !important !important; }
.contact-message p { color: var(--text-muted); }
.contact-message .btn-primary-c { margin-top: 1.5em; }

/* ─── Blog shell ─── */
.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: border-color 0.2s;
}
.blog-card:hover { border-color: var(--accent); }
.blog-card-img { width: 100%; height: 200px; object-fit: cover; display: block; background: rgba(249,115,22,0.06); }
.blog-card-body { padding: 1.5em; }
.blog-card-body .meta { color: var(--text-muted); font-size: 0.85em; margin-bottom: 0.5em; }
.blog-card-body h3 { font-size: 28px !important; margin-bottom: 0.5em; }
.blog-card-body p { color: var(--text-muted); font-size: 15px; line-height: 1.6; margin: 0; }

/* ─── CTA section ─── */
.cta-section {
  background: linear-gradient(135deg, rgba(249,115,22,0.12) 0%, rgba(12,8,4,0) 60%);
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 6em 2em;
}
.cta-section h2 { margin-bottom: 0.5em; }
.cta-section p { color: var(--text-muted); max-width: 500px; margin: 0 auto 2em; }
.cta-buttons { display: flex; gap: 1em; justify-content: center; flex-wrap: wrap; }

/* ─── Investors section ─── */
.investors-section { background: var(--surface); }
.investors-section .investor-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2em 3em;
  display: inline-block;
  margin-top: 1.5em;
}
.investors-section .investor-box .vc-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
}
.investors-section .investor-box .vc-round { color: var(--text-muted); font-size: 0.9em; }

/* ─── Footer ─── */
#footer {
  width: 100%;
  background: var(--surface);
  border-top: 1px solid var(--border);
  margin-top: 0;
}
#footer .inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  max-width: 1100px;
  margin: 0 auto;
  padding: 3em 2em;
  gap: 3em;
}
#footer h3 { font-size: 28px !important; margin-bottom: 0.6em; }
#footer h4 { font-size: 16px !important; margin-bottom: 1em; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }
#footer p { color: var(--text-muted); font-size: 0.9em; line-height: 1.7; margin: 0 0 0.5em; }
.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-bottom {
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 1.2em 2em;
  color: var(--text-muted);
  font-size: 0.82em;
}

/* ─── 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;
}
#cookie-decline:hover { border-color: var(--accent); color: var(--text); }
#cookie-accept:hover { background: #ea6a0a; }

/* ─── Responsive ─── */
@media (max-width: 768px) {
  h1 { font-size: 61px !important; }
  h2 { font-size: 43px !important; }
  body { font-size: 16px !important; }
  .hero-inner { grid-template-columns: 1fr; gap: 2em; }
  .hero-right { display: none; }
  .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%; }
  .feature-row { grid-template-columns: 1fr; gap: 2em; }
  .feature-row.reverse { direction: ltr; }
  .contact-grid { grid-template-columns: 1fr; }
  #footer .inner { grid-template-columns: 1fr; padding: 2em; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .hero-section { padding: 6em 1.5em 4em; }
  section { padding: 3em 0; }
}

/* ─── Misc utilities ─── */
.text-accent { color: var(--accent); }
.text-muted { color: var(--text-muted) !important; }
.section-dark { background: var(--bg); }
.section-surface { background: var(--surface); }
.divider { border: none; border-top: 1px solid var(--border); margin: 2em 0; }
