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

:root {
  --bg: #0d0d1a;
  --bg2: #111127;
  --surface: #181830;
  --border: #252540;
  --gold: #e8a420;
  --gold-dim: rgba(232, 164, 32, 0.15);
  --text: #ece8f5;
  --text-dim: #8b88a8;
  --amber: #e8a420;
  --fb: #1877f2;
  --ig: #e040fb;
  --tw: #1da1f2;
  --tt: #ff2d55;
  --green: #10b981;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

html {
  scroll-behavior: smooth;
}

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

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* ---- Nav ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 13, 26, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
}

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

.nav-logo {
  width: 28px;
  height: 28px;
  background: var(--gold);
  color: #0d0d1a;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}

.nav-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  letter-spacing: -0.01em;
}

/* ---- Hero ---- */
.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 6rem 2rem 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  min-height: 80vh;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 1.4rem;
  letter-spacing: -0.03em;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 440px;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stat {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  border-left: 2px solid var(--gold);
  padding-left: 1rem;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* ---- Dashboard Widget ---- */
.hero-dashboard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}

.dash-topbar {
  background: var(--bg2);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  border-bottom: 1px solid var(--border);
}

.dash-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}
.dash-dot.amber { background: var(--amber); }

.dash-label {
  margin-left: 0.75rem;
  font-size: 0.75rem;
  color: var(--text-dim);
  font-family: var(--font-body);
}

.dash-posts {
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.dash-post {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg2);
  transition: all 0.2s;
}
.dash-post.scheduled { border-left: 2px solid var(--amber); }
.dash-post.draft { opacity: 0.7; border-left: 2px solid var(--text-dim); }
.dash-post.published { border-left: 2px solid var(--green); }

.post-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-display);
  flex-shrink: 0;
}
.post-icon.fb { background: rgba(24, 119, 242, 0.2); color: #1877f2; }
.post-icon.ig { background: rgba(224, 64, 251, 0.2); color: #e040fb; }
.post-icon.tw { background: rgba(29, 161, 242, 0.2); color: #1da1f2; }
.post-icon.tt { background: rgba(255, 45, 85, 0.2); color: #ff2d55; }

.post-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.post-title {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
}

.post-time {
  font-size: 0.7rem;
  color: var(--text-dim);
}

.post-badge {
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: var(--gold-dim);
  color: var(--amber);
  flex-shrink: 0;
}
.draft-badge { background: rgba(139, 136, 168, 0.1); color: var(--text-dim); }
.pub-badge { background: rgba(16, 185, 129, 0.12); color: var(--green); }

.dash-ai-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--border);
  background: rgba(232, 164, 32, 0.06);
}

.ai-icon {
  width: 24px;
  height: 24px;
  background: var(--gold);
  color: #0d0d1a;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  flex-shrink: 0;
}

.ai-text {
  font-size: 0.72rem;
  color: var(--amber);
  opacity: 0.8;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* ---- Platforms ---- */
.platforms {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 2rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.platforms-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
  text-align: center;
}

.platforms-grid {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.platform {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-dim);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.plat-icon {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  font-family: var(--font-display);
}
.plat-icon.facebook { background: rgba(24, 119, 242, 0.2); color: #1877f2; }
.plat-icon.instagram { background: rgba(224, 64, 251, 0.2); color: #e040fb; }
.plat-icon.twitter { background: rgba(29, 161, 242, 0.2); color: #1da1f2; }
.plat-icon.tiktok { background: rgba(255, 45, 85, 0.2); color: #ff2d55; }

/* ---- Features ---- */
.features {
  max-width: 1100px;
  margin: 0 auto;
  padding: 6rem 2rem;
}

.features-header {
  margin-bottom: 3.5rem;
}

.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-item {
  padding: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.25s;
}

.feature-item:hover {
  border-color: var(--gold);
  background: rgba(232, 164, 32, 0.04);
  transform: translateY(-2px);
}

.feature-glyph {
  margin-bottom: 1.25rem;
}

.feature-item h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.6rem;
}

.feature-item p {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.65;
}

/* ---- Manifesto ---- */
.manifesto {
  background: var(--bg2);
  padding: 6rem 2rem;
}

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

.manifesto-quote {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.65rem);
  font-weight: 600;
  color: var(--text);
  line-height: 1.5;
  margin: 1.5rem 0 1rem;
  font-style: italic;
  letter-spacing: -0.01em;
}

.manifesto-attribution {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 3rem;
}

.manifesto-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.pillar {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
}

.pillar-num {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gold);
  flex-shrink: 0;
}

.pillar-text {
  font-size: 0.85rem;
  color: var(--text);
  font-weight: 500;
}

/* ---- Closing ---- */
.closing {
  padding: 8rem 2rem;
}

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

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.closing-sub {
  font-size: 1.05rem;
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 580px;
  margin: 0 auto 3.5rem;
}

.closing-cta-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.cta-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

.cta-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}

.cta-per {
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 500;
}

.cta-detail {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 0.2rem;
}

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

.closing-note {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ---- Footer ---- */
.footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-logo {
  width: 24px;
  height: 24px;
  background: var(--gold);
  color: #0d0d1a;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.footer-copy {
  margin-left: auto;
  font-size: 0.82rem;
  color: var(--text-dim);
}

.footer-legal {
  font-size: 0.78rem;
  color: var(--text-dim);
  opacity: 0.6;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 3rem; min-height: auto; padding-top: 4rem; }
  .hero-right { display: none; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .manifesto-pillars { grid-template-columns: 1fr; }
  .closing-cta-strip { flex-direction: column; gap: 1.5rem; }
  .cta-divider { display: none; }
}

@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .footer-copy { margin-left: 0; }
  .platforms-grid { gap: 0.75rem; }
}