/* ============================
   CONTENTBRIDGE — THEME CSS
   ============================ */

:root {
  --bg: #0a0a0a;
  --surface: #111111;
  --surface2: #191919;
  --border: #222222;
  --accent: #f7b733;
  --accent-dim: #a87d1f;
  --text: #e8e4dc;
  --text-dim: #6b6660;
  --text-muted: #3a3835;
  --amber-glow: rgba(247, 183, 51, 0.18);
  --amber-glow2: rgba(247, 183, 51, 0.08);
  --phone-bg: #1c1c1e;
  --phone-screen-bg: #0c0c0e;
  --success: #4ade80;
  --font-display: 'Syne', sans-serif;
  --font-body: 'Figtree', sans-serif;
  --radius: 10px;
  --radius-sm: 6px;
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
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;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent-dim); border-radius: 2px; }

/* ---- HEADER ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0 48px;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  color: var(--accent);
  letter-spacing: -0.5px;
}
nav { display: flex; gap: 28px; }
nav a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dim);
  transition: color 0.2s;
}
nav a:hover { color: var(--text); }

/* ---- SECTION UTILITIES ---- */
.section-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-heading {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 56px;
}

/* ================================
   HERO
   ================================ */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: calc(100vh - 60px);
  overflow: hidden;
}

/* LEFT: content */
.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 64px 80px 64px;
  position: relative;
  z-index: 2;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--amber-glow);
  border: 1px solid var(--accent-dim);
  border-radius: 100px;
  padding: 6px 14px;
  width: fit-content;
  margin-bottom: 28px;
}
.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(44px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 17px;
  font-weight: 400;
  color: var(--text-dim);
  max-width: 400px;
  line-height: 1.65;
}

/* RIGHT: canvas */
.hero-canvas {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(ellipse 60% 60% at 60% 50%, var(--amber-glow) 0%, transparent 70%);
}

/* CSS ART: canvas grid */
.canvas-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.cg-line {
  position: absolute;
  background: var(--border);
  opacity: 0.5;
}
.cg-h { height: 1px; width: 100%; }
.cg-v { width: 1px; height: 100%; }
.cg-line:nth-child(1) { top: 25%; }
.cg-line:nth-child(2) { top: 50%; }
.cg-line:nth-child(3) { top: 75%; }
.cg-line:nth-child(4) { left: 33%; }
.cg-line:nth-child(5) { left: 66%; }

/* Badges */
.canvas-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 7px 14px 7px 10px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-dim);
  white-space: nowrap;
}
.cb-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}
.cb-start { top: 18%; left: 22%; }
.cb-mid   { top: 50%; left: 12%; transform: translateY(-50%); }
.cb-end   { top: 82%; left: 28%; }

/* Arrows */
.canvas-arrow {
  position: absolute;
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent-dim), transparent);
}
.canvas-arrow::after {
  content: '';
  position: absolute;
  right: 0;
  top: -4px;
  border: 5px solid transparent;
  border-left: 6px solid var(--accent-dim);
}
.a1 { top: calc(18% + 10px); left: calc(22% + 90px); transform: rotate(20deg); }
.a2 { top: calc(50% + 10px); left: calc(12% + 80px); transform: rotate(30deg); }

/* Phone mockup */
.canvas-phone {
  position: relative;
  width: 180px;
  height: 360px;
  background: var(--phone-bg);
  border-radius: 28px;
  border: 1.5px solid #2a2a2a;
  box-shadow:
    0 0 0 6px #0f0f0f,
    0 0 0 7px #1e1e1e,
    0 40px 80px rgba(0,0,0,0.7),
    0 0 50px var(--amber-glow2),
    inset 0 0 30px rgba(255,255,255,0.02);
  overflow: hidden;
  animation: phone-float 6s ease-in-out infinite;
}
@keyframes phone-float {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-10px) rotate(1deg); }
}
.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 22px;
  background: #0c0c0e;
  border-radius: 0 0 14px 14px;
  z-index: 2;
}
.phone-screen {
  position: absolute;
  inset: 0;
  background: var(--phone-screen-bg);
  padding: 32px 16px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.reel-thumb {
  width: 130px;
  height: 230px;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(247,183,51,0.15);
}
.reel-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.6) 100%),
    repeating-linear-gradient(0deg, transparent, transparent 8px, rgba(255,255,255,0.02) 8px, rgba(255,255,255,0.02) 9px);
}
.reel-thumb::after {
  content: '&#9679;';
  position: absolute;
  bottom: 12px;
  right: 12px;
  font-size: 22px;
  color: white;
  text-shadow: 0 2px 6px rgba(0,0,0,0.8);
}
.reel-caption {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  text-align: center;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}
.reel-time {
  font-size: 9px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.05em;
}
.reel-views {
  font-size: 8px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.05em;
}

/* Float panels */
.canvas-float-1, .canvas-float-2 {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 10px;
  color: var(--text-dim);
  font-weight: 500;
  animation: float-panel 7s ease-in-out infinite;
}
.canvas-float-1 { bottom: 20%; right: 16%; animation-delay: -2s; }
.canvas-float-2 { top: 22%; right: 10%; animation-delay: -5s; }
@keyframes float-panel {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.tf-icon {
  font-size: 14px;
  color: var(--accent);
  margin-bottom: 2px;
}
.tf-val {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
}

/* ================================
   STATS BAR
   ================================ */
.stats-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 40px 64px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 12px;
  color: var(--text-dim);
  text-align: center;
}
.stat-sep {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}

/* ================================
   WORKFLOW
   ================================ */
.workflow {
  padding: 100px 64px;
  max-width: 1200px;
  margin: 0 auto;
}
.workflow-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 40px;
}
.ws-item {
  background: var(--surface);
  padding: 40px 36px;
}
.ws-num {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 800;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1;
}
.ws-item h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.ws-item p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.65;
}
.workflow-tools {
  display: flex;
  align-items: center;
  gap: 20px;
}
.tool-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.tool-logos { display: flex; gap: 10px; }
.tool-chip {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  background: var(--amber-glow);
  border: 1px solid var(--accent-dim);
  border-radius: 100px;
  padding: 5px 14px;
}

/* ================================
   PRICING
   ================================ */
.pricing {
  padding: 100px 64px;
  max-width: 1200px;
  margin: 0 auto;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.plan {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  position: relative;
  transition: border-color 0.3s;
}
.plan:hover { border-color: #333; }
.plan-featured {
  border-color: var(--accent-dim);
  background: var(--surface2);
}
.plan-featured:hover { border-color: var(--accent); }
.plan-badge {
  position: absolute;
  top: -1px;
  right: 24px;
  background: var(--accent);
  color: #0a0a0a;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 0 0 6px 6px;
}
.plan-name {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 12px;
}
.plan-price {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
  margin-bottom: 8px;
  line-height: 1;
}
.plan-price span {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-dim);
}
.plan-desc {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 24px;
  line-height: 1.5;
}
.plan-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.plan-features li {
  font-size: 13px;
  color: var(--text-dim);
  padding-left: 18px;
  position: relative;
}
.plan-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-dim);
}

/* ================================
   MANIFESTO
   ================================ */
.manifesto {
  padding: 100px 64px;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}
.manifesto blockquote {
  font-family: var(--font-display);
  font-size: clamp(22px, 4vw, 38px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text);
  font-style: normal;
  margin-bottom: 28px;
}
.manifesto-sub {
  font-size: 16px;
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}

/* ================================
   FOOTER
   ================================ */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px 64px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-dim);
}
.footer-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  color: var(--accent);
  background: var(--amber-glow);
  border: 1px solid var(--accent-dim);
  border-radius: 6px;
  padding: 4px 8px;
}
.footer-tagline {
  font-size: 13px;
  color: var(--text-muted);
}

/* ================================
   RESPONSIVE
   ================================ */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-canvas {
    height: 360px;
  }
  .hero-content {
    padding: 60px 32px 40px;
  }
  .workflow, .pricing {
    padding: 80px 32px;
  }
  .workflow-steps, .pricing-grid {
    grid-template-columns: 1fr;
  }
  .stats-bar {
    flex-direction: column;
    gap: 24px;
    padding: 32px;
  }
  .stat-sep { display: none; }
  .stat { align-items: flex-start; }
  .manifesto {
    padding: 80px 32px;
    text-align: left;
  }
  .footer-inner {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .site-footer { padding: 40px 32px; }
  .site-header { padding: 0 24px; }
}
@media (max-width: 480px) {
  nav { display: none; }
  .hero-headline { font-size: 36px; }
  .hero-sub { font-size: 15px; }
  .plan-price { font-size: 28px; }
}