/* ============================================================
   Z-H-H TikTok Downloader — Premium Stylesheet
   Developer: Zeeshan Haider
   ============================================================ */

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

:root {
  --primary: #6c63ff;
  --primary-dark: #5a52d5;
  --secondary: #00d4aa;
  --accent: #ff3d6e;
  --bg-dark: #0a0a0f;
  --bg-card: rgba(255,255,255,0.04);
  --bg-card-hover: rgba(255,255,255,0.07);
  --border: rgba(255,255,255,0.08);
  --border-focus: rgba(108,99,255,0.5);
  --text-primary: #ffffff;
  --text-secondary: rgba(255,255,255,0.65);
  --text-muted: rgba(255,255,255,0.4);
  --hd-color: #6c63ff;
  --nowm-color: #00d4aa;
  --audio-color: #ff9f43;
  --whatsapp: #25D366;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.5);
  --shadow-primary: 0 8px 32px rgba(108,99,255,0.3);
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; }

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

/* ---- Animated Background ---- */
.bg-animation {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.12;
  animation: orbFloat 20s ease-in-out infinite;
}

.orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #6c63ff, transparent);
  top: -200px; left: -200px;
  animation-delay: 0s;
}
.orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #00d4aa, transparent);
  bottom: -150px; right: -100px;
  animation-delay: -7s;
}
.orb-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #ff3d6e, transparent);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  animation-delay: -14s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 30px) scale(0.95); }
}

/* ---- Container ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ---- Header / Navbar ---- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: white;
  box-shadow: var(--shadow-primary);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-brand {
  font-size: 1.3rem;
  font-weight: 800;
  background: linear-gradient(135deg, #fff, rgba(255,255,255,0.7));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 2px;
}

.logo-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
}

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

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
}
.nav-link:hover { color: var(--text-primary); }

.btn-whatsapp {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--whatsapp);
  color: white;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all var(--transition);
  box-shadow: 0 4px 20px rgba(37,211,102,0.3);
}
.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37,211,102,0.45);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: all var(--transition);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  background: rgba(10,10,15,0.98);
  border-top: 1px solid var(--border);
}
.mobile-menu.open { display: flex; }
.mobile-link {
  padding: 16px 24px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}
.mobile-link:hover { color: white; background: var(--bg-card); }
.whatsapp-mobile { color: var(--whatsapp) !important; }

/* ---- Hero ---- */
.hero {
  padding: 100px 0 80px;
  position: relative;
}

.hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(108,99,255,0.15);
  border: 1px solid rgba(108,99,255,0.3);
  color: #a29af0;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 28px;
}
.hero-badge i { color: var(--primary); }

.hero-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 60%, #00b8ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 550px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

/* ---- Downloader Card ---- */
.downloader-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg);
  margin-bottom: 32px;
  transition: border-color var(--transition);
}
.downloader-card:focus-within {
  border-color: rgba(108,99,255,0.4);
  box-shadow: 0 0 0 1px rgba(108,99,255,0.2), var(--shadow-lg);
}

.input-group {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 16px;
  transition: all var(--transition);
}
.input-group:focus-within {
  border-color: var(--border-focus);
  background: rgba(108,99,255,0.07);
  box-shadow: 0 0 0 3px rgba(108,99,255,0.1);
}

.input-icon {
  padding: 0 16px;
  color: var(--primary);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.url-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-size: 0.95rem;
  padding: 18px 0;
  font-family: inherit;
}
.url-input::placeholder { color: var(--text-muted); }

.paste-btn {
  background: none;
  border: none;
  border-left: 1px solid var(--border);
  color: var(--text-muted);
  padding: 0 18px;
  height: 60px;
  cursor: pointer;
  font-size: 1rem;
  transition: all var(--transition);
}
.paste-btn:hover { color: var(--primary); background: rgba(108,99,255,0.08); }

.download-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  padding: 18px 24px;
  font-size: 1rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all var(--transition);
  box-shadow: var(--shadow-primary);
  letter-spacing: 0.3px;
}
.download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(108,99,255,0.45);
}
.download-btn:active { transform: translateY(0); }

/* ---- Loading State ---- */
.loading-state {
  text-align: center;
  padding: 32px 0 16px;
}
.loader-ring {
  display: inline-block;
  position: relative;
  width: 64px; height: 64px;
  margin-bottom: 16px;
}
.loader-ring div {
  position: absolute;
  width: 52px; height: 52px;
  margin: 6px;
  border: 4px solid transparent;
  border-radius: 50%;
  animation: loaderRing 1.2s cubic-bezier(0.5,0,0.5,1) infinite;
}
.loader-ring div:nth-child(1) { border-top-color: var(--primary); animation-delay: -0.45s; }
.loader-ring div:nth-child(2) { border-top-color: var(--secondary); animation-delay: -0.3s; }
.loader-ring div:nth-child(3) { border-top-color: var(--audio-color); animation-delay: -0.15s; }
.loader-ring div:nth-child(4) { border-top-color: var(--accent); }

@keyframes loaderRing {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loading-text {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
}

/* ---- Error State ---- */
.error-state {
  text-align: center;
  padding: 28px 0 16px;
}
.error-icon {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 12px;
  animation: shake 0.5s ease;
}
@keyframes shake {
  0%,100% { transform: translateX(0); }
  20%,60% { transform: translateX(-6px); }
  40%,80% { transform: translateX(6px); }
}
.error-msg {
  color: #ff8fa3;
  font-size: 0.95rem;
  max-width: 400px;
  margin: 0 auto;
}

/* ---- Result Section ---- */
.result-section {
  margin-top: 24px;
}

.video-preview {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 24px;
}

.video-thumb-wrap {
  position: relative;
  flex-shrink: 0;
  width: 90px; height: 120px;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255,255,255,0.05);
}
.video-thumb {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.4rem;
}

.video-meta { flex: 1; min-width: 0; }
.video-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.video-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.video-stats span {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ---- Download Options ---- */
.options-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.options-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.option-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  transition: all var(--transition);
}
.option-card:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.14);
  transform: translateX(3px);
}

.option-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.option-icon.hd { background: rgba(108,99,255,0.15); color: var(--hd-color); }
.option-icon.nowm { background: rgba(0,212,170,0.15); color: var(--nowm-color); }
.option-icon.audio { background: rgba(255,159,67,0.15); color: var(--audio-color); }

.option-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.option-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}
.option-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.option-badge {
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}
.hd-badge { background: rgba(108,99,255,0.2); color: #a29af0; }
.nowm-badge { background: rgba(0,212,170,0.2); color: #4dffd5; }
.audio-badge { background: rgba(255,159,67,0.2); color: #ffbe85; }

.option-btn {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border: none;
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 0.85rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}

#nowmBtn { background: linear-gradient(135deg, #00d4aa, #00a88a); }
#audioBtn { background: linear-gradient(135deg, #ff9f43, #e58c32); }

.option-btn:hover {
  transform: scale(1.04);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}
.option-btn:active { transform: scale(0.98); }
.option-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

.reset-btn {
  width: 100%;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  padding: 14px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--transition);
  margin-top: 16px;
}
.reset-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(108,99,255,0.06);
}

/* ---- Trust Badges ---- */
.trust-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
}
.trust-item i { color: var(--secondary); font-size: 1rem; }

/* ---- Sections ---- */
.section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  background: rgba(108,99,255,0.12);
  border: 1px solid rgba(108,99,255,0.25);
  color: #a29af0;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

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

/* ---- Steps ---- */
.steps-grid {
  display: flex;
  align-items: center;
  gap: 0;
  justify-content: center;
  flex-wrap: wrap;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  flex: 1;
  min-width: 220px;
  max-width: 280px;
  position: relative;
  transition: all var(--transition);
}
.step-card:hover {
  transform: translateY(-6px);
  border-color: rgba(108,99,255,0.3);
  background: var(--bg-card-hover);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.step-number {
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(108,99,255,0.15);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -2px;
}

.step-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: white;
  margin: 0 auto 16px;
  box-shadow: 0 8px 20px rgba(108,99,255,0.3);
}

.step-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.step-connector {
  color: var(--text-muted);
  font-size: 1.2rem;
  padding: 0 16px;
  flex-shrink: 0;
}

/* ---- Features ---- */
.features-section {
  background: rgba(255,255,255,0.01);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(108,99,255,0.2);
  background: var(--bg-card-hover);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}
.feature-card:hover::before { transform: scaleX(1); }

.feature-icon {
  width: 56px; height: 56px;
  background: rgba(108,99,255,0.12);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ---- WhatsApp CTA ---- */
.whatsapp-cta-section {
  padding: 80px 0;
  position: relative;
  z-index: 1;
}

.whatsapp-cta-card {
  background: linear-gradient(135deg, rgba(37,211,102,0.08) 0%, rgba(18,140,126,0.08) 100%);
  border: 1px solid rgba(37,211,102,0.2);
  border-radius: var(--radius-xl);
  padding: 48px;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.wa-icon-wrap {
  width: 80px; height: 80px;
  background: var(--whatsapp);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 12px 40px rgba(37,211,102,0.35);
}

.wa-content { flex: 1; min-width: 200px; }
.wa-content h2 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 10px;
}
.wa-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.wa-join-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--whatsapp);
  color: white;
  text-decoration: none;
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  transition: all var(--transition);
  box-shadow: 0 8px 30px rgba(37,211,102,0.4);
  white-space: nowrap;
  flex-shrink: 0;
}
.wa-join-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(37,211,102,0.55);
}

/* ---- FAQ ---- */
.faq-section { background: none; }
.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item.open { border-color: rgba(108,99,255,0.3); }

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  text-align: left;
  transition: all var(--transition);
}
.faq-question:hover { background: var(--bg-card-hover); }
.faq-question i {
  flex-shrink: 0;
  transition: transform var(--transition);
  color: var(--text-muted);
}
.faq-item.open .faq-question i { transform: rotate(180deg); color: var(--primary); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 24px;
}
.faq-item.open .faq-answer {
  max-height: 200px;
  padding: 0 24px 20px;
}
.faq-answer p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

/* ---- Footer ---- */
.footer {
  background: rgba(0,0,0,0.4);
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
  position: relative;
  z-index: 1;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-tagline {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin: 16px 0 24px;
  line-height: 1.65;
}

.footer-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37,211,102,0.12);
  border: 1px solid rgba(37,211,102,0.25);
  color: #4dffa0;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all var(--transition);
}
.footer-wa-btn:hover {
  background: rgba(37,211,102,0.2);
  border-color: rgba(37,211,102,0.4);
}

.footer-links-group h4 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.footer-links-group a {
  display: block;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  margin-bottom: 10px;
  transition: color var(--transition);
}
.footer-links-group a:hover { color: var(--text-primary); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  text-align: center;
}
.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 6px;
}
.footer-disclaimer {
  font-size: 0.78rem !important;
}

/* ---- Toast ---- */
.toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: rgba(20,20,30,0.96);
  border: 1px solid rgba(0,212,170,0.3);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  z-index: 999;
  transform: translateX(120%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  max-width: 320px;
}
.toast.show { transform: translateX(0); }
.toast-icon { font-size: 1.4rem; color: var(--secondary); }
.toast-content { display: flex; flex-direction: column; gap: 2px; }
.toast-content strong { font-size: 0.9rem; color: var(--text-primary); }
.toast-content span { font-size: 0.8rem; color: var(--text-secondary); }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand { grid-column: 1 / -1; }
  .steps-grid { flex-direction: column; align-items: stretch; }
  .step-card { max-width: 100%; }
  .step-connector { display: none; }
}

@media (max-width: 700px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero { padding: 72px 0 60px; }
  .downloader-card { padding: 24px 18px; }
  .whatsapp-cta-card {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
  }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .option-card { flex-wrap: wrap; }
  .option-btn { width: 100%; justify-content: center; }
  .toast { bottom: 16px; right: 16px; left: 16px; max-width: 100%; }
  .section { padding: 72px 0; }
}

@media (max-width: 480px) {
  .video-preview { flex-direction: column; text-align: center; }
  .video-stats { justify-content: center; }
  .video-thumb-wrap { width: 140px; height: 180px; margin: 0 auto; }
}

/* ---- Utility ---- */
.hidden { display: none !important; }

/* Scroll reveal animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-in {
  animation: fadeInUp 0.6s ease forwards;
}
