/* ═══════════════════════════════════════════════════════════════════
   Novus Tec Content Manager — Landing Page Styles
   Brand: Navy Premium + Champagner Gold
   ═══════════════════════════════════════════════════════════════════ */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/Inter-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/Inter-Medium.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/Inter-SemiBold.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/Inter-Bold.woff2') format('woff2');
}

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

/* ── Variables ─────────────────────────────────────────────────── */
:root {
  --navy: #0C1220;
  --soft-navy: #141E30;
  --card-bg: #1A2540;
  --gold: #C9A84C;
  --gold-hover: #D4B85E;
  --cream: #E8E4DF;
  --slate: #64748B;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ── Base ──────────────────────────────────────────────────────── */
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--navy);
  color: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-hover); }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Navigation ────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(12, 18, 32, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.1);
  padding: 16px 0;
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  display: flex;
  align-items: center;
}
.nav-logo {
  height: 28px;
  width: auto;
}
.nav-brand-text {
  font-size: 16px;
  font-weight: 700;
  color: var(--cream);
  margin-left: 10px;
  letter-spacing: -0.3px;
}
.nav-brand-text span {
  color: var(--slate);
  font-weight: 400;
  font-size: 12px;
  display: block;
  line-height: 1;
  margin-top: 1px;
}
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a {
  color: var(--slate);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--cream); }

/* ── Hero ──────────────────────────────────────────────────────── */
.hero {
  padding: 160px 0 100px;
  text-align: center;
}
.hero-badge {
  display: inline-block;
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold);
}
.hero p {
  font-size: 18px;
  color: var(--slate);
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.hero-cta {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-weight: 600;
  font-size: 16px;
  padding: 14px 32px;
  border-radius: 8px;
  transition: background 0.2s, transform 0.2s;
}
.hero-cta:hover {
  background: var(--gold-hover);
  color: var(--navy);
  transform: translateY(-1px);
}

/* ── Section Base ──────────────────────────────────────────────── */
section { padding: 80px 0; }
.section-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 16px;
  color: var(--slate);
  max-width: 560px;
}

/* ── Features ──────────────────────────────────────────────────── */
.features { background: var(--soft-navy); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.feature-card {
  background: var(--card-bg);
  border: 1px solid rgba(201, 168, 76, 0.08);
  border-radius: 12px;
  padding: 32px;
  transition: border-color 0.2s;
}
.feature-card:hover {
  border-color: rgba(201, 168, 76, 0.25);
}
.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(201, 168, 76, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}
.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.6;
}

/* ── How It Works ──────────────────────────────────────────────── */
.how-it-works { text-align: center; }
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  margin-top: 48px;
}
.step-number {
  width: 48px;
  height: 48px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: var(--gold);
  margin: 0 auto 16px;
}
.step h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}
.step p {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.6;
}

/* ── Platforms ──────────────────────────────────────────────────── */
.platforms { background: var(--soft-navy); }
.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.platform-card {
  background: var(--card-bg);
  border: 1px solid rgba(201, 168, 76, 0.08);
  border-radius: 12px;
  padding: 28px;
  text-align: center;
}
.platform-card .icon {
  font-size: 36px;
  margin-bottom: 12px;
}
.platform-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}
.platform-card p {
  font-size: 13px;
  color: var(--slate);
}

/* ── Pricing Teaser ────────────────────────────────────────────── */
.pricing { text-align: center; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.pricing-card {
  background: var(--soft-navy);
  border: 1px solid rgba(201, 168, 76, 0.08);
  border-radius: 12px;
  padding: 36px 28px;
}
.pricing-card.featured {
  border-color: var(--gold);
  position: relative;
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 100px;
}
.pricing-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}
.pricing-price {
  font-size: 36px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 4px;
}
.pricing-price span {
  font-size: 14px;
  font-weight: 400;
  color: var(--slate);
}
.pricing-features {
  list-style: none;
  margin-top: 20px;
  text-align: left;
}
.pricing-features li {
  font-size: 14px;
  color: var(--slate);
  padding: 6px 0;
  border-bottom: 1px solid rgba(100, 116, 139, 0.15);
}
.pricing-features li::before {
  content: '\2713';
  color: var(--gold);
  margin-right: 8px;
  font-weight: 700;
}
.coming-soon {
  display: inline-block;
  margin-top: 40px;
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gold);
}

/* ── Waitlist ──────────────────────────────────────────────────── */
.waitlist {
  background: var(--soft-navy);
  text-align: center;
}
.waitlist-form {
  max-width: 480px;
  margin: 32px auto 0;
}
.form-group {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.form-group input[type="email"] {
  flex: 1;
  background: var(--card-bg);
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: 8px;
  padding: 14px 16px;
  color: var(--cream);
  font-family: var(--font);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
}
.form-group input[type="email"]:focus {
  border-color: var(--gold);
}
.form-group input[type="email"]::placeholder {
  color: var(--slate);
}
.form-group button {
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.form-group button:hover {
  background: var(--gold-hover);
}
.form-group button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--slate);
  text-align: left;
  cursor: pointer;
}
.consent-label input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--gold);
}
.form-message {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 500;
  min-height: 20px;
}
.form-message.success { color: #4ade80; }
.form-message.error { color: #f87171; }

/* ── Honeypot (invisible to humans) ────────────────────────────── */
.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

/* ── Footer ────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid rgba(201, 168, 76, 0.08);
  padding: 40px 0;
}
.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}
.footer-links a {
  color: var(--slate);
  font-size: 14px;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--cream); }
.footer-copy {
  font-size: 13px;
  color: var(--slate);
}

/* ── Auth Pages ────────────────────────────────────────────────── */
.auth-page {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 80px 24px 40px;
}
.auth-card {
  background: var(--soft-navy);
  border: 1px solid rgba(201, 168, 76, 0.08);
  border-radius: 16px;
  padding: 40px;
  width: 100%;
  max-width: 420px;
}
.auth-card h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 4px;
}
.auth-subtitle {
  color: var(--slate);
  font-size: 14px;
  margin-bottom: 28px;
}
.field {
  margin-bottom: 16px;
}
.field label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--cream);
}
.field input[type="email"],
.field input[type="password"],
.field input[type="file"],
.field textarea {
  width: 100%;
  background: var(--card-bg);
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--cream);
  font-family: var(--font);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
}
.field input:focus,
.field textarea:focus {
  border-color: var(--gold);
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--slate);
}
.field-hint {
  font-size: 12px;
  color: var(--slate);
  margin-top: 4px;
  display: block;
}
.btn-primary {
  display: inline-block;
  width: 100%;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
  text-align: center;
  text-decoration: none;
  margin-top: 8px;
}
.btn-primary:hover { background: var(--gold-hover); color: var(--navy); }
.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
  font-family: var(--font);
  font-weight: 500;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
}
.btn-secondary:hover { background: rgba(201, 168, 76, 0.1); color: var(--gold); }
.btn-large { width: auto; padding: 16px 32px; font-size: 16px; }
.auth-footer {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: var(--slate);
}
.nav-cta {
  background: var(--gold) !important;
  color: var(--navy) !important;
  padding: 6px 16px;
  border-radius: 6px;
  font-weight: 600 !important;
}
.nav-logout {
  background: none;
  border: none;
  color: var(--slate);
  font-family: var(--font);
  font-size: 14px;
  cursor: pointer;
}
.nav-logout:hover { color: var(--cream); }

/* ── Alerts ────────────────────────────────────────────────────── */
.alert {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 20px;
}
.alert-error {
  background: rgba(248, 113, 113, 0.1);
  border: 1px solid rgba(248, 113, 113, 0.3);
  color: #f87171;
}
.alert-success {
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.3);
  color: #4ade80;
}

/* ── Dashboard ─────────────────────────────────────────────────── */
.dashboard {
  padding: 100px 0 60px;
}
.dashboard h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 4px;
}
.dash-welcome {
  color: var(--slate);
  font-size: 14px;
  margin-bottom: 32px;
}
.dash-section {
  margin-bottom: 32px;
}
.dash-section h2 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--gold);
}
.account-card {
  background: var(--soft-navy);
  border: 1px solid rgba(201, 168, 76, 0.08);
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.account-info {
  display: flex;
  align-items: center;
  gap: 16px;
}
.account-icon { font-size: 32px; }
.account-info h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 2px;
}
.account-status {
  font-size: 13px;
  font-weight: 500;
}
.account-status.connected { color: #4ade80; }
.account-status.disconnected { color: var(--slate); }
.account-meta {
  font-size: 12px;
  color: var(--slate);
  margin-top: 2px;
}
.empty-state {
  color: var(--slate);
  font-size: 14px;
  padding: 24px;
  text-align: center;
  background: var(--soft-navy);
  border-radius: 12px;
}
.posts-table {
  width: 100%;
  border-collapse: collapse;
}
.posts-table th {
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--slate);
  padding: 8px 12px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.08);
}
.posts-table td {
  padding: 12px;
  font-size: 14px;
  border-bottom: 1px solid rgba(100, 116, 139, 0.1);
}
.status-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
}
.status-published { background: rgba(74, 222, 128, 0.15); color: #4ade80; }
.status-pending { background: rgba(201, 168, 76, 0.15); color: var(--gold); }
.status-scheduled { background: rgba(96, 165, 250, 0.15); color: #60a5fa; }
.status-failed { background: rgba(248, 113, 113, 0.15); color: #f87171; }
.status-uploading { background: rgba(168, 85, 247, 0.15); color: #a855f7; }
.error-hint { cursor: help; margin-left: 4px; }

/* ── Stats Row ─────────────────────────────────────────────────── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.stat-card {
  background: var(--soft-navy);
  border: 1px solid rgba(201, 168, 76, 0.08);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}
.stat-number {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: var(--cream);
}
.stat-green { color: #4ade80; }
.stat-gold { color: var(--gold); }
.stat-red { color: #f87171; }
.stat-label {
  font-size: 12px;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
  display: block;
}

/* ── Post Cards ────────────────────────────────────────────────── */
.post-cards { display: flex; flex-direction: column; gap: 12px; }
.post-card {
  background: var(--soft-navy);
  border: 1px solid rgba(201, 168, 76, 0.08);
  border-radius: 12px;
  padding: 20px;
}
.post-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.post-date { font-size: 13px; color: var(--slate); }
.post-caption {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 12px;
  color: var(--cream);
}
.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--slate);
}
.post-error {
  margin-top: 8px;
  font-size: 13px;
  color: #f87171;
  background: rgba(248, 113, 113, 0.08);
  padding: 8px 12px;
  border-radius: 6px;
}

/* ── Upload Page ───────────────────────────────────────────────── */
.upload-page {
  padding: 100px 0 60px;
}
.upload-card {
  background: var(--soft-navy);
  border: 1px solid rgba(201, 168, 76, 0.08);
  border-radius: 16px;
  padding: 40px;
  max-width: 640px;
  margin: 0 auto;
}
.upload-card h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 4px;
}
.ai-caption-section {
  margin-bottom: 16px;
}
.ai-caption-section label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--cream);
}
.ai-row {
  display: flex;
  gap: 8px;
}
.ai-input {
  flex: 1;
  background: var(--card-bg);
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--cream);
  font-family: var(--font);
  font-size: 14px;
  outline: none;
}
.ai-input:focus { border-color: var(--gold); }
.ai-input::placeholder { color: var(--slate); }
.schedule-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--cream);
  cursor: pointer;
}
.schedule-toggle input { accent-color: var(--gold); }
.schedule-picker {
  margin-top: 8px;
}
.schedule-picker input[type="datetime-local"] {
  background: var(--card-bg);
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--cream);
  font-family: var(--font);
  font-size: 14px;
  outline: none;
  width: 100%;
  color-scheme: dark;
}

/* ── Dashboard Action Bar ──────────────────────────────────────── */
.dash-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.dash-actions .btn-primary { width: auto; margin-top: 0; }

/* ── Platform Badge ───────────────────────────────────────────── */
.platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(201, 168, 76, 0.1);
  color: var(--gold);
}

/* ── Video Thumbnail Placeholder ──────────────────────────────── */
.post-card-layout {
  display: flex;
  gap: 16px;
}
.post-thumb {
  width: 64px;
  height: 64px;
  background: var(--card-bg);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
}
.post-body { flex: 1; min-width: 0; }

/* ── Responsive ────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero { padding: 120px 0 60px; }
  .form-group { flex-direction: column; }
  section { padding: 60px 0; }
  .footer .container { flex-direction: column; text-align: center; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .upload-card { padding: 24px; }
  .post-card-layout { flex-direction: column; }
  .post-thumb { width: 100%; height: 48px; }
  .dash-actions { flex-direction: column; }
}

/* ── Legal Pages ───────────────────────────────────────────────── */
.legal {
  padding: 120px 0 60px;
  max-width: 720px;
  margin: 0 auto;
}
.legal h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
}
.legal .last-updated {
  font-size: 14px;
  color: var(--slate);
  margin-bottom: 40px;
}
.legal h2 {
  font-size: 20px;
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 12px;
  color: var(--gold);
}
.legal p, .legal li {
  font-size: 15px;
  color: var(--slate);
  line-height: 1.7;
  margin-bottom: 12px;
}
.legal ul {
  padding-left: 20px;
}
.legal a {
  color: var(--gold);
}

/* ── Verification Code Input ──────────────────────────────────── */
.code-inputs { display: flex; gap: 8px; justify-content: center; margin: 24px 0; }
.code-input { width: 48px; height: 56px; text-align: center; font-size: 24px; font-weight: 700; background: var(--card-bg); border: 1px solid rgba(201, 168, 76, 0.15); border-radius: 10px; color: var(--cream); font-family: var(--font); outline: none; transition: border-color 0.2s; }
.code-input:focus { border-color: var(--gold); }
.resend-link { text-align: center; margin-top: 16px; font-size: 14px; color: var(--slate); }
.resend-link a { color: var(--gold); }
.resend-link .countdown { color: var(--slate); }
.email-highlight { color: var(--gold); font-weight: 600; }

/* ═══════════════════════════════════════════════════════════════════
   Reel Creator Wizard
   ═══════════════════════════════════════════════════════════════════ */

/* ── Wizard Step Indicators ───────────────────────────────────── */
.wizard-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 32px;
  padding: 0 16px;
}
.wizard-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
}
.wizard-step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  border: 2px solid var(--slate);
  color: var(--slate);
  background: transparent;
  transition: all 0.3s ease;
}
.wizard-step-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--slate);
  transition: color 0.3s ease;
}
.wizard-step.active .wizard-step-num {
  border-color: var(--gold);
  color: var(--navy);
  background: var(--gold);
}
.wizard-step.active .wizard-step-label {
  color: var(--gold);
}
.wizard-step.done .wizard-step-num {
  border-color: #4ade80;
  color: #fff;
  background: #4ade80;
}
.wizard-step.done .wizard-step-num::after {
  content: '\2713';
  font-size: 16px;
}
.wizard-step.done .wizard-step-label {
  color: #4ade80;
}
.wizard-step-line {
  flex: 1;
  height: 2px;
  background: rgba(100, 116, 139, 0.3);
  margin: 0 12px;
  margin-bottom: 22px;
}

/* ── Drop Zone ────────────────────────────────────────────────── */
.drop-zone {
  border: 2px dashed rgba(201, 168, 76, 0.25);
  border-radius: 12px;
  padding: 48px 24px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  margin-bottom: 16px;
}
.drop-zone:hover,
.drop-zone.drag-over {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.04);
}
.drop-zone-icon {
  font-size: 48px;
  margin-bottom: 12px;
}
.drop-zone-text {
  font-size: 15px;
  color: var(--cream);
  margin-bottom: 8px;
}
.drop-zone-browse {
  color: var(--gold);
  cursor: pointer;
  text-decoration: underline;
}
.drop-zone-hint {
  font-size: 13px;
  color: var(--slate);
}

/* ── Clip Grid ────────────────────────────────────────────────── */
.clip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.clip-card {
  background: var(--card-bg);
  border: 1px solid rgba(201, 168, 76, 0.08);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}
.clip-thumb {
  width: 100%;
  height: 100px;
  background: var(--navy);
  overflow: hidden;
}
.clip-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.clip-info {
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.clip-name {
  font-size: 12px;
  font-weight: 500;
  color: var(--cream);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.clip-size {
  font-size: 11px;
  color: var(--slate);
}
.clip-remove {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(12, 18, 32, 0.85);
  border: none;
  color: var(--cream);
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.clip-remove:hover {
  background: #f87171;
}

/* ── Toggle Group (Language / Type) ───────────────────────────── */
.toggle-group {
  display: flex;
  gap: 0;
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 8px;
  overflow: hidden;
  width: fit-content;
}
.toggle-btn {
  background: transparent;
  border: none;
  color: var(--slate);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 20px;
  cursor: pointer;
  transition: all 0.2s;
  border-right: 1px solid rgba(201, 168, 76, 0.2);
}
.toggle-btn:last-child {
  border-right: none;
}
.toggle-btn.active {
  background: var(--gold);
  color: var(--navy);
  font-weight: 600;
}
.toggle-btn:hover:not(.active) {
  background: rgba(201, 168, 76, 0.08);
  color: var(--cream);
}

/* ── Generation Steps ─────────────────────────────────────────── */
.generation-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 360px;
  margin: 32px auto;
  text-align: left;
}
.gen-step {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 8px;
  transition: all 0.3s ease;
}
.gen-icon {
  font-size: 20px;
  width: 28px;
  text-align: center;
  flex-shrink: 0;
}
.gen-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--slate);
  flex: 1;
  transition: color 0.3s;
}
.gen-status {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Waiting state */
.gen-step.waiting .gen-label {
  color: var(--slate);
  opacity: 0.5;
}

/* Active state */
.gen-step.active {
  background: rgba(201, 168, 76, 0.06);
}
.gen-step.active .gen-label {
  color: var(--cream);
}
.gen-step.active .gen-status::after {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  border: 2px solid var(--gold);
  border-top-color: transparent;
  border-radius: 50%;
  animation: gen-spin 0.8s linear infinite;
}

/* Done state */
.gen-step.done .gen-label {
  color: #4ade80;
}
.gen-step.done .gen-status::after {
  content: '\2713';
  color: #4ade80;
  font-size: 16px;
  font-weight: 700;
}

@keyframes gen-spin {
  to { transform: rotate(360deg); }
}

/* ── Generation Progress Bar ──────────────────────────────────── */
.gen-progress-bar {
  height: 4px;
  background: rgba(100, 116, 139, 0.2);
  border-radius: 4px;
  overflow: hidden;
  margin: 24px 0 12px;
}
.gen-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), #D4B85E);
  border-radius: 4px;
  transition: width 0.5s ease;
}
.gen-time-remaining {
  font-size: 13px;
  color: var(--slate);
  text-align: center;
}

/* ── Video Preview ────────────────────────────────────────────── */
.video-preview {
  background: var(--navy);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 8px;
}
.video-preview video {
  width: 100%;
  max-height: 480px;
  display: block;
  margin: 0 auto;
  background: #000;
}

/* ── Preview Actions ──────────────────────────────────────────── */
.preview-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.preview-actions .btn-primary {
  margin-top: 0;
}
.preview-actions .btn-secondary {
  padding: 14px 24px;
}

/* ── Reel Creator Responsive ──────────────────────────────────── */
@media (max-width: 768px) {
  .wizard-steps { gap: 0; }
  .wizard-step-line { margin: 0 6px; }
  .wizard-step-label { font-size: 10px; }
  .clip-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
  .generation-steps { max-width: 100%; }
  .preview-actions { flex-direction: column; }
  .preview-actions .btn-secondary { text-align: center; }
  .toggle-group { width: 100%; }
  .toggle-btn { flex: 1; text-align: center; }
}
