/* ============================================================
   MultiDownloader Pro — Professional Theme
   ============================================================ */

/* --- CSS Variables ----------------------------------------- */
:root {
  --primary: #6C63FF;
  --primary-dark: #4B44CC;
  --secondary: #FF6584;
  --accent: #43E97B;
  --dark: #0D0E1A;
  --dark-2: #161727;
  --dark-3: #1E1F35;
  --dark-card: #1A1B2E;
  --light: #F8F9FF;
  --light-2: #EEF0FF;
  --text: #E2E2EE;
  --text-muted: #8A8BA8;
  --border: rgba(255,255,255,0.08);
  --shadow: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-sm: 0 4px 16px rgba(0,0,0,0.25);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --gradient-primary: linear-gradient(135deg, #6C63FF 0%, #FF6584 100%);
  --gradient-dark: linear-gradient(135deg, #0D0E1A 0%, #1E1F35 100%);
  --gradient-tiktok: linear-gradient(135deg, #010101 0%, #69C9D0 50%, #EE1D52 100%);
  --gradient-instagram: linear-gradient(135deg, #405DE6,#5851DB,#833AB4,#C13584,#E1306C,#FD1D1D,#F56040,#F77737,#FCAF45,#FFDC80);
  --gradient-youtube: linear-gradient(135deg, #FF0000 0%, #CC0000 100%);
  
  /* Backward compatibility aliases */
  --primary-color: var(--primary);
  --dark-color: var(--dark);
  --gray-color: var(--text-muted);
  --success-color: var(--accent);
  --light-color: var(--light);
  --border-radius: var(--radius);
  --box-shadow: var(--shadow);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

/* scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark-2); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* --- Typography -------------------------------------------- */
h1,h2,h3,h4,h5,h6 { font-weight: 700; line-height: 1.2; color: #fff; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.75rem); }

p { color: var(--text-muted); }
a { text-decoration: none; color: var(--primary); transition: color var(--transition); }
a:hover { color: #a99dff; }

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Page Header ------------------------------------------ */
.page-header {
  text-align: center;
  padding: 3rem 1rem;
  margin-bottom: 2rem;
}

.page-header h1 {
  margin-bottom: 0.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
}

.page-header strong {
  color: var(--primary);
}

/* --- Navbar ------------------------------------------------ */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(13,14,26,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 70px;
  gap: 16px;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff !important;
  text-decoration: none;
  margin-right: 16px;
  white-space: nowrap;
}

.logo-icon {
  font-size: 1.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo span:last-child {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-muted) !important;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all var(--transition);
  white-space: nowrap;
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.nav-link:hover,
.nav-link.active {
  color: #fff !important;
  background: rgba(108,99,255,0.15);
}

.nav-link.active { color: var(--primary) !important; }

/* Dropdown */
.dropdown { position: relative; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-width: 200px;
  padding: 8px;
  box-shadow: var(--shadow);
  z-index: 200;
}
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-muted) !important;
  font-size: 0.875rem;
  transition: all var(--transition);
  text-decoration: none;
}
.dropdown-item:hover {
  background: rgba(108,99,255,0.15);
  color: #fff !important;
}

/* Nav Right */
.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  color: #fff;
}

.lang-selector select {
  background: var(--dark-3);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  cursor: pointer;
  outline: none;
  transition: border-color var(--transition);
}

.lang-selector select:hover { border-color: var(--primary); }

/* Flash messages */
.flashes {
  list-style: none;
  padding: 12px 24px;
  background: rgba(108,99,255,0.1);
  border-top: 1px solid var(--border);
}

.flashes li {
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  margin-bottom: 4px;
}

.flashes .success { background: rgba(67,233,123,0.15); color: #43E97B; border: 1px solid rgba(67,233,123,0.3); }
.flashes .error { background: rgba(255,101,132,0.15); color: #FF6584; border: 1px solid rgba(255,101,132,0.3); }
.flashes .info { background: rgba(108,99,255,0.15); color: #a99dff; border: 1px solid rgba(108,99,255,0.3); }

/* Admin link */
.admin-link { color: #FFD700 !important; }
.admin-link:hover { background: rgba(255,215,0,0.1) !important; }

/* --- Main -------------------------------------------------- */
main { min-height: calc(100vh - 70px - 400px); }

/* --- Hero Section ------------------------------------------ */
.hero-section {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(108,99,255,0.2) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 50%, rgba(255,101,132,0.15) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

.hero-section .container { position: relative; z-index: 2; }

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -12px;
}

.col-lg-6 { width: 50%; padding: 0 12px; }
.col-lg-4 { width: 33.333%; padding: 0 12px; }
.col-md-4 { width: 33.333%; padding: 0 12px; }
.col-md-3 { width: 25%; padding: 0 12px; }
.col-md-6 { width: 50%; padding: 0 12px; }
.col-12 { width: 100%; padding: 0 12px; }
.align-items-center { align-items: center; }
.g-4 > * { padding: 12px; }

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem) !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
  color: #fff !important;
  margin-bottom: 1.5rem !important;
}

.hero-title span.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.65) !important;
  margin-bottom: 2.5rem;
  max-width: 520px;
}

.hero-buttons { display: flex; flex-wrap: wrap; gap: 16px; }

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.stat-item { text-align: center; }
.stat-number {
  font-size: 2rem !important;
  font-weight: 900 !important;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1 !important;
  margin-bottom: 4px;
}
.stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.05em; }

/* Hero mockup card */
.hero-mockup {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow), 0 0 80px rgba(108,99,255,0.15);
  max-width: 480px;
  margin: 0 auto;
}

.mockup-header {
  background: var(--dark-3);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border);
}

.mockup-dots { display: flex; gap: 6px; }
.mockup-dot { width: 12px; height: 12px; border-radius: 50%; }
.mockup-dot.red { background: #FF5F57; }
.mockup-dot.yellow { background: #FEBC2E; }
.mockup-dot.green { background: #28C840; }
.mockup-title { font-size: 0.75rem; color: var(--text-muted); margin-left: 8px; }

.mockup-body { padding: 24px; }

.mockup-url-bar {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.mockup-url-bar i { color: var(--primary); }

.mockup-video-item {
  background: var(--dark-3);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.mockup-thumb {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  flex-shrink: 0;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.mockup-info { flex: 1; }
.mockup-info h4 { font-size: 0.875rem; font-weight: 600; color: #fff; margin-bottom: 4px; }
.mockup-info p { font-size: 0.75rem; color: var(--text-muted); margin: 0; }

.mockup-progress {
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  margin-top: 8px;
  overflow: hidden;
}

.mockup-progress-bar {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 2px;
  width: 100%;
}

.mockup-dl-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient-primary);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.875rem;
  flex-shrink: 0;
}

/* --- Buttons ----------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(108,99,255,0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(108,99,255,0.5);
  color: #fff;
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.3);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline-primary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline-primary:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--dark-3);
  color: #fff;
  border-color: var(--border);
}
.btn-dark:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
  color: #fff;
}

.btn-danger {
  background: linear-gradient(135deg, #FF416C, #FF4B2B);
  color: #fff;
}
.btn-danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255,65,108,0.4);
  color: #fff;
}

.btn-warning {
  background: linear-gradient(135deg, #FFD700, #FF8C00);
  color: #000;
  font-weight: 700;
}
.btn-warning:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255,215,0,0.4);
  color: #000;
}

.btn-success {
  background: linear-gradient(135deg, #43E97B, #38F9D7);
  color: #000;
  font-weight: 700;
}
.btn-success:hover {
  transform: translateY(-2px);
  color: #000;
}

.btn-lg { padding: 16px 40px; font-size: 1rem; }
.btn-sm { padding: 8px 18px; font-size: 0.8rem; }
.btn-block, .w-100 { width: 100%; }

/* --- Cards ------------------------------------------------- */
.card {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}

.card:hover {
  border-color: rgba(108,99,255,0.3);
  box-shadow: var(--shadow), 0 0 30px rgba(108,99,255,0.1);
  transform: translateY(-4px);
}

.card-body { padding: 28px; }
.card-header {
  padding: 16px 28px;
  background: var(--dark-3);
  border-bottom: 1px solid var(--border);
  font-weight: 600;
}
.card-title { font-size: 1.2rem; margin-bottom: 12px; color: #fff; }
.card-text { color: var(--text-muted); font-size: 0.9rem; }
.card-img-top { width: 100%; height: 200px; object-fit: cover; }

/* Shadow helpers */
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-lg { box-shadow: var(--shadow); }
.border-0 { border: none; }

/* --- Sections ---------------------------------------------- */
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }

.section-header { text-align: center; margin-bottom: 60px; }
.section-badge {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(108,99,255,0.15);
  color: var(--primary);
  border: 1px solid rgba(108,99,255,0.3);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 16px;
  color: #fff;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* Bg variants */
.bg-dark-2 { background: var(--dark-2); }
.bg-dark-3 { background: var(--dark-3); }
.bg-light { background: var(--dark-2) !important; }
.py-5 { padding-top: 80px !important; padding-bottom: 80px !important; }
.py-4 { padding: 48px 0; }

/* --- Platform Cards ---------------------------------------- */
.platform-card {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  height: 100%;
}

.platform-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow), 0 0 40px rgba(108,99,255,0.15);
}

.platform-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.platform-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.platform-card:hover .platform-img-wrap img {
  transform: scale(1.08);
}

.platform-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.7) 100%);
}

.platform-icon-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  border: 1px solid rgba(255,255,255,0.1);
}

.platform-body { padding: 24px; }

/* --- Feature Icons ----------------------------------------- */
.feature-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  background: rgba(108,99,255,0.1);
  border: 1px solid rgba(108,99,255,0.2);
  transition: all var(--transition);
}

.card:hover .feature-icon-wrap {
  background: var(--gradient-primary);
  border-color: transparent;
  transform: scale(1.1);
}

.card:hover .feature-icon-wrap i { color: #fff !important; }

/* Step numbers */
.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: #fff;
  font-weight: 900;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 4px 20px rgba(108,99,255,0.4);
}

/* --- Badges ------------------------------------------------ */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.badge.bg-primary { background: rgba(108,99,255,0.2) !important; color: #a99dff; border: 1px solid rgba(108,99,255,0.3); }
.badge.bg-success { background: rgba(67,233,123,0.15) !important; color: #43E97B; border: 1px solid rgba(67,233,123,0.3); }
.badge.bg-info { background: rgba(6,182,212,0.15) !important; color: #06B6D4; border: 1px solid rgba(6,182,212,0.3); }
.badge.bg-danger { background: rgba(255,65,108,0.15) !important; color: #FF416C; border: 1px solid rgba(255,65,108,0.3); }
.badge.bg-warning { background: rgba(255,215,0,0.15) !important; color: #FFD700; border: 1px solid rgba(255,215,0,0.3); }
.badge.bg-dark { background: var(--dark-3) !important; color: var(--text-muted); border: 1px solid var(--border); }

/* --- Download Form ----------------------------------------- */
.download-form-card {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
  max-width: 800px;
  margin: 0 auto;
}

.download-form-card h2 {
  text-align: center;
  margin-bottom: 8px;
}

.download-form-card p {
  text-align: center;
  margin-bottom: 32px;
}

.input-group {
  display: flex;
  gap: 0;
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 6px;
  transition: border-color var(--transition);
}

.input-group:focus-within { border-color: var(--primary); }

.input-group input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 12px 20px;
  color: #fff;
  font-size: 0.95rem;
}

.input-group input::placeholder { color: var(--text-muted); }

.input-group .btn { border-radius: 50px; }

/* Form controls */
.form-control {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: #fff;
  padding: 12px 16px;
  font-size: 0.9rem;
  width: 100%;
  outline: none;
  transition: border-color var(--transition);
}

.form-control:focus { border-color: var(--primary); }
.form-control::placeholder { color: var(--text-muted); }

.form-select {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: #fff;
  padding: 12px 16px;
  font-size: 0.9rem;
  width: 100%;
  outline: none;
  cursor: pointer;
}

.form-label { font-size: 0.875rem; font-weight: 600; color: var(--text); margin-bottom: 8px; display: block; }

/* --- Progress bars ----------------------------------------- */
.progress {
  background: rgba(255,255,255,0.08);
  border-radius: 50px;
  overflow: hidden;
}

.progress-bar { background: var(--gradient-primary); border-radius: 50px; transition: width 0.5s ease; }
.progress-bar.bg-primary { background: var(--gradient-primary) !important; }
.progress-bar.bg-success { background: linear-gradient(135deg,#43E97B,#38F9D7) !important; }

/* --- Pricing Cards ----------------------------------------- */
.pricing-card {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  position: relative;
  transition: all var(--transition);
}

.pricing-card:hover { transform: translateY(-8px); }

.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: 0 0 40px rgba(108,99,255,0.25);
}

.pricing-popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: #fff;
  padding: 4px 20px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.pricing-price {
  font-size: 3rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin: 24px 0 8px;
}

.pricing-price sup { font-size: 1.5rem; vertical-align: super; }
.pricing-period { font-size: 0.875rem; color: var(--text-muted); }
.pricing-features { list-style: none; margin: 24px 0; text-align: left; }
.pricing-features li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li .fa-check { color: #43E97B; }
.pricing-features li .fa-times { color: #FF6584; }

/* --- Stats/Counters --------------------------------------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-box {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition);
}

.stat-box:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
}

.stat-box .stat-icon {
  font-size: 2rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.stat-box .stat-value {
  font-size: 2.5rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-box .stat-caption { font-size: 0.875rem; color: var(--text-muted); }

/* --- How it works ----------------------------------------- */
.how-it-works {
  position: relative;
}

.how-step {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  position: relative;
  transition: all var(--transition);
}

.how-step:hover {
  border-color: rgba(108,99,255,0.4);
  transform: translateY(-4px);
}

/* --- Blog Cards ------------------------------------------- */
.blog-card {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(108,99,255,0.3);
}

.blog-img { width: 100%; height: 220px; object-fit: cover; transition: transform 0.5s; }
.blog-card:hover .blog-img { transform: scale(1.05); }
.blog-card-body { padding: 28px; }
.blog-meta { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 12px; display: flex; gap: 16px; }
.blog-title { font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 10px; line-height: 1.4; }
.blog-excerpt { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 20px; }

/* --- FAQ -------------------------------------------------- */
.faq-item {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item:hover { border-color: rgba(108,99,255,0.3); }

.faq-question {
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-question h3 { font-size: 1rem; font-weight: 600; color: #fff; margin: 0; }
.faq-question i { color: var(--primary); flex-shrink: 0; transition: transform var(--transition); }
.faq-item.open .faq-question i { transform: rotate(180deg); }

.faq-answer {
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  display: none;
}

.faq-item.open .faq-answer { display: block; }

/* --- Contact Form ----------------------------------------- */
.contact-card {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 32px;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(108,99,255,0.1);
  border: 1px solid rgba(108,99,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--primary);
  flex-shrink: 0;
}

/* --- Footer ----------------------------------------------- */
footer {
  background: var(--dark-2);
  border-top: 1px solid var(--border);
  padding: 80px 0 0;
  margin-top: 80px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
}

.footer-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}

.footer-description {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
}

.social-links { display: flex; gap: 12px; }
.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--dark-3);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted) !important;
  transition: all var(--transition);
  font-size: 0.9rem;
  text-decoration: none;
}

.social-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff !important;
  transform: translateY(-3px);
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color var(--transition);
  text-decoration: none;
}
.footer-links a:hover { color: var(--primary); }
.footer-links a i { width: 14px; font-size: 0.75rem; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-credits { opacity: 0.7; }

/* --- Legal pages ------------------------------------------ */
.legal-content {
  max-width: 860px;
  margin: 0 auto;
}

.legal-content h1 { margin-bottom: 8px; }
.legal-content .last-updated { color: var(--text-muted); font-size: 0.875rem; margin-bottom: 48px; }
.legal-content h2 { font-size: 1.4rem; margin: 40px 0 16px; color: var(--primary); border-left: 3px solid var(--primary); padding-left: 16px; }
.legal-content p { margin-bottom: 16px; color: var(--text-muted); }
.legal-content ul, .legal-content ol { padding-left: 24px; margin-bottom: 16px; }
.legal-content li { color: var(--text-muted); margin-bottom: 8px; line-height: 1.7; }

/* --- Admin ------------------------------------------------ */
.admin-nav {
  background: var(--dark-card);
  border-right: 1px solid var(--border);
  min-height: calc(100vh - 70px);
  padding: 32px 0;
  width: 260px;
  flex-shrink: 0;
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  border-left: 3px solid transparent;
}

.admin-nav-item:hover, .admin-nav-item.active {
  color: #fff;
  background: rgba(108,99,255,0.1);
  border-left-color: var(--primary);
}

/* Admin content */
.admin-content {
  flex: 1;
  padding: 32px;
  min-height: calc(100vh - 70px);
}

.admin-stat-card {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.admin-stat-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

/* Table */
.table {
  width: 100%;
  border-collapse: collapse;
}

.table th, .table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
}

.table th { color: var(--text-muted); font-weight: 600; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; }
.table td { color: var(--text); }
.table tbody tr:hover { background: rgba(255,255,255,0.03); }

/* --- Auth forms ------------------------------------------- */
.auth-card {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  max-width: 480px;
  margin: 80px auto;
  box-shadow: var(--shadow);
}

.auth-logo { text-align: center; margin-bottom: 40px; }
.auth-logo .logo-icon { font-size: 2.5rem; display: block; margin-bottom: 8px; }

/* --- Alerts ----------------------------------------------- */
.alert {
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.alert-success { background: rgba(67,233,123,0.1); color: #43E97B; border: 1px solid rgba(67,233,123,0.25); }
.alert-danger { background: rgba(255,65,108,0.1); color: #FF416C; border: 1px solid rgba(255,65,108,0.25); }
.alert-info { background: rgba(108,99,255,0.1); color: #a99dff; border: 1px solid rgba(108,99,255,0.25); }
.alert-warning { background: rgba(255,215,0,0.1); color: #FFD700; border: 1px solid rgba(255,215,0,0.25); }

/* --- Utilities --------------------------------------------- */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted) !important; }
.text-white { color: #fff !important; }
.text-primary { color: var(--primary) !important; }
.text-success { color: #43E97B !important; }
.text-danger { color: #FF416C !important; }
.text-warning { color: #FFD700 !important; }
.text-light { color: rgba(255,255,255,0.7) !important; }

.fw-bold { font-weight: 700 !important; }
.fw-bolder { font-weight: 900 !important; }

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 8px !important; }
.mb-2 { margin-bottom: 12px !important; }
.mb-3 { margin-bottom: 16px !important; }
.mb-4 { margin-bottom: 24px !important; }
.mb-5 { margin-bottom: 40px !important; }
.mt-1 { margin-top: 8px !important; }
.mt-2 { margin-top: 12px !important; }
.mt-3 { margin-top: 16px !important; }
.mt-4 { margin-top: 24px !important; }
.mt-5 { margin-top: 40px !important; }
.me-1 { margin-right: 4px !important; }
.me-2 { margin-right: 8px !important; }
.ms-3 { margin-left: 16px !important; }
.p-0 { padding: 0 !important; }
.p-3 { padding: 16px !important; }
.p-4 { padding: 24px !important; }
.px-5 { padding-left: 40px !important; padding-right: 40px !important; }
.py-3 { padding-top: 16px !important; padding-bottom: 16px !important; }

.d-flex { display: flex !important; }
.d-grid { display: grid !important; }
.align-items-center { align-items: center !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-between { justify-content: space-between !important; }
.flex-wrap { flex-wrap: wrap !important; }
.gap-2 { gap: 8px !important; }
.gap-3 { gap: 16px !important; }
.gap-4 { gap: 24px !important; }
.flex-grow-1 { flex-grow: 1 !important; }
.flex-shrink-0 { flex-shrink: 0 !important; }

.position-relative { position: relative !important; }
.position-absolute { position: absolute !important; }
.top-0 { top: 0 !important; }
.start-0 { left: 0 !important; }
.m-3 { margin: 16px !important; }

.rounded-circle { border-radius: 50% !important; }
.rounded-3 { border-radius: 12px !important; }
.rounded-4 { border-radius: 16px !important; }
.overflow-hidden { overflow: hidden !important; }

.display-4 { font-size: clamp(2rem,4vw,2.8rem) !important; }
.display-5 { font-size: clamp(1.6rem,3.5vw,2.4rem) !important; }
.display-6 { font-size: clamp(1.2rem,2.5vw,1.8rem) !important; }
.lead { font-size: 1.1rem !important; }
.small { font-size: 0.8rem; }

.h-100 { height: 100% !important; }
.w-100 { width: 100% !important; }
.mx-auto { margin-left: auto !important; margin-right: auto !important; }

/* Glow effects */
.glow-primary { box-shadow: 0 0 30px rgba(108,99,255,0.3) !important; }
.glow-tiktok { box-shadow: 0 0 30px rgba(105,201,208,0.3) !important; }
.glow-insta { box-shadow: 0 0 30px rgba(199,55,132,0.3) !important; }
.glow-youtube { box-shadow: 0 0 30px rgba(255,0,0,0.3) !important; }

/* Border helpers */
.border-top { border-top: 1px solid var(--border) !important; }
.border-light { border-color: rgba(255,255,255,0.1) !important; }
.border-opacity-25 { opacity: 0.25; }

/* --- Result card ------------------------------------------ */
.result-card {
  background: var(--dark-card);
  border: 1px solid rgba(108,99,255,0.3);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-top: 32px;
  box-shadow: 0 0 40px rgba(108,99,255,0.1);
}

.video-thumbnail {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/9;
}

.video-thumbnail img { width: 100%; height: 100%; object-fit: cover; }

/* Download buttons grid */
.download-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

/* Loading spinner */
.spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(108,99,255,0.2);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto;
}

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

/* Gradient text utility */
.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Glassmorphism */
.glass {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.08);
}

/* Animated gradient bg */
.gradient-bg {
  background: linear-gradient(-45deg, #0D0E1A, #1E1F35, #161727, #12142a);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* col helpers inside bg-light sections */
.bg-light .card { background: var(--dark-3); border-color: var(--border); }
.bg-light p { color: var(--text-muted); }

/* Pricing col grid */
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; max-width: 1000px; margin: 0 auto; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .footer-content { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .pricing-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 768px) {
  .col-lg-6, .col-lg-4, .col-md-4, .col-md-6, .col-md-3 { width: 100%; }
  
  nav { padding: 0 16px; }
  .nav-left .nav-link:not(.logo) { display: none; }
  .nav-left .dropdown { display: none; }
  
  .hero-section { min-height: auto; padding: 60px 0; }
  .hero-buttons { justify-content: center; }
  .hero-stats { flex-direction: column; gap: 20px; align-items: center; }
  
  .footer-content { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  
  .auth-card { padding: 32px 24px; margin: 40px auto; }
  .contact-card { padding: 32px 24px; }
  .download-form-card { padding: 28px 20px; }
  
  .input-group { border-radius: var(--radius); flex-direction: column; }
  .input-group .btn { border-radius: var(--radius-sm); }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 2rem !important; }
  .pricing-card { padding: 32px 20px; }
}
