/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&display=swap');

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

:root {
  --bg: #0f0f0f;
  --bg-alt: #161616;
  --bg-card: #1a1a1a;
  --fg: #f0ece4;
  --fg-dim: #8a8680;
  --accent: #FF8C00;
  --accent-dim: rgba(255, 140, 0, 0.12);
  --accent-glow: rgba(255, 140, 0, 0.06);
  --green: #4ade80;
  --border: rgba(240, 236, 228, 0.08);
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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 {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 2rem;
  background: rgba(15, 15, 15, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 56px;
  display: flex;
  align-items: center;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--fg);
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 8rem 2rem 4rem;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background: radial-gradient(ellipse at 70% 30%, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 4rem;
}

.hero-chaos {
  padding: 1.5rem;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  background: rgba(255,255,255,0.02);
}

.chaos-label, .order-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-bottom: 1rem;
}

.chaos-pile {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.chaos-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--fg-dim);
  font-family: var(--font-body);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  background: rgba(255,255,255,0.03);
  border-left: 2px solid rgba(255,255,255,0.12);
}

.phone-icon { color: #ef4444; flex-shrink: 0; }

.wa-badge {
  background: #25D366;
  color: white;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 0.15rem 0.35rem;
  border-radius: 4px;
  font-family: var(--font-display);
  flex-shrink: 0;
}

/* Divider */
.hero-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0 1rem;
}

.divider-line {
  width: 1px;
  height: 60px;
  background: var(--border);
}

.divider-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f0f0f;
}

/* Order side */
.hero-order {
  padding: 1.5rem;
  border: 1px solid rgba(255, 140, 0, 0.2);
  border-radius: 16px;
  background: rgba(255, 140, 0, 0.04);
}

.order-dashboard {
  font-family: var(--font-display);
}

.dash-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 1rem;
}

.dash-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
}

.dash-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.stat-value {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-size: 0.65rem;
  color: var(--fg-dim);
  font-family: var(--font-body);
  margin-top: 0.2rem;
}

.dash-feed {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.feed-item {
  font-size: 0.7rem;
  padding: 0.3rem 0.5rem;
  border-radius: 4px;
  font-family: var(--font-body);
}

.feed-item.green {
  color: var(--green);
  background: rgba(74, 222, 128, 0.07);
}

.feed-item.amber {
  color: var(--accent);
  background: rgba(255, 140, 0, 0.07);
}

/* Hero bottom text */
.hero-bottom {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  text-align: left;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--fg-dim);
  max-width: 540px;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.hero-meta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero-badge {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--fg-dim);
}

/* Section label */
.section-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

/* Manifesto */
.manifesto {
  padding: 6rem 2rem;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.manifesto-text {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 600;
  line-height: 1.4;
  color: var(--fg);
  margin-bottom: 2rem;
}

.manifesto-closing {
  font-size: 1.05rem;
  color: var(--fg-dim);
  line-height: 1.7;
}

/* Features */
.features {
  padding: 6rem 2rem;
  background: var(--bg);
}

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

.feature-card {
  padding: 2.5rem;
  background: var(--bg);
  position: relative;
}

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

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

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

.feature-desc {
  font-size: 0.9rem;
  color: var(--fg-dim);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.feature-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 0.25rem 0.6rem;
  border: 1px solid rgba(255, 140, 0, 0.25);
  border-radius: 100px;
}

/* Workflow */
.workflow {
  padding: 6rem 2rem;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}

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

.workflow-headline {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--fg);
  margin-bottom: 3rem;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 74px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--border);
}

.timeline-item {
  display: grid;
  grid-template-columns: 60px 24px 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.5rem 0;
}

.timeline-time {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--fg-dim);
  padding-top: 0.15rem;
  text-align: right;
}

.timeline-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--fg-dim);
  margin-top: 0.3rem;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.timeline-dot.amber {
  background: var(--accent);
  box-shadow: 0 0 8px rgba(255, 140, 0, 0.4);
}

.timeline-content {
  padding-bottom: 0.5rem;
}

.timeline-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 0.35rem;
}

.timeline-desc {
  font-size: 0.85rem;
  color: var(--fg-dim);
  line-height: 1.6;
}

/* Closing */
.closing {
  padding: 8rem 2rem;
  background: var(--bg);
  text-align: center;
  border-top: 1px solid var(--border);
}

.closing-inner {
  max-width: 700px;
  margin: 0 auto;
}

.closing-line {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--fg);
  line-height: 1.3;
}

.closing-line:nth-child(3) {
  color: var(--accent);
}

.closing-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-top: 1rem;
  line-height: 1.2;
}

/* Footer */
.footer {
  padding: 3rem 2rem;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--fg);
  margin-bottom: 0.5rem;
}

.footer-tag {
  font-size: 0.85rem;
  color: var(--fg-dim);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hero-divider {
    flex-direction: row;
    padding: 0;
  }

  .divider-line {
    width: 60px;
    height: 1px;
  }

  .hero-chaos, .hero-order {
    padding: 1rem;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    left: 60px;
  }

  .hero-headline {
    font-size: 2rem;
  }
}