/* ============================================================
   ORCHESTRATEOS — THEME CSS
   Military precision. Mission-first. Hardened enterprise.
   ============================================================ */

:root {
  --bg-primary: #0a1a0a;
  --bg-secondary: #0d1f0d;
  --bg-card: rgba(255,255,255,0.03);
  --bg-card-hover: rgba(255,255,255,0.06);
  --accent: #c9a84c;
  --accent-dim: rgba(201,168,76,0.15);
  --accent-border: rgba(201,168,76,0.3);
  --text-primary: #e8e4d9;
  --text-secondary: rgba(232,228,217,0.55);
  --text-muted: rgba(232,228,217,0.3);
  --border: rgba(255,255,255,0.08);
  --border-accent: rgba(201,168,76,0.25);
  --grid-color: rgba(201,168,76,0.06);
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --container: 1200px;
  --section-pad: 100px 0;
  --section-pad-sm: 60px 0;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ---- LAYOUT ---- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 120px 60px 80px;
  overflow: hidden;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-grid-overlay::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 70%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(201,168,76,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.hero-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 28px;
  text-transform: uppercase;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 88px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 36px;
}

.hero-lede {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 64px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
}

.stat {
  padding: 0 40px 0 0;
}

.stat:first-child { padding-left: 0; }

.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
  margin: 0 40px 0 0;
}

/* ---- SECTION COMMONS ---- */
.section-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.section-header {
  margin-bottom: 64px;
}

/* ---- FEATURES ---- */
.features {
  padding: var(--section-pad);
  background: var(--bg-secondary);
}

.features .container { max-width: var(--container); margin: 0 auto; padding: 0 60px; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.feature-card {
  background: var(--bg-card);
  padding: 48px 40px;
  transition: background 0.2s ease;
}

.feature-card:hover {
  background: var(--bg-card-hover);
}

.feature-icon {
  margin-bottom: 28px;
  display: block;
}

.feature-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 14px;
  line-height: 1.3;
}

.feature-desc {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ---- TECH EDGE ---- */
.tech-edge {
  padding: var(--section-pad);
  background: var(--bg-primary);
}

.tech-edge-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.tech-edge-desc {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-top: 28px;
  max-width: 440px;
}

.tech-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.stack-item {
  background: var(--bg-card);
  padding: 32px 28px;
  transition: background 0.2s ease;
}

.stack-item:hover { background: var(--bg-card-hover); }

.stack-name {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}

.stack-desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ---- ROADMAP ---- */
.roadmap {
  padding: var(--section-pad);
  background: var(--bg-secondary);
}

.roadmap .section-header { text-align: center; }
.roadmap .section-label { text-align: center; }

.roadmap-phases {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 60px;
  display: flex;
  align-items: stretch;
  gap: 0;
}

.phase {
  flex: 1;
  padding: 40px 32px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  position: relative;
}

.phase-alpha { border-color: var(--border); }
.phase-beta { border-color: var(--accent-border); }
.phase-ga { border-color: var(--accent-border); }

.phase-badge {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.phase-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  line-height: 1.3;
}

.phase-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.phase-list li {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-secondary);
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}

.phase-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
}

.phase-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 0;
  flex: 0 0 40px;
  gap: 0;
}

.connector-line {
  flex: 1;
  width: 1px;
  background: var(--border);
  min-height: 20px;
}

.connector-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* ---- FOUNDERS' CREED ---- */
.founders-creed {
  padding: var(--section-pad);
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.founders-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 60px;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 80px;
  align-items: start;
}

.creed-quote {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-primary);
  font-style: normal;
  margin: 24px 0 28px;
  padding-left: 24px;
  border-left: 3px solid var(--accent);
}

.creed-body {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.founders-cards {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 60px;
}

.founder-card {
  background: var(--bg-card);
  padding: 28px 28px;
}

.founder-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.founder-role {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.founder-bg {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-secondary);
}

/* ---- CLOSING ---- */
.closing {
  padding: var(--section-pad);
  background: var(--bg-secondary);
  text-align: center;
}

.closing-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 60px;
}

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 28px;
}

.closing-body {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 52px;
}

.closing-stamp {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 28px;
}

.stamp {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
  border: 1px solid var(--accent-border);
  padding: 8px 16px;
}

.closing-principles {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ---- FOOTER ---- */
.site-footer {
  padding: 48px 60px;
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.footer-tagline {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-muted);
}

.footer-info { text-align: right; }

.footer-company {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.footer-legal {
  font-size: 12px;
  color: var(--text-muted);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-edge-inner { grid-template-columns: 1fr; gap: 48px; }
  .founders-inner { grid-template-columns: 1fr; }
  .roadmap-phases { flex-direction: column; }
  .phase-connector { flex-direction: row; flex: 0 0 auto; gap: 0; }
  .connector-line { min-height: 20px; width: 20px; height: 1px; }
  .connector-dot { width: 8px; height: 8px; }
}

@media (max-width: 640px) {
  .hero { padding: 80px 28px 60px; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .stat { padding: 0; }
  .stat-divider { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .tech-stack { grid-template-columns: 1fr; }
  .closing-stamp { flex-wrap: wrap; }
  .footer-inner { flex-direction: column; gap: 20px; }
  .footer-info { text-align: left; }
  .tech-edge-inner, .roadmap-phases, .closing-inner, .founders-inner,
  .features .container { padding: 0 28px; }
  .section-pad { padding: 60px 0; }
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--accent-border); border-radius: 3px; }

/* ---- SELECTION ---- */
::selection { background: var(--accent-dim); color: var(--text-primary); }
