/* ========================
   CSS RESET & BASE
======================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #080b12;
  --bg-card: #0e1420;
  --bg-card-hover: #131a28;
  --border: rgba(255,255,255,0.07);
  --border-hover: rgba(255,255,255,0.15);
  --text-primary: #f0f4ff;
  --text-secondary: #7a8aaa;
  --text-muted: #4a5570;
  --accent: #6c63ff;
  --accent-2: #ff6b9d;
  --accent-3: #00d4ff;
  --glow: rgba(108, 99, 255, 0.4);
  --radius: 16px;
  --radius-sm: 10px;

  /* Platform Colors */
  --ig: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  --tt: linear-gradient(135deg, #010101, #ff0050, #00f2ea);
  --yt: #ff0000;
  --tw: #1d9bf0;
  --fb: #1877f2;
  --li: #0a66c2;

  /* Overlay Colors */
  --zone-danger: rgba(255, 77, 77, 0.55);
  --zone-warning: rgba(255, 165, 0, 0.45);
  --zone-safe: rgba(0, 200, 100, 0.15);
  --zone-ui: rgba(108, 99, 255, 0.5);
  --zone-caption: rgba(255, 165, 0, 0.42);
  --zone-navbar: rgba(255, 50, 50, 0.48);
}

html {
  scroll-behavior: smooth;
}

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

/* ========================
   BACKGROUND ORBS
======================== */
.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
  animation: orbFloat 15s ease-in-out infinite alternate;
}
.orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(108,99,255,0.15) 0%, transparent 70%);
  top: -200px; left: -200px;
  animation-duration: 18s;
}
.orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,107,157,0.1) 0%, transparent 70%);
  top: 40%; right: -150px;
  animation-duration: 22s;
  animation-delay: -5s;
}
.orb-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,212,255,0.08) 0%, transparent 70%);
  bottom: -100px; left: 30%;
  animation-duration: 25s;
  animation-delay: -10s;
}
@keyframes orbFloat {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(30px, 50px) scale(1.05); }
}

/* ========================
   HEADER
======================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(8, 11, 18, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 40px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}
.logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 0 20px rgba(108,99,255,0.4);
}
.logo-text {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.5px;
}
.logo-dot { color: var(--accent); }

/* Nav */
.nav {
  display: flex;
  gap: 8px;
  margin-left: auto;
}
.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
}
.nav-link:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.06);
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: linear-gradient(135deg, var(--accent), #8b5cf6);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(108,99,255,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(108,99,255,0.5);
  filter: brightness(1.1);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s;
}
.btn-ghost:hover {
  color: var(--text-primary);
  border-color: var(--border-hover);
  background: rgba(255,255,255,0.04);
}

.btn-large { padding: 14px 28px; font-size: 15px; border-radius: 12px; }
.header-cta { padding: 9px 20px; font-size: 13px; }

.btn-success {
  background: linear-gradient(135deg, #10b981, #059669);
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}
.btn-success:hover {
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.45);
}

/* ========================
   HERO
======================== */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 32px 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(108,99,255,0.12);
  border: 1px solid rgba(108,99,255,0.3);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 28px;
  animation: fadeInDown 0.8s ease both;
}
.badge-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-size: clamp(40px, 7vw, 76px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -2px;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease 0.1s both;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--accent-2), var(--accent-3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  max-width: 560px;
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 40px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-bottom: 50px;
  animation: fadeInUp 0.8s ease 0.3s both;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-platforms {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.platform-pill {
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid;
}
.platform-pill.instagram { background: rgba(220,39,67,0.1); border-color: rgba(220,39,67,0.3); color: #ff6b8a; }
.platform-pill.tiktok { background: rgba(0,242,234,0.08); border-color: rgba(0,242,234,0.25); color: #00f2ea; }
.platform-pill.youtube { background: rgba(255,0,0,0.1); border-color: rgba(255,0,0,0.3); color: #ff4d4d; }
.platform-pill.twitter { background: rgba(29,155,240,0.1); border-color: rgba(29,155,240,0.3); color: #1d9bf0; }
.platform-pill.facebook { background: rgba(24,119,242,0.1); border-color: rgba(24,119,242,0.3); color: #4d93f5; }
.platform-pill.linkedin { background: rgba(10,102,194,0.1); border-color: rgba(10,102,194,0.3); color: #5aabff; }

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

/* ========================
   SECTION COMMONS
======================== */
.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  text-align: center;
}
.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -1px;
  text-align: center;
  margin-bottom: 56px;
}

/* ========================
   HOW SECTION
======================== */
.how-section {
  position: relative;
  z-index: 1;
  padding: 100px 32px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  text-align: center;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.step-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.step-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  background: var(--bg-card-hover);
}
.step-card:hover::before { opacity: 1; }

.step-number {
  font-size: 60px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent), transparent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.6;
}
.step-icon {
  width: 54px; height: 54px;
  background: rgba(108,99,255,0.12);
  border: 1px solid rgba(108,99,255,0.25);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin: 0 auto 18px;
}
.step-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.step-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* ========================
   CHECKER SECTION
======================== */
.checker-section {
  position: relative;
  z-index: 1;
  padding: 100px 32px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Platform Tabs */
.platform-selector {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 20px;
}

.platform-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.25s;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  user-select: none;
}
.platform-tab:hover {
  border-color: var(--border-hover);
  color: var(--text-primary);
  background: var(--bg-card-hover);
}
.platform-tab.active {
  border-color: var(--accent);
  background: rgba(108,99,255,0.12);
  color: var(--text-primary);
  box-shadow: 0 0 20px rgba(108,99,255,0.2);
}
.platform-tab-icon { display: flex; align-items: center; }

/* Platform color accents when active */
.platform-tab[data-platform="instagram"].active { border-color: #e6683c; background: rgba(230,104,60,0.12); box-shadow: 0 0 20px rgba(230,104,60,0.2); }
.platform-tab[data-platform="tiktok"].active { border-color: #00f2ea; background: rgba(0,242,234,0.1); box-shadow: 0 0 20px rgba(0,242,234,0.2); }
.platform-tab[data-platform="youtube"].active { border-color: #ff0000; background: rgba(255,0,0,0.1); box-shadow: 0 0 20px rgba(255,0,0,0.2); }
.platform-tab[data-platform="twitter"].active { border-color: #1d9bf0; background: rgba(29,155,240,0.1); box-shadow: 0 0 20px rgba(29,155,240,0.2); }
.platform-tab[data-platform="facebook"].active { border-color: #1877f2; background: rgba(24,119,242,0.1); box-shadow: 0 0 20px rgba(24,119,242,0.2); }
.platform-tab[data-platform="linkedin"].active { border-color: #0a66c2; background: rgba(10,102,194,0.1); box-shadow: 0 0 20px rgba(10,102,194,0.2); }

/* Format Selector */
.format-selector {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}
.format-btn {
  padding: 7px 16px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.format-btn:hover { border-color: var(--border-hover); color: var(--text-secondary); }
.format-btn.active {
  background: rgba(108,99,255,0.15);
  border-color: rgba(108,99,255,0.5);
  color: var(--text-primary);
}

/* Upload Zone */
.upload-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 80px 40px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  background: var(--bg-card);
}
.upload-zone:hover, .upload-zone.drag-over {
  border-color: var(--accent);
  background: rgba(108,99,255,0.05);
}
.upload-zone.drag-over { transform: scale(1.01); }
.upload-inner { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.upload-icon-wrap {
  width: 80px; height: 80px;
  background: rgba(108,99,255,0.1);
  border: 1px solid rgba(108,99,255,0.2);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 8px;
}
.upload-title { font-size: 20px; font-weight: 700; }
.upload-sub { font-size: 13px; color: var(--text-muted); }
.upload-btn { cursor: pointer; }

/* Preview Area */
.preview-area { display: flex; flex-direction: column; align-items: center; gap: 24px; }

.preview-controls {
  width: 100%;
  max-width: 600px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.preview-controls-left, .preview-controls-right { display: flex; gap: 8px; }

.ctrl-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.ctrl-btn:hover { border-color: var(--border-hover); color: var(--text-primary); }
.ctrl-btn.active {
  background: rgba(108,99,255,0.15);
  border-color: rgba(108,99,255,0.4);
  color: #a99fff;
}

/* Device Frame */
.device-frame-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: 100%;
  min-height: 600px;
}

.device-frame {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #000;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.1);
  flex-shrink: 0;
}

.media-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.media-container img, .media-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Overlay Layer */
.overlay-layer {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
}

.overlay-zone {
  position: absolute;
  transition: opacity 0.3s;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  overflow: hidden;
}
.overlay-label {
  padding: 3px 8px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  background: rgba(0,0,0,0.5);
  border-radius: 0 0 6px 0;
  white-space: nowrap;
  pointer-events: none;
  backdrop-filter: blur(4px);
}

/* Platform UI Elements (Simulated) */
.ui-element {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.95);
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
  font-size: 12px;
  font-weight: 600;
}
.ui-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

/* Legend */
.legend {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 16px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  max-width: 700px;
  width: 100%;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-secondary);
}
.legend-color {
  width: 14px; height: 14px;
  border-radius: 3px;
  border: 1px solid rgba(255,255,255,0.2);
  flex-shrink: 0;
}

/* ========================
   PLATFORMS SECTION
======================== */
.platforms-section {
  position: relative;
  z-index: 1;
  padding: 100px 32px;
  background: rgba(14,20,32,0.6);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.platforms-section .section-title { margin-bottom: 50px; }

.platforms-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.platform-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: fadeInUp 0.6s ease both;
}
.platform-card:nth-child(1) { animation-delay: 0.05s; }
.platform-card:nth-child(2) { animation-delay: 0.1s; }
.platform-card:nth-child(3) { animation-delay: 0.15s; }
.platform-card:nth-child(4) { animation-delay: 0.2s; }
.platform-card:nth-child(5) { animation-delay: 0.25s; }
.platform-card:nth-child(6) { animation-delay: 0.3s; }
.platform-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.platform-card-icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.instagram-card .platform-card-icon { background: linear-gradient(135deg, rgba(240,148,51,0.2), rgba(188,24,136,0.2)); color: #e6683c; }
.tiktok-card .platform-card-icon { background: rgba(0,242,234,0.1); color: #00f2ea; }
.youtube-card .platform-card-icon { background: rgba(255,0,0,0.1); color: #ff0000; }
.twitter-card .platform-card-icon { background: rgba(29,155,240,0.1); color: #1d9bf0; }
.facebook-card .platform-card-icon { background: rgba(24,119,242,0.1); color: #1877f2; }
.linkedin-card .platform-card-icon { background: rgba(10,102,194,0.1); color: #0a66c2; }

.platform-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 12px; }
.platform-card ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.platform-card ul li {
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.platform-card ul li::before {
  content: '';
  width: 4px; height: 4px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ========================
   VIDEO DOWNLOADER SECTION
======================== */
.downloader-section {
  position: relative;
  z-index: 1;
  padding: 100px 32px;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}
.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 16px;
  margin-top: -40px;
  margin-bottom: 50px;
}

.downloader-container {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(14, 20, 32, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 40px 100px rgba(0,0,0,0.5);
  position: relative;
}

.downloader-form { margin-bottom: 30px; }

.input-group {
  display: flex;
  background: rgba(8, 11, 18, 0.6);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 6px;
  transition: all 0.3s;
  position: relative;
}
.input-group:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 15px rgba(108, 99, 255, 0.2);
  background: rgba(8, 11, 18, 0.8);
}
.input-icon {
  display: flex;
  align-items: center;
  padding: 0 15px;
  color: var(--text-muted);
}
.input-group input {
  flex: 1;
  background: transparent;
  border: none;
  color: white;
  padding: 12px 10px;
  font-family: inherit;
  font-size: 15px;
  outline: none;
}
.input-group input::placeholder { color: var(--text-muted); }

.downloader-platforms {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 10px;
}
.mini-platform {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.mini-platform svg { opacity: 0.7; }

/* Status & Processing */
.download-status {
  margin-top: 30px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  animation: fadeIn 0.4s ease both;
}
.status-content {
  display: flex;
  align-items: center;
  gap: 20px;
}
.spinner {
  width: 38px; height: 38px;
  border: 3px solid rgba(108, 99, 255, 0.1);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
.status-info { flex: 1; }
.status-text {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-primary);
}
.progress-bar-wrap {
  width: 100%;
  height: 6px;
  background: rgba(255,255,255,0.05);
  border-radius: 100px;
  overflow: hidden;
}
.progress-bar-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-3));
  border-radius: 100px;
  transition: width 0.3s ease;
}

/* Result Card */
.download-result-card {
  margin-top: 30px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(0, 212, 255, 0.08));
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  animation: slideDownFade 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.result-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.result-check {
  width: 48px; height: 48px;
  background: #10b981;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
}
.download-result-card h3 { font-size: 20px; font-weight: 700; }
.download-result-card p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}
.btn-full { width: 100%; justify-content: center; padding: 14px; }

/* Background Orb for Downloader */
.orb-4 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(108,99,255,0.08) 0%, transparent 70%);
  top: 20%; left: -200px;
  animation-duration: 20s;
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes slideDownFade {
  from { opacity: 0; transform: translateY(-20px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ========================
   FOOTER
======================== */
.footer {
  position: relative;
  z-index: 1;
  padding: 60px 32px;
  text-align: center;
}
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.footer-desc { font-size: 14px; color: var(--text-muted); }
.footer-copy { font-size: 12px; color: var(--text-muted); }

/* ========================
   RESPONSIVE
======================== */
@media (max-width: 768px) {
  .nav { display: none; }
  .header-inner { gap: 16px; }
  .hero { padding: 100px 20px 60px; }
  .hero-title { letter-spacing: -1px; }
  .how-section, .checker-section { padding: 70px 20px; }
  .platforms-section { padding: 70px 20px; }
  .platform-tab span { display: none; }
  .platform-tab { padding: 10px 14px; }
  .ctrl-btn span { display: none; }
  .preview-controls { max-width: 100%; }
  .device-frame-wrapper { padding: 20px; }
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(108,99,255,0.3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(108,99,255,0.6); }

/* Toast Notification */
.download-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(13, 110, 253, 0.9);
  backdrop-filter: blur(10px);
  color: white;
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  z-index: 1000;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  animation: slideUpFade 0.4s ease both;
  max-width: 90vw;
  text-align: center;
}
.download-toast--error {
  background: rgba(220, 53, 69, 0.92);
}
