:root {
  --bg: #0B0D13;
  --panel: #131722;
  --panel-2: #1B2030;
  --border: #262E42;
  --text: #F2F5FA;
  --muted: #95A0B8;
  --accent: #7C5CFF;
  --accent-hover: #9175FF;
  --cyan: #00F0FF;
  --yellow: #FFDE00;
  --green: #00FF88;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

.hidden {
  display: none !important;
}

/* ── 1. LANDING PAGE ────────────────────────────────────────────────────── */
.landing-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 8%, rgba(124, 92, 255, 0.20), transparent 42%),
    radial-gradient(circle at 82% 18%, rgba(0, 240, 255, 0.14), transparent 42%),
    var(--bg);
}

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

.lp-navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 13, 19, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.lp-nav-inner {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.lp-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}

.lp-brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.lp-brand strong {
  display: block;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.lp-brand-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.lp-nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.lp-nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.15s;
}

.lp-nav-links a:hover {
  color: var(--text);
}

.lp-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-cta-nav {
  background: linear-gradient(135deg, var(--accent), #5B3DF5);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 9px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(124, 92, 255, 0.35);
  transition: transform 0.15s;
}

.btn-cta-nav:hover {
  transform: translateY(-1px);
}

/* ── Hero Section ──────────────────────────────────────────────────────── */
.lp-hero {
  padding: 64px 0 56px;
}

.lp-hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 44px;
  align-items: center;
}

.lp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 240, 255, 0.10);
  border: 1px solid rgba(0, 240, 255, 0.28);
  color: var(--cyan);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.lp-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
}

.lp-hero-copy h1 {
  margin: 0 0 18px;
  font-size: 2.75rem;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.lp-hero-lead {
  margin: 0 0 28px;
  font-size: 1.06rem;
  line-height: 1.62;
  color: var(--muted);
}

.lp-hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}

.btn-hero-primary {
  background: linear-gradient(135deg, var(--accent), #00C2FF);
  color: #fff;
  border: none;
  border-radius: 14px;
  padding: 15px 28px;
  font-size: 1.02rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(124, 92, 255, 0.42);
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(0, 240, 255, 0.45);
}

.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 15px 24px;
  font-size: 0.98rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
}

.btn-hero-secondary:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.lp-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.84rem;
  color: var(--muted);
}

.lp-hero-chips b {
  color: var(--text);
}

/* ── Hero Live Showcase Window ─────────────────────────────────────────── */
.showcase-window {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.65);
}

.showcase-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--panel-2);
  border-bottom: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--muted);
}

.showcase-dots {
  display: flex;
  gap: 6px;
}

.showcase-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3A435E;
}

.showcase-dots span:nth-child(1) { background: #FF5F56; }
.showcase-dots span:nth-child(2) { background: #FFBD2E; }
.showcase-dots span:nth-child(3) { background: #27C93F; }

.showcase-tag {
  background: rgba(0, 255, 136, 0.15);
  color: var(--green);
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.72rem;
}

.showcase-stage {
  position: relative;
  height: 270px;
  background:
    radial-gradient(circle at 50% 35%, rgba(124, 92, 255, 0.28), rgba(11, 13, 19, 0.96)),
    #090B10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.showcase-speaker-avatar {
  font-size: 3.4rem;
  margin-bottom: 10px;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.5));
}

.showcase-waveform {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 30px;
  margin-bottom: 22px;
}

.showcase-waveform span {
  width: 4px;
  height: 14px;
  background: var(--cyan);
  border-radius: 99px;
  animation: wavePulse 1s ease-in-out infinite alternate;
}

.showcase-waveform span:nth-child(odd) {
  height: 24px;
  animation-duration: 0.65s;
}

@keyframes wavePulse {
  from { transform: scaleY(0.45); opacity: 0.5; }
  to { transform: scaleY(1.15); opacity: 1; }
}

.showcase-caption-box {
  background: rgba(0, 0, 0, 0.78);
  border: 2px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 12px 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.65);
}

.demo-word {
  font-size: 1.35rem;
  font-weight: 900;
  color: #FFFFFF;
  text-shadow: 0 2px 0 #000, 0 -2px 0 #000, 2px 0 0 #000, -2px 0 0 #000;
  transition: color 0.12s, transform 0.12s;
}

.demo-word.active {
  color: var(--yellow);
  transform: scale(1.08);
}

.showcase-timeline {
  padding: 12px 16px;
  background: #0E121B;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tl-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
}

.tl-row > span {
  width: 90px;
  color: var(--muted);
  font-weight: 700;
}

.tl-blocks {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.tl-blocks i {
  font-style: normal;
  background: rgba(124, 92, 255, 0.18);
  border: 1px solid rgba(124, 92, 255, 0.4);
  color: var(--text);
  padding: 5px 8px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tl-blocks i.active {
  background: rgba(255, 222, 0, 0.22);
  border-color: var(--yellow);
  color: var(--yellow);
}

.tl-video-bar {
  flex: 1;
  background: rgba(0, 240, 255, 0.12);
  border: 1px solid rgba(0, 240, 255, 0.35);
  color: var(--cyan);
  padding: 5px 10px;
  border-radius: 6px;
  font-weight: 700;
  text-align: center;
}

/* ── Sections: Features & Presets ──────────────────────────────────────── */
.lp-section {
  padding: 64px 0;
}

.lp-section-alt {
  background: rgba(19, 23, 34, 0.65);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.lp-section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 42px;
}

.lp-section-tag {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--cyan);
  background: rgba(0, 240, 255, 0.1);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.lp-section-header h2 {
  margin: 0 0 12px;
  font-size: 2rem;
  letter-spacing: -0.02em;
}

.lp-section-header p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.lp-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 20px;
}

.lp-feature-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  transition: transform 0.15s, border-color 0.15s;
}

.lp-feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
}

.feat-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.lp-feature-card h3 {
  margin: 0 0 10px;
  font-size: 1.12rem;
}

.lp-feature-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.58;
  color: var(--muted);
}

.lp-presets-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.lp-preset-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
}

.lp-preset-preview {
  height: 84px;
  border-radius: 12px;
  background: #090B10;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.preview-hormozi span {
  color: #FFF;
  text-shadow: 0 2px 0 #000, 2px 0 0 #000, -2px 0 0 #000;
}
.preview-hormozi b { color: #FFDE00; }

.preview-tiktok span {
  background: rgba(0, 0, 0, 0.85);
  color: #FFF;
  padding: 6px 14px;
  border-radius: 8px;
}
.preview-tiktok b { color: #FFDE00; }

.preview-yellow span {
  color: #FFDE00;
  text-shadow: 0 2px 0 #000, 2px 0 0 #000;
}
.preview-yellow b { color: #00FF88; }

.preview-neon span {
  color: #00F0FF;
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}
.preview-neon b { color: #FFDE00; }

.lp-preset-card h4 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.lp-preset-card p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ── CTA Banner & Footer ───────────────────────────────────────────────── */
.lp-cta-box {
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.22), rgba(0, 240, 255, 0.12));
  border: 1px solid rgba(124, 92, 255, 0.45);
  border-radius: 22px;
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.lp-cta-box h2 {
  margin: 6px 0 8px;
  font-size: 1.65rem;
}

.lp-cta-box p {
  margin: 0;
  color: var(--muted);
  max-width: 640px;
}

.lp-footer {
  padding: 32px 0 40px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.lp-copyright {
  margin: 16px 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

/* ── 2. DOWNLOAD MODAL & PLATFORM CARDS ────────────────────────────────── */
.modal-download-card {
  max-width: 860px !important;
  max-height: 92vh;
  overflow-y: auto;
}

.modal-title-lg {
  margin: 6px 0 4px;
  font-size: 1.35rem;
}

.gate-badge {
  display: inline-block;
  background: rgba(124, 92, 255, 0.18);
  color: #B4A0FF;
  border: 1px solid rgba(124, 92, 255, 0.4);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 999px;
}

.pwa-install-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.16), rgba(0, 240, 255, 0.08));
  border: 1px solid rgba(124, 92, 255, 0.45);
  border-radius: 16px;
  padding: 18px 20px;
  margin-bottom: 20px;
}

.pwa-install-info h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.tag-recommended {
  background: var(--green);
  color: #051B10;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
}

.pwa-install-info p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--muted);
}

.ios-hint {
  margin-top: 8px !important;
  color: var(--yellow) !important;
}

.pwa-install-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 230px;
}

.btn-primary-xl {
  background: linear-gradient(135deg, var(--accent), #5B3DF5);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 13px 18px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(124, 92, 255, 0.35);
}

.btn-ghost-sm {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

.btn-ghost-sm:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.platforms-section h4 {
  margin: 0 0 12px;
  font-size: 0.9rem;
  color: var(--muted);
}

.platforms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
  gap: 10px;
}

.platform-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  text-decoration: none;
  color: var(--text);
  transition: all 0.15s;
}

.platform-card-btn {
  width: 100%;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
}

.platform-card:hover,
.platform-card.detected-os {
  border-color: var(--cyan);
  background: rgba(0, 240, 255, 0.07);
}

.plat-icon {
  font-size: 1.65rem;
}

.plat-meta {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.plat-meta strong {
  font-size: 0.9rem;
}

.plat-meta span {
  font-size: 0.74rem;
  color: var(--muted);
}

.plat-dl {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--cyan);
  background: rgba(0, 240, 255, 0.12);
  padding: 5px 10px;
  border-radius: 8px;
}

/* ── 3. ESTÚDIO CLIPCUT PWA ────────────────────────────────────────────── */
.studio-app {
  display: flex;
  flex-direction: column;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
}

.topbar {
  height: 54px;
  background: var(--panel);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  gap: 12px;
}

.topbar-left, .topbar-center, .topbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.topbar-logo {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

.topbar-tag {
  font-size: 0.7rem;
  background: rgba(124, 92, 255, 0.2);
  color: #B4A0FF;
  padding: 2px 8px;
  border-radius: 6px;
}

.tool-pill {
  background: var(--panel-2);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

.tool-pill.active, .tool-pill:hover {
  border-color: var(--accent);
  background: rgba(124, 92, 255, 0.18);
}

.btn-primary-sm {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 7px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.btn-secondary-sm {
  background: var(--panel-2);
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 0.8rem;
  cursor: pointer;
}

.workspace {
  flex: 1;
  display: grid;
  grid-template-columns: 300px 1fr 310px;
  min-height: 0;
}

.panel {
  background: var(--panel);
  border-right: 1px solid var(--border);
  padding: 14px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.panel-right {
  border-right: none;
  border-left: 1px solid var(--border);
}

.panel-section h3 {
  margin: 0 0 10px;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.upload-dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 2px dashed var(--border);
  border-radius: 12px;
  padding: 18px;
  cursor: pointer;
  text-align: center;
}

.upload-dropzone:hover {
  border-color: var(--accent);
}

.field-group {
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-group label {
  font-size: 0.8rem;
  color: var(--muted);
}

.segmented {
  display: flex;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2px;
}

.segmented button {
  flex: 1;
  background: transparent;
  color: var(--muted);
  border: none;
  padding: 6px 8px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

.segmented button.active {
  background: var(--accent);
  color: #fff;
}

textarea {
  width: 100%;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px;
  font-family: inherit;
  font-size: 0.84rem;
  resize: vertical;
}

.btn-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn-accent-block {
  background: linear-gradient(135deg, var(--accent), #5B3DF5);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px;
  font-weight: 700;
  cursor: pointer;
}

.srt-actions-row {
  display: flex;
  gap: 8px;
  width: 100%;
}

.btn-ghost-block {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  background: var(--panel-2);
  border: 1px solid var(--border);
  color: #F8FAFC !important;
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 0.82rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
  box-sizing: border-box;
  outline: none;
}

.btn-ghost-block:hover {
  background: rgba(0, 240, 255, 0.15);
  border-color: var(--cyan);
  color: #FFFFFF !important;
  transform: translateY(-1px);
}

.transcribe-actions-row {
  margin-top: 8px;
  display: flex;
  gap: 8px;
}

.btn-transcribe-ai {
  flex: 1;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.22), rgba(124, 92, 255, 0.32));
  border: 1px solid var(--cyan);
  color: #fff;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 9px 10px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.copilot-select {
  width: 100%;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 0.82rem;
  font-family: inherit;
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.copilot-select:focus {
  border-color: var(--cyan);
}

.btn-transcribe-ai:hover {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.4), rgba(124, 92, 255, 0.5));
  box-shadow: 0 0 14px rgba(0, 240, 255, 0.35);
  transform: translateY(-1px);
}

.btn-dictate {
  background: rgba(27, 32, 48, 0.9);
  border: 1px solid var(--border);
  color: var(--yellow);
  font-size: 1.05rem;
  padding: 0 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-dictate:hover, .btn-dictate.recording {
  background: rgba(255, 75, 75, 0.25);
  border-color: #ff4444;
  color: #ff4444;
  animation: pulseDictate 1.2s infinite;
}

@keyframes pulseDictate {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.transcribe-progress-box {
  margin-top: 8px;
  background: rgba(27, 32, 48, 0.95);
  border: 1px solid var(--cyan);
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.78rem;
}

.transcribe-status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  color: var(--text);
  font-weight: 600;
}

.transcribe-bar-outer {
  background: rgba(11, 13, 19, 0.8);
  height: 6px;
  border-radius: 999px;
  overflow: hidden;
}

.transcribe-bar-inner {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--cyan));
  transition: width 0.25s ease;
}

.stage-center {
  background: #080A0E;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  gap: 12px;
  min-height: 0;
}

.canvas-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: calc(100vh - 230px);
  max-width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
}

#preview-canvas {
  max-width: 100%;
  max-height: calc(100vh - 235px);
  object-fit: contain;
}

.transport-bar {
  width: 100%;
  max-width: 680px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--panel);
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.transport-btn {
  background: var(--accent);
  color: #fff;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  cursor: pointer;
}

.timecode {
  font-family: monospace;
  font-size: 0.82rem;
  color: var(--muted);
  min-width: 115px;
}

.scrubber {
  flex: 1;
}

.preset-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.preset-btn {
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 8px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--text);
}

.preset-btn.active {
  border-color: var(--yellow);
  background: rgba(255, 222, 0, 0.08);
}

.preset-sample {
  font-weight: 900;
  font-size: 0.85rem;
  padding: 2px 6px;
  border-radius: 4px;
}

.sample-hormozi { color: #FFF; text-shadow: 0 2px 0 #000, 1px 0 0 #000, -1px 0 0 #000; }
.sample-tiktok { background: #000; color: #FFF; }
.sample-yellow { color: #FFDE00; text-shadow: 0 2px 0 #000; }
.sample-neon { color: #00F0FF; text-shadow: 0 0 8px #00F0FF; }

.preset-btn small {
  font-size: 0.68rem;
  color: var(--muted);
}

.color-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.color-row label {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 4px;
}

.color-row input[type="color"] {
  width: 100%;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg);
  cursor: pointer;
}

.timeline-dock {
  height: auto;
  min-height: 124px;
  background: var(--panel);
  border-top: 1px solid var(--border);
  padding: 8px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.timeline-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.timeline-tools-left {
  display: flex;
  align-items: center;
  gap: 6px;
}

.timeline-tools-title {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--muted);
  margin-right: 2px;
}

.tool-btn-sm {
  background: var(--panel-2);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s ease;
}

.tool-btn-sm:hover {
  background: rgba(0, 240, 255, 0.15);
  border-color: var(--cyan);
  color: #fff;
}

.btn-danger-sm:hover {
  background: rgba(255, 75, 75, 0.2);
  border-color: #ff4444;
  color: #ff6b6b;
}

.cuts-summary {
  font-size: 0.72rem;
  color: var(--cyan);
  font-weight: 600;
}

/* ── TIMELINE RULER & PROFESSIONAL TRACKS ── */
.timeline-ruler-track {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 26px;
  margin-bottom: 5px;
}

.track-header-ruler {
  width: 105px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
  background: #0A101D;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  box-sizing: border-box;
  flex-shrink: 0;
}

.ruler-icon {
  font-size: 0.72rem;
  line-height: 1;
}

.ruler-timecode {
  font-family: 'SF Mono', Monaco, Menlo, Consolas, monospace;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--cyan);
  letter-spacing: 0.5px;
}

.timeline-ruler-lane {
  position: relative;
  flex: 1;
  height: 24px;
  background: #060911;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  user-select: none;
  box-sizing: border-box;
}

.timeline-ruler-ticks {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.ruler-mark {
  position: absolute;
  top: 0;
  bottom: 0;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}

.ruler-tick {
  width: 1px;
  height: 6px;
  background: rgba(255, 255, 255, 0.28);
}

.ruler-num {
  font-size: 0.58rem;
  color: #64748B;
  font-family: monospace;
  font-weight: 600;
  line-height: 1;
  margin-top: 2px;
}

.timeline-ruler-needle-head {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 0;
  pointer-events: none;
  z-index: 20;
  transform: translateX(-50%);
}

.timeline-ruler-needle-head::after {
  content: '';
  position: absolute;
  top: 0;
  left: -6px;
  width: 12px;
  height: 10px;
  background: #FF2E63;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  filter: drop-shadow(0 0 4px #FF2E63);
}

.timeline-track {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  margin-bottom: 5px;
}

.track-header-badge {
  width: 105px;
  height: 42px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 8px;
  background: #0B1220;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 7px;
  box-sizing: border-box;
  flex-shrink: 0;
}

.track-tag {
  font-size: 0.60rem;
  font-weight: 900;
  padding: 2px 5px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  line-height: 1;
}

.track-tag-cc {
  background: rgba(124, 92, 255, 0.22);
  color: #C084FC;
  border: 1px solid rgba(124, 92, 255, 0.45);
}

.track-tag-v1 {
  background: rgba(0, 240, 255, 0.18);
  color: #38BDF8;
  border: 1px solid rgba(0, 240, 255, 0.4);
}

.track-label-text {
  font-size: 0.73rem;
  font-weight: 700;
  color: #CBD5E1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.track-lane {
  position: relative;
  flex: 1;
  height: 42px;
  background: #060911;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 7px;
  overflow: hidden;
  box-sizing: border-box;
  cursor: pointer;
}

.clip-pill {
  position: absolute;
  top: 3px;
  bottom: 3px;
  padding: 0 8px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: linear-gradient(180deg, rgba(124, 92, 255, 0.32) 0%, rgba(79, 70, 229, 0.18) 100%);
  border: 1px solid rgba(124, 92, 255, 0.65);
  color: #F1F5F9;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.15s ease;
  box-sizing: border-box;
  z-index: 2;
}

.clip-pill:hover {
  background: linear-gradient(180deg, rgba(124, 92, 255, 0.5) 0%, rgba(79, 70, 229, 0.3) 100%);
  border-color: #C084FC;
  color: #FFF;
  transform: translateY(-1px);
}

.clip-pill.active-word {
  background: linear-gradient(180deg, rgba(255, 222, 0, 0.45) 0%, rgba(217, 119, 6, 0.3) 100%);
  border-color: #FFDE00;
  color: #FFF;
  box-shadow: 0 0 14px rgba(255, 222, 0, 0.55);
  font-weight: 800;
}

.video-pill {
  width: 100%;
  background: rgba(0, 240, 255, 0.14);
  border-color: var(--cyan);
}

.video-segment-pill {
  position: absolute;
  top: 2px;
  bottom: 2px;
  border-radius: 7px;
  background: #09101D;
  border: 1.5px solid rgba(0, 240, 255, 0.35);
  color: #fff;
  cursor: pointer;
  overflow: hidden;
  box-sizing: border-box;
  transition: all 0.15s ease;
  z-index: 2;
}

.video-segment-pill::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: rgba(0, 240, 255, 0.6);
  z-index: 5;
}

.video-segment-pill::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: rgba(0, 240, 255, 0.6);
  z-index: 5;
}

.video-segment-pill:hover {
  border-color: rgba(0, 240, 255, 0.85);
  background: #0D172B;
}

.video-segment-pill.active {
  border-color: var(--cyan);
  background: #0F1D36;
  box-shadow: 0 0 14px rgba(0, 240, 255, 0.4);
}

.video-segment-chip {
  position: absolute;
  left: 8px;
  top: 3px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 1px 6px;
  background: rgba(3, 7, 18, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  font-size: 0.64rem;
  font-weight: 700;
  color: #E2E8F0;
  pointer-events: none;
  backdrop-filter: blur(4px);
}

.seg-tag-active {
  background: var(--cyan);
  color: #040914;
  font-size: 0.54rem;
  font-weight: 900;
  padding: 1px 4px;
  border-radius: 3px;
  letter-spacing: 0.3px;
}

.video-segment-del {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 3px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.68rem;
  cursor: pointer;
  padding: 1px 4px;
  line-height: 1;
  pointer-events: auto;
  transition: all 0.15s ease;
  margin-left: 4px;
}

.video-segment-del:hover {
  background: rgba(255, 75, 75, 0.5);
  color: #ff4444;
  border-color: #ff4444;
}

.segment-waveform-canvas {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.95;
}

.timeline-playhead-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #FF2E63;
  box-shadow: 0 0 8px rgba(255, 46, 99, 0.9);
  pointer-events: none;
  z-index: 10;
  transform: translateX(-50%);
}

/* ── 4. 4U-LABS TOPBAR, LANGUAGE SWITCH, FOOTER & MODALS ───────────────── */
.pill-btn {
  background: rgba(124, 92, 255, 0.14);
  border: 1px solid rgba(124, 92, 255, 0.35);
  color: var(--text);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
}

.pill-btn:hover {
  background: rgba(124, 92, 255, 0.28);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  background: rgba(11, 18, 32, 0.85);
  border: 1px solid rgba(0, 240, 255, 0.28);
  border-radius: 999px;
  padding: 3px 4px;
  gap: 3px;
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: 1px solid transparent;
  color: #94A3B8;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.4px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
  font-family: inherit;
  outline: none;
}

.lang-btn * {
  pointer-events: none;
}

.lang-btn .flag-icon {
  font-size: 0.95rem;
  line-height: 1;
  display: inline-block;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.6));
}

.lang-btn:hover {
  color: #F8FAFC;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

.lang-btn.active {
  background: linear-gradient(135deg, #00F0FF 0%, #7C5CFF 100%);
  color: #040914 !important;
  font-weight: 900;
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.lang-btn.active .flag-icon {
  transform: scale(1.08);
}

.footer-links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.footer-links-row a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-links-row a:hover {
  color: var(--cyan);
}

.footer-links-row a.paypal-pill {
  background: rgba(0, 255, 136, 0.12);
  border: 1px solid rgba(0, 255, 136, 0.35);
  color: var(--green);
  padding: 4px 12px;
  border-radius: 999px;
  font-weight: 700;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2500;
  background: rgba(8, 10, 15, 0.82);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-card {
  max-width: 680px;
  width: 100%;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.75);
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.modal-header strong {
  font-size: 1.05rem;
}

.modal-sub {
  margin: 4px 0 0;
  font-size: 0.84rem;
  color: var(--muted);
}

.modal-close {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--text);
  width: 34px;
  height: 34px;
  border-radius: 8px;
  cursor: pointer;
}

.modal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
  gap: 8px;
}

.modal-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 600;
  transition: all 0.15s;
}

.modal-link:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-1px);
}

.modal-footer {
  margin-top: 16px;
  display: flex;
  justify-content: center;
}

.btn-paypal-modal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #00FF88, #00F0FF);
  color: #061018;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 10px 20px;
  border-radius: 999px;
  text-decoration: none;
}

.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #1B2234;
  border: 1px solid var(--cyan);
  color: var(--text);
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 0.86rem;
  font-weight: 600;
  z-index: 3000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* ── 5. COPILOTO IA DRAWER ──────────────────────────────────────────────── */
.tool-pill-accent {
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.4), rgba(0, 240, 255, 0.3)) !important;
  border-color: rgba(0, 240, 255, 0.6) !important;
  color: #fff !important;
  font-weight: 700 !important;
}

.tool-pill-accent:hover {
  border-color: var(--cyan) !important;
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.45);
}

.copilot-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 420px;
  max-width: 92vw;
  background: rgba(19, 23, 34, 0.96);
  backdrop-filter: blur(20px);
  border-left: 1px solid var(--border);
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.6);
  z-index: 500;
  display: flex;
  flex-direction: column;
}

.copilot-header {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.copilot-badge {
  display: inline-block;
  padding: 2px 8px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--cyan);
  background: rgba(0, 240, 255, 0.12);
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: 999px;
  margin-bottom: 6px;
}

.copilot-title-box h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
}

.copilot-title-box p {
  margin: 4px 0 0;
  font-size: 0.78rem;
  color: var(--muted);
}

.copilot-diagnosis-box {
  margin: 14px 16px 8px;
  padding: 12px 14px;
  background: rgba(27, 32, 48, 0.7);
  border: 1px solid rgba(124, 92, 255, 0.3);
  border-radius: 12px;
}

.diagnosis-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--cyan);
  margin-bottom: 10px;
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  animation: pulseGreen 1.8s infinite;
}

@keyframes pulseGreen {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.copilot-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(68px, 1fr));
  gap: 8px;
}

.metric-item {
  background: rgba(11, 13, 19, 0.6);
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid var(--border);
  text-align: center;
}

.metric-item small {
  display: block;
  font-size: 0.65rem;
  color: var(--muted);
  text-transform: uppercase;
}

.metric-item strong {
  display: block;
  font-size: 0.76rem;
  color: var(--text);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.copilot-tip-banner {
  margin-top: 10px;
  padding: 8px 10px;
  background: rgba(255, 222, 0, 0.08);
  border-left: 3px solid var(--yellow);
  border-radius: 6px;
  font-size: 0.76rem;
  color: #fff176;
}

.copilot-chips-section {
  padding: 8px 16px;
}

.chips-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.copilot-chips-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.copilot-chip {
  background: rgba(27, 32, 48, 0.9);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: #d1d5db;
  font-size: 0.74rem;
  padding: 4px 10px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.copilot-chip:hover {
  background: rgba(124, 92, 255, 0.25);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-1px);
}

.copilot-chat-feed {
  flex: 1;
  overflow-y: auto;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-msg {
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.82rem;
  line-height: 1.45;
}

.msg-ai {
  background: rgba(27, 32, 48, 0.85);
  border: 1px solid rgba(124, 92, 255, 0.25);
  align-self: flex-start;
  max-width: 95%;
}

.msg-user {
  background: rgba(124, 92, 255, 0.3);
  border: 1px solid rgba(124, 92, 255, 0.5);
  align-self: flex-end;
  max-width: 90%;
}

.msg-author {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: 4px;
}

.msg-action-btn {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #7C5CFF, #00F0FF);
  color: #0b0d13;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 7px 14px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.msg-action-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 240, 255, 0.35);
}

.copilot-input-bar {
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 8px;
  background: rgba(11, 13, 19, 0.95);
}

.copilot-input-bar input {
  flex: 1;
  background: rgba(27, 32, 48, 0.8);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 0.82rem;
  padding: 8px 12px;
  outline: none;
}

.copilot-input-bar input:focus {
  border-color: var(--cyan);
}

.copilot-input-bar button {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease;
}

.copilot-input-bar button:hover {
  background: var(--accent-hover);
}

@media (max-width: 960px) {
  .lp-hero-grid {
    grid-template-columns: 1fr;
  }
  .lp-nav-links {
    display: none;
  }
  .lp-hero-copy h1 {
    font-size: 2.1rem;
  }
  .pwa-install-box {
    flex-direction: column;
    align-items: stretch;
  }
  .workspace {
    grid-template-columns: 1fr;
    overflow-y: auto;
  }
}

/* ── EXPORT MODAL & VIDEO RENDERER ───────────────────────────────────────── */
.modal-export-card {
  max-width: 580px;
}

.export-options-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 14px;
}

.export-option-card {
  display: flex;
  gap: 14px;
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  transition: all 0.2s ease;
}

.export-option-card:hover {
  border-color: rgba(0, 240, 255, 0.45);
}

.export-option-card.active-card {
  border-color: var(--cyan);
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.08), rgba(124, 92, 255, 0.08));
}

.export-card-icon {
  font-size: 1.8rem;
  line-height: 1;
}

.export-card-body {
  flex: 1;
}

.export-card-body h4 {
  margin: 0 0 6px 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

.export-card-body p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
}

.export-progress-box {
  margin-top: 12px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 8px;
  padding: 10px 12px;
  border: 1px solid rgba(0, 240, 255, 0.35);
}

.export-status-line {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 0.8rem;
  color: var(--cyan);
  font-weight: 700;
}

.btn-cancel-export {
  margin-top: 8px;
  background: transparent;
  border: 1px solid rgba(255, 75, 75, 0.5);
  color: #ff6b6b;
  font-size: 0.75rem;
  padding: 5px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-cancel-export:hover {
  background: rgba(255, 75, 75, 0.2);
  border-color: #ff4444;
}

/* ── 12. PROJECT ACTIONS, TOOL ACCENTS & WAVEFORM VISUALIZATION ───────── */
.project-actions-row {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.btn-ghost-sm {
  flex: 1;
  text-align: center;
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 8px;
  font-size: 0.74rem;
  cursor: pointer;
  color: var(--text);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: all 0.15s ease;
}

.btn-ghost-sm:hover {
  background: rgba(0, 240, 255, 0.15);
  border-color: var(--cyan);
  color: #fff;
}

.tool-btn-accent {
  background: linear-gradient(135deg, rgba(255, 222, 0, 0.18), rgba(255, 120, 0, 0.18));
  border-color: var(--yellow) !important;
  color: var(--yellow) !important;
}

.tool-btn-accent:hover {
  background: rgba(255, 222, 0, 0.35) !important;
  color: #fff !important;
}

.video-segment-pill {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.video-segment-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
}

.segment-waveform-canvas {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.45;
  z-index: 1;
}

#preview-canvas {
  cursor: grab;
  transition: cursor 0.1s ease;
}

#preview-canvas.is-dragging {
  cursor: grabbing !important;
}
