:root {
  --bg-main: #09090b;
  --bg-card: #121216;
  --bg-input: #18181c;
  --bg-hover: #222228;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-active: rgba(99, 102, 241, 0.4);
  --text-main: #f4f4f5;
  --text-muted: #a1a1aa;
  --text-dim: #71717a;
  --accent-primary: #6366f1;
  --accent-secondary: #8b5cf6;
  --accent-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
  --accent-glow: rgba(99, 102, 241, 0.25);
  --success: #10b981;
  --error: #ef4444;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-family);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* ========================================================
   MODERN PRO NAVBAR STYLES
   ======================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 9, 13, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 0;
}

.nav-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.brand-icon {
  width: 36px;
  height: 36px;
  background: var(--accent-gradient);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 14px var(--accent-glow);
  flex-shrink: 0;
}

.brand-icon svg {
  width: 19px;
  height: 19px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.brand-tagline {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-secondary);
}

.header-badge-tag {
  font-size: 0.7rem;
  font-weight: 700;
  color: #c7d2fe;
  background: rgba(99, 102, 241, 0.14);
  border: 1px solid rgba(99, 102, 241, 0.3);
  padding: 2px 7px;
  border-radius: 9999px;
  letter-spacing: 0.04em;
  display: inline-block;
}

@media (max-width: 480px) {
  .header-badge-tag {
    display: none;
  }
}

/* Center Navigation Links (Desktop) */
.nav-center-links {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(18, 18, 24, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 4px;
  border-radius: 9999px;
}

@media (max-width: 960px) {
  .nav-center-links {
    display: none;
  }
}

.nav-link-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #a1a1aa;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-link-item:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.nav-link-item.active {
  color: #ffffff;
  background: rgba(99, 102, 241, 0.2);
  border: 1px solid rgba(99, 102, 241, 0.35);
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.25);
}

.nav-link-item.active-android {
  background: rgba(34, 197, 94, 0.18) !important;
  border: 1px solid rgba(34, 197, 94, 0.45) !important;
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.25) !important;
  color: #fff !important;
}

/* Right Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-nav-shortcut {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.18), rgba(236, 72, 153, 0.18));
  border: 1px solid rgba(99, 102, 241, 0.35);
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-nav-shortcut:hover {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.32), rgba(236, 72, 153, 0.32));
  border-color: rgba(99, 102, 241, 0.6);
  transform: translateY(-1px);
}

.pulsing-dot-sm {
  width: 6px;
  height: 6px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 8px #22c55e;
  display: inline-block;
}

@media (max-width: 680px) {
  .btn-nav-shortcut {
    display: none;
  }
}

/* Language selector */
.lang-selector {
  position: relative;
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  padding: 7px 12px;
  border-radius: 9999px;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-icon:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.chevron-sm {
  transition: transform 0.2s;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #13131a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 170px;
  max-height: 380px;
  overflow-y: auto;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
  z-index: 100;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
}

.dropdown-menu::-webkit-scrollbar {
  width: 5px;
}

.dropdown-menu::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 4px;
}

[dir="rtl"] .dropdown-menu {
  right: auto;
  left: 0;
}

.dropdown-item {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 8px 12px;
  text-align: left;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 8px;
  text-decoration: none;
  display: block;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}

[dir="rtl"] .dropdown-item {
  text-align: right;
}

.dropdown-item:hover, .dropdown-item.active {
  background: rgba(99, 102, 241, 0.15);
  color: #fff;
}

/* Mobile Hamburger Button */
.btn-mobile-menu {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s;
}

@media (max-width: 960px) {
  .btn-mobile-menu {
    display: inline-flex;
  }
}

.btn-mobile-menu:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Mobile Nav Drawer */
.mobile-nav-menu {
  width: 100%;
  background: rgba(14, 14, 19, 0.98);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  padding: 16px 20px;
  transition: all 0.25s ease;
}

@media (min-width: 961px) {
  .mobile-nav-menu {
    display: none !important;
  }
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  color: #d4d4d8;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s;
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  background: rgba(99, 102, 241, 0.15);
  color: #fff;
}

/* Hero Section */
.hero-section {
  flex: 1;
  padding: 60px 0;
}

.hero-header {
  text-align: center;
  margin-bottom: 36px;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.25);
  color: #c7d2fe;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.pulsing-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-primary);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(99, 102, 241, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(99, 102, 241, 0); }
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Downloader Form Card */
.downloader-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 50px rgba(99, 102, 241, 0.05);
  margin-bottom: 32px;
}

@media (max-width: 639px) {
  .downloader-card {
    padding: 16px;
  }
}

.download-form,
.downloader-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

@media (min-width: 640px) {
  .download-form,
  .downloader-form {
    flex-direction: row;
    align-items: stretch;
    gap: 12px;
  }
}

.input-wrapper {
  flex: 1;
  min-width: 0;
  position: relative;
  display: flex;
  align-items: center;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  min-height: 56px;
  transition: all 0.2s;
}

.input-wrapper:focus-within {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.input-icon {
  padding-left: 16px;
  color: var(--text-dim);
  display: flex;
  align-items: center;
}

.input-icon svg {
  width: 20px;
  height: 20px;
}

.input-wrapper input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-main);
  font-family: inherit;
  font-size: 1rem;
  padding: 16px 12px;
}

.input-wrapper input::placeholder {
  color: var(--text-dim);
}

.clear-btn {
  background: transparent;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  padding: 8px;
  margin-right: 4px;
  display: flex;
  align-items: center;
  border-radius: 50%;
  transition: color 0.15s;
}

.clear-btn:hover {
  color: var(--text-main);
}

.clear-btn svg {
  width: 18px;
  height: 18px;
}

.btn-paste {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.35);
  color: #c7d2fe;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 10px 16px;
  margin-right: 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-paste:hover {
  background: rgba(99, 102, 241, 0.25);
  border-color: rgba(99, 102, 241, 0.6);
  color: #ffffff;
  box-shadow: 0 0 14px rgba(99, 102, 241, 0.25);
}

.btn-paste:active {
  transform: scale(0.96);
}

.btn-paste.pasted-success {
  background: rgba(16, 185, 129, 0.2) !important;
  border-color: rgba(16, 185, 129, 0.5) !important;
  color: #34d399 !important;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.3) !important;
}

.btn-paste.pasted-success svg {
  color: #34d399 !important;
}

.btn-paste svg {
  width: 16px;
  height: 16px;
  color: var(--accent-primary);
  flex-shrink: 0;
  transition: color 0.2s;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--accent-gradient);
  border: none;
  color: #fff;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 0 32px;
  min-height: 56px;
  border-radius: var(--radius-md);
  cursor: pointer;
  box-shadow: 0 4px 20px var(--accent-glow);
  transition: all 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 639px) {
  .btn-submit {
    width: 100%;
  }
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.btn-submit:active {
  transform: translateY(0);
}

.btn-content, .btn-spinner {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-download {
  width: 20px;
  height: 20px;
}

.animate-spin {
  width: 20px;
  height: 20px;
  animation: spin 1s linear infinite;
}

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

/* Error alert & Status Message */
.status-box,
.error-alert {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  margin-top: 14px;
  margin-bottom: 24px;
  animation: fadeIn 0.3s ease forwards;
}

.status-box svg,
.error-alert svg {
  width: 20px;
  height: 20px;
  color: var(--error);
  flex-shrink: 0;
}

/* Result Preview Card */
.result-container,
.result-card {
  margin-bottom: 50px;
  animation: fadeIn 0.4s ease forwards;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

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

.result-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-color);
}

.author-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.author-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.author-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
}

.verified-badge svg {
  width: 16px;
  height: 16px;
}

.author-handle {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.badge-type {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #c7d2fe;
  border-radius: 6px;
}

.post-caption {
  font-size: 0.96rem;
  line-height: 1.6;
  color: var(--text-main);
  margin-bottom: 24px;
  white-space: pre-wrap;
  word-break: break-word;
}

/* Media Gallery */
.media-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .media-gallery.is-carousel {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }
}

.media-item-card {
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.media-preview-box {
  width: 100%;
  max-height: 480px;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.media-preview-box img, .media-preview-box video {
  width: 100%;
  max-height: 480px;
  object-fit: contain;
}

.media-item-footer {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.media-item-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.media-tag {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-secondary);
}

.media-quality-badge {
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--bg-hover);
  padding: 2px 8px;
  border-radius: 4px;
  color: var(--text-muted);
}

.btn-download-media {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent-gradient);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  box-shadow: 0 4px 14px var(--accent-glow);
}

.btn-download-media:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(99, 102, 241, 0.4);
}

.btn-download-media svg {
  width: 18px;
  height: 18px;
}

/* Clipboard Auto-Detection Prompt Banner */
.clipboard-detect-banner {
  max-width: 680px;
  margin: 0 auto 20px auto;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.16) 0%, rgba(24, 24, 32, 0.98) 100%);
  border: 1px solid rgba(99, 102, 241, 0.45);
  border-radius: 16px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 10px 30px -10px rgba(99, 102, 241, 0.35);
  animation: slideDownFade 0.35s ease forwards;
}

@keyframes slideDownFade {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.clipboard-detect-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 0;
}

.clipboard-detect-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(99, 102, 241, 0.22);
  color: #818cf8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.clipboard-detect-icon svg {
  width: 18px;
  height: 18px;
}

.clipboard-detect-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.clipboard-detect-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
}

.clipboard-detect-msg {
  font-size: 0.8rem;
  color: #a1a1aa;
}

.clipboard-detect-url {
  font-size: 0.74rem;
  color: #818cf8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 340px;
}

.clipboard-detect-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.btn-clipboard-accept {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #6366f1;
  color: #ffffff;
  border: none;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35);
}

.btn-clipboard-accept:hover {
  background: #4f46e5;
  transform: translateY(-1px);
}

.btn-clipboard-dismiss {
  background: transparent;
  border: none;
  color: #71717a;
  font-size: 1.1rem;
  padding: 6px 10px;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.15s;
}

.btn-clipboard-dismiss:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 580px) {
  .clipboard-detect-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 12px 14px;
  }
  .clipboard-detect-actions {
    justify-content: flex-end;
  }
}

/* Granular Quality & Format Selector in Media Card */
.quality-selector-group {
  margin-top: 4px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.quality-selector-label {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-dim);
}

.quality-buttons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

@media (max-width: 520px) {
  .quality-buttons-grid {
    grid-template-columns: 1fr;
  }
}

.btn-quality-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 14px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--text-main);
  transition: all 0.2s ease;
}

.btn-quality-card:hover {
  background: rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.4);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-quality-card.primary {
  background: rgba(99, 102, 241, 0.18);
  border-color: rgba(99, 102, 241, 0.45);
  box-shadow: 0 4px 15px -4px rgba(99, 102, 241, 0.3);
}

.btn-quality-card.primary:hover {
  background: rgba(99, 102, 241, 0.3);
  border-color: rgba(99, 102, 241, 0.65);
}

.btn-quality-card.audio {
  grid-column: 1 / -1;
  background: rgba(236, 72, 153, 0.1);
  border-color: rgba(236, 72, 153, 0.3);
}

.btn-quality-card.audio:hover {
  background: rgba(236, 72, 153, 0.2);
  border-color: rgba(236, 72, 153, 0.5);
  color: #fff;
}

.quality-left-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.quality-badge-tag {
  font-size: 0.86rem;
  font-weight: 800;
  color: #ffffff;
}

.quality-badge-sub {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.quality-action-icon svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
}

/* Features Section */
.features-section {
  margin: 60px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 600px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all 0.2s;
}

.feature-card:hover {
  border-color: var(--border-active);
  transform: translateY(-3px);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(99, 102, 241, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  margin-bottom: 16px;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

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

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Steps Section */
.steps-section {
  margin: 60px 0;
}

.section-title {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 32px;
  letter-spacing: -0.01em;
}

.section-subtitle {
  text-align: center;
  font-size: 0.98rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: -18px auto 36px auto;
  line-height: 1.5;
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  position: relative;
}

.step-number {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent-gradient);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
  box-shadow: 0 4px 14px var(--accent-glow);
}

.step-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

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

/* FAQ Accordion */
.faq-section {
  margin: 60px 0 80px 0;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item.open {
  border-color: var(--border-active);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s;
}

.faq-question:hover {
  background: var(--bg-hover);
}

.chevron {
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.faq-item.open .chevron {
  transform: rotate(180deg);
  color: var(--accent-primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 22px;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 20px;
}

.faq-answer p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 40px 0;
  background: #060608;
  margin-top: auto;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.15s;
}

.footer-links a:hover {
  color: var(--text-main);
}

.footer-disclaimer {
  font-size: 0.78rem;
  color: var(--text-dim);
  max-width: 600px;
  line-height: 1.6;
}

/* Utility classes */
.hidden {
  display: none !important;
}
/* Feature Pills Navigation (SEO Internal Linking Silo) */
.feature-pills-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

/* Hide duplicate pills on desktop because the navbar center links already show them */
@media (min-width: 961px) {
  .feature-pills-nav {
    display: none !important;
  }
}

@media (max-width: 960px) {
  .feature-pills-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 4px 16px 12px 16px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .feature-pills-nav::-webkit-scrollbar {
    display: none;
  }
}

.nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 50px;
  transition: all 0.2s;
}

.nav-pill:hover {
  background: var(--bg-hover);
  color: var(--text-main);
  border-color: var(--border-active);
}

.nav-pill.active {
  background: rgba(99, 102, 241, 0.15);
  border-color: var(--accent-primary);
  color: #fff;
  box-shadow: 0 0 12px var(--accent-glow);
}

.header-badges-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-zip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #10b981;
  color: #fff;
  border: none;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.3);
  transition: all 0.2s;
}

.btn-zip:hover {
  background: #059669;
  transform: translateY(-1px);
}

.btn-zip svg {
  width: 14px;
  height: 14px;
}
/* Audio Download Button */
.btn-download-media.btn-audio {
  background: var(--bg-hover);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  box-shadow: none;
}

.btn-download-media.btn-audio:hover {
  background: var(--bg-input);
  border-color: var(--border-active);
  color: #fff;
  transform: translateY(-1px);
}
/* ========================================================
   ADVERTISING & MONETIZATION LAYOUT (ZERO CLS ARCHITECTURE)
   ======================================================== */
.ad-container {
  margin: 24px auto;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.ad-disclosure {
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-bottom: 4px;
  text-transform: uppercase;
  font-weight: 600;
}

/* Height reservations to guarantee 0.00 CLS in Google Lighthouse */
.ad-slot-leaderboard {
  min-height: 90px;
  max-width: 728px;
}

.ad-slot-rectangle {
  min-height: 250px;
  max-width: 336px;
  margin: 32px auto;
}

.ad-slot-infeed {
  min-height: 90px;
  max-width: 760px;
  margin: 30px auto;
}

/* Developer & Preview Placeholder Styling */
.ad-placeholder-box {
  width: 100%;
  height: 100%;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  background: rgba(18, 18, 22, 0.6);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: border-color 0.2s;
}

.ad-placeholder-box:hover {
  border-color: var(--border-active);
}

.ad-placeholder-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ad-tag {
  font-size: 10px;
  font-weight: 700;
  background: rgba(99, 102, 241, 0.15);
  color: #c7d2fe;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.ad-dimensions {
  font-size: 11px;
  color: var(--text-dim);
  font-weight: 500;
}

.ad-placeholder-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.ad-placeholder-note {
  font-size: 11px;
  color: var(--text-dim);
}

/* ========================================================
   APPLE SHORTCUTS (iOS) INTEGRATION STYLES
   ======================================================== */
.shortcut-hero-card {
  max-width: 680px;
  margin: 0 auto 36px auto;
  background: linear-gradient(135deg, rgba(24, 24, 32, 0.85) 0%, rgba(18, 18, 24, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 32px 28px;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.6), 0 0 50px -20px rgba(99, 102, 241, 0.25);
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
}

.shortcut-hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #ec4899, #6366f1, #06b6d4);
}

.shortcut-badge-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #c7d2fe;
  margin-bottom: 24px;
}

.shortcut-profile {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 28px;
}

@media (max-width: 600px) {
  .shortcut-profile {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
}

.shortcut-icon-wrapper {
  flex-shrink: 0;
  width: 84px;
  height: 84px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 0 20px rgba(99, 102, 241, 0.3);
}

.shortcut-glyph {
  width: 100%;
  height: 100%;
  display: block;
}

.shortcut-meta-text {
  flex: 1;
}

.shortcut-title-text {
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.shortcut-desc-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 12px;
}

.shortcut-pill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 600px) {
  .shortcut-pill-tags {
    justify-content: center;
  }
}

.tag-pill {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  color: var(--text-dim);
}

.shortcut-actions-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  margin-bottom: 28px;
}

@media (max-width: 600px) {
  .shortcut-actions-row {
    grid-template-columns: 1fr;
  }
}

.btn-shortcut-install {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #ffffff;
  color: #09090b;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
  padding: 14px 24px;
  border-radius: 14px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.15);
}

.btn-shortcut-install:hover {
  background: #f4f4f5;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.25);
}

.btn-shortcut-install:active {
  transform: translateY(0);
}

.apple-icon {
  width: 20px;
  height: 20px;
}

.btn-shortcut-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e4e4e7;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 14px 20px;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-shortcut-copy:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-shortcut-copy svg {
  width: 18px;
  height: 18px;
}

.btn-shortcut-copy.copied {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.3);
  color: #34d399;
}

/* QR Code Section for Desktop Scanning */
.shortcut-qr-box {
  background: rgba(10, 10, 14, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 20px;
}

@media (max-width: 600px) {
  .shortcut-qr-box {
    display: none; /* Mobile users are already on iPhone, don't need QR */
  }
}

.shortcut-qr-code-view {
  width: 108px;
  height: 108px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 6px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shortcut-qr-code-view svg {
  width: 100%;
  height: 100%;
  display: block;
}

.shortcut-qr-details {
  flex: 1;
}

.shortcut-qr-details h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.shortcut-qr-details p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 10px;
}

.qr-action-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-secondary);
}

.qr-action-hint svg {
  width: 16px;
  height: 16px;
}

.shortcut-tester-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 32px 0 24px 0;
  color: var(--text-dim);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.shortcut-tester-divider::before,
.shortcut-tester-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.shortcut-tester-divider span {
  padding: 0 16px;
}

/* ==========================================================================
   ANDROID SHOWCASE CARD & PROMO BANNER STYLES
   ========================================================================== */

.android-theme-card {
  border-color: rgba(34, 197, 94, 0.25) !important;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.6), 0 0 40px -10px rgba(34, 197, 94, 0.2) !important;
}

.android-theme-card::before {
  background: linear-gradient(90deg, #10b981, #22c55e, #84cc16) !important;
}

.android-badge-row {
  background: rgba(34, 197, 94, 0.12) !important;
  border: 1px solid rgba(34, 197, 94, 0.3) !important;
  color: #86efac !important;
}

.android-icon-wrapper {
  width: 80px;
  height: 80px;
  min-width: 80px;
  min-height: 80px;
  border-radius: 20px;
  overflow: hidden;
  flex-shrink: 0;
  background: #0d2417;
  border: 1px solid rgba(34, 197, 94, 0.3);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.6), 0 0 20px rgba(34, 197, 94, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}

.android-glyph {
  width: 80px !important;
  height: 80px !important;
  display: block;
}

.btn-android-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #22c55e !important;
  color: #09090b !important;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
  padding: 14px 24px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
  transition: transform 0.2s, background 0.2s;
}

.btn-android-main:hover {
  background: #16a34a !important;
  color: #ffffff !important;
  transform: translateY(-2px);
}

.btn-android-main svg {
  stroke: #09090b !important;
}

.btn-android-main:hover svg {
  stroke: #ffffff !important;
}

.pulsing-dot-green {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 10px #22c55e;
  display: inline-block;
  animation: pulse-dot 1.8s infinite;
}

.qr-action-android {
  color: #4ade80 !important;
}

/* Shortcuts Promo Banner (Main Domain & Silos) */
.shortcuts-promo-banner {
  max-width: 680px;
  margin: 32px auto 36px auto;
  background: linear-gradient(135deg, rgba(24, 24, 32, 0.85) 0%, rgba(18, 18, 24, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 24px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.5);
}

@media (max-width: 680px) {
  .shortcuts-promo-banner {
    flex-direction: column;
    text-align: center;
    gap: 18px;
    padding: 20px 18px;
  }
}

.promo-text-content {
  flex: 1;
}

.promo-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.promo-desc {
  font-size: 0.88rem;
  color: #a1a1aa;
  line-height: 1.4;
  margin: 0;
}

.promo-actions-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

@media (max-width: 680px) {
  .promo-actions-row {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
}

.btn-promo-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-promo-ios {
  background: #ffffff;
  color: #09090b;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.12);
}

.btn-promo-ios:hover {
  background: #e4e4e7;
  transform: translateY(-1px);
}

.btn-promo-android {
  background: rgba(34, 197, 94, 0.16);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.35);
}

.btn-promo-android:hover {
  background: rgba(34, 197, 94, 0.28);
  color: #fff;
  transform: translateY(-1px);
}

.btn-nav-android {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.16), rgba(16, 185, 129, 0.16)) !important;
  border-color: rgba(34, 197, 94, 0.35) !important;
}

.btn-nav-android:hover {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.3), rgba(16, 185, 129, 0.3)) !important;
  border-color: rgba(34, 197, 94, 0.6) !important;
}


