/* Save2Mate.com — Mobile-Perfect SaaS Design System */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Slate & Glass Depth.
     2026-08-24 sharpening pass: the surfaces used to be quite transparent and the
     borders nearly invisible, which on a dark page reads as soft and muddy. Cards are
     now close to solid and the edges carry real contrast, because on dark UI the thing
     the eye reads as "sharp" is edge contrast, not shadow. */
  --bg-app: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F1F5F9;
  --bg-input: #FFFFFF;
  --bg-surface: #FFFFFF;
  --bg-elevated: #F8FAFC;

  /* Borders */
  --border-glass: #E2E8F0;
  --border-glass-hover: #CBD5E1;
  --border-focus: #3B82F6;

  /* Gradients */
  --insta-gradient: linear-gradient(135deg, #f58529 0%, #dd2a7b 50%, #8134af 100%);
  --yt-gradient: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
  --fb-gradient: linear-gradient(135deg, #1877f2 0%, #0c56b8 100%);
  --primary-gradient: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  --primary-glow: rgba(37, 99, 235, 0.25);

  /* High-Contrast Colors */
  --text-main: #0F172A;
  --text-sub: #475569;
  --text-muted: #94A3B8;
  --text-white: #0F172A;
  --text-blue: #2563EB;

  /* Backwards-compatible aliases used by the legal/contact pages. Keeping these
     mapped to the live design tokens prevents an invalid var() from dropping an
     entire colour, border or radius declaration in the browser. */
  --text-primary: var(--text-main);
  --text-secondary: var(--text-sub);
  --border-subtle: var(--border-glass);
  --radius-md: var(--r-md);
  --radius-lg: var(--r-lg);
  --font-heading: var(--font-display);

  /* Typography */
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-text: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Radii */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-pill: 9999px;

  /* Shadows */
  --shadow-ambient: 0 16px 36px -6px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.03);
  --shadow-glow: 0 0 20px rgba(37, 99, 235, 0.16);
  --shadow-card: 0 1px 3px rgba(15, 23, 42, 0.04), 0 10px 24px -5px rgba(15, 23, 42, 0.05);

  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
  background-color: var(--bg-app);
}

a, a:link, a:visited {
  color: inherit;
  text-decoration: none;
}

body {
  font-family: var(--font-text);
  background-color: var(--bg-app);
  background-image:
    radial-gradient(at 0% 0%, rgba(99, 102, 241, 0.05) 0px, transparent 45%),
    radial-gradient(at 100% 0%, rgba(14, 165, 233, 0.05) 0px, transparent 45%),
    radial-gradient(at 50% 100%, rgba(241, 245, 249, 0.6) 0px, transparent 70%);
  background-attachment: fixed;
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Keyboard users need to see where they are. `:focus-visible` (not `:focus`) so a
   mouse click on a button does not leave a ring behind. */
:focus-visible {
  outline: 2px solid var(--border-focus);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}

/* Accessibility: Skip to Content */
.skip-to-content {
  position: absolute;
  top: -100px;
  left: 16px;
  background: #2563EB;
  color: #FFFFFF !important;
  padding: 12px 20px;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--r-md);
  z-index: 99999;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
  transition: top 0.2s var(--ease-spring);
}
.skip-to-content:focus {
  top: 16px;
  outline: 3px solid #60A5FA;
}

/* Fluid Safe Container */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3.5vw, 28px);
  box-sizing: border-box;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--border-glass);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  box-shadow: 0 1px 3px 0 rgba(15, 23, 42, 0.04);
  overflow: visible !important;
}

.site-header .container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(12px, 1.5vw, 20px);
  width: 100%;
  box-sizing: border-box;
  overflow: visible !important;
}

@media (min-width: 641px) {
  .header-inner {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    min-height: 64px !important;
    height: 64px !important;
    width: 100% !important;
    gap: clamp(8px, 1.1vw, 16px);
    box-sizing: border-box;
    overflow: visible !important;
  }

  .header-top-row {
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
    width: auto !important;
    height: auto !important;
  }

  .brand-logo {
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
  }

  .header-nav {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    overflow: visible !important;
    padding-right: 0 !important;
  }

  .header-nav .nav-links {
    margin: 0 auto;
  }
}

/* Desktop Centering: Perfectly align Navigation Pills in the horizontal center of the header */
@media (min-width: 1024px) {
  .header-inner {
    display: grid !important;
    grid-template-columns: 1fr auto 1fr !important;
    align-items: center !important;
    justify-content: stretch !important;
  }

  .header-top-row {
    grid-column: 1 !important;
    justify-self: start !important;
  }

  .header-nav {
    grid-column: 2 !important;
    justify-self: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
  }
}

/* Tablet Portrait & Small Tablets (641px to 900px) */
@media (min-width: 641px) and (max-width: 900px) {
  .site-header .container {
    padding: 0 14px;
  }

  .header-inner {
    height: 64px !important;
    min-height: 64px !important;
    gap: 12px !important;
  }

  .brand-logo {
    font-size: 1.55rem !important;
    gap: 8px !important;
  }

  .logo-badge {
    width: 36px !important;
    height: 36px !important;
    border-radius: 10px !important;
  }

  .site-header .nav-links {
    padding: 3px 5px !important;
    gap: 3px !important;
    flex-shrink: 0 !important;
    width: max-content !important;
  }

  .site-header .nav-links a {
    padding: 5px 8px !important;
    font-size: 0.76rem !important;
    gap: 4px !important;
    flex-shrink: 0 !important;
  }

  .site-header .nav-links a .nav-icon {
    width: 15px !important;
    height: 15px !important;
    min-width: 15px !important;
  }
}

.header-right-actions {
  display: none !important;
}

.brand-logo, .brand-logo:visited {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: #0F172A !important;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.76rem;
  letter-spacing: -0.04em;
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-icon, svg.brand-icon {
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  max-width: 34px !important;
  color: #2563EB;
  flex-shrink: 0;
}

.input-icon, svg.input-icon {
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  max-width: 20px !important;
  color: var(--text-muted);
  flex-shrink: 0;
}

.logo-badge {
  width: 40px;
  height: 40px;
  background: var(--primary-gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  font-size: 0;
  line-height: 0;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  position: relative;
  overflow: hidden;
}

.logo-badge::before {
  content: '';
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDAgMTAwIj48cG9seWdvbiBmaWxsPSIjZmZmZmZmIiBwb2ludHM9IjU2LjAsOC4wIDI4LjAsNTQuMCA0Ni4wLDU0LjAgMzguMCw5Mi4wIDcyLjAsNDQuMCA1My4wLDQ0LjAgNjQuMCw4LjAiLz48L3N2Zz4=") center / contain no-repeat;
  display: block;
}

.logo-badge:has(svg)::before {
  display: none;
}

.logo-badge svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ==========================================================================
   Save2Mate Luxury Dropdown Navigation System
   Bespoke Glassmorphism, Micro-Typography & Multi-Layer Ambient Elevation
   ========================================================================== */

.nav-links {
  display: flex;
  align-items: center;
  margin: 0;
  gap: 3px;
  list-style: none;
  background: rgba(241, 245, 249, 0.9);
  border: 1px solid #E2E8F0;
  padding: 3px 6px;
  border-radius: var(--r-pill);
  overflow: visible !important;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

/* Nav Buttons & Triggers */
.nav-btn,
.nav-btn:link,
.nav-btn:visited,
.nav-links a,
.nav-links a:link,
.nav-links a:visited {
  color: var(--text-sub) !important;
  text-decoration: none;
  font-size: 0.83rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.3;
}

.nav-btn .nav-icon,
.nav-links a .nav-icon {
  width: 15px;
  height: 15px;
  min-width: 15px;
  max-width: 15px;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

.nav-btn:hover,
.nav-links a:hover,
.nav-item.has-dropdown:hover .nav-btn,
.nav-item.has-dropdown.is-open .nav-btn {
  color: #0F172A !important;
  background: #FFFFFF;
  border-color: #E2E8F0;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

.nav-btn.active,
.nav-links a.active,
.nav-item.has-active .nav-btn {
  color: #2563EB !important;
  background: #FFFFFF;
  border-color: #CBD5E1;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

/* Micro Chevron Indicator */
.nav-chevron {
  width: 10px;
  height: 10px;
  display: inline-block;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), color 0.18s ease;
  color: #94A3B8;
  stroke-width: 2.2;
  flex-shrink: 0;
}

.nav-item.has-dropdown:hover .nav-chevron,
.nav-item.has-dropdown.is-open .nav-chevron {
  transform: rotate(180deg);
  color: #2563EB;
}

/* ==========================================================================
   Luxury Glassmorphic Dropdown Panel
   ========================================================================== */

.luxury-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(8px) scale(0.97);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px) saturate(190%);
  -webkit-backdrop-filter: blur(20px) saturate(190%);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 20px;
  box-shadow: 0 24px 48px -12px rgba(15, 23, 42, 0.18),
              0 8px 16px -4px rgba(15, 23, 42, 0.06),
              0 0 0 1px rgba(255, 255, 255, 0.9) inset;
  padding: 10px;
  min-width: 320px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.2s;
  z-index: 99999 !important;
}

/* Invisible hover bridge */
.luxury-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 14px;
}

.nav-item.has-dropdown:hover .luxury-dropdown-menu,
.nav-item.has-dropdown:focus-within .luxury-dropdown-menu,
.nav-item.has-dropdown.is-open .luxury-dropdown-menu {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  display: block !important;
  transform: translateX(-50%) translateY(0) scale(1) !important;
}

/* Right-aligned for More Tools */
.luxury-dropdown-menu.menu-align-right {
  left: auto;
  right: 0;
  transform: translateY(8px) scale(0.97);
}

.nav-item.has-dropdown:hover .luxury-dropdown-menu.menu-align-right,
.nav-item.has-dropdown:focus-within .luxury-dropdown-menu.menu-align-right,
.nav-item.has-dropdown.is-open .luxury-dropdown-menu.menu-align-right {
  transform: translateY(0) scale(1) !important;
}

/* Explicit close state when user clicks active trigger */
.nav-item.has-dropdown.user-closed .luxury-dropdown-menu {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  display: none !important;
  transform: translateY(8px) scale(0.97) !important;
}

/* Dropdown Header */
.dropdown-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 10px 8px;
  margin-bottom: 4px;
  border-bottom: 1px solid #F1F5F9;
}

.dropdown-header-title {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94A3B8;
}

.dropdown-header-tag {
  font-size: 0.67rem;
  font-weight: 700;
  color: #2563EB;
  background: #EFF6FF;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid #DBEAFE;
}

/* Dropdown Items List */
.dropdown-items-list {
  display: grid;
  gap: 2px;
}

.luxury-item {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 8px 10px !important;
  border-radius: 14px !important;
  text-decoration: none !important;
  color: var(--text-main) !important;
  transition: all 0.16s cubic-bezier(0.16, 1, 0.3, 1) !important;
  background: transparent !important;
  border: 1px solid transparent !important;
  width: 100% !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

.luxury-item:hover {
  background: #F8FAFC !important;
  border-color: #E2E8F0 !important;
  transform: translateX(3px) !important;
}

.luxury-item.is-current {
  background: #EFF6FF !important;
  border-color: #BFDBFE !important;
}

/* Icon Box */
.item-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.luxury-item:hover .item-icon-box {
  transform: scale(1.08);
}

.item-icon-box svg {
  width: 18px;
  height: 18px;
}

/* Platform-Tuned Gradient Icon Badges */
.yt-box {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.14), rgba(220, 38, 38, 0.05));
  color: #DC2626;
  border: 1px solid rgba(239, 68, 68, 0.22);
}

.insta-box {
  background: linear-gradient(135deg, rgba(225, 48, 108, 0.14), rgba(253, 29, 29, 0.05));
  color: #E1306C;
  border: 1px solid rgba(225, 48, 108, 0.22);
}

.tiktok-box {
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.15), rgba(254, 44, 85, 0.1));
  color: #0F172A;
  border: 1px solid rgba(15, 23, 42, 0.18);
}

.fb-box {
  background: linear-gradient(135deg, rgba(24, 119, 242, 0.14), rgba(37, 99, 235, 0.05));
  color: #1877F2;
  border: 1px solid rgba(24, 119, 242, 0.22);
}

.reddit-box {
  background: linear-gradient(135deg, rgba(255, 69, 0, 0.14), rgba(234, 88, 12, 0.05));
  color: #FF4500;
  border: 1px solid rgba(255, 69, 0, 0.22);
}

.pinterest-box {
  background: linear-gradient(135deg, rgba(230, 0, 35, 0.14), rgba(190, 18, 60, 0.05));
  color: #E60023;
  border: 1px solid rgba(230, 0, 35, 0.22);
}

.snapchat-box {
  background: linear-gradient(135deg, rgba(255, 252, 0, 0.25), rgba(234, 179, 8, 0.12));
  color: #D97706;
  border: 1px solid rgba(234, 179, 8, 0.25);
}

.dailymotion-box {
  background: linear-gradient(135deg, rgba(0, 102, 220, 0.14), rgba(14, 165, 233, 0.05));
  color: #0066DC;
  border: 1px solid rgba(0, 102, 220, 0.22);
}

.twitter-box {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.12), rgba(51, 65, 85, 0.05));
  color: #0F172A;
  border: 1px solid rgba(15, 23, 42, 0.2);
}

.purple-box {
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.14), rgba(124, 58, 237, 0.05));
  color: #7C3AED;
  border: 1px solid rgba(147, 51, 234, 0.22);
}

.blue-box {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.14), rgba(29, 78, 216, 0.05));
  color: #2563EB;
  border: 1px solid rgba(37, 99, 235, 0.22);
}

.guides-box {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.14), rgba(5, 150, 105, 0.05));
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.22);
}

/* Item Text */
.item-text {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  min-width: 0 !important;
  flex: 1 1 auto !important;
  text-align: left !important;
}

.item-title-row {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  min-width: 0 !important;
  flex-wrap: nowrap !important;
}

.item-title {
  font-size: 0.86rem !important;
  font-weight: 700 !important;
  color: #0F172A !important;
  line-height: 1.2 !important;
}

.luxury-item:hover .item-title {
  color: #2563EB !important;
}

.item-sub {
  font-size: 0.72rem !important;
  color: #64748B !important;
  line-height: 1.25 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* Quality & Feature Badges */
.item-badge {
  font-size: 0.62rem !important;
  font-weight: 700 !important;
  padding: 1.5px 6px !important;
  border-radius: 999px !important;
  letter-spacing: 0.02em !important;
  line-height: 1.25 !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

.badge-red { background: #FEF2F2 !important; color: #DC2626 !important; border: 1px solid #FECACA !important; }
.badge-orange { background: #FFF7ED !important; color: #EA580C !important; border: 1px solid #FED7AA !important; }
.badge-purple { background: #FAF5FF !important; color: #7E22CE !important; border: 1px solid #E9D5FF !important; }
.badge-blue { background: #EFF6FF !important; color: #2563EB !important; border: 1px solid #BFDBFE !important; }
.badge-green { background: #F0FDF4 !important; color: #16A34A !important; border: 1px solid #BBF7D0 !important; }
.badge-gray { background: #F1F5F9 !important; color: #475569 !important; border: 1px solid #E2E8F0 !important; }

/* Bento Mega-Menu for More Tools */
.bento-menu {
  min-width: 590px;
  max-width: 620px;
  padding: 16px;
}

.bento-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.bento-col-title {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94A3B8;
  margin-bottom: 6px;
  padding: 0 6px;
}

.bento-footer {
  margin-top: 10px;
  padding: 8px 12px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.73rem;
  color: #64748B;
  font-weight: 600;
}

/* Media Queries for Balanced Header Navigation */
@media (min-width: 1141px) and (max-width: 1280px) {
  .header-inner {
    gap: 12px !important;
  }
}

@media (min-width: 901px) and (max-width: 1140px) {
  .header-inner {
    gap: 8px !important;
  }
  .nav-btn,
  .nav-links a {
    padding: 5px 8px !important;
    font-size: 0.8rem !important;
  }
}

@media (max-width: 900px) {
  .luxury-dropdown-menu {
    position: fixed !important;
    top: 68px !important;
    left: 12px !important;
    right: 12px !important;
    transform: translateY(10px) scale(0.97) !important;
    min-width: 0 !important;
    max-width: none !important;
    width: auto !important;
    max-height: calc(85vh - 70px) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    border-radius: 18px !important;
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(226, 232, 240, 0.9) !important;
    z-index: 99999 !important;
  }
  .nav-item.has-dropdown:hover:not(.is-open) .luxury-dropdown-menu,
  .nav-item.has-dropdown:focus-within:not(.is-open) .luxury-dropdown-menu,
  .nav-item.has-dropdown.user-closed .luxury-dropdown-menu {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    display: none !important;
  }

  .nav-item.has-dropdown.is-open:not(.user-closed) .luxury-dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    display: block !important;
    transform: translateY(0) scale(1) !important;
  }
  .luxury-dropdown-menu.menu-align-right {
    right: 12px !important;
    left: 12px !important;
  }
  .bento-grid-2col {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  .bento-menu {
    min-width: 0 !important;
    max-width: none !important;
  }
}

.header-right-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-header-install {
  display: none !important; /* Mobile only */
  align-items: center;
  gap: 6px;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  color: var(--text-main);
  padding: 6px 12px;
  border-radius: var(--r-pill);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

/* Mobile Quick Home Link in Header */
.mobile-home-icon-btn {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: var(--r-pill);
  color: #38bdf8 !important;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  gap: 4px;
}

/* Breadcrumb Navigation */
.breadcrumb-bar {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  margin: 0 auto 16px;
  font-size: 0.8rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  max-width: 100%;
  box-sizing: border-box;
  flex-wrap: wrap;
  justify-content: center;
}

.breadcrumb-bar a,
.breadcrumb-bar a:link,
.breadcrumb-bar a:visited {
  color: #2563EB !important;
  text-decoration: none !important;
  font-weight: 700 !important;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.breadcrumb-separator {
  color: #94A3B8;
  font-weight: 700;
  padding: 0 2px;
}

.breadcrumb-current {
  color: #0F172A;
  font-weight: 600;
  max-width: 180px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Hero Section */
.hero-section {
  padding: 48px 0 24px;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  color: #2563EB;
  padding: 7px 18px;
  border-radius: var(--r-pill);
  font-size: 0.86rem;
  font-weight: 700;
  margin-bottom: 18px;
  max-width: 100%;
  box-sizing: border-box;
  line-height: 1.35;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.16;
  margin-bottom: 16px;
  color: #0F172A;
  word-break: normal;
  overflow-wrap: break-word;
  padding: 0 8px;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.2vw, 1.18rem);
  color: #475569;
  max-width: 720px;
  margin: 0 auto 28px;
  line-height: 1.6;
  padding: 0 8px;
}

/* Responsive Tool Tabs / Horizontal Scroll on Mobile */
.tool-tabs-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin-bottom: 22px;
  padding: 2px 0;
}

.tool-tabs-wrapper::-webkit-scrollbar {
  display: none;
}

.tool-tabs {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 100%;
  flex-wrap: wrap;
}

.tool-tab,
.tool-tab:link,
.tool-tab:visited {
  padding: 7px 15px;
  border-radius: var(--r-pill);
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  color: #475569 !important;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
  transition: all 0.18s ease;
}

.tool-tab:hover {
  background: #F8FAFC;
  border-color: #CBD5E1;
  color: #0F172A !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.05);
}

.tool-tab.active {
  background: #EFF6FF;
  border-color: #3B82F6;
  color: #2563EB !important;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.15);
}

.tool-tab-home,
.tool-tab-home:link,
.tool-tab-home:visited {
  background: #EFF6FF !important;
  color: #2563EB !important;
  border: 1px solid #BFDBFE !important;
}

.tab-svg-icon {
  width: 15px;
  height: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  vertical-align: -2px;
}

.tab-svg-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.icon-home-color { color: #475569; }
.icon-insta-color { color: #ec4899; }
.icon-yt-color { color: #ef4444; }
.icon-fb-color { color: #3b82f6; }
.icon-mp3-color { color: #2563eb; }
.icon-reels-color { color: #f43f5e; }
.icon-shorts-color { color: #ef4444; }
.icon-photo-color { color: #a855f7; }
.icon-reddit-color { color: #ff4500; }
.icon-pinterest-color { color: #e60023; }
.icon-dailymotion-color { color: #0066dc; }
.icon-snapchat-color { color: #eab308; }

/* ==========================================================================
   Downloader Spotlight Input Box
   ========================================================================== */
.downloader-box {
  width: 100%;
  max-width: 860px;
  margin: 0 auto 24px;
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  border-radius: 22px;
  padding: 8px;
  box-shadow: 0 24px 50px -12px rgba(15, 23, 42, 0.09), 0 0 0 1px rgba(226, 232, 240, 0.8);
  box-sizing: border-box;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.downloader-box:focus-within {
  border-color: #3B82F6;
  box-shadow: 0 0 0 5px rgba(59, 130, 246, 0.16), 0 24px 55px -12px rgba(37, 99, 235, 0.18);
}

.downloader-form {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.input-container {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 14px;
  padding: 6px 10px 6px 16px;
  min-width: 0;
  min-height: 56px;
  box-sizing: border-box;
  transition: border-color 0.18s var(--ease-smooth), background 0.18s var(--ease-smooth);
}

.input-container:focus-within {
  background: #FFFFFF;
  border-color: #3B82F6;
}

.input-icon {
  font-size: 1.2rem;
  color: #94A3B8;
  flex-shrink: 0;
}

.url-input {
  flex: 1;
  background: transparent;
  border: none;
  color: #0F172A;
  font-size: 1.05rem; /* Prevents auto-zoom on iOS while looking prominent */
  font-family: var(--font-text);
  outline: none;
  padding: 10px 0;
  min-width: 0;
  font-weight: 500;
}

.url-input::placeholder {
  color: #94A3B8;
  font-size: 0.95rem;
}

.btn-paste {
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  color: #334155;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.btn-paste:hover {
  background: #E2E8F0;
  color: #0F172A;
  border-color: #94A3B8;
}

.btn-download-primary {
  width: auto;
  flex-shrink: 0;
  background: var(--primary-gradient);
  border: none;
  color: #ffffff;
  padding: 14px 34px;
  border-radius: 14px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  min-height: 56px;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.38);
  box-sizing: border-box;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-download-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.48);
  filter: brightness(1.05);
}

/* AdSense Responsive Slot Container (CLS-Safe) */
.ad-slot-wrapper {
  width: 100%;
  max-width: 728px;
  min-height: 90px;
  margin: 20px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .ad-slot-wrapper {
    min-height: 250px;
  }
}

/* Status / Alerts */
.status-container {
  width: 100%;
  max-width: 760px;
  margin: 0 auto 20px;
  box-sizing: border-box;
}

.loading-state {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  padding: 14px;
  border-radius: var(--r-md);
  color: #0F172A;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.spinner {
  width: 20px;
  height: 20px;
  border: 2.5px solid #E2E8F0;
  border-top-color: #2563EB;
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
  flex-shrink: 0;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.error-alert {
  display: none;
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #DC2626;
  padding: 12px 16px;
  border-radius: var(--r-md);
  font-size: 0.86rem;
  text-align: left;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.06);
}

/* Platform Showcase Cards */
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin: 24px 0 40px;
}

.platform-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--r-lg);
  padding: 22px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  transition: border-color 0.18s var(--ease-smooth), background 0.18s var(--ease-smooth),
    transform 0.18s var(--ease-smooth), box-shadow 0.18s var(--ease-smooth);
}

.platform-card:hover {
  background: #FFFFFF;
  border-color: #CBD5E1;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -4px rgba(15, 23, 42, 0.08);
}

.platform-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.platform-badge-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.badge-insta { background: var(--insta-gradient); }
.badge-yt { background: var(--yt-gradient); }
.badge-fb { background: var(--fb-gradient); }

.platform-card h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 800;
  color: #0F172A;
}

.platform-card p {
  color: #475569;
  font-size: 0.88rem;
  margin-bottom: 14px;
  line-height: 1.5;
}

.platform-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: auto;
}

.platform-mini-pill {
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  padding: 3px 8px;
  border-radius: var(--r-pill);
  font-size: 0.72rem;
  font-weight: 600;
  color: #475569;
}

/* Footer */
.site-footer {
  margin-top: auto;
  border-top: 1px solid #E2E8F0;
  background: #FFFFFF;
  padding: 44px 0 24px;
  width: 100%;
}

.footer-grid {
  display: grid;
  /* brand + Instagram/Legal + YouTube + Social + Guides */
  grid-template-columns: 1.7fr 1fr 1fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
}

/* Desktop layout: Legal & Safety sits in Column 2 right below Instagram Tools */
.footer-col-brand {
  grid-column: 1;
  grid-row: 1 / 3;
}
.footer-col-instagram {
  grid-column: 2;
  grid-row: 1;
}
.footer-col-legal {
  grid-column: 2;
  grid-row: 2;
  margin-top: 14px;
}
.footer-col-youtube {
  grid-column: 3;
  grid-row: 1 / 3;
}
.footer-col-social {
  grid-column: 4;
  grid-row: 1 / 3;
}
.footer-col-guides {
  grid-column: 5;
  grid-row: 1 / 3;
}

/* Five columns get cramped on small laptops and tablets, so fold to a 3-up grid
   before the mobile rule further down takes over at 768px. */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-col-brand,
  .footer-col-instagram,
  .footer-col-legal,
  .footer-col-youtube,
  .footer-col-social,
  .footer-col-guides {
    grid-column: auto;
    grid-row: auto;
    margin-top: 0;
  }
}

/* The 404 page reuses this grid for its three tool columns only, so it must not
   inherit the five-column track list (that left two empty columns behind). */
.footer-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.footer-col h4 {
  font-family: var(--font-display);
  color: #0F172A;
  font-size: 0.92rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 7px;
}

.footer-links a,
.footer-links a:link,
.footer-links a:visited {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  color: #475569 !important;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.4;
  transition: color 0.15s ease, transform 0.15s ease;
}

.footer-links a:hover {
  color: #0F172A !important;
  transform: translateX(2px);
}

.footer-tool-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  display: inline-block;
  margin-top: 2px;
  transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), filter 0.18s ease;
}

.footer-links a:hover .footer-tool-icon {
  transform: scale(1.18);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.12));
}

.icon-tiktok-color {
  color: #0F172A;
}

.footer-bottom {
  border-top: 1px solid #E2E8F0;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: #64748B;
  gap: 10px;
}

/* ==========================================================================
   MOBILE PHONES HEADER (<= 640px)
   ========================================================================== */
@media (max-width: 640px) {
  /* Compact Native-Feel Glass Header with Horizontal Tools Bar for Mobile */
  .site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid #E2E8F0;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
    overflow: visible !important;
  }

  .site-header .container {
    padding: 0 12px;
    overflow: visible !important;
  }

  .header-inner {
    height: auto !important;
    padding: 8px 0 6px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    width: 100% !important;
    box-sizing: border-box;
    overflow: visible !important;
  }

  .header-top-row {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    width: 100% !important;
    height: 42px !important;
  }

  .brand-logo {
    font-size: 1.55rem;
    gap: 10px;
    color: #0F172A !important;
    margin: 0 auto !important;
  }

  .header-right-actions {
    position: absolute !important;
    right: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
  }

  .logo-badge {
    width: 36px;
    height: 36px;
    font-size: 0;
    line-height: 0;
    border-radius: 10px;
  }

  .header-nav {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    padding: 2px 0 2px !important;
    display: block !important;
    box-sizing: border-box;
  }

  .header-nav::-webkit-scrollbar {
    display: none !important;
  }

  .site-header .nav-links {
    display: flex !important;
    flex-wrap: nowrap !important;
    width: max-content !important;
    gap: 6px !important;
    padding: 1px 2px !important;
    background: transparent !important;
    border: none !important;
    margin: 0 !important;
  }

  .site-header .nav-links a,
  .site-header .nav-btn {
    font-size: 0.78rem !important;
    padding: 5px 10px !important;
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: var(--r-pill) !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03) !important;
    flex-shrink: 0 !important;
    gap: 5px !important;
  }

  .site-header .nav-links a .nav-icon,
  .site-header .nav-btn .nav-icon {
    width: 14px !important;
    height: 14px !important;
    min-width: 14px !important;
  }

  .site-header .nav-links a.active,
  .site-header .nav-btn.active,
  .site-header .nav-item.is-open .nav-btn {
    background: #EFF6FF !important;
    border-color: #3B82F6 !important;
    color: #2563EB !important;
    font-weight: 700 !important;
  }

  .btn-header-install {
    display: inline-flex !important;
    padding: 5px 11px;
    font-size: 0.75rem;
    gap: 4px;
    background: #F1F5F9;
    border: 1px solid #E2E8F0;
    color: #0F172A;
  }

  .luxury-dropdown-menu {
    top: 104px !important;
    max-height: calc(85vh - 110px) !important;
  }
}

/* ==========================================================================
   RESPONSIVE DESIGN SYSTEM (<= 768px for layout and body content)
   ========================================================================== */
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  /* Hero Section */
  .hero-section {
    padding: 28px 0 16px;
    text-align: center;
  }

  .hero-badge {
    font-size: 0.76rem;
    padding: 5px 12px;
    margin-bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: var(--r-pill);
    background: #EFF6FF;
    border: 1px solid #BFDBFE;
    color: #2563EB;
    font-weight: 700;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    text-align: center;
  }

  .hero-title {
    font-size: clamp(1.75rem, 6.5vw, 2.35rem);
    line-height: 1.2;
    margin-bottom: 12px;
    letter-spacing: -0.03em;
    font-weight: 900;
    color: #0F172A;
    word-break: normal;
    overflow-wrap: break-word;
    padding: 0 4px;
  }

  .hero-subtitle {
    font-size: 0.94rem;
    line-height: 1.55;
    margin-bottom: 20px;
    color: #475569;
    padding: 0 4px;
  }

  /* Tool Tabs Pills (Horizontal Smooth Scrollable Row) */
  .tool-tabs-wrapper {
    margin-bottom: 18px;
    padding: 2px 0 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    display: block;
    width: 100%;
  }

  .tool-tabs-wrapper::-webkit-scrollbar {
    display: none;
  }

  .tool-tabs {
    display: flex;
    gap: 6px;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding: 0 4px;
    width: max-content;
  }

  .tool-tab {
    padding: 7px 12px;
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: var(--r-pill);
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    color: #475569 !important;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
  }

  .tool-tab.active {
    background: #EFF6FF;
    border-color: #3B82F6;
    color: #2563EB !important;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.15);
  }

  /* Downloader Input Box on Mobile (Spacious, Touch-Friendly, High-Convert) */
  .downloader-box {
    padding: 8px;
    border-radius: 16px;
    background: #FFFFFF;
    border: 1.5px solid #CBD5E1;
    box-shadow: 0 10px 24px -4px rgba(15, 23, 42, 0.08);
    margin-bottom: 24px;
  }

  .downloader-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .input-container {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #F8FAFC;
    border: 1.5px solid #E2E8F0;
    border-radius: 12px;
    padding: 4px 8px 4px 14px;
    min-height: 52px;
    width: 100%;
    box-sizing: border-box;
  }

  .url-input {
    font-size: 16px !important; /* Prevents auto-zoom on iOS */
    padding: 10px 0;
    min-width: 0;
    flex: 1;
    color: #0F172A;
  }

  .url-input::placeholder {
    font-size: 0.9rem;
    color: #94A3B8;
  }

  .btn-paste {
    padding: 9px 14px;
    font-size: 0.82rem;
    font-weight: 800;
    border-radius: 8px;
    background: #F1F5F9;
    border: 1px solid #CBD5E1;
    color: #334155;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
  }

  .btn-download-primary {
    width: 100%;
    min-height: 52px;
    padding: 13px 20px;
    font-size: 1.02rem;
    font-weight: 800;
    border-radius: 12px;
    background: var(--primary-gradient);
    border: none;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
    cursor: pointer;
    box-sizing: border-box;
  }

  .btn-download-primary:active {
    transform: scale(0.98);
  }

  /* Supported Platforms Cards */
  .support-links-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .support-card {
    padding: 14px 16px;
    border-radius: 12px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .support-text {
    flex: 1;
    min-width: 0;
  }

  .support-name {
    font-size: 0.94rem;
    font-weight: 700;
    color: #0F172A;
    display: block;
    margin-bottom: 2px;
  }

  .support-desc {
    font-size: 0.78rem;
    color: #64748B;
    line-height: 1.4;
    display: block;
  }

  .support-arrow {
    flex-shrink: 0;
    color: #2563EB;
    font-size: 1.1rem;
    margin-left: auto;
  }

  /* Guides Cards */
  .platforms-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 20px 0 32px;
  }

  .platform-card {
    padding: 16px;
    border-radius: 12px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
  }

  /* Footer */
  .site-footer {
    padding: 32px 0 20px;
    background: #FFFFFF;
    border-top: 1px solid #E2E8F0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 22px 18px;
    margin-bottom: 20px;
  }

  .footer-col-brand {
    grid-column: 1 / -1;
    grid-row: 1;
    margin-bottom: 8px;
  }

  /* Mobile Row 2: Instagram Tools (left) & YouTube Tools (right) */
  .footer-col-instagram {
    grid-column: 1;
    grid-row: 2;
  }

  .footer-col-youtube {
    grid-column: 2;
    grid-row: 2;
  }

  /* Mobile Row 3: Legal & Safety (left) & Guides & Help (right under YouTube Tools) */
  .footer-col-legal {
    grid-column: 1;
    grid-row: 3;
    margin-top: 0;
  }

  .footer-col-guides {
    grid-column: 2;
    grid-row: 3;
  }

  /* Mobile Row 4: Social & Video Tools placed in the middle */
  .footer-col-social {
    grid-column: 1 / -1;
    grid-row: 4;
    justify-self: center;
    width: fit-content;
    margin-top: 6px;
    text-align: left;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
    padding-top: 14px;
    font-size: 0.76rem;
    color: #64748B;
  }
}
