/* ===========================
   POSTLOCAL — THEME CSS
   =========================== */

/* --- Variables --- */
:root {
  --bg-primary: #071E26;
  --bg-secondary: #0B2E3D;
  --bg-card: #0D3548;
  --accent: #F5A623;
  --accent-dim: rgba(245, 166, 35, 0.12);
  --text-primary: #F0F7FF;
  --text-secondary: #A8C5D8;
  --text-muted: #6A8FA6;
  --border: rgba(240, 247, 255, 0.08);
  --success: #10B981;
}

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

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

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

/* --- Navigation --- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 48px;
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: 'Syne', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.nav-tagline {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* --- Hero --- */
.hero {
  min-height: calc(100vh - 73px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 48px 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245,166,35,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(245,166,35,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 20px;
}

.hero-headline {
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 24px;
  letter-spacing: -1.5px;
}

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

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--accent);
  color: var(--bg-primary);
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 15px;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.btn-primary:hover { opacity: 0.88; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  background: transparent;
  color: var(--text-primary);
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid var(--border);
  border-radius: 8px;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.btn-secondary:hover { border-color: rgba(240,247,255,0.3); }

/* --- Hero Visual --- */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
}

.visual-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(245,166,35,0.15);
}

.ring-1 { width: 320px; height: 320px; }
.ring-2 { width: 240px; height: 240px; border-color: rgba(245,166,35,0.25); }
.ring-3 { width: 160px; height: 160px; border-color: rgba(245,166,35,0.35); }

.visual-card {
  position: relative;
  z-index: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 32px;
  width: 280px;
  backdrop-filter: blur(20px);
}

.card-label {
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.card-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.card-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.instagram { background: #E1306C; }
.facebook { background: #1877F2; }
.gbp { background: #4285F4; }
.reel { background: #8B5CF6; }
.followup { background: #10B981; }

.card-text {
  font-size: 14px;
  color: var(--text-secondary);
}

.card-status {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  text-align: center;
}

.visual-badge {
  position: absolute;
  bottom: -12px;
  right: -12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--success);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-muted);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* --- Stats Row --- */
.stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 48px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  gap: 0;
}

.stat {
  text-align: center;
  padding: 0 60px;
}

.stat-value {
  font-family: 'Syne', sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 220px;
  margin: 0 auto;
}

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

/* --- Section Common --- */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-eyebrow {
  font-family: 'Syne', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  max-width: 640px;
  margin: 0 auto;
}

/* --- How It Works --- */
.hiw {
  padding: 100px 48px;
  background: var(--bg-primary);
}

.hiw-steps {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hiw-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  align-items: start;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}

.hiw-step:first-child { border-top: 1px solid var(--border); }

.step-number {
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  padding-top: 4px;
}

.step-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.step-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- The Stack --- */
.stack {
  padding: 100px 48px;
  background: var(--bg-secondary);
}

.stack-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.stack-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: border-color 0.2s;
}

.stack-card:hover { border-color: rgba(245,166,35,0.3); }

.stack-icon {
  color: var(--accent);
  margin-bottom: 20px;
}

.stack-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.stack-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- Pricing --- */
.pricing {
  padding: 100px 48px;
  background: var(--bg-primary);
}

.pricing-grid {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  position: relative;
}

.pricing-card.featured {
  border-color: rgba(245,166,35,0.35);
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(245,166,35,0.05) 100%);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--bg-primary);
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
}

.pricing-tier {
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.pricing-price {
  font-family: 'Syne', sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -1.5px;
  line-height: 1;
  margin-bottom: 8px;
}

.pricing-price span {
  font-size: 18px;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0;
}

.pricing-tag {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
}

.pricing-features li {
  font-size: 15px;
  color: var(--text-secondary);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features li::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='8' fill='%23F5A623' opacity='.15'/%3E%3Cpath d='M5 8l2 2 4-4' stroke='%23F5A623' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E") no-repeat center;
  flex-shrink: 0;
}

.pricing-btn {
  display: block;
  text-align: center;
  padding: 14px;
  background: var(--accent);
  color: var(--bg-primary);
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 15px;
  border-radius: 10px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.pricing-btn:hover { opacity: 0.85; }

.pricing-note {
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Manifesto --- */
.manifesto {
  padding: 100px 48px;
  background: var(--bg-secondary);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.manifesto-title {
  font-size: clamp(22px, 2.5vw, 34px);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  margin-bottom: 24px;
  line-height: 1.3;
}

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

.manifesto-visual {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.manifesto-stat {
  border-left: 2px solid var(--accent);
  padding-left: 28px;
}

.m-stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 42px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 8px;
}

.m-stat-label {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- Closing --- */
.closing {
  padding: 100px 48px;
  background: var(--bg-primary);
  text-align: center;
}

.closing-title {
  font-size: clamp(22px, 2.5vw, 38px);
  font-weight: 800;
  color: var(--text-primary);
  max-width: 640px;
  margin: 0 auto 24px;
  letter-spacing: -0.5px;
  line-height: 1.3;
}

.closing-sub {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
}

/* --- Footer --- */
.footer {
  padding: 48px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.footer-desc {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 300px;
}

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-tagline {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .nav { padding: 20px 24px; }
  .hero { padding: 60px 24px 80px; }
  .hero-content { grid-template-columns: 1fr; gap: 48px; }
  .hero-right { display: none; }
  .stats-row { flex-direction: column; gap: 40px; }
  .stat-divider { display: none; }
  .stat { padding: 0; }
  .hiw, .stack, .pricing, .manifesto, .closing { padding: 80px 24px; }
  .stack-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .manifesto { grid-template-columns: 1fr; gap: 48px; }
  .footer { flex-direction: column; gap: 24px; text-align: center; }
  .footer-desc { max-width: 100%; }
}