/* =========================================================
   Vid Save Hub - Premium Stylesheet
   Modern Glassmorphism & High-Converting Downloader UI
   ========================================================= */
/* Fonts are preloaded asynchronously in header.php for 90+ PageSpeed score */
:root {
  --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  
  --primary: #2563EB;
  --primary-hover: #1D4ED8;
  --primary-light: #EFF6FF;
  --primary-glow: rgba(37, 99, 235, 0.25);
  
  --accent-purple: #8B5CF6;
  --accent-emerald: #10B981;
  
  --slate-50: #F8FAFC;
  --slate-100: #F1F5F9;
  --slate-200: #E2E8F0;
  --slate-300: #CBD5E1;
  --slate-400: #94A3B8;
  --slate-500: #64748B;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1E293B;
  --slate-900: #0F172A;

  --card-bg: rgba(255, 255, 255, 0.85);
  --card-border: rgba(226, 232, 240, 0.8);
  --card-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.05), 0 4px 6px -2px rgba(15, 23, 42, 0.02);
  --card-shadow-lg: 0 20px 40px -10px rgba(15, 23, 42, 0.1), 0 8px 12px -4px rgba(15, 23, 42, 0.04);
}

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

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

body {
  font-family: var(--font-body);
  background-color: #F8FAFC;
  color: var(--slate-800);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--slate-900);
  line-height: 1.25;
  font-weight: 700;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.2s ease;
}
a:hover {
  color: var(--primary-hover);
}

/* Container */
.container {
  width: 100%;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* ── Navbar (Desktop & Mobile Friendly) ─────────────────────────────── */
.vsv-nav {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  transition: all 0.25s ease;
}

.vsv-nav__inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 2.75rem;
  height: 72px;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0 2.5rem;
  box-sizing: border-box;
  position: relative;
}

@media (max-width: 1024px) {
  .vsv-nav__inner {
    padding: 0 1.5rem;
    gap: 1.5rem;
  }
}

.vsv-nav__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--slate-900);
  text-decoration: none;
  flex-shrink: 0;
}

.vsv-nav__brand-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2563EB, #8B5CF6);
  border-radius: 10px;
  color: #fff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.28);
}

.vsv-nav__brand-name span {
  background: linear-gradient(135deg, #2563EB, #7C3AED);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.vsv-nav__links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.vsv-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1.05rem;
  border-radius: 9999px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--slate-600);
  transition: all 0.2s ease;
  text-decoration: none;
}

.vsv-nav__link:hover {
  color: var(--primary);
  background-color: var(--primary-light);
}

.vsv-nav__link.active {
  color: var(--primary);
  background: rgba(37, 99, 235, 0.08);
  font-weight: 700;
}

/* Right Side of Nav: Language Switcher & Mobile Hamburger */
.vsv-nav__right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

/* ── Language Switcher Dropdown (Matching versevidsaver.com) ─── */
.vsv-lang {
  position: relative;
}

.vsv-lang__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  transition: all 0.15s ease;
  white-space: nowrap;
  font-family: inherit;
}

.vsv-lang__btn:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #0f172a;
}

.vsv-lang__prefix {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.04em;
}

.vsv-lang__code {
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
}

.vsv-lang__chevron {
  transition: transform 0.2s ease;
  color: #64748b;
  opacity: 0.75;
}

.vsv-lang__btn[aria-expanded="true"] .vsv-lang__chevron {
  transform: rotate(180deg);
}

.vsv-lang__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: 220px;
  max-height: 380px;
  overflow-y: auto;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 6px;
  z-index: 1100;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  display: none;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}

.vsv-lang__menu::-webkit-scrollbar {
  width: 5px;
}
.vsv-lang__menu::-webkit-scrollbar-track {
  background: transparent;
}
.vsv-lang__menu::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
}

.vsv-lang__menu.is-open {
  display: block;
  animation: vsvFadeDown 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.vsv-lang__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 8px 12px;
  border-radius: 8px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  color: #475569;
  text-decoration: none;
  transition: background 0.12s, color 0.12s;
  text-align: left;
  font-family: inherit;
}

.vsv-lang__option:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.vsv-lang__option--active {
  background: rgba(37, 99, 235, 0.08);
  color: #1d4ed8;
}

.vsv-lang__opt-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.vsv-lang__opt-prefix {
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  min-width: 24px;
}

.vsv-lang__option--active .vsv-lang__opt-prefix {
  color: #2563eb;
}

.vsv-lang__opt-name {
  font-weight: 600;
  color: #334155;
}

.vsv-lang__option--active .vsv-lang__opt-name {
  color: #1d4ed8;
  font-weight: 700;
}

.vsv-lang__opt-code {
  font-size: 11px;
  color: #94a3b8;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.vsv-lang__option--active .vsv-lang__opt-code {
  color: #2563eb;
}

/* Mobile Hamburger Toggle */
.vsv-nav__hamburger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(241, 245, 249, 0.85);
  border: 1px solid var(--slate-200);
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: all 0.2s ease;
  color: var(--slate-800);
}

.vsv-nav__hamburger:hover {
  background: var(--slate-200);
}

.ham-bar {
  display: block;
  width: 20px;
  height: 2.2px;
  background-color: var(--slate-800);
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
}

.vsv-nav__hamburger.is-active .ham-bar-1 {
  transform: translateY(7.2px) rotate(45deg);
}

.vsv-nav__hamburger.is-active .ham-bar-2 {
  opacity: 0;
  transform: scaleX(0);
}

.vsv-nav__hamburger.is-active .ham-bar-3 {
  transform: translateY(-7.2px) rotate(-45deg);
}

/* Mobile Drawer */
.vsv-mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--slate-200);
  box-shadow: 0 20px 35px -5px rgba(15, 23, 42, 0.12);
  padding: 1rem 1.25rem 1.5rem;
  z-index: 999;
  animation: slideDown 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.vsv-mobile-menu.open {
  display: block;
}

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

.vsv-mobile-menu__links {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.vsv-mobile-menu__link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1.15rem;
  border-radius: 0.75rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--slate-700);
  text-decoration: none;
  min-height: 48px;
  transition: all 0.2s ease;
}

.vsv-mobile-menu__link:hover {
  background: var(--slate-100);
  color: var(--slate-900);
}

.vsv-mobile-menu__link.active {
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
}

.vsv-mobile-menu__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
}

.vsv-mobile-menu__divider {
  height: 1px;
  background: var(--slate-200);
  margin: 12px 0 10px;
}

.vsv-mobile-menu__lang-title {
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 8px 8px;
}

.vsv-mobile-lang-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  max-height: 220px;
  overflow-y: auto;
  padding: 2px;
}

.vsv-mobile-lang-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  font-size: 12px;
  color: #475569;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: all 0.15s ease;
}

.vsv-mobile-lang-btn:hover,
.vsv-mobile-lang-btn.active {
  background: #EFF6FF;
  border-color: #BFDBFE;
  color: #1D4ED8;
  font-weight: 600;
}

/* ── Google Translate Seamless Clean Integration ─────────── */
iframe.VIpgJd-ZVi9od-ORHb-OEVmcd,
iframe.goog-te-banner-frame,
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
#goog-gt-tt,
.goog-te-balloon-frame,
#google_translate_element,
.goog-tooltip,
.goog-tooltip:hover {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  width: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

body > .skiptranslate {
  display: none !important;
}

body {
  top: 0px !important;
  position: static !important;
}

.goog-text-highlight {
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* ── Footer Language List (Matching versevidsaver.com) ────── */
.vsv-footer-langs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 18px;
  padding: 1.5rem 0 1.25rem;
  border-top: 1px solid var(--slate-100);
  margin-top: 1.5rem;
}

.vsv-footer-lang-link {
  background: none;
  border: none;
  font-size: 13px;
  color: #64748b;
  cursor: pointer;
  padding: 2px 4px;
  transition: all 0.15s ease;
  font-family: inherit;
  border-radius: 4px;
}

.vsv-footer-lang-link:hover,
.vsv-footer-lang-link.active {
  color: var(--primary);
  font-weight: 600;
  background: rgba(37, 99, 235, 0.06);
}

/* ── Hero Section ─────────────────────────────── */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #f0f7ff 0%, #e8f4ff 35%, #f5f0ff 70%, #edf9f4 100%);
  padding: 4.5rem 0 5rem;
  overflow: hidden;
  text-align: center;
}

.hero-section::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, transparent 70%);
  top: -150px;
  left: -100px;
  pointer-events: none;
}

.hero-section::after {
  content: '';
  position: absolute;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.10) 0%, transparent 70%);
  top: -50px;
  right: -80px;
  pointer-events: none;
}

.hero-section .container {
  position: relative;
  z-index: 3;
  max-width: 1240px;
}

.hero-tools-grid {
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

/* ── Hero Floating Animated Circles (Red, Blue, Yellow, Pink) ────── */
.hero-floating-shapes {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.hero-text-floating-zone {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 960px;
  height: 520px;
  pointer-events: none;
}

.floating-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
  transform: translateZ(0);
}

/* Sizes */
.orb-xs {
  width: 9px;
  height: 9px;
}

.orb-sm {
  width: 15px;
  height: 15px;
}

.orb-md {
  width: 22px;
  height: 22px;
}

.orb-lg {
  width: 32px;
  height: 32px;
}

/* Vibrant Colorful Styles with Matching Luminous Glow & Subtle Highlight */
.orb-red {
  background: linear-gradient(135deg, #FF6B6B 0%, #EF4444 60%, #DC2626 100%);
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.45), 0 0 10px rgba(239, 68, 68, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.65);
}

.orb-blue {
  background: linear-gradient(135deg, #60A5FA 0%, #3B82F6 60%, #2563EB 100%);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.42), 0 0 10px rgba(59, 130, 246, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.65);
}

.orb-yellow {
  background: linear-gradient(135deg, #FDE047 0%, #F59E0B 70%, #D97706 100%);
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.48), 0 0 10px rgba(251, 191, 36, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.orb-pink {
  background: linear-gradient(135deg, #F472B6 0%, #EC4899 60%, #DB2777 100%);
  box-shadow: 0 4px 16px rgba(236, 72, 153, 0.45), 0 0 10px rgba(244, 114, 182, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.65);
}

/* Floating Animations */
@keyframes orbFloatSlow {
  0% {
    transform: translateY(0px) translateX(0px) scale(1);
  }
  50% {
    transform: translateY(-20px) translateX(7px) scale(1.08);
  }
  100% {
    transform: translateY(-34px) translateX(-5px) scale(0.96);
  }
}

@keyframes orbFloatMid {
  0% {
    transform: translateY(0px) translateX(0px) scale(1);
  }
  50% {
    transform: translateY(-26px) translateX(-8px) scale(1.12);
  }
  100% {
    transform: translateY(-42px) translateX(6px) scale(0.92);
  }
}

@keyframes orbFloatFast {
  0% {
    transform: translateY(0px) translateX(0px) scale(0.95);
  }
  50% {
    transform: translateY(-18px) translateX(9px) scale(1.15);
  }
  100% {
    transform: translateY(-32px) translateX(-6px) scale(1);
  }
}

@keyframes orbFloatReverse {
  0% {
    transform: translateY(0px) translateX(0px) scale(1.05);
  }
  50% {
    transform: translateY(22px) translateX(-7px) scale(0.94);
  }
  100% {
    transform: translateY(36px) translateX(6px) scale(1.08);
  }
}

@keyframes orbFloatSway {
  0% {
    transform: translateY(0px) translateX(0px) rotate(0deg);
  }
  33% {
    transform: translateY(-14px) translateX(10px) rotate(45deg);
  }
  66% {
    transform: translateY(-28px) translateX(-10px) rotate(90deg);
  }
  100% {
    transform: translateY(-10px) translateX(6px) rotate(135deg);
  }
}

.float-slow {
  animation: orbFloatSlow 7s ease-in-out infinite alternate;
}

.float-mid {
  animation: orbFloatMid 5.4s ease-in-out infinite alternate;
}

.float-fast {
  animation: orbFloatFast 4.2s ease-in-out infinite alternate;
}

.float-reverse {
  animation: orbFloatReverse 6.5s ease-in-out infinite alternate;
}

.float-sway {
  animation: orbFloatSway 8s ease-in-out infinite alternate;
}

/* Natural Stagger Delays */
.floating-orb:nth-child(2n) {
  animation-delay: -1.6s;
}
.floating-orb:nth-child(3n) {
  animation-delay: -2.9s;
}
.floating-orb:nth-child(5n) {
  animation-delay: -4.3s;
}
.floating-orb:nth-child(7n) {
  animation-delay: -0.8s;
}

@media (max-width: 768px) {
  .floating-orb {
    opacity: 0.72;
  }
  .orb-lg {
    width: 24px;
    height: 24px;
  }
  .orb-md {
    width: 18px;
    height: 18px;
  }
}

.hero-badge {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(203, 213, 225, 0.6);
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.25rem;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.hero-title {
  position: relative;
  z-index: 3;
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.hero-title span {
  background: linear-gradient(135deg, #2563EB, #7C3AED);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  position: relative;
  z-index: 3;
  font-size: 1.15rem;
  color: var(--slate-600);
  max-width: 650px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

/* ── Downloader Card ─────────────────────────────── */
.downloader-box {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  padding: 1.75rem 2rem;
  border-radius: 1.5rem;
  border: 1px solid var(--card-border);
  box-shadow: var(--card-shadow-lg);
  position: relative;
  z-index: 10;
}

.downloader-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  background: var(--slate-100);
  padding: 0.35rem;
  border-radius: 9999px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.downloader-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-600);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.downloader-tab.active {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}

.input-wrapper {
  display: flex;
  align-items: center;
  background: #fff;
  border: 2px solid var(--slate-200);
  border-radius: 1rem;
  padding: 0.4rem 0.5rem 0.4rem 1rem;
  transition: all 0.2s ease;
  box-shadow: inset 0 2px 4px rgba(15, 23, 42, 0.02);
}

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

.input-icon {
  color: var(--slate-400);
  display: flex;
  align-items: center;
  margin-right: 0.75rem;
}

.url-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1.05rem;
  color: var(--slate-800);
  background: transparent;
  font-family: inherit;
  width: 100%;
}

.url-input::placeholder {
  color: var(--slate-400);
}

.input-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-paste, .btn-clear {
  background: var(--slate-100);
  border: none;
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate-600);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s ease;
}

.btn-paste:hover, .btn-clear:hover {
  background: var(--slate-200);
  color: var(--slate-800);
}

.btn-download-main {
  background: linear-gradient(135deg, #EF4444, #DC2626);
  color: #ffffff !important;
  border: none;
  padding: 0.85rem 1.85rem;
  border-radius: 0.75rem;
  font-size: 1.05rem;
  font-weight: 800 !important;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  box-shadow: 0 4px 16px rgba(220, 38, 38, 0.42);
  transition: all 0.25s ease;
  margin-left: 0.5rem;
  letter-spacing: 0.01em;
}

.btn-download-main span {
  color: #ffffff !important;
  font-weight: 800 !important;
}

.btn-download-main svg {
  color: #ffffff !important;
  stroke: #ffffff !important;
}

.btn-download-main:hover {
  background: linear-gradient(135deg, #DC2626, #B91C1C);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(220, 38, 38, 0.55);
  color: #ffffff !important;
}

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

.downloader-hint {
  font-size: 0.85rem;
  color: var(--slate-500);
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
}

.hint-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* ── Result Card ─────────────────────────────── */
.result-container {
  margin-top: 1.75rem;
  display: none;
  animation: fadeIn 0.4s ease-out;
}

.result-card {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 1rem;
  padding: 1.25rem;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 1.5rem;
  align-items: center;
  text-align: left;
  box-shadow: var(--card-shadow);
}

.result-thumb-wrapper {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--slate-900);
}

.result-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.thumb-play-badge {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.3);
  cursor: pointer;
  transition: all 0.2s ease;
}
.thumb-play-badge:hover {
  background: rgba(15, 23, 42, 0.5);
}

.result-details {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.result-platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  width: fit-content;
  margin-bottom: 0.5rem;
}

.result-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 0.75rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.result-links-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: auto;
}

.btn-download-stream {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.25rem;
  background: linear-gradient(135deg, #EF4444, #DC2626);
  color: #ffffff !important;
  border-radius: 0.6rem;
  font-weight: 800 !important;
  font-size: 0.94rem;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.38);
  transition: all 0.2s ease;
}

.btn-download-stream:hover {
  background: linear-gradient(135deg, #DC2626, #B91C1C);
  transform: translateY(-1px);
  color: #ffffff !important;
  box-shadow: 0 6px 16px rgba(220, 38, 38, 0.48);
}

.btn-download-stream.secondary {
  background: var(--slate-100);
  color: var(--slate-800);
  box-shadow: none;
  border: 1px solid var(--slate-300);
}
.btn-download-stream.secondary:hover {
  background: var(--slate-200);
  color: var(--slate-900);
}

/* Spinner & Loader */
.loading-box {
  display: none;
  padding: 2.5rem 1rem;
  text-align: center;
}

.spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--slate-200);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 1rem;
}

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

.error-box {
  display: none;
  background: #FEF2F2;
  border: 1px solid #FCA5A5;
  color: #991B1B;
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  margin-top: 1.25rem;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: left;
}

/* ── Section Features ─────────────────────────────── */
.section-features {
  padding: 4.5rem 0;
  background: #F8FAFC;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}

.section-tag {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.35rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--slate-600);
}

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

.feature-card {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: 1rem;
  padding: 2rem 1.75rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow);
  border-color: var(--slate-300);
}

.feature-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.feature-icon-blue { background: #DBEAFE; color: #2563EB; }
.feature-icon-purple { background: #EDE9FE; color: #7C3AED; }
.feature-icon-emerald { background: #D1FAE5; color: #059669; }
.feature-icon-amber { background: #FEF3C7; color: #D97706; }

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.feature-text {
  font-size: 0.95rem;
  color: var(--slate-600);
  line-height: 1.55;
}

/* ── How It Works ─────────────────────────────── */
.section-steps {
  padding: 4.5rem 0;
  background: #F8FAFC;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
  align-items: stretch;
}

.step-card {
  background: #ffffff;
  border: 1px solid #E2E8F0;
  border-radius: 1rem;
  padding: 1.85rem 1.5rem 1.5rem;
  position: relative;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
  box-sizing: border-box;
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: #CBD5E1;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
}

.step-number {
  position: absolute;
  top: -14px;
  left: 20px;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #2563EB, #1D4ED8);
  color: #ffffff;
  border-radius: 50%;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
  border: 2px solid #ffffff;
}

.step-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0F172A;
  margin-top: 0.35rem;
  margin-bottom: 0.55rem;
  line-height: 1.35;
}

.step-card p {
  color: #64748B;
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

/* ── FAQ Section (Premium Emerald Chevrons & Clean Cards) ─────────────────────────── */
.section-faq {
  padding: 4.5rem 0;
  background: #F8FAFC;
}

.faq-list {
  max-width: 920px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-item {
  border: 1px solid var(--slate-200);
  border-radius: 0.85rem;
  background: #fff;
  overflow: hidden;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.02);
}

.faq-item:hover {
  border-color: #CBD5E1;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--slate-900);
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
  gap: 1rem;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-chevron {
  transition: transform 0.3s ease;
  flex-shrink: 0;
  color: #10B981; /* Emerald green matching screenshots */
}

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

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.35rem;
  color: var(--slate-600);
  font-size: 0.98rem;
  line-height: 1.65;
  border-top: 1px solid rgba(241, 245, 249, 0.8);
  padding-top: 1rem;
}

.faq-item.active .faq-answer,
.faq-item[open] > .faq-answer,
details.faq-item[open] > .faq-answer,
details.faq-item.active > .faq-answer {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* ── Responsible Use Cases & AdSense-Friendly Content Guidelines ─────────── */
.section-use-cases {
  padding: 4.5rem 0;
  background: #F8FAFC;
}

.guidelines-comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 980px;
  width: 100%;
  margin: 0 auto 1.75rem;
}

.guideline-card {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: 1.25rem;
  padding: 2rem 1.75rem;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.guideline-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
}

.guideline-card--meta {
  border-top: 4px solid #10B981;
}

.guideline-card--social {
  border-top: 4px solid #3B82F6;
}

.guideline-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.guideline-card-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.guideline-icon-badge {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.guideline-icon-badge--meta {
  background: #ECFDF5;
  color: #059669;
}

.guideline-icon-badge--social {
  background: #EFF6FF;
  color: #2563EB;
}

.guideline-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--slate-900);
  margin: 0;
}

.guideline-status-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.guideline-status-badge--meta {
  background: #D1FAE5;
  color: #065F46;
}

.guideline-status-badge--social {
  background: #DBEAFE;
  color: #1E40AF;
}

.guideline-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.guideline-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--slate-600);
  line-height: 1.55;
}

.guideline-list-item strong {
  color: var(--slate-900);
}

.guideline-check-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: #10B981;
  margin-top: 2px;
}

.guideline-check-icon--blue {
  color: #3B82F6;
}

.guideline-warning-box {
  max-width: 980px;
  margin: 0 auto;
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  border-left: 5px solid #F59E0B;
  border-radius: 1rem;
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.06);
}

.guideline-warning-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  color: #D97706;
  margin-top: 2px;
}

.guideline-warning-content h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #92400E;
  margin: 0 0 0.45rem;
}

.guideline-warning-content p {
  font-size: 0.94rem;
  color: #78350F;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  .guidelines-comparison-grid {
    grid-template-columns: 1fr;
  }
  .guideline-warning-box {
    flex-direction: column;
    gap: 0.75rem;
  }
}

.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  max-width: 920px;
  width: 100%;
  margin: 0 auto;
}

.use-case-card {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.02);
  transition: all 0.25s ease;
}

.use-case-card:hover {
  border-color: #CBD5E1;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
}

.use-case-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  color: #10B981;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.use-case-text {
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--slate-700);
  line-height: 1.55;
}

/* ── Cross-Promotion / Downloader Tools Overview (Square Animated Colorful Cards) ── */
.section-tools-overview {
  padding: 5rem 0;
  background: #FFFFFF;
  border-top: 1px solid var(--slate-200);
  position: relative;
  overflow: hidden;
}

.section-tools-overview .container {
  max-width: 1240px;
}

/* 3-Tool Overview Grid (Default for 3 Tools: centered horizontally) */
.tools-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1040px;
  width: 100%;
  margin: 0 auto;
  align-items: stretch;
  justify-content: center;
}

/* 4-Tool Overview Grid (For Homepage 4-Tools showcase) */
.tools-overview-grid--4col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  align-items: stretch;
}

/* Base Square Card */
.tool-square-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.65rem 1.15rem 1.35rem;
  border-radius: 1.35rem;
  text-decoration: none;
  color: inherit;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  z-index: 1;
}

/* Desktop Square Box Aspect Ratio */
@media (min-width: 993px) {
  .tool-square-card {
    aspect-ratio: 1 / 1;
    min-height: 0;
  }
  .tool-square-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    margin-bottom: 0.65rem;
  }
  .tool-square-badge {
    font-size: 0.68rem;
    padding: 0.18rem 0.55rem;
    margin-bottom: 0.45rem;
  }
  .tool-square-title {
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
  }
  .tool-square-desc {
    font-size: 0.8rem;
    line-height: 1.38;
    margin-bottom: 0.65rem;
  }
  .tool-square-action {
    font-size: 0.82rem;
  }
}

/* Continuous Floating / Bobbing Animations */
@keyframes toolSquareFloat1 {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-7px); }
}

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

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

.tool-square-card:nth-child(1) {
  animation: toolSquareFloat1 5s ease-in-out infinite;
}
.tool-square-card:nth-child(2) {
  animation: toolSquareFloat2 6s ease-in-out infinite 0.75s;
}
.tool-square-card:nth-child(3) {
  animation: toolSquareFloat3 5.5s ease-in-out infinite 1.5s;
}
.tool-square-card:nth-child(4) {
  animation: toolSquareFloat2 5.8s ease-in-out infinite 2.25s;
}

/* Hover Pauses Ambient Animation & Elevates Smoothly */
.tool-square-card:hover {
  animation-play-state: paused;
  transform: translateY(-10px) scale(1.025);
}

/* Shimmer Light-Sweep Sheen Animation */
.tool-square-card::before {
  content: '';
  position: absolute;
  top: -60%;
  left: -60%;
  width: 220%;
  height: 220%;
  background: linear-gradient(
    60deg,
    transparent 35%,
    rgba(255, 255, 255, 0.65) 50%,
    transparent 65%
  );
  transform: rotate(25deg) translateY(-110%);
  transition: transform 0.8s ease;
  pointer-events: none;
  z-index: 2;
}

.tool-square-card:hover::before {
  transform: rotate(25deg) translateY(110%);
}

/* 1. Meta AI Downloader Card (Electric Blue & Cyan Theme) */
.tool-card--meta {
  background: linear-gradient(145deg, #F0F7FF 0%, #E0F2FE 45%, #EEF2FF 100%);
  border: 2px solid rgba(59, 130, 246, 0.28);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.08);
}
.tool-card--meta:hover {
  border-color: #2563EB;
  box-shadow: 0 20px 35px -5px rgba(37, 99, 235, 0.28), 0 0 0 1px rgba(37, 99, 235, 0.2);
}
.tool-card--meta .tool-square-icon {
  background: linear-gradient(135deg, #2563EB 0%, #06B6D4 100%);
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.38);
  color: #FFFFFF;
}
.tool-card--meta .tool-square-badge {
  background: rgba(37, 99, 235, 0.12);
  color: #1D4ED8;
}
.tool-card--meta .tool-square-action {
  color: #2563EB;
}

/* 2. Instagram Reel Downloader Card (Sunset Magenta & Purple Theme) */
.tool-card--instagram {
  background: linear-gradient(145deg, #FFF1F2 0%, #FDF2F8 45%, #FFF7ED 100%);
  border: 2px solid rgba(236, 72, 153, 0.28);
  box-shadow: 0 8px 24px rgba(225, 48, 108, 0.08);
}
.tool-card--instagram:hover {
  border-color: #E1306C;
  box-shadow: 0 20px 35px -5px rgba(225, 48, 108, 0.28), 0 0 0 1px rgba(225, 48, 108, 0.2);
}
.tool-card--instagram .tool-square-icon {
  background: linear-gradient(135deg, #833AB4 0%, #FD1D1D 50%, #FCB045 100%);
  box-shadow: 0 8px 18px rgba(225, 48, 108, 0.38);
  color: #FFFFFF;
}
.tool-card--instagram .tool-square-badge {
  background: rgba(225, 48, 108, 0.12);
  color: #BE185D;
}
.tool-card--instagram .tool-square-action {
  color: #E1306C;
}

/* 3. Facebook Reel Downloader Card (Royal Blue Theme) */
.tool-card--facebook {
  background: linear-gradient(145deg, #EFF6FF 0%, #DBEAFE 45%, #F8FAFC 100%);
  border: 2px solid rgba(24, 119, 242, 0.28);
  box-shadow: 0 8px 24px rgba(24, 119, 242, 0.08);
}
.tool-card--facebook:hover {
  border-color: #1877F2;
  box-shadow: 0 20px 35px -5px rgba(24, 119, 242, 0.28), 0 0 0 1px rgba(24, 119, 242, 0.2);
}
.tool-card--facebook .tool-square-icon {
  background: linear-gradient(135deg, #1877F2 0%, #0D6EFD 100%);
  box-shadow: 0 8px 18px rgba(24, 119, 242, 0.38);
  color: #FFFFFF;
}
.tool-card--facebook .tool-square-badge {
  background: rgba(24, 119, 242, 0.12);
  color: #1877F2;
}
.tool-card--facebook .tool-square-action {
  color: #1877F2;
}

/* 4. Threads Video Downloader Card (Emerald & Mint Theme) */
.tool-card--threads {
  background: linear-gradient(145deg, #F0FDF4 0%, #DCFCE7 45%, #F0FDFA 100%);
  border: 2px solid rgba(16, 185, 129, 0.28);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.08);
}
.tool-card--threads:hover {
  border-color: #10B981;
  box-shadow: 0 20px 35px -5px rgba(16, 185, 129, 0.28), 0 0 0 1px rgba(16, 185, 129, 0.2);
}
.tool-card--threads .tool-square-icon {
  background: linear-gradient(135deg, #10B981 0%, #0D9488 100%);
  box-shadow: 0 8px 18px rgba(16, 185, 129, 0.38);
  color: #FFFFFF;
}
.tool-card--threads .tool-square-badge {
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
}
.tool-card--threads .tool-square-action {
  color: #059669;
}

/* Card Internal Elements */
.tool-square-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  flex-shrink: 0;
}
.tool-square-card:hover .tool-square-icon {
  transform: scale(1.15) rotate(6deg);
}

.tool-square-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.22rem 0.65rem;
  border-radius: 20px;
  margin-bottom: 0.65rem;
}

.tool-square-title {
  font-size: 1.12rem;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 0.35rem;
  line-height: 1.25;
}

.tool-square-desc {
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.48;
  margin: 0 0 0.85rem;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tool-square-action {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 700;
  transition: gap 0.25s ease;
  margin-top: auto;
}
.tool-square-card:hover .tool-square-action {
  gap: 0.7rem;
}

/* Responsive Adaptations */
@media (max-width: 1024px) {
  .tools-overview-grid--4col {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  .tools-overview-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 960px;
  }
  .tool-square-card {
    aspect-ratio: auto;
    min-height: auto;
    padding: 1.85rem 1.25rem;
  }
}

@media (max-width: 860px) {
  .tools-overview-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    gap: 1.25rem;
    margin: 0 auto;
  }
}

@media (max-width: 580px) {
  .tools-overview-grid,
  .tools-overview-grid--4col {
    grid-template-columns: 1fr;
    max-width: 440px;
    gap: 1.15rem;
    margin: 0 auto;
  }
  .tool-square-card {
    padding: 1.65rem 1.15rem;
  }
}

/* ── Rich In-Depth SEO Section ─────────────────────────────── */
.section-seo-guide {
  padding: 4.5rem 0;
  background: #F8FAFC;
}

.seo-guide-container {
  max-width: 920px;
  width: 100%;
  margin: 0 auto;
}

.seo-article-card {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 1.25rem;
  padding: 3rem 2.5rem;
  box-shadow: var(--card-shadow);
  margin-bottom: 2.5rem;
}

.seo-article-card h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--slate-900);
}

.seo-article-card h3 {
  font-size: 1.35rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--slate-900);
}

.seo-article-card p {
  font-size: 1.05rem;
  color: var(--slate-600);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.seo-features-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin: 2.5rem 0;
}

.seo-feature-box {
  background: #F8FAFC;
  border: 1px solid var(--slate-200);
  border-radius: 0.85rem;
  padding: 1.5rem;
}

.seo-feature-box h4 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--slate-800);
}

.seo-feature-box p {
  font-size: 0.95rem;
  color: var(--slate-600);
  margin-bottom: 0;
  line-height: 1.6;
}

/* SEO Comparison Table */
.comparison-table-wrapper {
  overflow-x: auto;
  margin: 2.5rem 0;
  border: 1px solid var(--slate-200);
  border-radius: 1rem;
  background: #fff;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th, .comparison-table td {
  padding: 1.1rem 1.35rem;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--slate-200);
}

.comparison-table th {
  background: #F1F5F9;
  font-weight: 700;
  color: var(--slate-800);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table .highlight-col {
  background: rgba(37, 99, 235, 0.03);
  font-weight: 600;
  color: var(--primary);
}

.badge-yes {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #059669;
  font-weight: 700;
}

.badge-no {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #DC2626;
  font-weight: 600;
}

/* CTA Jump Box */
.cta-jump-card {
  background: linear-gradient(135deg, #1E3A8A, #2563EB, #7C3AED);
  border-radius: 1.25rem;
  padding: 3rem 2rem;
  text-align: center;
  color: #fff;
  box-shadow: 0 15px 35px -5px rgba(37, 99, 235, 0.35);
  margin-top: 3rem;
}

.cta-jump-card h3 {
  color: #fff;
  font-size: 2.1rem;
  margin-bottom: 0.75rem;
}

.cta-jump-card p {
  color: #E0E7FF;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 1.75rem;
}

.btn-cta-jump {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  color: var(--primary);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.9rem 2rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-cta-jump span {
  color: inherit;
  font-weight: inherit;
}

.btn-cta-jump:hover {
  background: #F8FAFC;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  color: var(--primary-hover);
}

/* Tool-specific CTA variants with clear contrast */
.btn-cta-jump--meta {
  background: #ffffff !important;
  color: #2563EB !important;
  font-weight: 700 !important;
}

.btn-cta-jump--meta:hover {
  background: #f1f5f9 !important;
  color: #1d4ed8 !important;
}

.btn-cta-jump--fb {
  background: #1877F2 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.btn-cta-jump--fb:hover {
  background: #1464cc !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(24, 119, 242, 0.45);
}

.btn-cta-jump--insta {
  background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.btn-cta-jump--insta:hover {
  background: linear-gradient(135deg, #e1721b, #c7206b, #70289a) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(221, 42, 123, 0.45);
}

.btn-cta-jump--threads {
  background: #0f172a !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.btn-cta-jump--threads:hover {
  background: #1e293b !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.6);
}

@media (max-width: 768px) {
  .use-cases-grid {
    grid-template-columns: 1fr;
  }
  .seo-article-card {
    padding: 2rem 1.25rem;
  }
}

/* ── Blog Grid & Cards ─────────────────────────────── */
.section-blog {
  padding: 4.5rem 0;
  background: var(--slate-50);
}

.section-blog-home {
  padding: 4.5rem 0 5rem;
  background: #F8FAFC;
}

.section-blog .container,
.section-blog-home .container,
.blog-home-container {
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  width: 100%;
}

@media (max-width: 991px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 640px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

/* ── Related Posts Single-Row Grid ─────────────────────── */
.related-posts-grid {
  width: 100%;
}

@media (max-width: 680px) {
  .related-posts-grid {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    gap: 0.85rem !important;
    padding-bottom: 0.75rem;
    -webkit-overflow-scrolling: touch;
  }
  .related-posts-grid .blog-card {
    flex: 0 0 78% !important;
    min-width: 240px;
    scroll-snap-align: start;
  }
}

.blog-card {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 1.25rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.03);
  position: relative;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 32px -10px rgba(37, 99, 235, 0.2), 0 8px 16px -6px rgba(15, 23, 42, 0.06);
  border-color: rgba(37, 99, 235, 0.4);
}

.blog-thumb-link {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0F172A;
  position: relative;
}

.blog-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card:hover .blog-thumb-img {
  transform: scale(1.08);
}

.blog-body {
  padding: 1.15rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.blog-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--primary);
  background: var(--primary-light);
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
}

.blog-read-time {
  font-size: 0.8rem;
  color: var(--slate-400);
}

.blog-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 auto 0;
  line-height: 1.4;
}

.blog-title a {
  color: var(--slate-900);
  text-decoration: none;
  transition: color 0.25s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card:hover .blog-title a {
  color: var(--primary);
}

.blog-excerpt {
  color: var(--slate-600);
  font-size: 0.92rem;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  line-height: 1.55;
  flex: 1;
}

.blog-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.85rem;
  margin-top: 1rem;
  border-top: 1px solid var(--slate-100);
  font-size: 0.82rem;
  color: var(--slate-500);
}

.blog-view-all-wrap {
  text-align: center;
  margin-top: 3rem;
}

.btn-view-all-posts {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: #ffffff;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 0.85rem 2rem;
  font-size: 0.98rem;
  font-weight: 700;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.12);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-view-all-posts svg {
  transition: transform 0.25s ease;
}

.btn-view-all-posts:hover {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.32);
  transform: translateY(-2px);
}

.btn-view-all-posts:hover svg {
  transform: translateX(4px);
}

/* ── Blog Post Single View ─────────────────────────────── */
.article-container {
  max-width: 820px;
  margin: 3.5rem auto 5rem;
  padding: 0 1.25rem;
}

.article-header {
  margin-bottom: 2rem;
  text-align: left;
}

.article-title {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.28;
  margin-bottom: 1rem;
  text-align: left;
  color: var(--slate-900);
  letter-spacing: -0.02em;
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  color: var(--slate-500);
  font-size: 0.92rem;
  text-align: left;
}

@media (max-width: 768px) {
  .article-title {
    font-size: 1.85rem;
    line-height: 1.3;
  }
  .article-container {
    margin: 2rem auto 3.5rem;
  }
}

.article-featured-img {
  width: 100%;
  border-radius: 1.25rem;
  overflow: hidden;
  margin-bottom: 2.5rem;
  box-shadow: var(--card-shadow);
}

.article-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--slate-700);
}

.article-content h2 {
  font-size: 1.85rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.article-content h3 {
  font-size: 1.45rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.article-content p {
  margin-bottom: 1.5rem;
}

.article-content ul {
  list-style-type: disc !important;
  padding-left: 2rem !important;
  margin: 1rem 0 1.5rem 0 !important;
}

.article-content ol {
  list-style-type: decimal !important;
  padding-left: 2rem !important;
  margin: 1rem 0 1.5rem 0 !important;
}

.article-content li {
  display: list-item !important;
  margin-bottom: 0.5rem !important;
  line-height: 1.75 !important;
  padding-left: 0.35rem !important;
}

.article-content blockquote {
  border-left: 4px solid var(--primary);
  background: var(--primary-light);
  padding: 1.25rem 1.5rem;
  border-radius: 0 0.75rem 0.75rem 0;
  margin: 2rem 0;
  font-style: italic;
  color: var(--slate-800);
}

/* In-Article Images & Captions */
.article-content img,
.article-body-img {
  max-width: 100%;
  height: auto;
  border-radius: 0.85rem;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
  margin: 1.75rem auto;
  display: block;
  border: 1px solid var(--slate-200);
}

.article-content figure,
figure.article-img-wrap {
  margin: 2rem 0;
  text-align: center;
}

.article-content figure img {
  margin: 0 auto 0.6rem;
}

/* Hide all in-article captions and featured image captions as requested */
.article-content figcaption,
.featured-img-caption,
.article-featured-img figcaption,
figure figcaption {
  display: none !important;
}

/* ── Image Alignment Classes (WordPress Compatible) ─────────────── */
.article-content figure.align-center,
.article-content figure.aligncenter,
.article-content img.align-center,
.article-content img.aligncenter {
  display: block;
  margin: 2.25rem auto;
  text-align: center;
  clear: both;
}

.article-content figure.align-left,
.article-content figure.alignleft,
.article-content img.align-left,
.article-content img.alignleft {
  float: left;
  margin: 0.5rem 1.75rem 1.5rem 0;
  max-width: 48%;
  display: block;
}
.article-content figure.align-left img,
.article-content figure.alignleft img {
  margin: 0 0 0.5rem 0;
}
.article-content figure.align-left figcaption,
.article-content figure.alignleft figcaption {
  text-align: left;
}

.article-content figure.align-right,
.article-content figure.alignright,
.article-content img.align-right,
.article-content img.alignright {
  float: right;
  margin: 0.5rem 0 1.5rem 1.75rem;
  max-width: 48%;
  display: block;
}
.article-content figure.align-right img,
.article-content figure.alignright img {
  margin: 0 0 0.5rem auto;
}
.article-content figure.align-right figcaption,
.article-content figure.alignright figcaption {
  text-align: right;
}

.article-content figure.align-full,
.article-content figure.alignfull,
.article-content img.align-full,
.article-content img.alignfull {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 2.5rem 0;
  clear: both;
}
.article-content figure.align-full img,
.article-content figure.alignfull img {
  width: 100%;
}

/* ── In-Article Image Sizing Options (Small, Medium, Large, Full) ────── */
.article-content figure.size-small,
.article-content figure.article-img-wrap.size-small,
.article-content img.size-small,
.article-content img.article-body-img.size-small {
  max-width: 320px;
  width: 100%;
}
.article-content figure.size-small img,
.article-content figure.article-img-wrap.size-small img {
  max-width: 320px;
  width: 100%;
}

.article-content figure.size-medium,
.article-content figure.article-img-wrap.size-medium,
.article-content img.size-medium,
.article-content img.article-body-img.size-medium {
  max-width: 560px;
  width: 100%;
}
.article-content figure.size-medium img,
.article-content figure.article-img-wrap.size-medium img {
  max-width: 560px;
  width: 100%;
}

.article-content figure.size-large,
.article-content figure.article-img-wrap.size-large,
.article-content img.size-large,
.article-content img.article-body-img.size-large {
  max-width: 820px;
  width: 100%;
}
.article-content figure.size-large img,
.article-content figure.article-img-wrap.size-large img {
  max-width: 820px;
  width: 100%;
}

.article-content figure.size-full,
.article-content figure.article-img-wrap.size-full,
.article-content img.size-full,
.article-content img.article-body-img.size-full {
  max-width: 100%;
  width: 100%;
}
.article-content figure.size-full img,
.article-content figure.article-img-wrap.size-full img {
  max-width: 100%;
  width: 100%;
}

.article-content figure.align-center.size-small,
.article-content figure.align-center.size-medium,
.article-content figure.align-center.size-large {
  margin-left: auto;
  margin-right: auto;
}

/* Clearfix for article content so floated images stay contained */
.article-content::after {
  content: "";
  display: table;
  clear: both;
}

@media (max-width: 640px) {
  .article-content figure.align-left,
  .article-content figure.alignleft,
  .article-content figure.align-right,
  .article-content figure.alignright,
  .article-content img.align-left,
  .article-content img.alignleft,
  .article-content img.align-right,
  .article-content img.alignright {
    float: none !important;
    max-width: 100% !important;
    margin: 1.5rem auto !important;
  }
}

/* Category Pills Bar */
.vsv-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  color: var(--slate-700);
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.vsv-cat-pill:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
}

.vsv-cat-pill.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff !important;
}

.vsv-cat-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.1rem 0.45rem;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.06);
  font-size: 0.75rem;
  font-weight: 700;
}

/* Social Share Button */
.vsv-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.vsv-share-btn:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

/* ── Legal & Content Pages ─────────────────────────────── */
.legal-card {
  max-width: 880px;
  margin: 4rem auto 5rem;
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 1.25rem;
  padding: 3rem 2.5rem;
  box-shadow: var(--card-shadow);
}

.legal-card h1 {
  font-size: 2.4rem;
  margin-bottom: 0.5rem;
}

.legal-card .updated-date {
  color: var(--slate-400);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.legal-card h2 {
  font-size: 1.45rem;
  margin-top: 2.25rem;
  margin-bottom: 0.75rem;
  color: var(--slate-900);
}

.legal-card h3 {
  font-size: 1.15rem;
  margin-top: 1.5rem;
  margin-bottom: 0.6rem;
  color: var(--slate-800);
}

.legal-card p, .legal-card li {
  color: var(--slate-600);
  line-height: 1.75;
  font-size: 0.98rem;
  margin-bottom: 1rem;
}

.legal-card ul, .legal-card ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.legal-card li {
  margin-bottom: 0.5rem;
}

.legal-card a {
  color: var(--primary-600);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-card a:hover {
  color: var(--primary-700);
}

.legal-callout {
  background: #F8FAFC;
  border-left: 4px solid var(--primary-500);
  border-radius: 0 0.75rem 0.75rem 0;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.legal-callout-warning {
  background: #FFFBEB;
  border-left: 4px solid #F59E0B;
  border-radius: 0 0.75rem 0.75rem 0;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.legal-callout p, .legal-callout-warning p {
  margin-bottom: 0.5rem;
  color: var(--slate-700);
}

.legal-callout p:last-child, .legal-callout-warning p:last-child {
  margin-bottom: 0;
}

/* Form Styles */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--slate-700);
  margin-bottom: 0.4rem;
}

.form-input, .form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--slate-300);
  border-radius: 0.65rem;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.2s ease;
}

.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

/* ── Clean Centered Footer (Matching versevidsaver.com) ────── */
.vsv-footer {
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  padding: 3.25rem 1.5rem 2.5rem;
  margin-top: auto;
  width: 100%;
  font-family: inherit;
  box-sizing: border-box;
}

.vsv-footer__inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-sizing: border-box;
}

/* Brand Centered */
.vsv-footer__brand {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.vsv-footer__brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: #0f172a;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  transition: opacity 0.2s ease;
}

.vsv-footer__brand-link:hover {
  opacity: 0.9;
}

.vsv-footer__brand-title {
  color: #0f172a;
}

.vsv-footer__brand-title span {
  color: #2563eb;
}

.vsv-footer__tagline {
  color: #64748b;
  font-size: 0.92rem;
  margin: 0.45rem 0 0 0;
  font-weight: 500;
}

/* Rows common */
.vsv-footer__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 100%;
}

/* Row 1: Primary Links */
.vsv-footer__row--primary {
  gap: 10px 24px;
  margin-bottom: 1.15rem;
}

.vsv-footer__row--primary a {
  color: #334155;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.vsv-footer__row-icon {
  font-size: 0.95rem;
  display: inline-block;
}

.vsv-footer__row--primary a:hover {
  color: #2563eb;
}

/* Row 2: Legal Links */
.vsv-footer__row--legal {
  gap: 8px 22px;
  margin-bottom: 0.85rem;
}

.vsv-footer__row--legal a {
  color: #64748b;
  font-size: 0.84rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease;
  white-space: nowrap;
}

.vsv-footer__row--legal a:hover {
  color: #2563eb;
}

/* Row 3: Technical Links */
.vsv-footer__row--tech {
  gap: 8px 20px;
  margin-bottom: 1.35rem;
}

.vsv-footer__row--tech a {
  color: #64748b;
  font-size: 0.84rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease;
  white-space: nowrap;
}

.vsv-footer__row--tech a:hover {
  color: #2563eb;
}

/* Row 4: Languages */
.vsv-footer__row--langs {
  gap: 8px 16px;
  margin-bottom: 1.75rem;
  max-width: 980px;
}

.vsv-footer-lang-link {
  background: none;
  border: none;
  font-size: 0.82rem;
  color: #64748b;
  cursor: pointer;
  padding: 2px 4px;
  transition: color 0.15s ease;
  font-family: inherit;
  border-radius: 4px;
  line-height: 1.4;
}

.vsv-footer-lang-link:hover,
.vsv-footer-lang-link.active {
  color: #2563eb;
  font-weight: 600;
}

/* Row 5: Copyright & Disclaimer */
.vsv-footer__bottom {
  font-size: 0.8rem;
  color: #94a3b8;
  line-height: 1.6;
}

.vsv-footer__bottom p {
  margin: 0;
}

.vsv-footer__disclaimer {
  margin-top: 0.35rem !important;
  max-width: 800px;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .vsv-footer {
    padding: 2.25rem 1rem 2rem;
  }
  .vsv-footer__row--primary {
    gap: 8px 16px;
  }
  .vsv-footer__row--legal {
    gap: 6px 16px;
  }
  .vsv-footer__row--tech {
    gap: 6px 16px;
  }
  .vsv-footer__row--langs {
    gap: 6px 12px;
  }
}

/* Modal for Video Preview */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-content {
  background: #000;
  border-radius: 1rem;
  overflow: hidden;
  max-width: 720px;
  width: 100%;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #fff;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}
.modal-close:hover {
  background: rgba(255, 255, 255, 0.4);
}

/* Toast */
.toast-msg {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--slate-900);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 0.65rem;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  z-index: 9999;
  display: none;
  animation: slideInUp 0.3s ease-out;
}

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

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

/* ── Responsive Optimization (Desktop & Mobile Friendly) ─────────────────────────────── */
@media (max-width: 992px) {
  .hero-title { font-size: 2.35rem; }
  .result-card { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .vsv-nav__inner {
    height: 64px;
    padding: 0 1.25rem;
  }
  .vsv-nav__brand {
    font-size: 1.2rem;
    gap: 0.5rem;
  }
  .vsv-nav__brand-icon {
    width: 32px;
    height: 32px;
  }
  .vsv-nav__links {
    display: none; /* Hidden on mobile & small tablet; shown in drawer */
  }
  .vsv-nav__hamburger {
    display: flex; /* Visible on mobile & small tablet */
  }
}

@media (max-width: 768px) {

  .hero-section {
    padding: 2.75rem 0 3.25rem;
  }
  .hero-badge {
    font-size: 0.78rem;
    padding: 0.35rem 0.85rem;
    margin-bottom: 1rem;
  }
  .hero-title {
    font-size: 1.85rem;
    line-height: 1.25;
  }
  .hero-subtitle {
    font-size: 0.98rem;
    margin-bottom: 1.75rem;
    padding: 0 0.5rem;
  }

  .downloader-box {
    padding: 1.15rem 0.95rem;
    border-radius: 1.25rem;
  }
  .downloader-tabs {
    width: 100%;
    flex-wrap: wrap;
    gap: 0.25rem;
    padding: 0.25rem;
  }
  .downloader-tab {
    flex: 1 1 auto;
    justify-content: center;
    padding: 0.45rem 0.65rem;
    font-size: 0.82rem;
  }

  .input-wrapper {
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
    gap: 0.75rem;
    border-radius: 0.85rem;
  }
  .input-icon {
    display: none; /* Hide leading icon on small mobile to save horizontal space */
  }
  .url-input {
    font-size: 0.95rem;
    padding: 0.25rem 0;
  }
  .input-actions {
    width: 100%;
    justify-content: flex-end;
  }
  .btn-download-main {
    width: 100%;
    margin-left: 0;
    padding: 0.85rem 1.25rem;
    font-size: 1rem;
    border-radius: 0.65rem;
  }

  .downloader-hint {
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.8rem;
    margin-top: 0.85rem;
  }

  .result-card {
    grid-template-columns: 1fr;
    padding: 1rem;
    gap: 1rem;
  }
  .result-links-grid {
    flex-direction: column;
  }
  .btn-download-stream {
    width: 100%;
    justify-content: center;
  }

  .use-cases-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
  .use-case-card {
    padding: 1rem 1.15rem;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .seo-article-card {
    padding: 2rem 1.25rem;
  }
  .seo-article-card h2 {
    font-size: 1.6rem;
  }
  .seo-article-card h3 {
    font-size: 1.25rem;
  }
  .seo-features-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .faq-question {
    padding: 1.1rem 1.25rem;
    font-size: 0.98rem;
  }
  .faq-answer {
    padding: 0 1.25rem 1.15rem;
    font-size: 0.92rem;
  }

  .legal-card {
    padding: 2rem 1.25rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.65rem;
  }
  .btn-paste, .btn-clear {
    padding: 0.45rem 0.65rem;
    font-size: 0.8rem;
  }
  .cta-jump-card {
    padding: 2rem 1.25rem;
  }
  .cta-jump-card h3 {
    font-size: 1.5rem;
  }
  .btn-cta-jump {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1.25rem;
    font-size: 0.95rem;
  }
}

/* ── AI Prompt Box with One-Click Copy & Share ─────────────── */
.ai-prompt-box {
  margin: 2rem 0;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 1rem;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  overflow: hidden;
  transition: all 0.25s ease;
  position: relative;
}

.ai-prompt-box:hover {
  border-color: #CBD5E1;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.ai-prompt-content {
  padding: 1.25rem 1.5rem;
  color: #1E293B;
  font-size: 0.98rem;
  line-height: 1.75;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 280px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #6366F1 #F1F5F9;
}

.ai-prompt-content::-webkit-scrollbar {
  width: 6px;
}
.ai-prompt-content::-webkit-scrollbar-track {
  background: #F1F5F9;
  border-radius: 4px;
}
.ai-prompt-content::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #6366F1 0%, #8B5CF6 100%);
  border-radius: 4px;
}

.ai-prompt-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  background: #F8FAFC;
  border-top: 1px solid #E2E8F0;
  flex-wrap: wrap;
}

/* Compact, smaller buttons as requested ("button thode chhote hone chahiye") */
.btn-prompt-copy,
.btn-prompt-share {
  border: none;
  outline: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 0.45rem 1rem;
  border-radius: 0.55rem;
  color: #FFFFFF !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
  text-decoration: none;
  line-height: 1.4;
}

/* Copy Prompt Button - Rich Indigo/Purple Gradient */
.btn-prompt-copy {
  background: linear-gradient(135deg, #6366F1 0%, #4F46E5 100%);
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.28);
}
.btn-prompt-copy:hover {
  background: linear-gradient(135deg, #4F46E5 0%, #4338CA 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.38);
}
.btn-prompt-copy.copied {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%) !important;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3) !important;
}

/* Share Prompt Button - Vibrant Orange/Coral Gradient */
.btn-prompt-share {
  background: linear-gradient(135deg, #FF6B4A 0%, #FF4500 100%);
  box-shadow: 0 2px 8px rgba(255, 69, 0, 0.28);
}
.btn-prompt-share:hover {
  background: linear-gradient(135deg, #FF4500 0%, #E03E00 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 69, 0, 0.38);
}
.btn-prompt-share.shared {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%) !important;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3) !important;
}

.btn-prompt-icon {
  font-size: 0.95rem;
  line-height: 1;
}

/* Toast Message Pill */
.toast-msg {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  padding: 0.65rem 1.35rem;
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.toast-msg.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 640px) {
  .ai-prompt-content {
    padding: 1rem 1.15rem;
    font-size: 0.92rem;
  }
  .ai-prompt-actions {
    padding: 0.65rem 1rem;
    gap: 0.5rem;
  }
  .btn-prompt-copy,
  .btn-prompt-share {
    flex: 1 1 auto;
    font-size: 0.8rem;
    padding: 0.42rem 0.85rem;
  }
}

/* =========================================================
   FAQ Accordion Component for Blog Posts & Articles
   ========================================================= */
.faq-section {
  margin: 2.5rem 0;
}
.faq-section-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.faq-item {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 0.85rem;
  margin-bottom: 0.85rem;
  overflow: hidden;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}
.faq-item:hover {
  border-color: #CBD5E1;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}
.faq-item[open] {
  border-color: #BFDBFE;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.08);
}
.faq-question {
  cursor: pointer;
  padding: 1.1rem 1.35rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: #0F172A;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #F8FAFC;
  user-select: none;
  list-style: none;
  transition: background-color 0.2s ease;
}
.faq-question::-webkit-details-marker {
  display: none;
}
.faq-item[open] .faq-question {
  background: #EFF6FF;
  color: #1D4ED8;
}
.faq-q-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: #DBEAFE;
  color: #2563EB;
  font-size: 0.82rem;
  font-weight: 800;
  flex-shrink: 0;
}
.faq-item[open] .faq-q-badge {
  background: #2563EB;
  color: #FFFFFF;
}
.faq-q-text {
  flex: 1;
  line-height: 1.4;
}
.faq-chevron {
  width: 20px;
  height: 20px;
  color: #64748B;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.faq-item[open] .faq-chevron,
.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: #2563EB;
}
.faq-answer {
  padding: 1.25rem 1.35rem;
  color: #334155;
  font-size: 0.98rem;
  line-height: 1.75;
  background: #FFFFFF;
  border-top: 1px solid #E2E8F0;
}
.faq-item[open] > .faq-answer,
details.faq-item[open] > .faq-answer,
.faq-item.active .faq-answer,
details.faq-item.active > .faq-answer {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}
.faq-answer p:last-child {
  margin-bottom: 0;
}

/* Editor-only delete elements are hidden on frontend & public view */
.btn-prompt-delete,
.prompt-editor-delete-badge,
.faq-editor-delete-badge {
  display: none !important;
}

/* ── About the Founder Page ────────────────────────────── */
.founder-section {
  padding: 3.5rem 1.25rem 5rem;
  background: #F8FAFC;
  min-height: calc(100vh - 72px - 250px);
}

.founder-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3rem;
}

.founder-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-light, #EFF6FF);
  color: var(--primary, #2563EB);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.4rem 1.15rem;
  border-radius: 9999px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

.founder-header-title {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.founder-header-desc {
  font-size: 1.15rem;
  color: var(--slate-600);
  line-height: 1.6;
  margin: 0 auto;
}

.founder-card {
  max-width: 820px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: 1.5rem;
  padding: 3.25rem 3rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.04), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
}

.founder-profile-top {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  padding-bottom: 2.25rem;
  margin-bottom: 2.25rem;
  border-bottom: 1px solid var(--slate-100);
}

.founder-avatar {
  width: 88px;
  height: 88px;
  border-radius: 1.25rem;
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 2.5rem;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.28);
}

.founder-profile-info h2 {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--slate-900);
  margin: 0 0 0.3rem 0;
  letter-spacing: -0.01em;
}

.founder-profile-info .founder-role {
  color: var(--primary, #2563EB);
  font-weight: 700;
  font-size: 1.05rem;
  margin: 0 0 0.35rem 0;
}

.founder-profile-info .founder-bio {
  color: var(--slate-500);
  font-size: 0.92rem;
  margin: 0;
}

.founder-prose {
  color: var(--slate-700);
  line-height: 1.8;
  font-size: 1.05rem;
}

.founder-prose h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--slate-900);
  margin-top: 2.25rem;
  margin-bottom: 0.85rem;
  letter-spacing: -0.01em;
}

.founder-prose h3:first-of-type {
  margin-top: 0;
}

.founder-prose p {
  margin-bottom: 1.25rem;
  color: var(--slate-700);
}

.founder-commit-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.founder-commit-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 1.02rem;
  color: var(--slate-700);
  line-height: 1.6;
}

.founder-commit-icon {
  width: 20px;
  height: 20px;
  color: #16A34A;
  flex-shrink: 0;
  margin-top: 3px;
}

.founder-cta-wrap {
  text-align: center;
  margin-top: 2.75rem;
}

.btn-founder-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 1.05rem;
  padding: 0.95rem 2.25rem;
  border-radius: 0.85rem;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(220, 38, 38, 0.38);
  transition: all 0.25s ease;
}

.btn-founder-cta:hover {
  background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(220, 38, 38, 0.5);
}

@media (max-width: 768px) {
  .founder-section {
    padding: 2.5rem 1rem 4rem;
  }
  .founder-card {
    padding: 2rem 1.5rem;
    border-radius: 1.25rem;
  }
  .founder-profile-top {
    flex-direction: column;
    text-align: center;
    gap: 1.25rem;
  }
  .founder-header-title {
    font-size: 2.15rem;
  }
}

/* ── Homepage Magazine-Style Featured Blog Layout ─────────────── */
.section-blog-magazine {
  padding: 4.5rem 0 5rem;
  background: #ffffff;
  border-top: 1px solid var(--slate-200);
}

.magazine-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.magazine-home-wrap {
  width: 100%;
}

.magazine-showcase {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 1.75rem;
  margin-bottom: 1.75rem;
  align-items: stretch;
}

/* Primary Featured Editorial Card */
.magazine-hero-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: 1.5rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.05), 0 8px 10px -6px rgba(15, 23, 42, 0.02);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.magazine-hero-card:hover {
  transform: translateY(-6px);
  border-color: rgba(37, 99, 235, 0.4);
  box-shadow: 0 25px 35px -10px rgba(37, 99, 235, 0.18), 0 12px 16px -6px rgba(15, 23, 42, 0.06);
}

.magazine-hero-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9.5;
  overflow: hidden;
  background: #0f172a;
}

.magazine-hero-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.magazine-hero-card:hover .magazine-hero-thumb img {
  transform: scale(1.06);
}

.magazine-hero-badges {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 2;
}

.magazine-badge-featured {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.85rem;
  background: linear-gradient(135deg, #2563EB 0%, #7C3AED 100%);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  border-radius: 9999px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.magazine-badge-cat {
  padding: 0.35rem 0.75rem;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.magazine-hero-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.magazine-hero-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--slate-500);
  margin-bottom: 0.75rem;
}

.magazine-hero-title {
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--slate-900);
  margin: 0 0 0.85rem;
  transition: color 0.25s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.magazine-hero-card:hover .magazine-hero-title {
  color: var(--primary);
}

.magazine-hero-excerpt {
  font-size: 0.95rem;
  color: var(--slate-600);
  line-height: 1.6;
  margin: 0 0 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.magazine-hero-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid var(--slate-100);
}

.magazine-author-pill {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.magazine-author-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563EB, #9333EA);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.82rem;
}

.magazine-author-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--slate-700);
}

.magazine-read-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  transition: gap 0.2s ease;
}

.magazine-hero-card:hover .magazine-read-btn {
  gap: 0.65rem;
}

/* Secondary Stories Stack (Right Column) */
.magazine-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.magazine-compact-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: 1.25rem;
  padding: 1rem;
  display: flex;
  gap: 1.15rem;
  align-items: center;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03);
}

.magazine-compact-card:hover {
  transform: translateX(4px);
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 12px 20px -6px rgba(37, 99, 235, 0.12);
  background: #fbfdff;
}

.magazine-compact-thumb {
  width: 130px;
  height: 95px;
  border-radius: 0.85rem;
  overflow: hidden;
  flex-shrink: 0;
  background: #0f172a;
}

.magazine-compact-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.magazine-compact-card:hover .magazine-compact-thumb img {
  transform: scale(1.08);
}

.magazine-compact-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.magazine-compact-top {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.35rem;
}

.magazine-compact-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: 0.18rem 0.55rem;
  border-radius: 9999px;
  letter-spacing: 0.03em;
}

.magazine-compact-time {
  font-size: 0.75rem;
  color: var(--slate-400);
}

.magazine-compact-title {
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.38;
  color: var(--slate-900);
  margin: 0 0 0.35rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.magazine-compact-card:hover .magazine-compact-title {
  color: var(--primary);
}

.magazine-compact-date {
  font-size: 0.78rem;
  color: var(--slate-400);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* Secondary Lower Row (Magazine Bottom Grid) */
.magazine-bottom-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.magazine-grid-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: 1.25rem;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.04);
}

.magazine-grid-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 16px 24px -8px rgba(37, 99, 235, 0.12);
}

.magazine-grid-thumb {
  width: 170px;
  aspect-ratio: 4 / 3;
  flex-shrink: 0;
  overflow: hidden;
  background: #0f172a;
}

.magazine-grid-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.magazine-grid-card:hover .magazine-grid-thumb img {
  transform: scale(1.06);
}

.magazine-grid-body {
  padding: 1.15rem 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  min-width: 0;
}

.magazine-grid-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--slate-900);
  margin: 0.35rem 0 0.5rem;
  line-height: 1.38;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.magazine-grid-card:hover .magazine-grid-title {
  color: var(--primary);
}

.magazine-grid-excerpt {
  font-size: 0.85rem;
  color: var(--slate-500);
  line-height: 1.45;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Platform Guide Section (About Site & How to Use) ─────────── */
.section-platform-guide {
  padding: 5rem 0;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-top: 1px solid var(--slate-200);
}

.platform-guide-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  margin-top: 3rem;
}

.platform-guide-card {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: 1.5rem;
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.platform-guide-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--card-accent, #2563eb), transparent);
}

.platform-guide-card--meta { --card-accent: #2563eb; }
.platform-guide-card--facebook { --card-accent: #1877f2; }
.platform-guide-card--instagram { --card-accent: #e1306c; }
.platform-guide-card--threads { --card-accent: #10b981; }

.platform-guide-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 32px -10px rgba(15, 23, 42, 0.1);
  border-color: rgba(37, 99, 235, 0.35);
}

.platform-guide-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.platform-guide-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.platform-guide-card--meta .platform-guide-icon {
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
}
.platform-guide-card--facebook .platform-guide-icon {
  background: rgba(24, 119, 242, 0.1);
  color: #1877f2;
}
.platform-guide-card--instagram .platform-guide-icon {
  background: rgba(225, 48, 108, 0.1);
  color: #e1306c;
}
.platform-guide-card--threads .platform-guide-icon {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
}

.platform-guide-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--slate-900);
  margin: 0 0 0.25rem;
}

.platform-guide-tagline {
  font-size: 0.85rem;
  color: var(--slate-500);
  margin: 0;
}

.platform-guide-desc {
  font-size: 0.95rem;
  color: var(--slate-600);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.platform-steps-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
  background: #f8fafc;
  padding: 1.25rem 1.35rem;
  border-radius: 1rem;
  border: 1px solid var(--slate-100);
}

.platform-step-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: var(--slate-700);
  line-height: 1.45;
}

.step-num-badge {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--slate-900);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}

.platform-guide-card--meta .step-num-badge { background: #2563eb; }
.platform-guide-card--facebook .step-num-badge { background: #1877f2; }
.platform-guide-card--instagram .step-num-badge { background: #e1306c; }
.platform-guide-card--threads .step-num-badge { background: #059669; }

.platform-guide-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.5rem;
  border-radius: 0.85rem;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.25s ease;
  width: 100%;
  text-align: center;
}

.platform-guide-card--meta .platform-guide-cta {
  background: #2563eb;
  color: #ffffff;
}
.platform-guide-card--meta .platform-guide-cta:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
}

.platform-guide-card--facebook .platform-guide-cta {
  background: #1877f2;
  color: #ffffff;
}
.platform-guide-card--facebook .platform-guide-cta:hover {
  background: #1565c0;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(24, 119, 242, 0.35);
}

.platform-guide-card--instagram .platform-guide-cta {
  background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af);
  color: #ffffff;
}
.platform-guide-card--instagram .platform-guide-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(221, 42, 123, 0.35);
}

.platform-guide-card--threads .platform-guide-cta {
  background: #0f172a;
  color: #ffffff;
}
.platform-guide-card--threads .platform-guide-cta:hover {
  background: #000000;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.35);
}

/* Responsive Rules for Platform Guide */
@media (max-width: 991px) {
  .magazine-showcase {
    grid-template-columns: 1fr;
  }
  .magazine-bottom-grid {
    grid-template-columns: 1fr;
  }
  .platform-guide-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .magazine-compact-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .magazine-compact-thumb {
    width: 100%;
    height: 160px;
  }
  .magazine-grid-card {
    flex-direction: column;
  }
  .magazine-grid-thumb {
    width: 100%;
    height: 170px;
  }
}

