/* ===================================
   VelaOS — Dark Command Center Theme
   =================================== */

:root {
  --bg:         #0D1117;
  --bg-2:       #161B22;
  --bg-3:       #1C2128;
  --surface:    #21262D;
  --border:     #30363D;
  --fg:         #E6EDF3;
  --fg-muted:   #8B949E;
  --fg-dim:    #484F58;
  --accent:     #F59E0B;
  --accent-dim: #92660A;
  --success:    #3FB950;
  --radius:     10px;
  --font-head:  'Syne', sans-serif;
  --font-body:  'DM Sans', sans-serif;
}

* { 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-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

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

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--fg); }

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

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

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

.live-dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(63,185,80,0.4);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(63,185,80,0.4); }
  70% { box-shadow: 0 0 0 6px rgba(63,185,80,0); }
  100% { box-shadow: 0 0 0 0 rgba(63,185,80,0); }
}

.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(52px, 7vw, 88px);
  font-weight: 800;
  line-height: 1.0;
  color: var(--fg);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: 18px;
  color: var(--fg-muted);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.hero-stats-row {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.hero-stat {}

.hero-stat-value {
  display: block;
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat-label {
  font-size: 11px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-stat-sep {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* Terminal */
.hero-terminal {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 600px;
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.terminal-dot.red    { background: #FF5F56; }
.terminal-dot.yellow { background: #FFBD2E; }
.terminal-dot.green  { background: #27C93F; }

.terminal-title {
  margin-left: 8px;
  font-size: 11px;
  color: var(--fg-muted);
  font-family: var(--font-body);
}

.terminal-body {
  padding: 20px;
}

.terminal-line {
  display: flex;
  gap: 16px;
  margin-bottom: 12px;
  align-items: baseline;
}

.ts {
  font-size: 10px;
  color: var(--accent);
  font-weight: 500;
  min-width: 28px;
  font-family: monospace;
}

.tl {
  font-size: 13px;
  color: var(--fg-muted);
  font-family: 'DM Sans', sans-serif;
}

.terminal-pulse {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--success);
  font-weight: 500;
}

.pulse-icon {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  display: inline-block;
  animation: pulse-dot 2s infinite;
}

/* Background orbs */
.hero-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245,158,11,0.08) 0%, transparent 70%);
  top: -100px;
  right: -100px;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(245,158,11,0.04) 0%, transparent 70%);
  bottom: 0;
  left: 20%;
}

/* ── PULSE STRIP ─────────────────────── */
.pulse-strip {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 48px;
}

.pulse-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.pulse-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.pulse-icon-box {
  width: 40px;
  height: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pulse-item strong {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--fg);
  display: block;
  margin-bottom: 4px;
}

.pulse-item p {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.5;
}

/* ── FEATURES ────────────────────────── */
.features {
  padding: 100px 48px;
}

.features-header {
  max-width: 680px;
  margin: 0 auto 64px;
  text-align: center;
}

.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 16px;
  border: 1px solid var(--accent-dim);
  padding: 4px 12px;
  border-radius: 20px;
}

.features-header h2 {
  font-family: var(--font-head);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.features-desc {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.7;
}

.features-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.feature-card {
  background: var(--bg-2);
  padding: 36px;
}

.feature-card--wide {
  grid-column: span 2;
}

.fc-icon {
  width: 44px;
  height: 44px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.fc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fc-list li {
  font-size: 13px;
  color: var(--fg-muted);
  padding-left: 16px;
  position: relative;
}

.fc-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.6;
}

/* Report chart */
.report-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 80px;
  margin-top: 16px;
}

.rc-bar {
  flex: 1;
  height: var(--h);
  background: var(--surface);
  border-radius: 4px 4px 0 0;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.rc-bar.active {
  background: var(--accent);
}

.rc-label {
  font-size: 9px;
  color: var(--fg-dim);
  padding-bottom: 4px;
  position: absolute;
  bottom: -18px;
}

/* ── INTEGRATIONS ────────────────────── */
.integrations {
  padding: 80px 48px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

.integrations-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.integrations-inner h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--fg);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.integrations-inner > p {
  font-size: 16px;
  color: var(--fg-muted);
  margin-bottom: 48px;
  line-height: 1.6;
}

.integration-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.integration-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  color: var(--fg-muted);
  font-weight: 500;
}

.int-icon {
  width: 16px;
  height: 16px;
  border-radius: 3px;
  display: inline-block;
}

.int-icon.slack     { background: #4A154B; }
.int-icon.gmail     { background: #EA4335; }
.int-icon.gcal      { background: #4285F4; }
.int-icon.instagram { background: linear-gradient(135deg,#F56040,#FF6B35); }
.int-icon.meta      { background: #1877F2; }
.int-icon.whatsapp  { background: #25D366; }
.int-icon.stripe    { background: #635BFF; }
.int-icon.zoom      { background: #2D8CFF; }

/* ── MANIFESTO ───────────────────────── */
.manifesto {
  padding: 100px 48px;
}

.manifesto-inner {
  max-width: 860px;
  margin: 0 auto;
}

.manifesto blockquote {
  font-family: var(--font-head);
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 700;
  color: var(--fg);
  line-height: 1.4;
  margin-bottom: 32px;
  padding-left: 24px;
  border-left: 3px solid var(--accent);
  font-style: normal;
}

.manifesto-body {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}

.manifesto-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
  padding: 40px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.ms-col h4 {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

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

.ms-col ul li {
  font-size: 14px;
  color: var(--fg-muted);
  padding-left: 20px;
  position: relative;
}

.ms-col ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 2px;
  background: var(--accent);
}

/* ── CLOSING ─────────────────────────── */
.closing {
  padding: 100px 48px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

.closing-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.closing-inner h2 {
  font-family: var(--font-head);
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--fg);
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.closing-inner > p {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 48px;
}

.closing-meta {
  display: flex;
  gap: 48px;
  justify-content: center;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.cm-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cm-item strong {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--fg);
}

.cm-item span {
  font-size: 13px;
  color: var(--fg-muted);
}

.closing-note {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.7;
  font-style: italic;
  border-top: 1px solid var(--border);
  padding-top: 32px;
}

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

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--fg);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--fg-muted);
}

.footer-sep {
  color: var(--border);
}

/* ── RESPONSIVE ──────────────────────── */
@media (max-width: 768px) {
  .nav { padding: 14px 24px; }
  .nav-links { display: none; }
  .hero { padding: 100px 24px 60px; }
  .hero-stats-row { gap: 16px; }
  .hero-stat-sep { height: 32px; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card--wide { grid-column: span 1; }
  .manifesto-split { grid-template-columns: 1fr; padding: 24px; }
  .pulse-inner { grid-template-columns: 1fr; }
  .closing-meta { gap: 24px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}