/* =========================================
   VELOCITYSTACKOS — OPERATING SYSTEM
   ========================================= */

:root {
  --bg: #0d0d12;
  --bg-2: #111119;
  --bg-3: #16161f;
  --fg: #f5f0e8;
  --fg-2: #a09a90;
  --fg-3: #6b6660;
  --accent: #ff6b35;
  --accent-dim: rgba(255, 107, 53, 0.12);
  --accent-glow: rgba(255, 107, 53, 0.25);
  --border: rgba(245, 240, 232, 0.07);
  --border-bright: rgba(245, 240, 232, 0.12);
  --font-display: 'Syne', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* =========================================
   NAV
   ========================================= */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 48px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(13, 13, 18, 0.85);
  backdrop-filter: blur(12px);
  z-index: 100;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo { display: flex; align-items: center; }

.nav-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--fg);
}

.nav-tagline {
  font-size: 13px;
  color: var(--fg-3);
  font-style: italic;
}

/* =========================================
   HERO
   ========================================= */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 80px 48px 120px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 0%, transparent 70%);
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.glow-1 {
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(255, 107, 53, 0.18) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  animation: orb-float 8s ease-in-out infinite alternate;
}

.glow-2 {
  width: 400px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(255, 107, 53, 0.08) 0%, transparent 70%);
  bottom: 0;
  left: -80px;
  animation: orb-float 12s ease-in-out infinite alternate-reverse;
}

@keyframes orb-float {
  from { transform: translate(0, 0); }
  to { transform: translate(20px, 15px); }
}

.geo-shape {
  position: absolute;
  border: 1px solid var(--accent);
  opacity: 0.12;
}

.geo-1 {
  width: 320px; height: 320px;
  border-radius: 50%;
  top: 8%; right: 8%;
  animation: geo-spin 30s linear infinite;
}

.geo-2 {
  width: 180px; height: 180px;
  top: 15%; right: 12%;
  transform: rotate(45deg);
  animation: geo-spin 20s linear infinite reverse;
}

.geo-3 {
  width: 60px; height: 60px;
  bottom: 20%; left: 15%;
  border-radius: 4px;
  transform: rotate(22deg);
  opacity: 0.2;
  animation: geo-spin 15s linear infinite;
}

.geo-4 {
  width: 200px; height: 200px;
  border-radius: 50%;
  bottom: 15%; right: 5%;
  opacity: 0.06;
  animation: geo-spin 25s linear infinite;
}

@keyframes geo-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
}

.eyebrow-dash {
  display: block;
  width: 32px;
  height: 1px;
  background: var(--accent);
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(64px, 8vw, 112px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 32px;
}

.hero-headline em {
  font-style: normal;
  background: linear-gradient(135deg, #ff6b35, #ff3d00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-lede {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--fg-2);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 40px;
  font-weight: 300;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  color: var(--fg-3);
}

.meta-item { display: flex; align-items: center; gap: 8px; }
.meta-sep { width: 1px; height: 14px; background: var(--border-bright); }

/* =========================================
   STATS ROW
   ========================================= */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat-card {
  padding: 48px 40px;
  border-right: 1px solid var(--border);
}
.stat-card:last-child { border-right: none; }

.stat-number {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  color: var(--fg);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.04em;
}

.stat-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 10px;
}

.stat-desc {
  font-size: 14px;
  color: var(--fg-3);
  line-height: 1.6;
}

/* =========================================
   FEATURES
   ========================================= */
.features {
  padding: 120px 48px;
  background: var(--bg-2);
}

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

.section-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

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

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

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

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

.feature-icon {
  margin-bottom: 24px;
  display: flex;
}

.feature-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

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

/* =========================================
   PROCESS
   ========================================= */
.process {
  padding: 120px 48px;
  background: var(--bg);
}

.process-steps {
  max-width: 800px;
  position: relative;
}

.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 0 40px;
  margin-bottom: 0;
  align-items: start;
}

.step-num {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--accent);
  padding-top: 6px;
  text-align: right;
}

.step-connector {
  position: relative;
  width: 1px;
  background: var(--border-bright);
  margin: 0 auto;
  height: 100%;
  top: 0;
}

.step-connector.last { background: transparent; }

.step-body {
  padding-bottom: 72px;
  border-left: 1px solid var(--border-bright);
  padding-left: 40px;
  position: relative;
}

.step-body::before {
  content: '';
  position: absolute;
  left: -4px;
  top: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.step-connector {
  height: 100%;
  min-height: 200px;
  position: relative;
  background: linear-gradient(to bottom, var(--accent) 0%, transparent 100%);
  width: 1px;
  margin: 0;
  left: 0;
  top: 0;
}

.step-connector.last { background: transparent; }

.step:last-child .step-connector { display: none; }

.step-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.step-desc {
  font-size: 16px;
  color: var(--fg-2);
  line-height: 1.7;
  font-weight: 300;
}

/* =========================================
   MANIFESTO
   ========================================= */
.manifesto {
  padding: 120px 48px;
  background: var(--bg-3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.manifesto-inner {
  max-width: 720px;
}

.manifesto-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
}

.manifesto-quote {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 40px;
  font-style: normal;
  border-left: 2px solid var(--accent);
  padding-left: 28px;
}

.manifesto-body {
  font-size: 17px;
  color: var(--fg-2);
  line-height: 1.8;
  margin-bottom: 20px;
  font-weight: 300;
}

.manifesto-body strong { color: var(--accent); font-weight: 600; }

/* =========================================
   CLOSING
   ========================================= */
.closing {
  position: relative;
  padding: 160px 48px;
  overflow: hidden;
  text-align: center;
}

.closing-bg { position: absolute; inset: 0; }

.glow-3 {
  position: absolute;
  width: 800px; height: 500px;
  background: radial-gradient(ellipse, rgba(255, 107, 53, 0.15) 0%, transparent 60%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(60px);
}

.closing-content {
  position: relative;
  z-index: 1;
}

.closing-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
}

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 28px;
}

.closing-sub {
  font-size: 18px;
  color: var(--fg-2);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
  font-weight: 300;
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--fg);
}

.footer-copy {
  font-size: 14px;
  color: var(--fg-2);
  font-style: italic;
}

.footer-note {
  font-size: 12px;
  color: var(--fg-3);
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 768px) {
  .nav { padding: 20px 24px; }
  .nav-tagline { display: none; }
  .hero { padding: 60px 24px 80px; }
  .hero-meta { flex-direction: column; align-items: flex-start; gap: 10px; }
  .meta-sep { display: none; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .stat-card { padding: 32px 24px; border-right: none; border-bottom: 1px solid var(--border); }
  .stat-card:nth-child(odd) { border-right: 1px solid var(--border); }
  .features { padding: 80px 24px; }
  .feature-grid { grid-template-columns: 1fr; }
  .process { padding: 80px 24px; }
  .step { grid-template-columns: 48px 1fr; gap: 0 20px; }
  .manifesto { padding: 80px 24px; }
  .closing { padding: 100px 24px; }
  .footer { padding: 32px 24px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .stats-row { grid-template-columns: 1fr; }
  .stat-card { border-right: none; }
}
