/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --obsidian: #0D0D0D;
  --surface: #151515;
  --surface-raised: #1C1C1C;
  --amber: #F5A623;
  --amber-dim: rgba(245, 166, 35, 0.15);
  --amber-glow: rgba(245, 166, 35, 0.3);
  --text: #F0EBE3;
  --text-dim: rgba(240, 235, 227, 0.45);
  --text-muted: rgba(240, 235, 227, 0.25);
  --instagram: #E1306C;
  --tiktok: #69C9D0;
  --youtube: #FF0000;
  --linkedin: #0A66C2;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --max-w: 1200px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--obsidian);
  color: var(--text);
  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 40px;
  height: 64px;
  display: flex;
  align-items: center;
  background: rgba(13, 13, 13, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(240, 235, 227, 0.06);
}
.nav-inner {
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: -0.02em;
}
.nav-tagline {
  font-size: 0.8rem;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* === HERO === */
.hero {
  min-height: 100vh;
  padding: 120px 40px 80px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(245,166,35,0.06) 0%, transparent 60%),
    var(--obsidian);
}
.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}
.hero-content { max-width: 520px; }
.hero-overline {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--amber);
  margin-bottom: 24px;
  font-weight: 500;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  color: var(--text);
}
.hero-headline em {
  font-style: italic;
  color: var(--amber);
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 440px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--amber);
  color: var(--obsidian);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: #f0b84a; transform: translateY(-1px); }
.btn-large { padding: 16px 36px; font-size: 1.05rem; border-radius: 8px; }

/* Calendar Mock */
.hero-visual { position: relative; }
.calendar-mock {
  background: var(--surface);
  border: 1px solid rgba(240,235,227,0.08);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(245,166,35,0.1);
}
.mock-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--surface-raised);
  border-bottom: 1px solid rgba(240,235,227,0.06);
}
.mock-dots { display: flex; gap: 6px; }
.mock-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(240,235,227,0.15);
}
.mock-dots span:nth-child(1) { background: #ff5f57; }
.mock-dots span:nth-child(2) { background: #febc2e; }
.mock-dots span:nth-child(3) { background: #28c840; }
.mock-title {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-weight: 500;
}
.mock-body { padding: 20px; }

.week-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.day-cell { display: flex; flex-direction: column; gap: 6px; }
.day-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 500;
}
.post-block {
  background: var(--surface-raised);
  border-radius: 8px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  border-left: 3px solid transparent;
}
.post-instagram { border-left-color: var(--instagram); }
.post-tiktok { border-left-color: var(--tiktok); }
.post-youtube { border-left-color: var(--youtube); }
.post-pending { border-left-color: var(--amber); background: rgba(245,166,35,0.05); }
.post-empty { background: transparent; border: 1px dashed rgba(240,235,227,0.1); min-height: 60px; justify-content: center; }
.platform-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.platform-dot.instagram { background: var(--instagram); }
.platform-dot.tiktok { background: var(--tiktok); }
.platform-dot.youtube { background: var(--youtube); }
.platform-dot.pending { background: var(--amber); }
.post-time { font-size: 0.6rem; color: var(--text-muted); font-weight: 500; }
.post-preview { font-size: 0.65rem; color: var(--text-dim); line-height: 1.3; }
.post-preview-empty { font-size: 0.6rem; color: var(--text-muted); font-style: italic; }
.post-check { position: absolute; top: 8px; right: 8px; font-size: 0.6rem; color: #28c840; font-weight: 700; }
.post-ai-badge {
  position: absolute;
  top: 8px; right: 8px;
  font-size: 0.55rem;
  background: var(--amber);
  color: var(--obsidian);
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 4px;
}

.agent-bar {
  margin-top: 16px;
  background: var(--amber-dim);
  border: 1px solid rgba(245,166,35,0.2);
  border-radius: 10px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.agent-orb {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 12px var(--amber-glow);
  flex-shrink: 0;
}
.agent-text { font-size: 0.75rem; color: var(--amber); font-weight: 500; flex: 1; }
.agent-pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--amber);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 24px;
  padding: 20px 24px;
  background: var(--surface);
  border: 1px solid rgba(240,235,227,0.06);
  border-radius: 12px;
}
.stat-item { display: flex; flex-direction: column; gap: 2px; }
.stat-number {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--amber);
  line-height: 1;
}
.stat-label { font-size: 0.7rem; color: var(--text-muted); }
.stat-divider { width: 1px; height: 36px; background: rgba(240,235,227,0.1); }

/* === PAIN === */
.pain {
  padding: 120px 40px;
  background: var(--surface);
}
.pain-inner { max-width: var(--max-w); margin: 0 auto; }
.pain-label, .features-label, .workflow-label, .manifesto-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--amber);
  margin-bottom: 20px;
  font-weight: 500;
}
.pain-headline {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 64px;
  max-width: 680px;
}
.pain-headline em { color: var(--amber); font-style: italic; }
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}
.pain-card {
  background: var(--obsidian);
  border: 1px solid rgba(240,235,227,0.06);
  border-radius: 16px;
  padding: 32px 28px;
}
.pain-icon {
  width: 48px; height: 48px;
  background: var(--amber-dim);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.pain-icon svg { width: 22px; height: 22px; stroke: var(--amber); }
.pain-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.pain-card p { font-size: 0.9rem; color: var(--text-dim); line-height: 1.6; }
.pain-conclusion {
  font-size: 1rem;
  color: var(--text-dim);
  max-width: 600px;
  line-height: 1.7;
  padding-top: 40px;
  border-top: 1px solid rgba(240,235,227,0.06);
}
.pain-conclusion strong { color: var(--text); font-weight: 600; }

/* === FEATURES === */
.features { padding: 120px 40px; background: var(--obsidian); }
.features-inner { max-width: var(--max-w); margin: 0 auto; }
.features-headline {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 64px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid rgba(240,235,227,0.06);
  border-radius: 20px;
  padding: 36px;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--amber), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.feature-card:hover::before { opacity: 1; }
.feature-icon-wrap { margin-bottom: 24px; }

/* Orbit icon */
.feature-orbit {
  position: relative;
  width: 56px; height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.orbit-dot {
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--amber);
}
.orbit-1 { top: 0; left: 50%; transform: translateX(-50%); }
.orbit-2 { bottom: 4px; right: 2px; }
.orbit-3 { bottom: 4px; left: 2px; }
.orbit-center {
  width: 36px; height: 36px;
  background: var(--amber-dim);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.orbit-center svg { width: 18px; height: 18px; stroke: var(--amber); }

/* Typing icon */
.feature-typing {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 48px;
}
.typing-line {
  height: 6px;
  border-radius: 3px;
  background: var(--amber);
  animation: typing 1.5s ease-in-out infinite;
}
.typing-1 { width: 48px; animation-delay: 0s; }
.typing-2 { width: 36px; animation-delay: 0.2s; opacity: 0.6; }
.typing-3 { width: 42px; animation-delay: 0.4s; opacity: 0.35; }
@keyframes typing {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

/* Broadcast icon */
.feature-broadcast {
  position: relative;
  width: 56px; height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.broadcast-center {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--amber);
  z-index: 2;
}
.broadcast-wave {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(245,166,35,0.25);
  animation: wave-expand 2s ease-out infinite;
}
.wave-1 { width: 36px; height: 36px; animation-delay: 0s; }
.wave-2 { width: 48px; height: 48px; animation-delay: 0.4s; }
.wave-3 { width: 60px; height: 60px; animation-delay: 0.8s; }
@keyframes wave-expand {
  0% { opacity: 0.8; transform: scale(0.9); }
  100% { opacity: 0; transform: scale(1.3); }
}
.broadcast-node {
  position: absolute;
  font-size: 0.5rem;
  font-weight: 700;
  color: var(--text);
  background: var(--surface-raised);
  padding: 3px 5px;
  border-radius: 4px;
}
.n1 { top: 2px; right: 0; }
.n2 { bottom: 4px; right: -4px; }
.n3 { top: 4px; left: -4px; }
.n4 { bottom: 0; left: 2px; }

/* Chart icon */
.feature-monitor-chart {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 48px;
}
.chart-bar {
  width: 8px;
  background: var(--amber-dim);
  border-radius: 3px;
  height: var(--h, 40%);
  transition: height 0.5s ease;
}
.bar-1 { --h: 45%; }
.bar-2 { --h: 60%; }
.bar-3 { --h: 55%; }
.bar-4 { --h: 70%; }
.bar-5 { --h: 95%; background: var(--amber); }
.chart-line {
  width: 24px;
  height: 2px;
  background: linear-gradient(90deg, var(--amber), transparent);
  border-radius: 2px;
  align-self: center;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.feature-card > p {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.65;
  margin-bottom: 20px;
}
.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.feature-list li {
  font-size: 0.8rem;
  color: var(--text-dim);
  padding-left: 16px;
  position: relative;
}
.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--amber);
}

/* === WORKFLOW === */
.workflow { padding: 120px 40px; background: var(--surface); }
.workflow-inner { max-width: var(--max-w); margin: 0 auto; }
.workflow-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 72px;
}
.workflow-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.step {
  padding: 32px 28px;
  border-right: 1px solid rgba(240,235,227,0.06);
  position: relative;
}
.step-last { border-right: none; }
.step-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--amber);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 20px;
}
.step-content h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.step-content p { font-size: 0.85rem; color: var(--text-dim); line-height: 1.6; }
.step-arrow {
  position: absolute;
  right: -14px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}
.step-arrow svg { width: 24px; height: 24px; stroke: var(--amber); opacity: 0.4; }
.step-last .step-arrow { display: none; }

.workflow-quote {
  margin-top: 64px;
  padding: 40px;
  background: var(--obsidian);
  border: 1px solid rgba(245,166,35,0.15);
  border-radius: 16px;
  text-align: center;
}
.quote-text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 12px;
}
.quote-attribution { font-size: 0.8rem; color: var(--text-muted); }

/* === MANIFESTO === */
.manifesto {
  padding: 120px 40px;
  background: var(--obsidian);
  text-align: center;
}
.manifesto-text {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--text);
}
.manifesto-sub {
  font-size: 1rem;
  color: var(--text-dim);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
}

/* === CLOSING === */
.closing {
  padding: 120px 40px;
  background: var(--surface);
  text-align: center;
}
.closing-inner { max-width: 680px; margin: 0 auto; }
.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.closing-sub {
  font-size: 1rem;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 40px;
}
.closing-cta { margin-bottom: 16px; }
.closing-note { font-size: 0.8rem; color: var(--text-muted); }

/* === FOOTER === */
.footer {
  padding: 40px;
  border-top: 1px solid rgba(240,235,227,0.06);
  background: var(--obsidian);
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-name {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--amber);
  font-size: 1rem;
  display: block;
}
.footer-desc { font-size: 0.8rem; color: var(--text-muted); display: block; margin-top: 2px; }
.footer-links { font-size: 0.75rem; color: var(--text-muted); }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { display: none; }
  .pain-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .workflow-steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2) { border-right: none; }
  .step-arrow { display: none; }
}
@media (max-width: 600px) {
  .hero, .pain, .features, .workflow, .manifesto, .closing { padding: 80px 24px; }
  .nav { padding: 0 20px; }
  .workflow-steps { grid-template-columns: 1fr; }
  .step { border-right: none; border-bottom: 1px solid rgba(240,235,227,0.06); }
  .week-row { grid-template-columns: repeat(3, 1fr); }
  .hero-stats { flex-wrap: wrap; }
}