/* ==========================================================================
   STYLEFIT MUSIC SYNC - MODERN DARK LUXURY FITNESS THEME
   Brand colors: Orange (#FE7409), Dark Obsidian (#0B0B0D), Deep Surface (#141417)
   ========================================================================== */

:root {
  --primary: #FE7409;
  --primary-hover: #FF881E;
  --primary-glow: rgba(254, 116, 9, 0.35);
  --primary-glow-subtle: rgba(254, 116, 9, 0.12);
  
  --bg-dark: #0B0B0D;
  --bg-surface: #131317;
  --bg-card: #18181D;
  --bg-card-hover: #1E1E24;
  --bg-card-inner: #0F0F12;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-active: rgba(254, 116, 9, 0.45);
  --border-card: rgba(255, 255, 255, 0.06);

  --text-white: #FFFFFF;
  --text-primary: #F0F0F3;
  --text-muted: #9595A2;
  --text-dim: #626270;

  --accent-cyan: #00E5FF;
  --accent-cyan-glow: rgba(0, 229, 255, 0.25);
  --accent-green: #10B981;
  --accent-yellow: #F59E0B;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;

  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 25px var(--primary-glow);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-main);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Background Subtle Glow Grid */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 600px;
  background: radial-gradient(circle at 50% 0%, rgba(254, 116, 9, 0.15) 0%, rgba(11, 11, 13, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

/* In-App Browser Notice */
.in-app-banner {
  background: linear-gradient(90deg, #1A1A24 0%, #221A15 100%);
  border-bottom: 1px solid var(--border-active);
  padding: 10px 16px;
  position: sticky;
  top: 0;
  z-index: 100;
  animation: slideDown 0.3s ease-out;
}

.banner-content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}

.banner-icon { font-size: 18px; }
.banner-text { flex: 1; color: var(--text-primary); }
.banner-text strong { color: var(--primary); }
.banner-text .dots { font-size: 16px; font-weight: 900; color: #FFF; }
.banner-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 18px;
  cursor: pointer;
  padding: 4px;
}

/* Site Header */
/* Site Header */
.site-header {
  padding: 14px 0;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(11, 11, 13, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 90;
  transition: all 0.3s ease;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
}

/* Desktop Navigation Menu */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 2px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-white);
}

.nav-link.tool-nav-link {
  color: var(--primary);
}

.nav-badge-hot {
  background: linear-gradient(135deg, #FF3D00 0%, #FE7409 100%);
  color: #FFF;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 99px;
  letter-spacing: 0.5px;
  animation: pulseBadge 1.8s infinite;
}

@keyframes pulseBadge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); box-shadow: 0 0 8px rgba(254, 116, 9, 0.6); }
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-member-portal {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-white);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-member-portal:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-header-cta {
  background: linear-gradient(135deg, var(--primary) 0%, #FF881E 100%);
  color: #000;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 15px var(--primary-glow);
  transition: all 0.25s ease;
}

.btn-header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(254, 116, 9, 0.5);
}

/* Mobile Hamburger */
.btn-menu-toggle {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
}

.menu-bar {
  width: 20px;
  height: 2px;
  background-color: var(--text-white);
  border-radius: 2px;
  transition: all 0.25s ease;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 82%;
  max-width: 320px;
  height: 100vh;
  height: 100dvh;
  background: #111116;
  border-left: 1px solid var(--border-subtle);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8);
  padding: 24px;
}

.mobile-drawer.open {
  right: 0;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.drawer-logo {
  height: 32px;
  width: auto;
}

.drawer-close {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: var(--text-white);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 0;
  overflow-y: auto;
  flex: 1;
}

.drawer-link {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-link.highlight {
  background: linear-gradient(135deg, var(--primary) 0%, #FF881E 100%);
  color: #000;
  font-weight: 700;
}

.drawer-link.member {
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.drawer-badge {
  background: #FF3D00;
  color: #FFF;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 99px;
}

.drawer-footer {
  font-size: 12px;
  color: var(--text-dim);
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.drawer-hotline {
  color: var(--primary);
  font-weight: 600;
}

/* Hero Section */
.hero-section {
  padding: 60px 0 40px;
  text-align: center;
  position: relative;
}

.hero-content {
  max-width: 860px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  background: var(--primary-glow-subtle);
  border: 1px solid rgba(254, 116, 9, 0.3);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 99px;
  margin-bottom: 20px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--primary);
  animation: pulseDot 1.8s infinite;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 5.5vw, 54px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-white);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--primary) 0%, #FFA858 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-title .highlight-cyan {
  background: linear-gradient(135deg, #00E5FF 0%, #00B0FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-subtitle {
  font-size: clamp(15px, 2.2vw, 18px);
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 32px;
  line-height: 1.65;
}

.hero-subtitle strong {
  color: var(--text-white);
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.btn-hero-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #FF881E 100%);
  color: #000;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  padding: 16px 32px;
  border-radius: var(--radius-md);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 30px var(--primary-glow);
  transition: all 0.25s ease;
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 35px rgba(254, 116, 9, 0.5);
}

.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-white);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  padding: 16px 28px;
  border-radius: var(--radius-md);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.25s ease;
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 820px;
  margin: 0 auto;
}

.stat-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 12px;
  text-align: center;
  transition: all 0.25s ease;
}

.stat-card:hover {
  border-color: rgba(254, 116, 9, 0.3);
  transform: translateY(-2px);
}

.stat-value {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

/* Step Indicator Navigation */
.steps-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 32px auto 36px;
  max-width: 580px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 8px 16px;
  border-radius: 99px;
  scroll-margin-top: 80px;
}

.step-nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 600;
  transition: all 0.25s ease;
}

.step-nav-item .step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

.step-nav-item.active {
  color: var(--text-white);
}

.step-nav-item.active .step-num {
  background: var(--primary);
  color: var(--bg-dark);
  box-shadow: 0 0 10px var(--primary-glow);
}

.step-nav-item.completed .step-num {
  background: var(--accent-green);
  color: #FFF;
}

.step-nav-divider {
  flex: 1;
  height: 1px;
  background: var(--border-subtle);
  margin: 0 12px;
}

/* Tool Main Container */
.tool-main {
  flex: 1;
  padding-bottom: 60px;
}

/* Upload Grid (Step 1) */
.upload-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.upload-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
  transition: border-color 0.3s ease, transform 0.2s ease;
  display: flex;
  flex-direction: column;
}

.upload-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.card-icon.music-icon {
  background: rgba(0, 229, 255, 0.12);
  border: 1px solid rgba(0, 229, 255, 0.25);
}

.card-icon.dance-icon {
  background: var(--primary-glow-subtle);
  border: 1px solid rgba(254, 116, 9, 0.25);
}

.card-title-group h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-white);
}

.card-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--accent-cyan);
  text-transform: uppercase;
}

.card-badge.orange {
  color: var(--primary);
}

.card-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.5;
}

/* Drop Zone */
.drop-zone {
  flex: 1;
  min-height: 180px;
  border: 2px dashed rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  background: var(--bg-card-inner);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.drop-zone:hover, .drop-zone.dragover {
  border-color: var(--primary);
  background: rgba(254, 116, 9, 0.04);
}

.upload-art {
  font-size: 32px;
  margin-bottom: 8px;
}

.drop-text {
  font-size: 14px;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.drop-text strong {
  color: var(--primary);
}

.drop-hint {
  font-size: 11px;
  color: var(--text-dim);
}

.file-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.file-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.file-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-white);
  word-break: break-all;
}

.file-meta {
  font-size: 12px;
  color: var(--accent-green);
  font-weight: 600;
}

.btn-change-file {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-change-file:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #FFF;
}

/* Action Footer */
.action-footer {
  text-align: center;
  margin-top: 10px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #FF5500 100%);
  color: #FFFFFF;
  border: none;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 16px 36px;
  border-radius: var(--radius-md);
  cursor: pointer;
  box-shadow: 0 8px 24px var(--primary-glow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(254, 116, 9, 0.5);
  background: linear-gradient(135deg, var(--primary-hover) 0%, #FF6600 100%);
}

.btn-primary:active:not(:disabled) {
  transform: translateY(0);
}

.btn-primary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
  filter: grayscale(0.5);
}

.privacy-note {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 14px;
}

/* STEP 2: STUDIO */
.sync-status-box {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.status-indicator-icon {
  font-size: 28px;
}

.status-details {
  flex: 1;
}

.status-details h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 3px;
}

.status-details p {
  font-size: 13px;
  color: var(--text-muted);
}

.status-badge {
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 700;
  background: var(--primary-glow-subtle);
  color: var(--primary);
  border: 1px solid rgba(254, 116, 9, 0.3);
}

.status-badge.success {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-green);
  border-color: rgba(16, 185, 129, 0.3);
}

/* Studio Card - Waveform */
.studio-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-card);
}

.studio-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.studio-header h4 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--text-white);
}

.waveform-legends {
  display: flex;
  gap: 16px;
  font-size: 12px;
  font-weight: 600;
}

.legend {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.legend-color {
  width: 10px;
  height: 10px;
  border-radius: 2px;
}

.goc-color { background-color: var(--primary); }
.nhay-color { background-color: var(--accent-cyan); }

.canvas-wrap {
  position: relative;
  width: 100%;
  height: 130px;
  background: var(--bg-card-inner);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 18px;
}

#waveformCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

.canvas-playhead {
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 100%;
  background: #FFF;
  box-shadow: 0 0 8px #FFF;
  pointer-events: none;
  display: none;
}

/* Nudge Controls */
.nudge-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

.nudge-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.nudge-btn-group {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.btn-nudge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 700;
  padding: 8px 11px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s;
}

.btn-nudge:hover {
  background: rgba(254, 116, 9, 0.15);
  border-color: var(--primary);
  color: var(--primary);
}

.offset-input-wrap {
  display: inline-flex;
  align-items: center;
  background: var(--bg-card-inner);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-sm);
  padding: 4px 8px;
  margin: 0 4px;
}

.offset-input-wrap input {
  width: 75px;
  background: transparent;
  border: none;
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  text-align: center;
  outline: none;
}

.offset-input-wrap .unit {
  font-size: 11px;
  color: var(--text-dim);
  font-weight: 700;
}

.btn-reset-nudge {
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 12px;
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
}

.btn-reset-nudge:hover {
  color: #FFF;
  border-color: rgba(255, 255, 255, 0.2);
}

/* Preview Player Card */
.preview-player-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
}

/* Video Orientation Switch Bar */
.video-orientation-switch-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  padding: 10px 14px;
  background: rgba(18, 18, 24, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  flex-wrap: wrap;
}

.v-orient-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.v-orient-icon {
  font-size: 1.1rem;
}

.v-orient-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
}

.detected-video-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: #00E5FF;
  background: rgba(0, 229, 255, 0.12);
  border: 1px solid rgba(0, 229, 255, 0.3);
  padding: 2px 8px;
  border-radius: 12px;
}

.v-orient-pills {
  display: flex;
  gap: 6px;
}

.btn-orient-pill {
  padding: 6px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.btn-orient-pill:hover {
  color: #FFF;
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
}

.btn-orient-pill.active {
  background: rgba(0, 229, 255, 0.16);
  border-color: #00E5FF;
  color: #00E5FF;
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.25);
}

.player-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  align-items: center;
  transition: grid-template-columns 0.3s ease;
}

.player-grid.is-landscape {
  grid-template-columns: minmax(380px, 1.4fr) 1fr;
  align-items: start;
}

.video-container {
  position: relative;
  width: 100%;
  max-width: 280px;
  aspect-ratio: 9/16;
  background: #000;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.7);
  margin: 0 auto;
  transition: max-width 0.3s ease, aspect-ratio 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.video-container.is-landscape {
  max-width: 560px;
  width: 100%;
  aspect-ratio: 16/9;
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #000;
}

.video-overlay-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  border: 2px solid var(--primary);
  color: var(--primary);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.video-overlay-play:hover {
  background: var(--primary);
  color: #000;
  transform: translate(-50%, -50%) scale(1.1);
}

.player-controls {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.player-buttons {
  display: flex;
  gap: 12px;
}

.btn-player {
  padding: 12px 22px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  border: none;
}

.btn-player.primary {
  background: var(--primary);
  color: #000;
}

.btn-player.primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-player.secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-white);
  border: 1px solid var(--border-subtle);
}

.btn-player.secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

.time-display {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
}

.audio-blend-options {
  background: var(--bg-card-inner);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.option-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-primary);
}

.option-row label {
  width: 220px;
  font-weight: 600;
}

.option-row input[type="range"] {
  flex: 1;
  accent-color: var(--primary);
  cursor: pointer;
}

.option-row .val-text {
  width: 45px;
  text-align: right;
  font-weight: 700;
  color: var(--primary);
}

.step2-cta {
  margin-top: 10px;
}

/* ==========================================
   TRIMMING CARD (ĐẦU & ĐUÔI VIDEO)
   ========================================== */
.trim-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-card);
}

.trim-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 16px;
  flex-wrap: wrap;
}

.trim-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trim-icon {
  font-size: 24px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--primary-glow-subtle);
  border: 1px solid rgba(254, 116, 9, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.trim-header-left h4 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--text-white);
  margin-bottom: 3px;
}

.trim-header-left p {
  font-size: 12px;
  color: var(--text-muted);
}

.btn-trim-reset {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
}

.btn-trim-reset:hover {
  background: var(--primary-glow-subtle);
  border-color: var(--primary);
}

.trim-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 20px;
}

.trim-col {
  background: var(--bg-card-inner);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.2s;
}

.trim-col:hover {
  border-color: rgba(254, 116, 9, 0.3);
}

.trim-toggle-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

/* Custom Switch Toggle */
.switch-wrap {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}

.switch-wrap input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(255, 255, 255, 0.15);
  transition: .3s;
  border-radius: 24px;
  border: 1px solid var(--border-subtle);
}

.switch-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 2px;
  bottom: 2px;
  background-color: #FFF;
  transition: .3s;
  border-radius: 50%;
}

.switch-wrap input:checked + .switch-slider {
  background-color: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 10px var(--primary-glow);
}

.switch-wrap input:checked + .switch-slider:before {
  transform: translateX(20px);
}

.trim-toggle-label {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.trim-toggle-label strong {
  font-size: 14px;
  color: var(--text-white);
  font-weight: 700;
}

.trim-hint {
  font-size: 11px;
  color: var(--text-muted);
}

.trim-stepper-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
}

.stepper-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}

.stepper-box {
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-step {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: var(--text-white);
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-step:hover {
  background: var(--primary);
  color: #000;
  border-color: var(--primary);
}

.stepper-box input[type="number"] {
  width: 70px;
  background: var(--bg-dark);
  border: 1px solid var(--border-subtle);
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  padding: 4px 6px;
  border-radius: var(--radius-sm);
  outline: none;
}

.step-unit {
  font-size: 11px;
  color: var(--text-dim);
  font-weight: 600;
}

.trim-quick-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.chip-btn {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 11px;
  padding: 5px 10px;
  border-radius: 99px;
  cursor: pointer;
  transition: all 0.2s;
}

.chip-btn:hover {
  color: #FFF;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
}

.trim-summary-bar {
  background: linear-gradient(135deg, rgba(254, 116, 9, 0.08) 0%, rgba(0, 229, 255, 0.05) 100%);
  border: 1px solid rgba(254, 116, 9, 0.25);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.summary-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.summary-icon {
  font-size: 22px;
}

.summary-title {
  font-size: 13px;
  color: var(--text-white);
  margin-bottom: 4px;
}

.summary-title strong {
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 15px;
}

.summary-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.trim-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  background: rgba(254, 116, 9, 0.15);
  border: 1px solid rgba(254, 116, 9, 0.3);
  border-radius: 99px;
  font-size: 11px;
  color: var(--primary);
  font-weight: 600;
}

.btn-preview-trim {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: var(--text-white);
  font-size: 12px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-preview-trim:hover {
  background: var(--primary);
  color: #000;
  border-color: var(--primary);
  box-shadow: 0 0 10px var(--primary-glow);
}

/* ==========================================
   CAMERA DYNAMIC ZOOM CARD (CAPCUT PRO 💎 STYLE)
   ========================================== */
.zoom-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-card);
  transition: border-color 0.2s ease;
}

.zoom-card:hover {
  border-color: rgba(0, 229, 255, 0.35);
}

.zoom-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  gap: 16px;
  flex-wrap: wrap;
}

.zoom-header-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.zoom-badge-title {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.zoom-diamond-icon {
  font-size: 1.15rem;
  filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.6));
}

.zoom-badge-title h4 {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-primary);
}

.badge-vip-capcut {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.2) 0%, rgba(0, 145, 234, 0.25) 100%);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 229, 255, 0.4);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 99px;
  letter-spacing: 0.5px;
}

.zoom-subtext {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.zoom-body {
  transition: opacity 0.2s ease;
}

.zoom-controls-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.zoom-hint-text {
  font-size: 0.82rem;
  color: var(--accent-cyan);
}

.btn-zoom-reset {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-zoom-reset:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
  border-color: var(--border-active);
}

.zoom-sliders-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

@media (max-width: 768px) {
  .zoom-sliders-grid {
    grid-template-columns: 1fr;
  }
}

.zoom-slider-row {
  background: var(--bg-card-inner);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.zoom-label-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.zoom-param-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

.zoom-val-badge {
  background: rgba(0, 229, 255, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 229, 255, 0.3);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 99px;
  font-variant-numeric: tabular-nums;
}

.slider-track-wrap input[type="range"] {
  width: 100%;
  accent-color: var(--accent-cyan);
  cursor: pointer;
}

.zoom-slider-hints {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-dim);
}

.zoom-default-tag {
  color: var(--accent-cyan);
  font-weight: 600;
}

/* ==========================================
   RESOLUTION & QUALITY CARD
   ========================================== */
.resolution-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-card);
}

.resolution-header {
  margin-bottom: 18px;
}

.resolution-header h4 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--text-white);
  margin-bottom: 4px;
}

.res-subtext {
  font-size: 12px;
  color: var(--text-muted);
}

.resolution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.res-option-card {
  position: relative;
  background: var(--bg-card-inner);
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.res-option-card input[type="radio"] {
  margin-top: 3px;
  accent-color: var(--primary);
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.res-card-body {
  flex: 1;
}

.res-card-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.res-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  color: var(--text-white);
}

.badge-recommended {
  background: linear-gradient(135deg, var(--primary) 0%, #FF5500 100%);
  color: #000;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 99px;
  letter-spacing: 0.3px;
}

.res-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

.res-option-card.active {
  border-color: var(--primary);
  background: rgba(254, 116, 9, 0.06);
  box-shadow: 0 0 16px rgba(254, 116, 9, 0.15);
}

/* STEP 3: EXPORT */
.export-card {
  max-width: 680px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-card);
  scroll-margin-top: 80px;
}

.export-progress-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.export-spinner {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--primary-glow-subtle);
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--primary);
  margin-bottom: 20px;
  animation: pulseSpin 1.5s infinite;
}

@keyframes pulseSpin {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(254, 116, 9, 0.4); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 16px rgba(254, 116, 9, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(254, 116, 9, 0); }
}

.export-progress-box h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: #FFF;
  margin-bottom: 8px;
}

.export-progress-box p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.progress-bar-wrap {
  width: 100%;
  height: 10px;
  background: var(--bg-card-inner);
  border-radius: 99px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  margin-bottom: 8px;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary) 0%, #FF5500 100%);
  border-radius: 99px;
  transition: width 0.3s ease;
}

.progress-pct {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  color: var(--primary);
}

/* Export Result */
.success-badge {
  display: inline-block;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--accent-green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 6px 14px;
  border-radius: 99px;
  margin-bottom: 16px;
}

.export-result-box h2 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: #FFF;
  margin-bottom: 8px;
}

.export-result-box p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.result-video-wrap {
  max-width: 280px;
  margin: 0 auto 28px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7);
  transition: max-width 0.3s ease;
}

.result-video-wrap.is-landscape {
  max-width: 560px;
}

.result-video-wrap video {
  width: 100%;
  aspect-ratio: 9/16;
  display: block;
  object-fit: contain;
  background: #000;
}

.result-video-wrap.is-landscape video {
  aspect-ratio: 16/9;
}

.download-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 400px;
  margin: 0 auto;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: #FFF;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-link {
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 18px;
  transition: color 0.2s;
}

.btn-link:hover {
  color: var(--text-white);
}

/* Site Footer & CTA */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: #08080A;
  padding: 48px 0 32px;
  margin-top: auto;
}

.footer-cta-card {
  background: linear-gradient(135deg, #181820 0%, #15110E 100%);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 32px;
}

.cta-left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.cta-badge {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.cta-left h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: #FFF;
  margin-bottom: 4px;
}

.cta-left p {
  font-size: 13px;
  color: var(--text-muted);
}

.cta-right {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-cta-primary {
  background: var(--primary);
  color: #000;
  font-weight: 700;
  font-size: 13px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.2s;
}

.btn-cta-primary:hover {
  background: var(--primary-hover);
}

.btn-cta-secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: #FFF;
  font-weight: 600;
  font-size: 13px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.2s;
}

.btn-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

.footer-bottom {
  text-align: center;
  font-size: 12px;
  color: var(--text-dim);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-bottom .tagline {
  color: rgba(254, 116, 9, 0.6);
  font-weight: 600;
}

/* ==========================================================================
   HOMEPAGE & BRAND SECTIONS STYLES
   ========================================================================== */

/* Section Common Headers */
.section-header-box {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 44px;
}

.section-mini-badge {
  display: inline-block;
  color: var(--primary);
  background: var(--primary-glow-subtle);
  border: 1px solid rgba(254, 116, 9, 0.3);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 99px;
  margin-bottom: 14px;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(26px, 4.5vw, 38px);
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.2;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.section-subtext {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

.section-subtext strong {
  color: var(--text-primary);
}

/* Tool Section Wrapper */
.tool-section-wrapper {
  padding: 60px 0 50px;
  position: relative;
  border-top: 1px solid var(--border-subtle);
}

.tool-quick-guide {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.guide-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  max-width: 290px;
}

.guide-num {
  width: 28px;
  height: 28px;
  background: var(--primary);
  color: #000;
  font-family: var(--font-display);
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.guide-text {
  display: flex;
  flex-direction: column;
}

.guide-text strong {
  font-size: 13px;
  color: var(--text-white);
}

.guide-text span {
  font-size: 11px;
  color: var(--text-muted);
}

.guide-arrow {
  color: var(--text-dim);
  font-size: 16px;
}

.tool-card-shell {
  background: rgba(19, 19, 23, 0.6);
  border: 1px solid rgba(254, 116, 9, 0.2);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(254, 116, 9, 0.05);
  backdrop-filter: blur(16px);
}

.btn-cta-large {
  font-size: 16px;
  padding: 16px 36px;
}

/* Features Section (Step Dance Benefits) */
.features-section {
  padding: 70px 0;
  border-top: 1px solid var(--border-subtle);
  background: radial-gradient(circle at 50% 100%, rgba(254, 116, 9, 0.08) 0%, rgba(11, 11, 13, 0) 70%);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  border-color: rgba(254, 116, 9, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4);
}

.feature-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(254, 116, 9, 0.12);
  border: 1px solid rgba(254, 116, 9, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 12px;
  line-height: 1.3;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Branches & Schedules Section */
.branches-section {
  padding: 70px 0;
  border-top: 1px solid var(--border-subtle);
}

.branch-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.branch-tab-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 99px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.branch-tab-btn:hover {
  color: var(--text-white);
  border-color: rgba(255, 255, 255, 0.2);
}

.branch-tab-btn.active {
  background: linear-gradient(135deg, var(--primary) 0%, #FF881E 100%);
  color: #000;
  border-color: transparent;
  box-shadow: 0 4px 20px var(--primary-glow);
}

.branch-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  box-shadow: var(--shadow-card);
  transition: opacity 0.3s ease;
}

.branch-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}

.branch-tag {
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: inline-block;
}

.branch-info h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 12px;
}

.branch-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.branch-amenities {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.branch-amenities li {
  font-size: 14px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.branch-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-branch-register {
  background: linear-gradient(135deg, var(--primary) 0%, #FF881E 100%);
  color: #000;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-branch-register:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--primary-glow);
}

.btn-branch-zalo {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: #FFF;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-branch-zalo:hover {
  background: rgba(255, 255, 255, 0.12);
}

.branch-schedule-box {
  background: var(--bg-card-inner);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.branch-schedule-box h4 {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--primary);
  margin-bottom: 16px;
  font-weight: 800;
}

.schedule-table {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.schedule-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-sm);
  font-size: 13px;
}

.schedule-row.header {
  background: transparent;
  color: var(--text-dim);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 14px;
}

.schedule-row.hot {
  background: rgba(254, 116, 9, 0.08);
  border: 1px solid rgba(254, 116, 9, 0.3);
}

.schedule-row .time {
  font-weight: 700;
  color: var(--text-white);
  font-family: monospace;
}

.schedule-row .class-name {
  color: var(--text-primary);
  font-weight: 500;
}

.schedule-row .badge-level {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}

.schedule-row .badge-level.highlight {
  background: var(--primary);
  color: #000;
  font-weight: 700;
}

.schedule-note {
  font-size: 12px;
  color: var(--text-dim);
}

/* Pricing Section */
.pricing-section {
  padding: 70px 0;
  border-top: 1px solid var(--border-subtle);
  background: radial-gradient(circle at 50% 0%, rgba(254, 116, 9, 0.08) 0%, rgba(11, 11, 13, 0) 70%);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  align-items: stretch;
}

.price-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
}

.price-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
}

.price-card.featured {
  background: #19161B;
  border: 2px solid var(--primary);
  box-shadow: 0 10px 40px rgba(254, 116, 9, 0.25);
  transform: scale(1.02);
}

.price-card.featured:hover {
  transform: scale(1.02) translateY(-4px);
  box-shadow: 0 16px 50px rgba(254, 116, 9, 0.35);
}

.featured-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary) 0%, #FF881E 100%);
  color: #000;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 4px 14px;
  border-radius: 99px;
  white-space: nowrap;
}

.plan-badge {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 6px;
  display: inline-block;
}

.plan-badge.orange { color: var(--primary); }
.plan-badge.cyan { color: var(--accent-cyan); }

.price-header h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 12px;
}

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 12px;
}

.price-amount .num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 900;
  color: var(--text-white);
}

.price-card.featured .price-amount .num {
  color: var(--primary);
}

.price-amount .period {
  font-size: 13px;
  color: var(--text-dim);
}

.price-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 24px;
  min-height: 40px;
}

.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  flex: 1;
}

.price-features li {
  font-size: 13px;
  color: var(--text-primary);
  line-height: 1.4;
}

.btn-price-card {
  width: 100%;
  text-align: center;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
  display: block;
}

.btn-price-card.primary {
  background: linear-gradient(135deg, var(--primary) 0%, #FF881E 100%);
  color: #000;
  box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-price-card.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(254, 116, 9, 0.45);
}

.btn-price-card.outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-white);
}

.btn-price-card.outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Lead Registration Form Section */
.lead-form-section {
  padding: 70px 0;
  border-top: 1px solid var(--border-subtle);
}

.form-card-wrapper {
  background: var(--bg-card);
  border: 1px solid rgba(254, 116, 9, 0.3);
  border-radius: var(--radius-xl);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  padding: 44px;
  box-shadow: var(--shadow-card), 0 0 35px rgba(254, 116, 9, 0.08);
}

.form-card-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.form-badge {
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: inline-block;
}

.form-card-left h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 34px);
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.25;
  margin-bottom: 16px;
}

.form-card-left p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 28px;
}

.form-benefits {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.b-icon {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.benefit-item strong {
  display: block;
  font-size: 14px;
  color: var(--text-white);
  margin-bottom: 2px;
}

.benefit-item span {
  font-size: 12px;
  color: var(--text-muted);
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--bg-card-inner);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.form-group .req {
  color: var(--primary);
}

.form-group input,
.form-group select {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-white);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font-main);
  outline: none;
  transition: all 0.2s ease;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(254, 116, 9, 0.25);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.btn-submit-lead {
  background: linear-gradient(135deg, var(--primary) 0%, #FF881E 100%);
  color: #000;
  border: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 6px 25px var(--primary-glow);
  transition: all 0.25s ease;
  margin-top: 8px;
}

.btn-submit-lead:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(254, 116, 9, 0.5);
}

.form-security-note {
  text-align: center;
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 4px;
}

.form-feedback {
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  text-align: center;
  font-weight: 600;
}

.form-feedback.success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid #10B981;
  color: #10B981;
}

.form-feedback.error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid #EF4444;
  color: #EF4444;
}

/* FAQ Section */
.faq-section {
  padding: 70px 0;
  border-top: 1px solid var(--border-subtle);
}

.faq-accordion-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.faq-question {
  width: 100%;
  padding: 18px 20px;
  background: transparent;
  border: none;
  color: var(--text-white);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.faq-arrow {
  color: var(--primary);
  font-size: 14px;
  transition: transform 0.25s ease;
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  padding: 0 20px;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 20px 18px;
  transition: max-height 0.3s ease-in-out;
}

.faq-answer p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.faq-answer strong {
  color: var(--text-primary);
}

/* Founder Showcase */
.founder-section {
  padding: 60px 0 70px;
  border-top: 1px solid var(--border-subtle);
}

.founder-card {
  background: radial-gradient(circle at 10% 50%, rgba(254, 116, 9, 0.15) 0%, rgba(19, 19, 23, 0.8) 100%);
  border: 1px solid rgba(254, 116, 9, 0.3);
  border-radius: var(--radius-xl);
  padding: 44px 36px;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  box-shadow: var(--shadow-card);
}

.founder-badge {
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.founder-card h2 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 900;
  color: var(--text-white);
  margin-bottom: 16px;
}

.founder-bio {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto 28px;
}

.founder-bio strong {
  color: var(--text-white);
}

.founder-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-tiktok {
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFF;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-tiktok:hover {
  background: #111;
  border-color: #FE7409;
}

.btn-founder-tool {
  background: rgba(254, 116, 9, 0.15);
  border: 1px solid var(--primary);
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-founder-tool:hover {
  background: var(--primary);
  color: #000;
}

/* Footer Enhancements */
.footer-addresses {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 6px;
}

/* Responsive Adjustments (Mobile-First) */
@media (max-width: 992px) {
  .desktop-nav {
    display: none;
  }

  .form-card-wrapper {
    grid-template-columns: 1fr;
    padding: 32px 24px;
    gap: 28px;
  }

  .branch-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 32px;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    justify-content: center;
  }

  .tool-quick-guide {
    display: none;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
  }

  .footer-cta-card {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .cta-left {
    flex-direction: column;
    align-items: center;
  }

  .cta-right {
    justify-content: center;
    width: 100%;
  }

  .btn-cta-primary,
  .btn-cta-secondary {
    width: 100%;
    text-align: center;
  }
}

/* Utilities */
.hidden { display: none !important; }

/* Responsive Adjustments (Mobile-First) */
@media (max-width: 768px) {
  .player-grid,
  .player-grid.is-landscape {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .video-container {
    max-width: 210px;
  }

  .video-container.is-landscape {
    max-width: 100%;
    width: 100%;
  }

  .result-video-wrap.is-landscape {
    max-width: 100%;
    width: 100%;
  }

  .option-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .option-row label {
    width: 100%;
  }

  .nudge-controls {
    justify-content: center;
  }

  .btn-reset-nudge {
    margin: 6px auto 0;
  }

  .desktop-only {
    display: none;
  }

  .trim-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .trim-col {
    padding: 14px;
  }

  .resolution-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .trim-summary-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-preview-trim {
    justify-content: center;
    width: 100%;
  }
}

/* Headphones Mode & Visual Beat 1 Alignment Styles */
.headphones-banner {
  background: linear-gradient(135deg, rgba(254, 116, 9, 0.18), rgba(255, 145, 0, 0.08));
  border: 1px solid rgba(254, 116, 9, 0.45);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 22px;
  animation: fadeIn 0.3s ease;
}

.hb-icon {
  font-size: 32px;
  line-height: 1;
}

.hb-content h4 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}

.hb-content p {
  font-size: 13px;
  color: var(--text-primary);
  line-height: 1.5;
}

.video-container-col {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.video-scrubber-box {
  margin-top: 14px;
  background: var(--bg-card-inner);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 14px;
}

.scrubber-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.scrub-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
}

#videoScrubber {
  flex: 1;
  accent-color: var(--primary);
  height: 6px;
  cursor: pointer;
}

.scrub-time {
  font-family: monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  min-width: 60px;
  text-align: right;
}

.frame-step-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-step-frame {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s;
}

.btn-step-frame:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #FFF;
}

.btn-set-beat1 {
  flex: 1;
  min-width: 190px;
  background: linear-gradient(135deg, #FE7409, #E05D00);
  border: none;
  color: #000;
  font-size: 13px;
  font-weight: 800;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(254, 116, 9, 0.4);
  transition: all 0.2s;
}

.btn-set-beat1:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(254, 116, 9, 0.6);
  filter: brightness(1.1);
}

.btn-nudge-big {
  background: rgba(254, 116, 9, 0.12) !important;
  color: var(--primary) !important;
  border-color: rgba(254, 116, 9, 0.3) !important;
}

/* Upload Progress & Live Stats Row */
.upload-progress-container {
  margin-top: 12px;
  width: 100%;
}

.upload-progress-track {
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.4);
}

.upload-progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #FE7409 0%, #FF9100 50%, #00E5FF 100%);
  border-radius: 4px;
  transition: width 0.25s ease-out;
  box-shadow: 0 0 10px rgba(254, 116, 9, 0.5);
}

.upload-stats-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.upload-stat-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-dim);
  letter-spacing: 0.2px;
}

.upload-stat-badge#uploadSpeedText {
  color: var(--accent-cyan);
  border-color: rgba(0, 229, 255, 0.3);
  background: rgba(0, 229, 255, 0.08);
}

.upload-stat-badge#uploadEtaText {
  color: var(--primary);
  border-color: rgba(254, 116, 9, 0.3);
  background: rgba(254, 116, 9, 0.08);
}

.btn-download.loading {
  background: #333 !important;
  color: #aaa !important;
  cursor: wait !important;
  pointer-events: none;
}

.bg-sync-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--accent-cyan);
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.25);
  padding: 4px 10px;
  border-radius: 99px;
  transition: all 0.3s ease;
}

.bg-sync-badge.done {
  color: #00E676;
  background: rgba(0, 230, 118, 0.08);
  border-color: rgba(0, 230, 118, 0.25);
}

/* ==========================================================================
   STYLEFIT SAVEFROM MEDIA DOWNLOADER
   ========================================================================== */

.downloader-section-bg {
  position: relative;
  background: radial-gradient(ellipse at 50% 20%, rgba(0, 229, 255, 0.05) 0%, rgba(11, 11, 13, 0) 70%);
  margin-top: 20px;
}

.downloader-shell {
  background: var(--bg-card);
  border: 1px solid rgba(254, 116, 9, 0.2);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(254, 116, 9, 0.06);
  position: relative;
  overflow: hidden;
}

/* Platforms bar */
.downloader-platforms-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.platform-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 99px;
  padding: 6px 14px;
  font-size: 13px;
  color: var(--text-primary);
  transition: all 0.25s ease;
}

.platform-chip:hover {
  border-color: rgba(254, 116, 9, 0.4);
  background: rgba(254, 116, 9, 0.08);
  transform: translateY(-1px);
}

.platform-chip .p-icon {
  font-size: 15px;
}

.platform-chip .p-formats {
  color: var(--text-muted);
  font-size: 11px;
  margin-left: 4px;
}

.platform-limit-tag {
  margin-left: auto;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-cyan);
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.25);
  padding: 5px 12px;
  border-radius: 99px;
}

/* Input Group */
.downloader-input-group {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.downloader-input-box {
  flex: 1;
  display: flex;
  align-items: center;
  background: var(--bg-card-inner);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 4px 16px;
  transition: all 0.25s ease;
  position: relative;
}

.downloader-input-box:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 20px var(--primary-glow);
  background: #111116;
}

.d-icon-link {
  font-size: 18px;
  opacity: 0.6;
  margin-right: 12px;
  user-select: none;
}

.downloader-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-white);
  font-size: 15px;
  font-family: var(--font-main);
  padding: 12px 0;
}

.downloader-input::placeholder {
  color: var(--text-dim);
}

.btn-paste-clipboard {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-paste-clipboard:hover {
  background: rgba(254, 116, 9, 0.2);
  border-color: var(--primary);
  color: var(--text-white);
}

.btn-clear-input {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 16px;
  cursor: pointer;
  padding: 4px 8px;
  margin-left: 6px;
  border-radius: 50%;
  transition: color 0.2s ease;
}

.btn-clear-input:hover {
  color: #FF5252;
}

.btn-fetch-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #FE7409 0%, #FF8F26 100%);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-md);
  padding: 0 28px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(254, 116, 9, 0.35);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-fetch-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(254, 116, 9, 0.5);
  filter: brightness(1.08);
}

.btn-fetch-submit:active {
  transform: translateY(0);
}

.btn-fetch-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Alert Box */
.downloader-alert-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 20px;
  color: #FCA5A5;
  font-size: 14px;
  animation: fadeIn 0.3s ease;
}

.downloader-alert-box .alert-icon {
  font-size: 18px;
  flex-shrink: 0;
}

.downloader-alert-box .alert-body {
  flex: 1;
  line-height: 1.4;
}

.downloader-alert-box .alert-body strong {
  color: #FFFFFF;
  display: block;
  margin-bottom: 2px;
}

.downloader-alert-box .alert-close-btn {
  background: transparent;
  border: none;
  color: #FCA5A5;
  cursor: pointer;
  font-size: 16px;
  opacity: 0.7;
}

.downloader-alert-box .alert-close-btn:hover {
  opacity: 1;
}

/* Loading Box */
.downloader-loading-box {
  text-align: center;
  padding: 36px 20px;
  background: var(--bg-card-inner);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
  animation: fadeIn 0.3s ease;
}

.dl-spinner {
  width: 44px;
  height: 44px;
  margin: 0 auto 16px;
  border: 3.5px solid rgba(254, 116, 9, 0.2);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.dl-loading-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 6px;
}

.dl-loading-sub {
  font-size: 13px;
  color: var(--text-muted);
}

/* Result Card */
.downloader-result-card {
  background: var(--bg-card-inner);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 24px;
  animation: fadeIn 0.35s ease;
}

.result-header-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
  margin-bottom: 24px;
  align-items: center;
}

.result-thumb-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.result-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.result-duration-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.85);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.result-platform-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.06);
  padding: 3px 10px;
  border-radius: 99px;
  margin-bottom: 8px;
}

.result-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.35;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.result-author {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* Tabs Bar */
.result-tabs-bar {
  display: flex;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 4px;
  width: fit-content;
}

.result-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.result-tab-btn.active {
  background: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 4px 12px var(--primary-glow);
}

.result-tab-btn:hover:not(.active) {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.06);
}

/* Format Table */
.formats-list-table {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.format-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  transition: all 0.2s ease;
}

.format-item-row:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(254, 116, 9, 0.3);
  transform: translateX(3px);
}

.format-info-left {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.format-name-box {
  display: flex;
  align-items: center;
  gap: 8px;
}

.format-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-white);
}

.format-badge-tag {
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 99px;
  letter-spacing: 0.5px;
}

.format-badge-tag.rec {
  background: rgba(254, 116, 9, 0.15);
  color: var(--primary);
  border: 1px solid rgba(254, 116, 9, 0.4);
}

.format-badge-tag.fhd {
  background: rgba(0, 229, 255, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 229, 255, 0.4);
}

.format-badge-tag.pop {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-green);
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.format-subtext {
  font-size: 12px;
  color: var(--text-muted);
}

.btn-trigger-dl {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.12);
  color: #10B981;
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-sm);
  padding: 10px 20px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-trigger-dl:hover {
  background: #10B981;
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
  transform: scale(1.03);
}

.btn-trigger-dl.processing {
  background: rgba(254, 116, 9, 0.15);
  color: var(--primary);
  border-color: var(--primary);
  pointer-events: none;
}

/* Download Progress Banner */
.download-progress-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-top: 20px;
  animation: fadeIn 0.3s ease;
}

.dl-mini-spinner {
  width: 24px;
  height: 24px;
  border: 3px solid rgba(0, 229, 255, 0.2);
  border-top-color: var(--accent-cyan);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}

.progress-details {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.progress-details strong {
  color: #FFFFFF;
  font-size: 14px;
}

.progress-details span {
  color: var(--text-muted);
  font-size: 12px;
}

/* Responsive for Downloader */
@media (max-width: 768px) {
  .downloader-shell {
    padding: 20px 16px;
    border-radius: var(--radius-lg);
  }

  .downloader-input-group {
    flex-direction: column;
  }

  .btn-fetch-submit {
    width: 100%;
    padding: 14px;
    font-size: 16px;
  }

  .result-header-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .result-thumb-box {
    max-width: 320px;
    margin: 0 auto;
  }

  .format-item-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
  }

  .btn-trigger-dl {
    width: 100%;
    justify-content: center;
  }

  .platform-limit-tag {
    margin-left: 0;
    width: 100%;
    text-align: center;
  }
}





/* ==========================================================================
   MODULAR REDESIGN SYSTEM (CREATOR SUITE, BENTO GRID, HERO PORTALS)
   ========================================================================== */

/* Nav Dropdown on Desktop */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.nav-dropdown-trigger {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: rgba(14, 14, 18, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 10px;
  width: 290px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(254, 116, 9, 0.1);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
  color: var(--text-main);
}

.dropdown-item:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateX(3px);
}

.dropdown-item .d-icon {
  font-size: 1.4rem;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(254, 116, 9, 0.12);
  border-radius: 8px;
  flex-shrink: 0;
}

.dropdown-item strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: #FFFFFF;
}

.dropdown-item span {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Hero Portals Grid */
.hero-portals-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 32px 0 28px;
  max-width: 820px;
}

.hero-portal-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 22px;
  background: rgba(18, 18, 24, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.hero-portal-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(254, 116, 9, 0.8), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hero-portal-card:hover {
  transform: translateY(-4px);
  border-color: rgba(254, 116, 9, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 25px rgba(254, 116, 9, 0.15);
}

.hero-portal-card:hover::before {
  opacity: 1;
}

.portal-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(254, 116, 9, 0.12);
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.portal-badge.highlight {
  color: #00E5FF;
  background: rgba(0, 229, 255, 0.12);
}

.portal-body {
  display: flex;
  align-items: center;
  gap: 14px;
}

.portal-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.portal-text strong {
  display: block;
  font-size: 1.05rem;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.portal-text span {
  display: block;
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.portal-arrow {
  margin-top: 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: transform 0.2s ease;
}

.hero-portal-card:hover .portal-arrow {
  transform: translateX(4px);
}

/* Creator Suite Section */
.suite-section-wrapper {
  position: relative;
  padding: 70px 0 60px;
  background: radial-gradient(ellipse at 50% 10%, rgba(254, 116, 9, 0.06) 0%, rgba(11, 11, 13, 0) 65%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.suite-anchor {
  position: relative;
  top: -80px;
  visibility: hidden;
}

.suite-header-box {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 36px;
}

.suite-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(254, 116, 9, 0.12);
  border: 1px solid rgba(254, 116, 9, 0.3);
  border-radius: 30px;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.suite-heading {
  font-size: 2.2rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.suite-subtext {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.suite-tabs-dock {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(18, 18, 24, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 6px;
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  margin-top: 24px;
}

.suite-tab-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 30px;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.suite-tab-btn:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.04);
}

.suite-tab-btn.active {
  color: #FFFFFF;
  background: linear-gradient(135deg, rgba(254, 116, 9, 0.22), rgba(254, 116, 9, 0.08));
  border-color: rgba(254, 116, 9, 0.5);
  box-shadow: 0 4px 16px rgba(254, 116, 9, 0.2);
}

.suite-tab-btn.active .tab-badge-glow {
  background: var(--primary);
  color: #000000;
}

.tab-badge-glow {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.tab-badge-glow.cyan {
  background: rgba(0, 229, 255, 0.15);
  color: #00E5FF;
}

.tab-badge-glow.green {
  background: rgba(16, 185, 129, 0.15);
  color: #10B981;
}

.suite-tab-pane {
  display: none;
  animation: fadeInPane 0.3s ease;
}

.suite-tab-pane.active {
  display: block;
}

@keyframes fadeInPane {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Tab 3: AirDrop Live Embedded Suite */
.airdrop-embedded-suite {
  max-width: 1040px;
  margin: 0 auto;
}

.airdrop-suite-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.btn-open-drop-fullscreen {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(254, 116, 9, 0.12);
  border: 1px solid rgba(254, 116, 9, 0.35);
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn-open-drop-fullscreen:hover {
  background: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 4px 15px var(--primary-glow);
  transform: translateY(-2px);
}

.airdrop-embedded-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 820px) {
  .airdrop-embedded-grid {
    grid-template-columns: 1.15fr 1fr;
  }
}

.airdrop-box-card {
  background: rgba(18, 18, 24, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
}
.airdrop-box-card.highlight {
  border-color: rgba(254, 116, 9, 0.4);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4), 0 0 25px rgba(254, 116, 9, 0.12);
}

.box-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.box-card-title {
  display: flex;
  align-items: center;
  gap: 8px;
}
.box-card-title h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
}
.room-id-badge {
  font-family: monospace;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  background: rgba(254, 116, 9, 0.15);
  border: 1px solid rgba(254, 116, 9, 0.3);
  padding: 4px 10px;
  border-radius: 6px;
}

.box-card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
}

/* Suite QR Container */
.suite-qr-wrapper {
  background: #FFFFFF;
  padding: 16px;
  border-radius: 16px;
  width: 222px;
  height: 222px;
  margin: 8px auto 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.suite-qr-wrapper:hover {
  transform: scale(1.02);
  box-shadow: 0 14px 34px rgba(254, 116, 9, 0.25);
}
#suiteQrCode {
  width: 190px;
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#suiteQrCode canvas, #suiteQrCode img {
  width: 190px !important;
  height: 190px !important;
  display: block !important;
  image-rendering: pixelated;
}
.qr-zoom-hint {
  font-size: 0.72rem;
  color: #64748B;
  font-weight: 700;
  margin-top: 4px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

/* Link Box */
.suite-link-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 6px 10px;
  margin-bottom: 10px;
}
.suite-link-box input {
  flex: 1;
  background: transparent;
  border: none;
  color: #94A3B8;
  font-size: 0.8rem;
  outline: none;
  font-family: inherit;
  user-select: all;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.btn-copy-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.btn-copy-pill:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.suite-share-row {
  margin-bottom: 12px;
}
.btn-suite-zalo {
  width: 100%;
  background: rgba(0, 104, 255, 0.12);
  border: 1px solid rgba(0, 104, 255, 0.35);
  color: #38BDF8;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s;
}
.btn-suite-zalo:hover {
  background: #0068FF;
  color: #FFFFFF;
}

.suite-qr-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #10B981;
  font-weight: 600;
}
.status-indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.8);
  animation: pulseDot 2s infinite;
}
@keyframes pulseDot {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

/* Sender Card Elements */
.suite-dropzone {
  border: 2px dashed rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 24px 16px;
  text-align: center;
  background: rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 16px;
}
.suite-dropzone:hover {
  border-color: var(--primary);
  background: rgba(254, 116, 9, 0.04);
}
.suite-dropzone .dropzone-icon {
  font-size: 2.2rem;
  margin-bottom: 6px;
}
.suite-dropzone .dropzone-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 2px;
}
.suite-dropzone .dropzone-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.airdrop-mini-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}
.mini-feat {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 10px 12px;
}
.mini-feat span {
  font-size: 1.2rem;
}
.mini-feat strong {
  display: block;
  font-size: 0.85rem;
  color: #FFFFFF;
}
.mini-feat p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 1px;
}

/* Received Files Section */
.airdrop-received-container {
  margin-top: 24px;
  background: rgba(18, 18, 24, 0.9);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(16, 185, 129, 0.08);
}
.received-container-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.received-container-header h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 8px;
}
.received-count-pill {
  font-size: 0.82rem;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.15);
  color: #10B981;
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 4px 10px;
  border-radius: 6px;
}

.received-files-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.received-file-card {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  transition: all 0.2s ease;
}
.received-file-card:hover {
  border-color: rgba(254, 116, 9, 0.4);
}
.rfc-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.rfc-icon {
  font-size: 2rem;
  flex-shrink: 0;
}
.rfc-info {
  min-width: 0;
}
.rfc-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rfc-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.rfc-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.btn-rfc-sync {
  background: linear-gradient(135deg, var(--primary), #FF881E);
  color: #FFFFFF;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px var(--primary-glow);
  transition: all 0.2s ease;
}
.btn-rfc-sync:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}
.btn-rfc-download {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn-rfc-download:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Fullscreen QR Lightbox Modal */
.suite-qr-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.suite-qr-modal-overlay.active {
  display: flex;
}
.suite-qr-modal-box {
  background: #18181D;
  border: 1px solid rgba(254, 116, 9, 0.4);
  border-radius: 28px;
  padding: 36px 32px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(254, 116, 9, 0.2);
}
.btn-close-qr-modal {
  position: absolute;
  top: 16px;
  right: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #94A3B8;
  font-size: 1.5rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.btn-close-qr-modal:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}
.modal-qr-canvas-wrap {
  background: #FFFFFF;
  padding: 20px;
  border-radius: 20px;
  width: 340px;
  height: 340px;
  margin: 18px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
#suiteQrModalCanvas, #suiteQrModalCanvas img, #suiteQrModalCanvas canvas {
  width: 300px !important;
  height: 300px !important;
  display: block !important;
  image-rendering: pixelated;
}

/* Bento Grid for Step Dance */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.bento-card {
  background: rgba(18, 18, 24, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: rgba(254, 116, 9, 0.3);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 20px rgba(254, 116, 9, 0.1);
}

.bento-card.bento-wide {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(254, 116, 9, 0.08) 0%, rgba(18, 18, 24, 0.85) 60%);
  border-color: rgba(254, 116, 9, 0.2);
}

.bento-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.bento-icon-box {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(254, 116, 9, 0.12);
  border: 1px solid rgba(254, 116, 9, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}

.bento-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFFFFF;
}

.bento-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.bento-metric-bar {
  margin-top: 20px;
  padding: 14px 18px;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bento-metric-val {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  font-family: 'Syne', sans-serif;
}

.bento-metric-label {
  font-size: 0.82rem;
  color: var(--text-muted);
}

@media (max-width: 991px) {
  .hero-portals-grid {
    grid-template-columns: 1fr;
  }
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-card.bento-wide {
    grid-column: span 1;
  }
  .airdrop-hub-features {
    grid-template-columns: 1fr;
  }
  .suite-tabs-dock {
    width: 100%;
    overflow-x: auto;
    border-radius: 20px;
    justify-content: flex-start;
  }
}

/* ==========================================================================
   CYBER DYNAMIC THEME EXTENSIONS & SHOWCASE MEDIA SLOTS
   ========================================================================== */

/* Neon Glow Animations */
@keyframes cyberGlowOrange {
  0%, 100% { box-shadow: 0 0 20px rgba(254, 116, 9, 0.4), 0 10px 30px rgba(0,0,0,0.6); }
  50% { box-shadow: 0 0 35px rgba(254, 116, 9, 0.7), 0 14px 40px rgba(0,0,0,0.8); }
}

@keyframes cyberGlowCyan {
  0%, 100% { box-shadow: 0 0 18px rgba(0, 229, 255, 0.35), 0 10px 30px rgba(0,0,0,0.6); }
  50% { box-shadow: 0 0 32px rgba(0, 229, 255, 0.65), 0 14px 40px rgba(0,0,0,0.8); }
}

/* Featured Price Card (Best Seller) */
.price-card.featured {
  border: 2px solid var(--primary) !important;
  animation: cyberGlowOrange 4s infinite ease-in-out;
  position: relative;
  background: linear-gradient(135deg, rgba(254, 116, 9, 0.12) 0%, rgba(24, 24, 29, 0.95) 70%) !important;
}

/* Showcase Media Slot (Bento Grid) */
.showcase-media-slot {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #0D0D12;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.showcase-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.showcase-media-slot:hover .showcase-img {
  transform: scale(1.04);
}

.showcase-placeholder {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  background: radial-gradient(circle at center, rgba(254, 116, 9, 0.12) 0%, rgba(13, 13, 18, 0.95) 80%);
  width: 100%;
  height: 100%;
}

.showcase-media-slot.has-placeholder .showcase-placeholder,
.showcase-media-slot:not(:has(.showcase-img[src])) .showcase-placeholder {
  display: flex;
}

.showcase-placeholder .ph-icon {
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.showcase-placeholder strong {
  font-size: 0.95rem;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.showcase-placeholder span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.media-slot-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--primary);
  border: 1px solid rgba(254, 116, 9, 0.4);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 99px;
  letter-spacing: 0.5px;
  z-index: 2;
}

/* Branch Showroom Slot */
.branch-showroom-slot {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #0E0E14;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}

.showroom-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.branch-showroom-slot:hover .showroom-img {
  transform: scale(1.03);
}

.showroom-placeholder {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  background: radial-gradient(circle at center, rgba(0, 229, 255, 0.1) 0%, rgba(14, 14, 20, 0.95) 80%);
  width: 100%;
  height: 100%;
}

.branch-showroom-slot.has-placeholder .showroom-placeholder,
.branch-showroom-slot:not(:has(.showroom-img[src])) .showroom-placeholder {
  display: flex;
}

.showroom-placeholder .ph-icon {
  font-size: 2.6rem;
  margin-bottom: 8px;
}

.showroom-placeholder strong {
  font-size: 1.05rem;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.showroom-placeholder span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.showroom-status-tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #10B981;
  border: 1px solid rgba(16, 185, 129, 0.4);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 99px;
  z-index: 2;
}

/* Founder Profile Grid */
.founder-profile-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  align-items: center;
}

@media (max-width: 768px) {
  .founder-profile-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.founder-avatar-slot {
  position: relative;
  width: 100%;
  max-width: 240px;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #111118;
  border: 2px solid rgba(254, 116, 9, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 25px rgba(254, 116, 9, 0.2);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.founder-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.founder-avatar-placeholder {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 16px;
  text-align: center;
  background: radial-gradient(circle at center, rgba(254, 116, 9, 0.2) 0%, #111118 75%);
}

.founder-avatar-slot.has-placeholder .founder-avatar-placeholder,
.founder-avatar-slot:not(:has(.founder-avatar-img[src])) .founder-avatar-placeholder {
  display: flex;
}

.founder-avatar-placeholder .ph-icon {
  font-size: 3.5rem;
  margin-bottom: 6px;
}

/* Mobile Floating Quick Action Bar */
.mobile-quick-bar {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%) translateY(140%);
  width: calc(100% - 24px);
  max-width: 440px;
  background: rgba(14, 14, 20, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(254, 116, 9, 0.45);
  border-radius: 99px;
  padding: 6px 8px;
  z-index: 999;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.8), 0 0 25px rgba(254, 116, 9, 0.25);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-quick-bar.visible {
  transform: translateX(-50%) translateY(0);
}

.quick-bar-inner {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-quick-tool {
  flex: 1.1;
  background: rgba(0, 229, 255, 0.12);
  border: 1px solid rgba(0, 229, 255, 0.35);
  color: #00E5FF;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 99px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
}

.btn-quick-lead {
  flex: 1.2;
  background: linear-gradient(135deg, var(--primary) 0%, #FF881E 100%);
  color: #000;
  font-size: 13px;
  font-weight: 800;
  padding: 10px 16px;
  border-radius: 99px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 4px 15px var(--primary-glow);
  white-space: nowrap;
}

.btn-quick-zalo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 104, 255, 0.2);
  border: 1px solid rgba(0, 104, 255, 0.4);
  color: #38BDF8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  text-decoration: none;
  flex-shrink: 0;
}

/* The promotional floating bar must never cover sync/export controls on phones. */
body.sync-studio-active .mobile-quick-bar { display: none !important; }
#btnRetryAnalysis { margin-top: 12px; white-space: normal; max-width: 100%; }
.status-desc { overflow-wrap: anywhere; }
@media (max-width: 768px) {
  .offset-controls { flex-wrap: wrap; }
}

/* Native accessible file inputs & Zalo/Mobile upload hardening (v7.2) */
.sr-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.drop-zone {
  position: relative;
}
label.drop-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
.upload-alt-row {
  margin-top: 10px;
  display: flex;
  justify-content: center;
}
.btn-alt-file-picker {
  width: 100%;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px dashed rgba(254, 116, 9, 0.4);
  background: rgba(254, 116, 9, 0.08);
  color: #FFB37A;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s;
}
.btn-alt-file-picker:hover {
  background: rgba(254, 116, 9, 0.16);
  border-color: var(--primary);
  color: #FFFFFF;
}
.file-error-banner {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(239, 68, 68, 0.14);
  border: 1px solid rgba(239, 68, 68, 0.45);
  color: #FCA5A5;
  font-size: 12.5px;
  line-height: 1.5;
}
.banner-copy-btn {
  background: var(--primary);
  color: #0B0B0D;
  border: none;
  border-radius: 99px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}
