/* Demo reel page styles — extends theme.css */

body {
  background: #0a0a0a;
  color: #faf8f4;
  font-family: 'DM Sans', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Override body bg from theme.css for demo page only */
body.demo-page {
  background: #0a0a0a;
}

/* Nav */
.demo-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1rem 2rem;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.demo-nav-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 1.2rem;
  color: #faf8f4;
  letter-spacing: -0.02em;
}
.demo-nav-logo span { color: #e8430a; }
.demo-nav-back {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.2s;
}
.demo-nav-back:hover { color: #faf8f4; }

/* Hero */
.demo-hero {
  text-align: center;
  padding: 6rem 2rem 2rem;
  max-width: 720px;
  margin: 0 auto;
}
.demo-badge {
  display: inline-block;
  background: rgba(232,67,10,0.12);
  border: 1px solid rgba(232,67,10,0.3);
  color: #e8430a;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}
.demo-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1rem;
}
.demo-title span { color: #e8430a; }
.demo-sub {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.45);
  max-width: 480px;
  margin: 0 auto 2rem;
  line-height: 1.65;
}

/* Canvas */
.demo-canvas-wrap {
  position: relative;
  margin: 0 auto 1.5rem;
  max-width: 380px;
}
.canvas-glow {
  position: absolute;
  inset: -3px;
  border-radius: 19px;
  background: linear-gradient(135deg, #e8430a, #f97316);
  opacity: 0.25;
  filter: blur(10px);
  z-index: -1;
}

/* Controls */
.demo-controls {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 1.25rem 0 1rem;
}
.demo-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform 0.15s, box-shadow 0.15s;
  text-decoration: none;
}
.demo-btn:active { transform: scale(0.97); }
.demo-btn-primary {
  background: #e8430a;
  color: #fff;
}
.demo-btn-primary:hover { box-shadow: 0 4px 20px rgba(232,67,10,0.4); }
.demo-btn-ghost {
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.65);
  border: 1px solid rgba(255,255,255,0.1);
}
.demo-btn-ghost:hover { background: rgba(255,255,255,0.1); color: #fff; }

/* Progress */
.progress-bar {
  width: 100%;
  max-width: 380px;
  height: 3px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  margin: 0.75rem auto;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #e8430a, #f97316);
  border-radius: 2px;
  transition: width 0.1s linear;
  width: 0%;
}
.time-display {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.3);
  font-variant-numeric: tabular-nums;
}

/* Waveform */
.waveform {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 40px;
  margin: 0.5rem 0 1rem;
}
.waveform-bar {
  width: 3px;
  border-radius: 2px;
  background: #e8430a;
  opacity: 0.5;
  animation: wave 0.8s ease-in-out infinite alternate;
}
@keyframes wave {
  from { height: 4px; opacity: 0.25; }
  to { height: 36px; opacity: 0.7; }
}

/* Demo section */
.demo-section {
  padding: 2rem 2rem 3rem;
  max-width: 1100px;
  margin: 0 auto;
}
.section-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #e8430a;
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.section-title {
  font-family: 'DM Serif Display', serif;
  font-size: 1.9rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}
.section-sub {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 2rem;
  max-width: 500px;
}

/* Format cards */
.format-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}
.format-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 1.5rem;
  transition: border-color 0.2s, transform 0.2s;
}
.format-card:hover {
  border-color: rgba(232,67,10,0.35);
  transform: translateY(-2px);
}
.format-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 0.85rem;
}
.format-icon.tiktok { background: #000; }
.format-icon.reels { background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045); }
.format-icon.shorts { background: #ff0000; }
.format-name {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.2rem;
}
.format-dims {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
  margin-bottom: 0.6rem;
  font-variant-numeric: tabular-nums;
}
.format-desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.55;
}
.format-specs {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.spec-tag {
  font-size: 0.62rem;
  padding: 0.18rem 0.55rem;
  border-radius: 100px;
  background: rgba(232,67,10,0.12);
  color: rgba(232,67,10,0.75);
  font-weight: 500;
}

/* Hook analysis */
.hook-analysis {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 1.75rem;
  margin-top: 2rem;
}
.hook-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.25rem;
}
.hook-stat { text-align: center; }
.hook-stat-num {
  font-family: 'DM Serif Display', serif;
  font-size: 1.9rem;
  color: #e8430a;
  letter-spacing: -0.02em;
}
.hook-stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  margin-top: 0.25rem;
  line-height: 1.45;
}

/* CTA */
.cta-section {
  text-align: center;
  padding: 3rem 2rem 4rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.cta-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.85rem;
}
.cta-sub {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.75rem;
}
.cta-btn {
  display: inline-block;
  background: #e8430a;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.8rem 1.75rem;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}
.cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(232,67,10,0.35);
}

@media (max-width: 600px) {
  .hook-grid { grid-template-columns: 1fr; gap: 1rem; }
  .format-grid { grid-template-columns: 1fr; }
}