/* ============================================
   PREMIUM STYLING FOR MEDIADL PRO
   ============================================ */

:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --secondary: #ec4899;
  --tertiary: #8b5cf6;
  --success: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;
  
  --dark-bg: #0f172a;
  --dark-card: #1e293b;
  --dark-border: #334155;
  --light-bg: #f8fafc;
  --light-card: #ffffff;
  --light-border: #e2e8f0;
  
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --text-light: #94a3b8;
  
  --radius: 16px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--light-bg);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

body.dark-mode {
  background: var(--dark-bg);
  color: #e2e8f0;
}

/* ============ PRELOADER ============ */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--light-bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  animation: fadeOutUp 0.6s ease-out 1.5s forwards;
}

.dark-mode .preloader {
  background: var(--dark-bg);
}

.preloader .loader {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(99, 102, 241, 0.1);
  border-radius: 50%;
  border-top-color: var(--primary);
  animation: spin 0.8s linear infinite;
}

.preloader p {
  margin-top: 20px;
  font-size: 18px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

@keyframes fadeOutUp {
  to {
    opacity: 0;
    transform: translateY(-20px);
    visibility: hidden;
  }
}

/* ============ BACKGROUND ============ */
.background-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.gradient-bg {
  position: absolute;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, #6366f1 0%, #8b5cf6 25%, #ec4899 50%, #6366f1 75%, #8b5cf6 100%);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  opacity: 0.1;
}

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

.animated-grid {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(99, 102, 241, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 102, 241, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% { transform: translateY(0); }
  100% { transform: translateY(50px); }
}

.stars {
  position: absolute;
  width: 2px;
  height: 2px;
  background: white;
  border-radius: 50%;
  box-shadow: 
    100px 100px white, 200px 50px white, 150px 200px white,
    300px 150px white, 250px 300px white, 400px 100px white,
    350px 250px white, 500px 200px white, 450px 350px white,
    600px 150px white, 550px 400px white, 700px 300px white;
  opacity: 0.3;
  animation: twinkle 3s ease-in-out infinite;
}

@keyframes twinkle {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.8; }
}

.floating-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.05;
  filter: blur(40px);
}

.shape-1 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, var(--primary), var(--tertiary));
  top: -100px;
  left: -100px;
  animation: float 20s ease-in-out infinite;
}

.shape-2 {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  top: 50%;
  right: -50px;
  animation: float 25s ease-in-out infinite reverse;
}

.shape-3 {
  width: 350px;
  height: 350px;
  background: linear-gradient(135deg, var(--tertiary), var(--secondary));
  bottom: -100px;
  left: 50%;
  animation: float 30s ease-in-out infinite;
}

.shape-4 {
  width: 280px;
  height: 280px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  bottom: 20%;
  right: 10%;
  animation: float 22s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -50px) scale(1.1); }
  66% { transform: translate(-20px, 30px) scale(0.9); }
}

/* ============ NAVBAR ============ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--light-border);
  transition: all 0.3s ease;
  padding: 0.75rem 0;
}

.dark-mode .navbar {
  background: rgba(15, 23, 42, 0.7);
  border-bottom-color: var(--dark-border);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem 0;
}

.dark-mode .navbar.scrolled {
  background: rgba(15, 23, 42, 0.95);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  cursor: pointer;
  transition: transform 0.3s ease;
  z-index: 101;
}

.nav-logo:hover {
  transform: scale(1.05);
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--tertiary));
  border-radius: var(--radius-sm);
  color: white;
  font-size: 1.2rem;
}

.logo-pro {
  color: var(--secondary);
  font-weight: 900;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  align-items: center;
  list-style: none;
}

.nav-link {
  position: relative;
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 600;
  transition: color 0.3s ease;
  padding: 0.5rem 0;
}

.dark-mode .nav-link {
  color: #cbd5e1;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 1.2rem;
  z-index: 101;
}

.nav-theme-toggle:hover {
  transform: scale(1.1);
  background: var(--primary-dark);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  width: 30px;
  height: 24px;
  z-index: 101;
  background: none;
  border: none;
  padding: 0;
  position: relative;
}

.hamburger span {
  width: 100%;
  height: 3px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
  display: block;
}

.dark-mode .hamburger span {
  background: #e2e8f0;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* ============ CONTAINER & GENERAL ============ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  animation: fadeInUp 0.6s ease;
}

.section-header h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.dark-mode .section-header h2 {
  color: #f1f5f9;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============ BUTTONS ============ */
.btn {
  padding: 0.875rem 1.5rem;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: white;
}

.btn-glow {
  position: relative;
  overflow: hidden;
}

.btn-glow::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.download-btn {
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 700;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.3);
  white-space: nowrap;
}

.download-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 40px rgba(99, 102, 241, 0.5);
}

.download-btn:active {
  transform: translateY(-2px);
}

/* ============ HERO SECTION ============ */
.hero {
  padding: 6rem 0;
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text {
  animation: fadeInLeft 0.8s ease;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  font-family: 'Playfair Display', serif;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--tertiary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}

.gradient-text-2 {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 500px;
  line-height: 1.8;
}

.dark-mode .hero-subtitle {
  color: #cbd5e1;
}

.highlight-text {
  color: var(--primary);
  font-weight: 700;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.stat {
  padding: 1.5rem;
  background: rgba(99, 102, 241, 0.05);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(99, 102, 241, 0.1);
  text-align: center;
  transition: all 0.3s ease;
  animation: slideInUp 0.6s ease forwards;
  opacity: 0;
}

.dark-mode .stat {
  background: rgba(99, 102, 241, 0.1);
  border-color: rgba(99, 102, 241, 0.2);
}

.stat:hover {
  transform: translateY(-4px);
  background: rgba(99, 102, 241, 0.1);
  border-color: var(--primary);
}

.stat-1 { animation-delay: 0.1s; }
.stat-2 { animation-delay: 0.2s; }
.stat-3 { animation-delay: 0.3s; }
.stat-4 { animation-delay: 0.4s; }

@keyframes slideInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stat-number {
  font-size: 1.75rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

.stat p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-image {
  position: relative;
  height: 500px;
  animation: fadeInRight 0.8s ease;
}

.phone-mockup {
  position: absolute;
  width: 280px;
  height: 560px;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border-radius: 40px;
  padding: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  border: 8px solid #1e293b;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  animation: float 4s ease-in-out infinite;
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 28px;
  background: #1e293b;
  border-radius: 0 0 20px 20px;
  z-index: 10;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary), var(--tertiary));
  border-radius: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.screen-content {
  text-align: center;
  color: white;
  z-index: 5;
}

.screen-content i {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
  animation: pulse 2s ease-in-out infinite;
}

.screen-content p {
  font-size: 1.2rem;
  font-weight: 700;
}

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

.phone-button {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 4px;
  background: #1e293b;
  border-radius: 2px;
  z-index: 10;
}

.floating-card {
  position: absolute;
  width: 100px;
  height: 100px;
  background: white;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-xl);
  animation: bounce 3s ease-in-out infinite;
}

.dark-mode .floating-card {
  background: var(--dark-card);
  color: white;
}

.floating-card i {
  font-size: 2rem;
  color: var(--primary);
}

.floating-card p {
  font-size: 0.75rem;
  font-weight: 600;
  text-align: center;
  color: var(--text-secondary);
}

.dark-mode .floating-card p {
  color: #cbd5e1;
}

.card-1 {
  top: 20px;
  right: 20px;
  animation-delay: 0s;
}

.card-2 {
  bottom: 80px;
  right: -20px;
  animation-delay: 0.5s;
}

.card-3 {
  bottom: 20px;
  left: 20px;
  animation-delay: 1s;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ============ DOWNLOAD SECTION ============ */
.download-section {
  padding: 4rem 0;
  position: relative;
}

.download-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-2xl);
  border: 2px solid transparent;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.dark-mode .download-card {
  background: var(--dark-card);
  border-color: var(--dark-border);
}

.download-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.1));
  pointer-events: none;
}

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

.input-group {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 1rem;
  color: var(--primary);
  font-size: 1.2rem;
  pointer-events: none;
}

.input-field {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  border: 2px solid var(--light-border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
}

.dark-mode .input-field {
  background: var(--dark-bg);
  border-color: var(--dark-border);
  color: #e2e8f0;
}

.input-field:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.btn-clear {
  position: absolute;
  right: 1rem;
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  padding: 0.5rem;
}

.btn-clear:hover {
  color: var(--primary);
  transform: scale(1.2);
}

.loading-spinner {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  position: relative;
  z-index: 2;
}

.spinner-circle {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(99, 102, 241, 0.2);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}

.loading-spinner p {
  color: var(--text-secondary);
  font-weight: 600;
}

.progress-bar {
  width: 100px;
  height: 3px;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 10px;
  margin-top: 1rem;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 10px;
  animation: progress 1.5s ease-in-out infinite;
}

@keyframes progress {
  0% { width: 0; }
  50% { width: 100%; }
  100% { width: 0; }
}

.url-suggestions {
  position: relative;
  z-index: 2;
  margin-top: 2rem;
}

.suggestions-title {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.platform-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.badge {
  padding: 0.5rem 1rem;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid var(--primary);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.dark-mode .badge {
  background: rgba(99, 102, 241, 0.15);
}

.badge:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.badge-tiktok { border-color: #000; color: #000; }
.badge-tiktok:hover { background: #000; color: white; }

.badge-instagram { border-color: #e4405f; color: #e4405f; }
.badge-instagram:hover { background: #e4405f; color: white; }

.badge-youtube { border-color: #ff0000; color: #ff0000; }
.badge-youtube:hover { background: #ff0000; color: white; }

.badge-spotify { border-color: #1db954; color: #1db954; }
.badge-spotify:hover { background: #1db954; color: white; }

.badge-plus { border-color: var(--primary); color: var(--primary); }
.badge-plus:hover { background: var(--primary); color: white; }

/* ============ RESULT SECTION ============ */
.result-section {
  padding: 4rem 0;
}

.result-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-2xl);
  animation: slideIn 0.4s ease;
}

.dark-mode .result-card {
  background: var(--dark-card);
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--light-border);
}

.dark-mode .result-header {
  border-color: var(--dark-border);
}

.result-header h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
}

.dark-mode .result-header h3 {
  color: #f1f5f9;
}

.btn-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0.5rem;
}

.btn-close:hover {
  color: var(--danger);
  transform: scale(1.2);
}

.media-container {
  margin-bottom: 2rem;
  background: var(--light-bg);
  border-radius: var(--radius-sm);
  padding: 1rem;
  min-height: 300px;
}

.dark-mode .media-container {
  background: rgba(0, 0, 0, 0.2);
}

.media-preview {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preview-placeholder {
  text-align: center;
  color: var(--text-secondary);
}

.preview-placeholder i {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.media-preview video,
.media-preview audio {
  width: 100%;
  border-radius: var(--radius-sm);
}

.media-info {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: rgba(99, 102, 241, 0.05);
  border-radius: var(--radius-sm);
}

.dark-mode .media-info {
  background: rgba(99, 102, 241, 0.1);
}

.info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  align-items: center;
}

.info-item:last-child {
  margin-bottom: 0;
}

.info-label {
  font-weight: 600;
  color: var(--primary);
  min-width: 120px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.info-value {
  color: var(--text-primary);
  flex: 1;
  word-break: break-word;
}

.dark-mode .info-value {
  color: #e2e8f0;
}

.download-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.download-option-btn {
  padding: 1.5rem;
  background: white;
  border: 2px solid var(--light-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.dark-mode .download-option-btn {
  background: var(--dark-bg);
  border-color: var(--dark-border);
}

.download-option-btn:hover:not(:disabled) {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.download-option-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.download-option-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.download-option-btn:hover::before {
  left: 100%;
}

.option-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  flex-shrink: 0;
}

.btn-video .option-icon {
  background: linear-gradient(135deg, var(--primary), var(--tertiary));
}

.btn-music .option-icon {
  background: linear-gradient(135deg, var(--secondary), var(--tertiary));
}

.option-info {
  flex: 1;
}

.option-info h4 {
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.dark-mode .option-info h4 {
  color: #f1f5f9;
}

.option-info p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ============ FEATURES SECTION ============ */
.features-section {
  padding: 6rem 0;
  background: var(--light-bg);
}

.dark-mode .features-section {
  background: var(--dark-bg);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: white;
  padding: 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--light-border);
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.dark-mode .feature-card {
  background: var(--dark-card);
  border-color: var(--dark-border);
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-2xl);
  border-color: var(--primary);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: white;
  position: relative;
  transition: all 0.3s ease;
}

.feature-icon-1 { background: linear-gradient(135deg, #6366f1, #4f46e5); }
.feature-icon-2 { background: linear-gradient(135deg, #ec4899, #db2777); }
.feature-icon-3 { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.feature-icon-4 { background: linear-gradient(135deg, #10b981, #059669); }
.feature-icon-5 { background: linear-gradient(135deg, #f59e0b, #d97706); }
.feature-icon-6 { background: linear-gradient(135deg, #06b6d4, #0891b2); }

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(-5deg);
}

.feature-icon-decoration {
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200px;
  height: 200px;
  background: rgba(99, 102, 241, 0.05);
  border-radius: 50%;
  pointer-events: none;
}

.feature-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.dark-mode .feature-card h3 {
  color: #f1f5f9;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.feature-badge {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.1));
  border: 1px solid var(--primary);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ============ PLATFORMS SECTION ============ */
.platforms-section {
  padding: 6rem 0;
}

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

.platform-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: white;
  border-radius: var(--radius);
  border: 2px solid var(--light-border);
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.dark-mode .platform-item {
  background: var(--dark-card);
  border-color: var(--dark-border);
}

.platform-item:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.2);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.1));
}

.platform-item i {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  color: var(--primary);
  transition: all 0.3s ease;
}

.platform-item:hover i {
  transform: scale(1.2);
}

.platform-item span {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.dark-mode .platform-item span {
  color: #e2e8f0;
}

/* ============ FAQ SECTION ============ */
.faq-section {
  padding: 6rem 0;
  background: var(--light-bg);
}

.dark-mode .faq-section {
  background: var(--dark-bg);
}

.faq-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border-radius: var(--radius);
  border: 2px solid var(--light-border);
  overflow: hidden;
  transition: all 0.3s ease;
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.dark-mode .faq-item {
  background: var(--dark-card);
  border-color: var(--dark-border);
}

.faq-item:nth-child(1) { animation-delay: 0.1s; }
.faq-item:nth-child(2) { animation-delay: 0.2s; }
.faq-item:nth-child(3) { animation-delay: 0.3s; }
.faq-item:nth-child(4) { animation-delay: 0.4s; }
.faq-item:nth-child(5) { animation-delay: 0.5s; }
.faq-item:nth-child(6) { animation-delay: 0.6s; }

.faq-item.active {
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
}

.faq-question {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: white;
  transition: all 0.3s ease;
  user-select: none;
}

.dark-mode .faq-question {
  background: var(--dark-card);
}

.faq-question:hover {
  background: rgba(99, 102, 241, 0.05);
}

.faq-question h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.dark-mode .faq-question h4 {
  color: #f1f5f9;
}

.faq-question i {
  color: var(--primary);
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  background: rgba(99, 102, 241, 0.05);
}

.dark-mode .faq-answer {
  background: rgba(99, 102, 241, 0.1);
}

.faq-item.active .faq-answer {
  padding: 1.5rem;
  max-height: 500px;
}

.faq-answer p {
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.8;
}

.dark-mode .faq-answer p {
  color: #cbd5e1;
}

/* ============ FOOTER ============ */
.footer {
  position: relative;
  background: var(--text-primary);
  color: white;
  padding: 4rem 0 2rem;
  margin-top: 6rem;
}

.footer-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  z-index: 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}

.footer-section {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.footer-section:nth-child(1) { animation-delay: 0.1s; }
.footer-section:nth-child(2) { animation-delay: 0.2s; }
.footer-section:nth-child(3) { animation-delay: 0.3s; }
.footer-section:nth-child(4) { animation-delay: 0.4s; }

.footer-section h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-section p {
  color: #cbd5e1;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.75rem;
}

.footer-section a {
  color: #cbd5e1;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-section a:hover {
  color: var(--primary);
  transform: translateX(4px);
}

.footer-badge {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.footer-badge span {
  padding: 0.5rem 1rem;
  background: rgba(99, 102, 241, 0.2);
  border: 1px solid var(--primary);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 45px;
  height: 45px;
  border-radius: var(--radius-sm);
  background: rgba(99, 102, 241, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.social-tiktok:hover { background: #000; }
.social-instagram:hover { background: #e4405f; }
.social-twitter:hover { background: #1da1f2; }
.social-youtube:hover { background: #ff0000; }

.social-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 1;
}

.footer-bottom p {
  color: #cbd5e1;
  margin: 0.5rem 0;
  font-size: 0.9rem;
}

.footer-bottom a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-bottom a:hover {
  color: var(--secondary);
  text-decoration: underline;
}

/* ============ TOAST NOTIFICATION ============ */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  padding: 1rem 1.5rem;
  background: var(--success);
  color: white;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  display: none;
  align-items: center;
  gap: 0.75rem;
  animation: slideInRight 0.3s ease;
  z-index: 1000;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ============ RESPONSIVE DESIGN ============ */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: 0;
    top: 70px;
    width: 100%;
    flex-direction: column;
    background: white;
    padding: 2rem;
    border-top: 1px solid var(--light-border);
    display: none;
    gap: 1rem;
    z-index: 100;
    box-shadow: var(--shadow-lg);
  }

  .dark-mode .nav-menu {
    background: var(--dark-card);
    border-color: var(--dark-border);
  }

  .nav-menu.open {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .nav-theme-toggle {
    order: -1;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-image {
    display: none;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .input-group {
    grid-template-columns: 1fr;
  }

  .download-btn {
    width: 100%;
  }

  .download-card {
    padding: 1.5rem;
  }

  .container {
    padding: 0 1rem;
  }

  .features-grid,
  .platforms-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .platform-item {
    padding: 1.5rem;
  }

  .faq-grid {
    max-width: 100%;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .section-header h2 {
    font-size: 1.75rem;
  }

  .download-options {
    grid-template-columns: 1fr;
  }

  .social-links {
    gap: 0.75rem;
  }

  .social-link {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .hero {
    padding: 3rem 0;
    min-height: auto;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .toast {
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
  }
}

@media (max-width: 480px) {
  .nav-container {
    padding: 0 1rem;
  }

  .logo-icon {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }

  .nav-logo {
    font-size: 1.2rem;
  }

  .nav-menu {
    top: 60px;
    padding: 1.5rem;
  }

  .hamburger {
    width: 24px;
    height: 20px;
    gap: 4px;
  }

  .hamburger span {
    height: 2.5px;
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .section-header p {
    font-size: 0.9rem;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .stat {
    padding: 1rem;
  }

  .stat-number {
    font-size: 1.3rem;
  }

  .cta-buttons {
    gap: 0.75rem;
  }

  .btn {
    padding: 0.75rem 1rem;
    font-size: 0.75rem;
  }

  .download-card {
    padding: 1rem;
  }

  .input-field {
    padding: 0.75rem 0.75rem 0.75rem 2.5rem;
    font-size: 0.9rem;
  }

  .feature-card {
    padding: 1.5rem;
  }

  .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 2rem;
  }

  .platform-item {
    padding: 1rem;
  }

  .platform-item i {
    font-size: 2rem;
  }

  .footer-content {
    gap: 2rem;
  }

  .footer-section h4 {
    font-size: 1rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }
}

/* ============ PRINT STYLES ============ */
@media print {
  .navbar,
  .download-section,
  .footer,
  .toast {
    display: none;
  }
}

/* ============ DARK MODE ============ */
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
  }
}