/* Typography */
:root {
  --bg: #0a0a0f;
  --surface: #131318;
  --surface-2: #1c1c23;
  --border: #232330;
  --text: #f5f0ea;
  --text-muted: #8a8799;
  --accent: #ff6240;
  --accent-dim: rgba(255, 98, 64, 0.12);
  --accent-hover: #ff7d5c;
  --approved: #4ade80;
  --approved-bg: rgba(74, 222, 128, 0.1);
  --pending: #fbbf24;
  --pending-bg: rgba(251, 191, 36, 0.1);
  --draft: #8a8799;
  --draft-bg: rgba(138, 135, 153, 0.1);
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.15;
}

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-weight: 700;
  font-size: 18px;
}
.nav-badge {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(255, 98, 64, 0.25);
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.03em;
}

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

/* Hero */
.hero {
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 98, 64, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  background: var(--accent-dim);
  display: inline-block;
  padding: 6px 12px;
  border-radius: 4px;
}
.hero-headline {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 460px;
}
.hero-proof {
  display: flex;
  align-items: center;
  gap: 24px;
}
.proof-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.proof-num {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
}
.proof-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}
.proof-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* Hero UI */
.hero-ui {
  position: relative;
}
.ui-window {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.04) inset;
}
.ui-titlebar {
  background: var(--surface-2);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border);
}
.ui-dots {
  display: flex;
  gap: 6px;
}
.ui-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}
.ui-dots span:first-child { background: #ff5f57; }
.ui-dots span:nth-child(2) { background: #ffbd2e; }
.ui-dots span:nth-child(3) { background: #28c840; }
.ui-title {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}
.ui-body {
  display: flex;
  height: 420px;
}
.ui-sidebar {
  width: 56px;
  border-right: 1px solid var(--border);
  padding: 12px 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sidebar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 4px;
  font-size: 9px;
  color: var(--text-muted);
  cursor: default;
  border-radius: 6px;
  margin: 0 4px;
}
.sidebar-item.active {
  background: var(--accent-dim);
  color: var(--accent);
}
.ui-main {
  flex: 1;
  padding: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ui-input-row {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.ui-input {
  flex: 1;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ui-select {
  background: var(--accent-dim);
  border: 1px solid rgba(255, 98, 64, 0.2);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}
.ui-cards {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ui-cards::-webkit-scrollbar { width: 4px; }
.ui-cards::-webkit-scrollbar-track { background: transparent; }
.ui-cards::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.ui-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface-2);
}
.ui-card.done { border-color: rgba(74, 222, 128, 0.3); background: rgba(74, 222, 128, 0.03); }
.ui-card.pending { border-color: rgba(251, 191, 36, 0.3); background: rgba(251, 191, 36, 0.03); }
.card-day {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  width: 28px;
  flex-shrink: 0;
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
}
.card-content { flex: 1; min-width: 0; }
.card-hook {
  font-size: 11px;
  color: var(--text);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-tags {
  display: flex;
  gap: 4px;
  margin-top: 3px;
}
.card-tags span {
  font-size: 9px;
  color: var(--text-muted);
  background: var(--surface);
  padding: 2px 6px;
  border-radius: 4px;
}
.card-status {
  font-size: 9px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 20px;
  flex-shrink: 0;
}
.card-status.approved { background: var(--approved-bg); color: var(--approved); }
.card-status.pending { background: var(--pending-bg); color: var(--pending); }
.card-status.draft { background: var(--draft-bg); color: var(--draft); }

.ui-footer-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 0 0;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}
.footer-stat {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}
.footer-gen {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  color: var(--approved);
  background: var(--approved-bg);
  padding: 4px 10px;
  border-radius: 20px;
}

/* How it works */
.hiw {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}
.hiw-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.hiw-header { text-align: center; margin-bottom: 64px; }
.hiw-headline {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.hiw-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: start;
}
.hiw-step {
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
}
.step-num {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.35;
  line-height: 1;
  margin-bottom: 16px;
}
.step-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}
.step-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}
.hiw-arrow {
  display: flex;
  align-items: center;
  padding: 0 8px;
  padding-top: 60px;
  color: var(--border);
}

/* Features */
.features {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}
.features-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
}
.feat-card {
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: border-color 0.2s;
}
.feat-card:hover { border-color: rgba(255, 98, 64, 0.3); }
.feat-wide { grid-column: 1 / -1; }
.feat-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-dim);
  border: 1px solid rgba(255, 98, 64, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
}
.feat-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}
.feat-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Tones */
.tones {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}
.tones-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  text-align: center;
}
.tones-headline {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 56px;
}
.tone-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.tone-card {
  padding: 28px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  text-align: left;
  transition: border-color 0.2s;
}
.tone-card:hover { border-color: rgba(255, 98, 64, 0.3); }
.tone-emoji { margin-bottom: 16px; }
.tone-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.tone-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Closing */
.closing {
  padding: 100px 0 120px;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg) 0%, rgba(255, 98, 64, 0.03) 100%);
}
.closing-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  text-align: center;
}
.closing-headline {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.closing-sub {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 640px;
  margin: 0 auto 56px;
}
.closing-stats {
  display: flex;
  justify-content: center;
  gap: 64px;
}
.stat { text-align: center; }
.stat-num {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: 56px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

/* Footer */
.footer {
  padding: 48px 0;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  text-align: center;
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  margin-bottom: 12px;
}
.footer-tagline {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
  opacity: 0.5;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-text { order: 2; }
  .hero-ui { order: 1; }
  .hiw-steps { grid-template-columns: 1fr; }
  .hiw-arrow { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .feat-wide { grid-column: 1; }
  .tone-grid { grid-template-columns: 1fr 1fr; }
  .closing-stats { gap: 32px; }
  .stat-num { font-size: 40px; }
  .hero { padding: 60px 0 80px; }
  .hiw, .features, .tones { padding: 70px 0; }
  .closing { padding: 70px 0 90px; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 30px; }
  .tones-headline { font-size: 26px; }
  .hiw-headline { font-size: 26px; }
  .closing-headline { font-size: 32px; }
  .tone-grid { grid-template-columns: 1fr; }
  .nav-inner { padding: 14px 20px; }
  .hero-inner, .hiw-inner, .features-inner, .tones-inner, .closing-inner { padding: 0 20px; }
  .hero-proof { gap: 16px; }
}
