/* Font fallback to prevent CLS on slow connections */
@font-face {
  font-family: 'Poppins Fallback';
  src: local('Arial');
  ascent-override: 93%;
  descent-override: 25%;
  line-gap-override: 0%;
  size-adjust: 105%;
}
/* DownReels.com — style.css v2.0 */
:root {
  --pink:#E1306C;--purple:#833ab4;--orange:#F77737;
  --green:#00c853;--green-dark:#00a846;
  --blue:#1877f2;--blue-dark:#0d65d9;
  --white:#ffffff;--text:#1a1a1a;--text-muted:#555;--text-light:#888;
  --bg:#f4f6f9;--bg-white:#ffffff;--border:#e4e4e4;--footer-bg:#1a1a1a;
  --grad-hero:linear-gradient(135deg,#833ab4 0%,#c13584 35%,#e1306c 60%,#f77737 100%);
  --grad-green:linear-gradient(135deg,#00c853,#00a846);
  --grad-blue:linear-gradient(135deg,#1877f2,#0d65d9);
  --grad-pink:linear-gradient(135deg,#E1306C,#c13584);
  --shadow-sm:0 2px 8px rgba(0,0,0,.06);--shadow-md:0 4px 20px rgba(0,0,0,.10);
  --shadow-lg:0 8px 40px rgba(0,0,0,.14);
  --shadow-green:0 4px 20px rgba(0,200,83,.40);
  --shadow-blue:0 4px 20px rgba(24,119,242,.35);
  --radius-sm:8px;--radius-md:16px;--radius-lg:24px;--radius-pill:100px;
  --transition:.22s ease;--max-width:1140px;--header-h:68px;
}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
/* Semantic HTML resets */
nav.hero-tabs,ul.hero-badges,ul.faq-list,ul.step-bullets,ul.dark-feat-grid,ul.pills-list,ul.features-list,ul.when-use-list,ol.steps-list{list-style:none;margin:0;padding:0}
li.step-card,li.faq-item,li.badge,li.dark-feat-item,li.feature-pill,li.feature-row,li.when-use-item{list-style:none}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","SF Pro","Plus Jakarta Sans","Poppins",sans-serif;font-size:15px;font-weight:400;line-height:1.7;color:var(--text);background:var(--bg);-webkit-font-smoothing:antialiased}
a{color:#0071e3;text-decoration:none;transition:color var(--transition)}
a:hover{color:#0077ed}
img{max-width:100%;height:auto;display:block}
ul{list-style:none}
h1,h2,h3,h4,h5,h6{font-family:'SF Pro Display',-apple-system,BlinkMacSystemFont,"SF Pro","Helvetica Neue",sans-serif;color:var(--pink);font-weight:700;line-height:1.3;letter-spacing:-.3px}
.container{width:100%;max-width:var(--max-width);margin:0 auto;padding:0 24px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 56px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-sizing: border-box;
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
  transition: opacity 0.2s ease;
}
.nav-logo:hover {
  opacity: 0.85;
}
.nav-logo-icon {
  width: 36px;
  height: 36px;
  display: block;
  flex-shrink: 0;
}
.nav-logo-text {
  font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'SF Pro', 'Helvetica Neue', sans-serif;
  font-size: 21px;
  font-weight: 700;
  color: #000000;
  letter-spacing: -0.03em;
  line-height: 1;
  white-space: nowrap;
}
.nav-logo-text-bold {
  font-weight: 800;
}
.nav-actions-desktop {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-all-tools {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--apple-radius-pill, 980px);
  background: rgba(0, 0, 0, 0.05);
  color: #1d1d1f;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-all-tools:hover {
  background: rgba(0, 0, 0, 0.09);
  transform: translateY(-1px);
}
.lang-static {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--apple-radius-pill, 980px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 12.5px;
  font-weight: 500;
  color: #86868b;
  white-space: nowrap;
}
.nav-hamburger,
.nav-backdrop,
.nav-mobile-menu {
  display: none;
}

/* HERO */
section.hero, .hero{background:var(--grad-hero);padding:56px 0 64px;text-align:center;position:relative;overflow:hidden}
.hero::before{content:'';position:absolute;inset:0;background-image:radial-gradient(circle,rgba(255,255,255,.12) 1.5px,transparent 1.5px);background-size:28px 28px;pointer-events:none}
.hero::after{content:'';position:absolute;bottom:0;left:0;right:0;height:45%;background:linear-gradient(to bottom,rgba(255,240,245,0) 0%,rgba(255,235,242,0.72) 100%);pointer-events:none;z-index:0;contain:layout size}
.hero-content{position:relative;z-index:2}
.hero-content{position:relative;z-index:2;max-width:780px;margin:0 auto}

/* Tabs */
.hero-tabs{display:flex;align-items:center;justify-content:center;gap:10px;margin-bottom:32px;flex-wrap:wrap}
.hero-tab{display:flex;align-items:center;gap:6px;padding:8px 18px;background:rgba(255,255,255,.15);border:1.5px solid rgba(255,255,255,.5);border-radius:var(--radius-pill);font-family:'Poppins',sans-serif;font-size:13px;font-weight:600;color:var(--white);cursor:pointer;transition:background var(--transition),transform var(--transition);white-space:nowrap;text-decoration:none}
.hero-tab:hover{background:rgba(255,255,255,.28);color:var(--white);transform:translateY(-1px)}
.hero-tab.active{background:var(--white);color:var(--pink);border-color:var(--white);box-shadow:0 4px 16px rgba(0,0,0,.15)}
.hero-tab svg{width:16px!important;height:16px!important;min-width:16px;min-height:16px;max-width:16px;max-height:16px;flex-shrink:0}

.hero h1{font-size:clamp(30px,5.5vw,52px);font-weight:800;color:var(--white);margin-bottom:14px;letter-spacing:-.5px;text-shadow:0 2px 12px rgba(0,0,0,.15)}
.hero-sub{font-size:clamp(14px,2.5vw,18px);color:rgba(255,255,255,.90);font-weight:400;margin-bottom:36px;max-width:580px;margin-left:auto;margin-right:auto}

/* ══════════════════════════════════════════════════════════════════════
   APPLE (iOS / macOS Sequoia) WHITE PILL LINK INPUT COMPONENT
   ══════════════════════════════════════════════════════════════════════ */

/* Tool Box — clean wrapper without heavy clashing container */
.tool-box {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: 660px !important;
  margin: 0 auto !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
}

/* White Apple Pill Input Row */
.input-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 660px;
  height: 60px;
  min-height: 60px;
  box-sizing: border-box;
  margin: 0 auto 12px;
  padding: 6px 8px 6px 18px;
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.12) !important;
  border-radius: 999px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04) !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

/* Pill Focus State */
.input-row:focus-within {
  border-color: #0071e3 !important;
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.18), 0 8px 24px rgba(0, 0, 0, 0.12) !important;
}

/* Pill Error State */
.input-row.has-error {
  border-color: #ff3b30 !important;
  box-shadow: 0 0 0 4px rgba(255, 59, 48, 0.18), 0 8px 24px rgba(0, 0, 0, 0.12) !important;
}

/* Small Link Icon on Left (Phosphor link-simple, 20px, dark gray) */
.input-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  min-width: 20px;
  flex-shrink: 0;
  color: #86868b !important;
}
.input-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor !important;
}

/* Hide legacy inline svg gradient icons inside input */
.input-ig-icon {
  display: none !important;
}

/* URL Input — Transparent inside White Pill, Black Text & Black Placeholder */
.url-input {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0 8px 0 0 !important;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  border-radius: inherit;
  font-family: -apple-system, "SF Pro Text", "Inter", system-ui, sans-serif !important;
  font-size: 17px !important;
  font-weight: 400 !important;
  color: #1d1d1f !important;
  -webkit-text-fill-color: #1d1d1f !important;
  caret-color: #0071e3 !important;
  box-sizing: border-box;
}

.url-input::placeholder {
  color: #1d1d1f !important;
  -webkit-text-fill-color: #1d1d1f !important;
  opacity: 0.6 !important;
  font-size: 17px !important;
  font-weight: 400 !important;
}

/* WebKit autofill styling */
.url-input:-webkit-autofill,
.url-input:-webkit-autofill:hover,
.url-input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0px 1000px #ffffff inset !important;
  -webkit-text-fill-color: #1d1d1f !important;
  transition: background-color 5000s ease-in-out 0s;
}

/* Actions wrapper inside the pill */
.input-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

/* Paste Button — Subtle Gray Pill inside White Input */
.btn-paste {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  height: 44px !important;
  padding: 0 18px !important;
  border-radius: 999px !important;
  background: #f5f5f7 !important;
  color: #1d1d1f !important;
  font-family: -apple-system, "SF Pro Text", "Inter", system-ui, sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease !important;
  -webkit-tap-highlight-color: transparent !important;
}
.btn-paste svg {
  width: 17px !important;
  height: 17px !important;
  color: #1d1d1f !important;
  fill: currentColor !important;
  flex-shrink: 0 !important;
}
.btn-paste:hover {
  background: #e8e8ed !important;
}
.btn-paste:active {
  transform: scale(0.97) !important;
  background: #dcdce0 !important;
}
.btn-paste:focus-visible {
  outline: 2px solid #0071e3 !important;
  outline-offset: 2px !important;
}

/* Clear (x) Button */
.btn-clear {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  min-height: 32px !important;
  border-radius: 50% !important;
  background: #e5e5ea !important;
  color: #86868b !important;
  border: none !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  margin-right: 2px !important;
  transition: background 0.15s ease, transform 0.15s ease, color 0.15s ease !important;
  -webkit-tap-highlight-color: transparent !important;
}
.btn-clear svg {
  width: 14px !important;
  height: 14px !important;
  fill: currentColor !important;
}
.btn-clear:hover {
  background: #d1d1d6 !important;
  color: #1d1d1f !important;
}
.btn-clear:active {
  transform: scale(0.92) !important;
}
.btn-clear:focus-visible {
  outline: 2px solid #0071e3 !important;
  outline-offset: 2px !important;
}
.btn-clear.visible,
.input-row.has-text .btn-clear {
  display: flex !important;
}
.input-row.has-text .btn-paste {
  display: none !important;
}

/* DOWNLOAD Button Below */
.btn-download {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  width: 100% !important;
  max-width: 660px !important;
  height: 56px !important;
  margin: 12px auto 0 !important;
  background: linear-gradient(180deg, #0A84FF 0%, #007AFF 100%) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 999px !important;
  font-family: -apple-system, "SF Pro Text", "Inter", system-ui, sans-serif !important;
  font-size: 17px !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em !important;
  text-transform: none !important;
  cursor: pointer !important;
  box-shadow: 0 6px 20px rgba(0, 122, 255, 0.35) !important;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease, opacity 0.2s ease !important;
  -webkit-tap-highlight-color: transparent !important;
  box-sizing: border-box !important;
}
.btn-download .btn-icon {
  width: 20px !important;
  height: 20px !important;
  fill: currentColor !important;
  flex-shrink: 0 !important;
}
.btn-download:hover:not(:disabled) {
  box-shadow: 0 8px 24px rgba(0, 122, 255, 0.45) !important;
}
.btn-download:active:not(:disabled) {
  transform: scale(0.98) !important;
  background: linear-gradient(180deg, #0075eb 0%, #006bd6 100%) !important;
}
.btn-download:disabled {
  opacity: 0.5 !important;
  box-shadow: none !important;
  cursor: not-allowed !important;
  transform: none !important;
}
.btn-download:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.9) !important;
  outline-offset: 3px !important;
}

/* Spinner for Loading State */
.spinner {
  display: none;
  width: 20px;
  height: 20px;
  border: 2.5px solid rgba(255, 255, 255, 0.35);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}
.btn-download.loading .btn-icon {
  display: none !important;
}
.btn-download.loading .spinner {
  display: inline-block !important;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Loading Messages */
.loading-messages{display:none;margin-top:18px;text-align:center;min-height:48px}
.loading-messages.show{display:block}
.loading-msg{display:none;align-items:center;justify-content:center;gap:10px;color:var(--white);font-size:16px;font-weight:700;animation:msgPop .4s ease}
.loading-msg.active{display:flex}
.msg-dot{width:10px;height:10px;border-radius:50%;background:rgba(255,255,255,.6);animation:dotPulse 1.2s ease infinite}
.loading-msg .msg-dot:nth-child(2){animation-delay:.2s}
.loading-msg .msg-dot:nth-child(3){animation-delay:.4s}
@keyframes msgPop{from{opacity:0;transform:translateY(8px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes dotPulse{0%,100%{opacity:.4;transform:scale(.8)}50%{opacity:1;transform:scale(1.2)}}

/* Result Box — Apple-Style Clean Centered Card */
.result-box {
  display: none;
  margin: 28px auto 0 !important;
  width: 100% !important;
  max-width: 540px !important;
  background: #ffffff !important;
  border-radius: 20px !important;
  padding: 24px 20px !important;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04) !important;
  border: 1px solid rgba(0, 0, 0, 0.07) !important;
  text-align: center !important;
  box-sizing: border-box !important;
  animation: fadeUp .35s ease;
}
.result-box.show {
  display: block !important;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.result-inner {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  margin: 0 auto !important;
  gap: 16px !important;
}

.result-label {
  font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 14.5px !important;
  font-weight: 600 !important;
  color: #1d1d1f !important;
  margin: 0 0 2px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
}
.result-label .check {
  color: #34c759 !important;
  font-size: 16px !important;
  font-weight: 700 !important;
}

.result-thumb-wrap {
  position: relative !important;
  width: 100% !important;
  max-width: 360px !important;
  margin: 0 auto !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08) !important;
  background: #f5f5f7 !important;
}
.result-thumb {
  width: 100% !important;
  max-width: 360px !important;
  height: auto !important;
  max-height: 380px !important;
  object-fit: cover !important;
  display: none;
  margin: 0 auto !important;
  border-radius: 14px !important;
  transition: transform .3s ease;
}
.result-thumb.loaded {
  display: block !important;
}
.result-thumb-wrap:hover .result-thumb {
  transform: scale(1.02);
}

.thumb-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.25);
  pointer-events: none;
}
.thumb-play-icon {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}
.thumb-play-icon svg {
  width: 22px;
  height: 22px;
  color: #000000;
  margin-left: 3px;
}

/* Download Links Container — Centered Stack */
.result-info, #downloadLinks {
  width: 100% !important;
  max-width: 360px !important;
  margin: 0 auto !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  box-sizing: border-box !important;
}

.result-info p {
  width: 100% !important;
  max-width: 360px !important;
  margin: 0 0 12px !important;
  font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #1d1d1f !important;
  line-height: 1.4 !important;
  text-align: center !important;
}

/* Download Button Wrapper */
.btn-dl-overlay {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: 360px !important;
  margin: 0 auto !important;
  border-radius: 980px !important;
  box-sizing: border-box !important;
  box-shadow: none !important;
  cursor: pointer !important;
}

/* Primary Download Button (Blue Pill) */
.btn-dl-overlay-main {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: 100% !important;
  max-width: 360px !important;
  height: 52px !important;
  min-height: 52px !important;
  background: #0071e3 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 980px !important;
  font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em !important;
  cursor: pointer !important;
  box-shadow: 0 4px 16px rgba(0, 113, 227, 0.28) !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-sizing: border-box !important;
  text-decoration: none !important;
}
.btn-dl-overlay-main:hover {
  background: #0077ed !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 20px rgba(0, 113, 227, 0.38) !important;
}
.btn-dl-overlay-main:active {
  transform: translateY(0) !important;
}

/* Secondary Download Button (Clean Gray Pill) */
.btn-dl-sd {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: 100% !important;
  max-width: 360px !important;
  height: 50px !important;
  min-height: 50px !important;
  background: #f5f5f7 !important;
  color: #1d1d1f !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  border-radius: 980px !important;
  font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em !important;
  cursor: pointer !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02) !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  text-decoration: none !important;
}
.btn-dl-sd:hover {
  background: #e8e8ed !important;
  color: #000000 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
}
.btn-dl-sd:active {
  transform: translateY(0) !important;
}

/* Split DL Row if used */
.dl-row {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  width: 100% !important;
  max-width: 360px !important;
  margin: 0 auto !important;
}
.btn-dl-main {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  height: 52px !important;
  background: #0071e3 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 980px !important;
  font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  box-shadow: 0 4px 16px rgba(0, 113, 227, 0.28) !important;
  transition: all 0.2s ease !important;
}

/* Error Message State — Apple Style */
.error-msg {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent !important;
  border: none !important;
  color: #ffffff !important;
  font-family: -apple-system, "SF Pro Text", "Inter", system-ui, sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  margin: 12px auto 0 !important;
  text-align: center !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  animation: none !important; /* No shaking animation */
}
.error-msg.show {
  display: flex !important;
}
.error-msg svg {
  width: 18px !important;
  height: 18px !important;
  color: #ff453a !important;
  fill: currentColor !important;
  flex-shrink: 0 !important;
}

.hero-badges{display:flex;align-items:center;justify-content:center;gap:20px;margin-top:26px;flex-wrap:wrap}
.badge{display:flex;align-items:center;gap:6px;font-size:12.5px;color:rgba(255,255,255,.88);font-weight:500}
.badge svg{color:#7cfc00}


/* ═══════════════════════════════════════════════════════════
   FEATURE PILLS — Icon left + bold text right (Inflact style)
═══════════════════════════════════════════════════════════ */
.section-pills{
  padding:52px 0 40px;
  background:var(--bg-white);
  text-align:center;
}
.section-pills .container{
  display:flex;
  flex-direction:column;
  align-items:center;
}
.pills-list{
  display:flex;
  flex-direction:column;
  gap:16px;
  max-width:560px;
  margin:0 auto 32px;
  align-items:stretch;
}

/* Each pill card */
.feature-pill{
  display:flex;
  align-items:center;
  gap:0;
  position:relative;
}

/* Icon circle — protrudes left outside the card */
.pill-icon-wrap{
  position:relative;
  z-index:2;
  flex-shrink:0;
  margin-right:-20px;
}
.pill-icon{
  width:80px;
  height:80px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 6px 24px rgba(0,0,0,.15);
  flex-shrink:0;
}
.pill-icon svg{
  width:52px;
  height:52px;
}
.pill-icon-orange{ background:linear-gradient(135deg,#fff8f0,#ffe0c0); }
.pill-icon-green{  background:linear-gradient(135deg,#e8fff0,#c8f5dc); }
.pill-icon-pink{   background:linear-gradient(135deg,#fff0f5,#ffd5e5); }

/* Text card */
.pill-text{
  flex:1;
  background:#f4f4f4;
  border-radius:var(--radius-pill);
  padding:18px 24px 18px 36px;
  min-height:64px;
  display:flex;
  align-items:center;
  transition:background var(--transition), box-shadow var(--transition);
}
.feature-pill:hover .pill-text{
  background:#efefef;
  box-shadow:var(--shadow-sm);
}
.pill-text span{
  font-size:20px;
  font-weight:800;
  color:var(--text);
  letter-spacing:-.3px;
}

/* Disclaimer */
.pills-disclaimer{
  text-align:center;
  font-size:13px;
  color:#999;
  line-height:1.7;
  max-width:560px;
  margin:0 auto;
  padding:0 8px;
}

/* Responsive */
@media(max-width:600px){
  .pill-icon{ width:64px; height:64px; }
  .pill-icon svg{ width:42px; height:42px; }
  .pill-text span{ font-size:17px; }
  .pill-text{ padding:16px 20px 16px 30px; }
  .pill-icon-wrap{ margin-right:-16px; }
}

/* HOW TO STEPS — Competitor style */
.section-steps{padding:72px 0;background:#f2f2f7}
.section-header{text-align:center;margin-bottom:48px}
.section-header h2{font-size:clamp(22px,3.5vw,34px);color:var(--pink);font-weight:800;margin-bottom:10px}
.section-header p{color:var(--text-muted);font-size:15px;max-width:520px;margin:0 auto}
.steps-list{display:flex;flex-direction:column;gap:20px;max-width:960px;margin:0 auto}

/* Step card: text LEFT, mockup RIGHT by default */
.step-card{
  background:var(--bg-white);
  border-radius:20px;
  overflow:hidden;
  display:grid;
  grid-template-columns:1fr 1fr;
  min-height:260px;
  box-shadow:0 2px 16px rgba(0,0,0,.06);
  border:1px solid rgba(0,0,0,.06);
  transition:box-shadow var(--transition),transform var(--transition);
}
.step-card:hover{box-shadow:0 6px 28px rgba(0,0,0,.10);transform:translateY(-2px)}

/* Default: text on LEFT */
.step-text-side{order:1}
.step-img-side{order:2}

/* Reverse: text on right, mockup on left */
.step-card.reverse .step-text-side{order:2}
.step-card.reverse .step-img-side{order:1}

/* Image side — soft gradient bg */
.step-img-side{
  background:#ffffff;
  display:flex;align-items:center;justify-content:center;
  padding:8px 8px 0;
  position:relative;overflow:hidden;
  min-height:320px;
}
.step-img-side::before{
  content:none;
}

/* Phone mockup — fills card with minimal space */
.phone-mockup{
  width:100%;
  max-width:185px;
  height:auto;
  filter:drop-shadow(0 8px 24px rgba(0,0,0,.28));
  position:relative;z-index:1;
  margin-bottom:-4px;
}
@media(max-width:900px){
  .phone-mockup{max-width:150px}
  .step-img-side{min-height:260px;padding:8px 8px 0}
}

/* Text side */
.step-text-side{
  padding:36px 36px;
  display:flex;flex-direction:column;justify-content:center;
}
.step-number-label{
  font-size:11px;font-weight:800;
  letter-spacing:2.5px;color:var(--orange);
  text-transform:uppercase;margin-bottom:8px;
}
.step-card h3{
  font-size:clamp(18px,2.5vw,24px);
  font-weight:800;color:var(--orange);
  margin-bottom:20px;line-height:1.25;
}
.step-bullets{
  list-style:none;
  display:flex;flex-direction:column;
  gap:14px;
  counter-reset:step-li;
}
.step-bullets li{
  display:flex;align-items:flex-start;gap:12px;
  font-size:14px;color:#444;line-height:1.6;
}
/* Text content wraps naturally — strong stays inline */
.step-bullets li strong{
  display:inline;
  font-weight:700;
  color:#222;
}
/* Span wrapper — flex item that holds all text as one unit */
.step-bullets li .bullet-text{
  display:block;
  flex:1;
  min-width:0;
}
.step-bullets li::before{
  content:counter(step-li);
  counter-increment:step-li;
  display:flex;align-items:center;justify-content:center;
  min-width:26px;height:26px;
  border-radius:50%;
  background:var(--grad-pink);
  color:#fff;font-size:12px;font-weight:800;
  flex-shrink:0;margin-top:1px;
}

/* FEATURES */
.section-features{padding:80px 0;background:var(--bg-white)}
ul.features-list{display:flex;flex-direction:column;max-width:800px;margin:0 auto}
li.feature-row{padding:44px 0;border-bottom:1.5px solid var(--border)}
li.feature-row:last-child{border-bottom:none}
.feature-text-side{padding:0}
.feature-tag{display:inline-block;font-size:11px;font-weight:700;letter-spacing:2px;text-transform:uppercase;color:var(--pink);margin-bottom:12px}
.feature-text-side h3{font-size:26px;font-weight:800;color:var(--pink);margin-bottom:16px;line-height:1.25}
.feature-text-side p{font-size:15px;color:var(--text-muted);line-height:1.8}

/* ABOUT */
.section-about{padding:72px 0;background:var(--bg)}
.about-inner{max-width:820px;margin:0 auto;text-align:center}
.about-inner h2{font-size:clamp(20px,3vw,30px);margin-bottom:24px}
.about-inner p{font-size:15px;color:var(--text-muted);margin-bottom:16px;line-height:1.85}




/* WHEN TO USE SECTION — Competitor exact style */
.section-when-use{
  padding:80px 0;
  background:#f8f8f8;
}

/* Multi-color heading */
.when-use-header{
  text-align:center;
  margin-bottom:56px;
}
.when-use-title{
  font-size:clamp(28px,4vw,48px);
  font-weight:900;
  line-height:1.15;
  margin-bottom:20px;
  letter-spacing:-.5px;
}
.wt-purple{ color:#833ab4; }
.wt-pink  { color:#E1306C; }
.wt-black { color:#1a1a1a; }
.when-use-sub{
  font-size:15px;
  color:var(--text-muted);
  max-width:700px;
  margin:0 auto;
  line-height:1.8;
  text-align:center;
}

/* Cards list — horizontal row */
ul.when-use-list{
  display:flex;
  flex-direction:column;
  gap:20px;
  max-width:1060px;
  margin:0 auto;
  list-style:none;
  padding:0;
}

/* Card wrapper — all same, number always on RIGHT */
li.when-use-item{
  display:flex;
  align-items:center;
  flex-direction:row;
  position:relative;
  list-style:none;
}
li.when-use-item .when-use-card{
  flex:1;
  order:1;
}
li.when-use-item .when-use-num{
  order:2;
  min-width:100px;
  text-align:right;
  padding-left:20px;
  flex-shrink:0;
}

/* Card itself */
.when-use-card{
  background:#f0f0f2;
  border-radius:28px;
  padding:36px 44px;
  transition:box-shadow var(--transition), transform var(--transition);
  border:1px solid rgba(0,0,0,.04);
}
.when-use-card:hover{
  box-shadow:0 8px 32px rgba(0,0,0,.09);
  transform:translateY(-2px);
}
.when-use-card h3{
  font-size:clamp(19px,2.2vw,24px);
  font-weight:800;
  color:#111111;
  margin-bottom:14px;
  line-height:1.3;
  letter-spacing:-.2px;
}
.when-use-card p{
  font-size:15px;
  color:#555;
  line-height:1.85;
}

/* Faded big number */
.when-use-num{
  font-size:clamp(64px,7vw,96px);
  font-weight:900;
  color:rgba(0,0,0,.07);
  line-height:1;
  flex-shrink:0;
  letter-spacing:-3px;
  user-select:none;
  pointer-events:none;
}

@media(max-width:768px){
  .when-use-item.odd,
  .when-use-item.even{flex-direction:column;align-items:flex-start;gap:0}
  .when-use-item.even .when-use-card{margin-left:0}
  .when-use-item.odd .when-use-num,
  .when-use-item.even .when-use-num{
    order:0;padding:0 0 8px 8px;
    font-size:48px;
  }
  .when-use-card{padding:26px 24px;border-radius:20px}
  .when-use-title{font-size:26px}
}

/* DARK FEATURES CHECKLIST — SnapInsta style */
.section-dark-features{
  padding:52px 0;
  background:#181c24;
  border-radius:0;
}
.dark-feat-heading{
  font-size:clamp(17px,2.2vw,22px);
  font-weight:700;
  color:#ffffff;
  text-align:center;
  margin-bottom:36px;
  letter-spacing:-.2px;
}
.dark-feat-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px 48px;
  max-width:900px;
  margin:0 auto;
}
.dark-feat-item{
  display:flex;
  align-items:flex-start;
  gap:12px;
  font-size:14.5px;
  color:#c8cad0;
  line-height:1.6;
}
.dark-feat-check{
  width:20px;height:20px;
  flex-shrink:0;
  margin-top:1px;
}
@media(max-width:680px){
  .dark-feat-grid{grid-template-columns:1fr;gap:14px}
  .dark-feat-heading{font-size:16px;padding:0 8px}
}

/* INFO CONTENT SECTION */
.section-info{padding:80px 0;background:var(--bg-white);border-top:1.5px solid var(--border)}
.info-layout{display:grid;grid-template-columns:1fr 340px;gap:56px;align-items:start}
.info-blocks{display:flex;flex-direction:column;gap:44px}
.info-block h2{font-size:clamp(20px,2.8vw,28px);font-weight:800;color:var(--pink);margin-bottom:14px;line-height:1.3;letter-spacing:-.3px}
.info-block p{font-size:15px;color:#444;line-height:1.9}
.info-illustration{position:sticky;top:calc(var(--header-h) + 24px);display:flex;flex-direction:column;align-items:center;gap:16px}
.info-illus-bg{width:100%;max-width:320px;background:linear-gradient(145deg,#fff0f8,#f5eaff,#fff8f0);border-radius:32px;padding:20px;box-shadow:0 8px 40px rgba(225,48,108,.12),0 2px 8px rgba(0,0,0,.06);overflow:hidden;position:relative}
.info-illus-svg{width:100%;height:auto;position:relative;z-index:1}
.info-illus-badge{display:flex;align-items:center;gap:8px;background:#f9f9f9;border:1.5px solid var(--border);border-radius:var(--radius-pill);padding:10px 20px;font-size:13px;font-weight:600;color:var(--text-muted)}
.badge-dot{width:10px;height:10px;border-radius:50%;background:linear-gradient(135deg,#E1306C,#833ab4);flex-shrink:0;animation:badgePulse 2s ease infinite}
@keyframes badgePulse{0%,100%{box-shadow:0 0 0 3px rgba(225,48,108,.2)}50%{box-shadow:0 0 0 6px rgba(225,48,108,.08)}}
@media(max-width:900px){.info-layout{grid-template-columns:1fr;gap:36px}.info-illustration{position:static;max-width:320px;margin:0 auto;order:-1}}
@media(max-width:600px){.info-block h2{font-size:20px}.section-info{padding:56px 0}}



/* SEO BLOCK — 1080p quality section with badges */
.section-seo-block{padding:72px 0;background:var(--bg-white)}
.section-seo-block.bg-alt{background:#f4f6f9}
.seo-block-inner{
  display:grid;
  grid-template-columns:1fr auto;
  gap:48px;
  align-items:center;
  max-width:960px;
  margin:0 auto;
}
.seo-block-text h2{
  font-size:clamp(20px,3vw,30px);
  font-weight:800;
  color:var(--pink);
  margin-bottom:16px;
  line-height:1.3;
}
.seo-block-text p{
  font-size:15px;
  color:#444;
  line-height:1.85;
  margin-bottom:14px;
}
.seo-block-text p:last-child{margin-bottom:0}
.seo-block-badge{
  display:flex;
  flex-direction:column;
  gap:12px;
  flex-shrink:0;
}
.quality-pill{
  background:var(--bg-white);
  border:1.5px solid var(--border);
  border-radius:var(--radius-md);
  padding:12px 20px;
  min-width:160px;
  text-align:center;
  box-shadow:var(--shadow-sm);
}
.qp-label{
  display:block;
  font-size:11px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:1px;
  color:var(--text-light);
  margin-bottom:4px;
}
.qp-value{
  display:block;
  font-size:17px;
  font-weight:800;
  color:var(--pink);
  letter-spacing:-.3px;
}
@media(max-width:768px){
  .seo-block-inner{grid-template-columns:1fr}
  .seo-block-badge{flex-direction:row;flex-wrap:wrap;justify-content:center}
  .quality-pill{min-width:120px}
}

/* DEVICE GUIDES SECTION */
.section-device-guides{
  padding:72px 0;
  background:var(--bg-white);
  border-top:1.5px solid var(--border);
}
.device-guides-inner{
  max-width:820px;
  margin:0 auto;
  display:flex;
  flex-direction:column;
  gap:52px;
}
.device-guide-block h2{
  font-size:clamp(20px,2.8vw,26px);
  font-weight:800;
  color:#1a1a1a;
  margin-bottom:16px;
  line-height:1.3;
  letter-spacing:-.3px;
}
.device-guide-block p{
  font-size:15.5px;
  font-weight:600;
  color:#333;
  line-height:1.9;
}
@media(max-width:600px){
  .device-guide-block h2{font-size:19px}
  .device-guide-block p{font-size:14.5px}
  .section-device-guides{padding:52px 0}
}


/* FAIR USE NOTICE — Apple Style */
.fair-use-notice {
  font-family: -apple-system, "SF Pro Text", "Inter", system-ui, sans-serif !important;
  font-size: 13px !important;
  color: rgba(255, 255, 255, 0.8) !important;
  line-height: 1.4 !important;
  text-align: center !important;
  margin: 14px auto 0 !important;
  max-width: 660px !important;
}
.fair-use-link {
  color: #ffffff !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
  font-weight: 500 !important;
}
.fair-use-link:hover {
  color: #ffffff !important;
  opacity: 0.85 !important;
}

/* SUPPORTED CONTENT SECTION */
.section-supported{
  padding:64px 0;
  background:#f8f8f8;
  border-top:1.5px solid var(--border);
}
.supported-inner{
  max-width:760px;
  margin:0 auto;
}
.supported-text{
  margin-bottom:36px;
}
.supported-text h2{
  font-size:clamp(20px,3vw,28px);
  font-weight:800;
  color:var(--pink);
  margin-bottom:10px;
  line-height:1.3;
}
.supported-text p{
  font-size:15px;
  color:var(--text-muted);
  line-height:1.7;
}
.supported-list{
  display:flex;
  flex-direction:column;
  gap:0;
  list-style:none;
  padding:0;margin:0;
  border:1.5px solid var(--border);
  border-radius:16px;
  overflow:hidden;
  background:var(--bg-white);
}
.supported-item{
  display:flex;
  align-items:center;
  gap:16px;
  padding:18px 24px;
  border-bottom:1px solid var(--border);
  transition:background var(--transition);
}
.supported-item:last-child{border-bottom:none}
.supported-item:hover{background:#fafafa}
.supported-icon{
  font-size:20px;
  width:40px;height:40px;
  display:flex;align-items:center;justify-content:center;
  background:linear-gradient(135deg,#fce4ec,#f3e5f5);
  border-radius:10px;
  flex-shrink:0;
}
.supported-item div{
  display:flex;flex-direction:column;gap:2px;
}
.supported-item strong{
  font-size:14.5px;
  font-weight:700;
  color:var(--text);
  display:block;
}
.supported-item span{
  font-size:13px;
  color:var(--text-muted);
  line-height:1.5;
}
@media(max-width:600px){
  .supported-item{padding:14px 16px;gap:12px}
  .supported-icon{width:34px;height:34px;font-size:16px}
}

/* FIX: Pills same height ─────────────────── */
.pill-text{
  flex:1;
  background:#f4f4f4;
  border-radius:var(--radius-pill);
  padding:18px 24px 18px 36px;
  min-height:64px;
  height:64px;
  display:flex;
  align-items:center;
  transition:background var(--transition),box-shadow var(--transition);
}
.pill-text span{
  font-size:20px;
  font-weight:800;
  color:var(--text);
  letter-spacing:-.3px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
@media(max-width:600px){
  .pill-text{height:auto;min-height:56px;padding:14px 16px 14px 28px}
  .pill-text span{font-size:16px;white-space:normal}
}

/* FAQ */
.section-faq{padding:80px 0;background:var(--bg-white)}
.section-faq .container{display:flex;flex-direction:column;align-items:center}
.section-faq .section-header{width:100%;text-align:center}
.faq-list{max-width:820px;width:100%;margin:0 auto}
.faq-item{border-bottom:1.5px solid var(--border);width:100%}
.faq-item:first-child{border-top:1.5px solid var(--border)}
.faq-question{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;padding:20px 0;background:transparent;border:none;text-align:left;cursor:pointer;font-family:'Poppins',sans-serif;font-size:14.5px;font-weight:600;color:var(--text);transition:color var(--transition)}
.faq-question:hover{color:var(--pink)}
.faq-item.open .faq-question{color:var(--pink)}
.faq-chevron{width:20px;height:20px;flex-shrink:0;transition:transform var(--transition);color:var(--text-light)}
.faq-item.open .faq-chevron{transform:rotate(180deg);color:var(--pink)}
.faq-answer{max-height:0;overflow:hidden;transition:max-height .35s ease,padding .25s ease;padding:0 4px}
.faq-item.open .faq-answer{max-height:400px;padding:0 4px 20px}
.faq-answer p{font-size:14px;color:var(--text-muted);line-height:1.8}

/* FOOTER — SSS Instagram style centered links */
.site-footer{background:#111111;color:#aaa}

/* Links section */
.footer-links-section{
  padding:48px 0 32px;
  border-bottom:1px solid #2a2a2a;
}
.footer-links-row{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:6px 0;
  margin-bottom:14px;
  text-align:center;
}
.footer-links-row:last-child{margin-bottom:0}
.footer-link{
  font-size:12.5px;
  font-weight:600;
  color:#999;
  text-decoration:none;
  text-transform:uppercase;
  letter-spacing:.6px;
  padding:4px 12px;
  transition:color var(--transition);
  white-space:nowrap;
}
.footer-link:hover{color:var(--pink)}
.footer-link-highlight{
  color:#E1306C !important;
  font-weight:700;
}
.footer-link-highlight:hover{color:#ff6090 !important}
.footer-sep{
  color:#444;
  font-size:12px;
  user-select:none;
  padding:0 2px;
}

/* Bottom section */
.footer-bottom-section{
  padding:32px 0 28px;
}
.footer-bottom-center{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:12px;
  text-align:center;
}
.footer-logo-center{display:inline-block;text-decoration:none}
.footer-logo-center:hover{opacity:.85}
.footer-copy{
  font-size:13px;color:#555;font-weight:500;
}
.footer-disclaimer-txt{
  font-size:12px;color:#444;
}

/* RESPONSIVE */
@media(max-width:900px){
  .step-card,.feature-row{grid-template-columns:1fr}
  /* On mobile, all steps: text on top, mockup below */
  .step-text-side{order:1 !important}
  .step-img-side{order:2 !important;min-height:220px}
  .feature-row.reverse .feature-img-side,.feature-row.reverse .feature-text-side{order:0}
  .feature-text-side{padding:20px 24px 32px}
  .footer-inner{grid-template-columns:1fr 1fr;gap:32px}
  .footer-brand{grid-column:1/-1}
  .step-text-side{padding:28px 24px}
}
@media(max-width:768px){
  section.hero, .hero{padding:40px 0 50px}
  .tool-box{padding:20px 16px 24px}
  
  
  .result-inner{flex-direction:column}
  .result-thumb-wrap{width:100%}
  .result-thumb{width:100%;height:200px}
  .hero-tabs{gap:6px}
  .hero-tab{padding:7px 13px;font-size:12px}
}
@media(max-width:480px){
  .step-text-side{padding:24px 20px}
  .footer-inner{grid-template-columns:1fr;gap:24px}
  .footer-bottom-inner{flex-direction:column;align-items:flex-start}
  .dl-row{border-radius:var(--radius-md)}

  /* ADD THIS 👇 */
  
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* ═══════════════════════════════════════════════════════════
   PROFILE PICTURE DOWNLOADER PAGE
   Used by: /profile-picture-downloader/index.php
   All classes prefixed with dp- to avoid conflicts
═══════════════════════════════════════════════════════════ */

/* Result box wrapper */
.dp-result-box{
  display:none;
  margin-top:22px;
  background:var(--white);
  border-radius:var(--radius-lg);
  padding:28px 24px;
  box-shadow:0 8px 32px rgba(0,0,0,.18);
  text-align:left;
  animation:fadeUp .35s ease;
}
.dp-result-box.show{display:block}

/* ── Card: left avatar + right info ──────────────────────── */
.dp-result-card{
  display:flex;
  align-items:flex-start;
  gap:28px;
}

/* LEFT column — avatar */
.dp-card-left{
  flex-shrink:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:12px;
}

/* RIGHT column — info + buttons */
.dp-card-right{
  flex:1;
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:10px;
  padding-top:4px;
}

/* ── Gradient ring avatar ─────────────────────────────────── */
.dp-avatar-outer{
  padding:4px;
  background:var(--grad-hero);
  border-radius:50%;
  width:200px;
  height:200px;
  flex-shrink:0;
  box-shadow:0 8px 32px rgba(225,48,108,.30),0 2px 8px rgba(0,0,0,.10);
  transition:transform .3s ease;
  cursor:pointer;
}
.dp-avatar-outer:hover{transform:scale(1.03)}
.dp-avatar-inner{
  width:100%;
  height:100%;
  border-radius:50%;
  overflow:hidden;
  background:linear-gradient(135deg,#f0f0f0,#e0e0e0);
  border:5px solid #fff;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
}
.dp-image{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:50%;
  display:none;
}
.dp-image.loaded{display:block}
.dp-avatar-placeholder{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  height:100%;
  background:linear-gradient(135deg,#833ab4,#E1306C,#F77737);
  border-radius:50%;
  position:absolute;
  inset:0;
}
.dp-avatar-placeholder.hidden{display:none}

/* ── Trust badge — Inflact style ─────────────────────────── */
.dp-trust-badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  background:linear-gradient(135deg,#e8fff0,#d0f5e0);
  border:1.5px solid #00c853;
  border-radius:var(--radius-pill);
  padding:5px 14px;
  font-size:12px;
  font-weight:700;
  color:#00a846;
  letter-spacing:.2px;
  width:fit-content;
}
.dp-trust-badge svg{
  width:14px;height:14px;
  color:#00a846;
  flex-shrink:0;
}

/* ── Username + full name ────────────────────────────────── */
.dp-username-label{
  font-size:18px;
  font-weight:800;
  color:var(--text);
  margin:0;
  letter-spacing:-.3px;
  line-height:1.2;
}
.dp-fullname-label{
  font-size:14px;
  font-weight:500;
  color:var(--text-muted);
  margin:0;
  line-height:1.4;
}

/* ── Profile stats row — posts · followers · following ───── */
.dp-stats-row{
  display:flex;
  align-items:center;
  gap:20px;
  padding:10px 0;
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
  margin:2px 0;
}
.dp-stat{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:1px;
}
.dp-stat-value{
  font-size:16px;
  font-weight:800;
  color:var(--text);
  line-height:1;
}
.dp-stat-label{
  font-size:11px;
  font-weight:500;
  color:var(--text-muted);
  text-transform:uppercase;
  letter-spacing:.5px;
}

/* ── Download buttons ────────────────────────────────────── */
.dp-download-links{
  display:flex;
  flex-direction:column;
  gap:10px;
  width:100%;
  max-width:320px;
}

/* Primary — blue split pill (Download HD Image) */
.btn-dp-hd{
  display:flex;
  align-items:center;
  gap:0;
  border-radius:var(--radius-pill);
  overflow:hidden;
  box-shadow:var(--shadow-blue);
  width:100%;
}
.btn-dp-hd-main{
  flex:1;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  height:50px;
  background:var(--grad-blue);
  color:#fff;
  border:none;
  font-family:'Poppins',sans-serif;
  font-size:14px;
  font-weight:700;
  cursor:pointer;
  transition:background var(--transition),transform var(--transition);
}
.btn-dp-hd-main:hover{
  background:linear-gradient(135deg,#0d65d9,#0a52b5);
  transform:translateY(-1px);
}
.btn-dp-badge{
  display:flex;
  align-items:center;
  justify-content:center;
  height:50px;
  padding:0 16px;
  background:rgba(24,119,242,.85);
  color:#fff;
  font-family:'Poppins',sans-serif;
  font-size:12px;
  font-weight:800;
  border-left:1.5px solid rgba(255,255,255,.3);
  white-space:nowrap;
  letter-spacing:.5px;
}

/* Secondary — Zoom / Open full size */
.btn-dp-open{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  width:100%;
  height:44px;
  background:#f4f4f4;
  color:var(--text-muted);
  border:1.5px solid var(--border);
  border-radius:var(--radius-pill);
  font-family:'Poppins',sans-serif;
  font-size:13px;
  font-weight:600;
  cursor:pointer;
  transition:background var(--transition);
  text-decoration:none;
}
.btn-dp-open:hover{
  background:#e8e8e8;
  color:var(--text);
}

/* ── MOBILE responsive ───────────────────────────────────── */
@media(max-width:600px){
  /* Stack: avatar on top, info below */
  .dp-result-card{
    flex-direction:column;
    align-items:center;
    text-align:center;
  }
  .dp-card-right{
    align-items:center;
    width:100%;
  }
  .dp-avatar-outer{
    width:160px;
    height:160px;
  }
  .dp-username-label{
    font-size:16px;
  }
  .dp-stats-row{
    justify-content:center;
    gap:24px;
  }
  .dp-stat{
    align-items:center;
  }
  .dp-download-links{
    max-width:100%;
  }
  .dp-trust-badge{
    margin:0 auto;
  }
}

/* ═══════════════════════════════════════════════════════════
   INSTAGRAM AUDIO DOWNLOAD PAGE
   Used by: /instagram-audio-download/index.php
═══════════════════════════════════════════════════════════ */

/* How To — 3 card row */
.section-audio-how{
  padding:72px 0;
  background:#f0faf5;
}
.audio-steps-row{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
  max-width:960px;
  margin:0 auto;
  list-style:none;
  padding:0;
}
.audio-step-card{
  background:#e8f5ee;
  border-radius:20px;
  padding:28px 24px 20px;
  position:relative;
  display:flex;
  flex-direction:column;
  gap:16px;
  min-height:220px;
  border:1px solid rgba(0,0,0,.04);
  transition:box-shadow var(--transition),transform var(--transition);
}
.audio-step-card:hover{
  box-shadow:0 8px 32px rgba(0,0,0,.08);
  transform:translateY(-2px);
}
.audio-step-text{
  font-size:15px;
  color:#1a1a1a;
  line-height:1.6;
  font-weight:400;
  flex:1;
}
.audio-step-text strong{
  font-weight:700;
  color:#1a1a1a;
}
.audio-step-illus{
  width:100%;
  max-width:140px;
  margin:0 auto;
  flex-shrink:0;
}
.audio-step-illus svg{
  width:100%;
  height:auto;
}
.audio-step-num{
  position:absolute;
  bottom:18px;
  left:20px;
  font-size:14px;
  font-weight:800;
  color:#00a846;
}

@media(max-width:768px){
  .audio-steps-row{
    grid-template-columns:1fr;
    gap:16px;
  }
  .audio-step-card{
    flex-direction:row;
    align-items:center;
    min-height:auto;
    padding:20px;
    gap:20px;
  }
  .audio-step-illus{
    max-width:80px;
    flex-shrink:0;
  }
  .audio-step-num{
    bottom:auto;
    top:auto;
    left:auto;
    position:static;
    font-size:32px;
    color:rgba(0,168,70,.25);
    font-weight:900;
    min-width:36px;
  }
}

/* ── Download button loading dots — add to style.css ── */
.dl-dots {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 20px;
}
.dl-dots span {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  animation: dlBounce 1s ease-in-out infinite;
}
.dl-dots span:nth-child(2) { animation-delay: .15s; }
.dl-dots span:nth-child(3) { animation-delay: .3s; }
@keyframes dlBounce {
  0%, 80%, 100% { transform: scale(.6); opacity: .5; }
  40%           { transform: scale(1);  opacity: 1;  }
}

/* ── MOBILE RESULT BOX FIX — paste at very bottom of style.css ── */
@media(max-width:768px){

  /* Result box — full width, no side margin */
  .result-box {
    margin-top: 16px;
    padding: 16px;
    border-radius: 20px;
  }

  /* Thumbnail — full width landscape like SaveFromIns */
  .result-thumb-wrap {
    width: 100%;
    max-width: 100%;
    border-radius: 12px;
  }

  .result-thumb {
    width: 100%;
    max-width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
  }

  /* Download button overlay — fix alignment, single row */
  .btn-dl-overlay {
    width: 100%;
    max-width: 100%;
    border-radius: 50px;
    margin-top: 14px;
  }

  .btn-dl-overlay-main {
    height: 56px;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
    padding: 0 16px;
  }

  .btn-dl-overlay-badge {
    height: 56px;
    font-size: 13px;
    font-weight: 800;
    padding: 0 18px;
    white-space: nowrap;
  }

  /* Result label */
  .result-label {
    font-size: 14px;
    margin-bottom: 12px;
  }

  /* SD button */
  .btn-dl-sd {
    height: 48px;
    font-size: 14px;
    border-radius: 50px;
    margin-top: 10px;
  }
}

@media(max-width:480px){
  .result-thumb { height: 200px; }

  .btn-dl-overlay-main {
    height: 52px;
    font-size: 14px;
  }

  .btn-dl-overlay-badge {
    height: 52px;
    font-size: 12px;
    padding: 0 14px;
  }
}

/* ── THUMBNAIL SIZE FIX — paste at very bottom of style.css ── */
@media(max-width:768px){
  .result-thumb {
    height: 380px !important;
    width: 100% !important;
    max-width: 100% !important;
    object-fit: cover !important;
    border-radius: 12px !important;
  }
  .result-thumb-wrap {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 12px !important;
  }
}

@media(max-width:480px){
  .result-thumb {
    height: 320px !important;
  }
}

.tools-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; list-style: none; padding: 0; margin: 0; }
.tool-link { display: block; padding: 20px; background: #fff; border-radius: 12px; border: 1px solid #eee; text-decoration: none; color: inherit; transition: box-shadow .2s; }
.tool-link:hover { box-shadow: 0 4px 16px rgba(0,0,0,.1); }
.tool-link strong { display: block; color: #E1306C; font-size: 15px; margin-bottom: 6px; }
.tool-link span { font-size: 13px; color: #666; }



.section-other-tools { padding: 72px 0; background: linear-gradient(135deg, #fdf0ff 0%, #fff0f5 100%); }
.other-tools-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 960px; margin: 0 auto; list-style: none; padding: 0; }
.other-tool-card { background: #fff; border-radius: 20px; padding: 32px 28px; display: flex; flex-direction: column; gap: 14px; border: 1.5px solid #f0ddf8; box-shadow: 0 4px 20px rgba(225,48,108,.06); transition: transform .22s ease, box-shadow .22s ease; }
.other-tool-card:hover { transform: translateY(-4px); box-shadow: 0 10px 32px rgba(225,48,108,.12); }
.other-tool-icon { width: 56px; height: 56px; background: linear-gradient(135deg, #fdf0ff, #fff0f5); border-radius: 14px; display: flex; align-items: center; justify-content: center; color: #E1306C; }
.other-tool-text h3 { font-size: 17px; font-weight: 700; color: #1a1a2e; margin: 0 0 6px; }
.other-tool-text p { font-size: 14px; color: #666; line-height: 1.5; margin: 0; }
.other-tool-btn { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding: 12px 20px; background: linear-gradient(135deg, #833ab4, #E1306C); color: #fff; border-radius: 30px; font-size: 14px; font-weight: 600; text-decoration: none; transition: opacity .2s ease; }
.other-tool-btn:hover { opacity: .88; }
@media (max-width: 768px) { .other-tools-grid { grid-template-columns: 1fr; gap: 16px; } }

/* ── Story Grid (SnapInsta style) ── */
.story-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;width:100%;padding:4px 0}
.story-card{display:flex;flex-direction:column;border-radius:12px;overflow:hidden;border:1px solid #eee;background:#fff;box-shadow:0 2px 10px rgba(0,0,0,.07)}
.story-card-thumb{
  position:relative;width:100%;padding-bottom:177%;
  background:#1a1a2e center/cover no-repeat;
  display:flex;align-items:flex-start;justify-content:flex-end;
}
.story-type-icon{
  position:absolute;top:8px;right:8px;
  width:28px;height:28px;border-radius:6px;
  background:rgba(0,0,0,.5);
  display:flex;align-items:center;justify-content:center;
}
.story-dl-btn{
  display:flex;align-items:center;justify-content:center;gap:6px;
  padding:10px 8px;border:none;cursor:pointer;
  background:#2196f3;color:#fff;
  font-size:12.5px;font-weight:600;font-family:inherit;
  transition:background .18s ease;width:100%;
}
.story-dl-btn:hover{background:#1976d2}
@media(max-width:480px){
  .story-grid{grid-template-columns:repeat(2,1fr)}
}
/* ── Download loading dots ── */
.dl-dots{display:inline-flex;align-items:center;gap:3px;height:20px}
.dl-dots span{
  display:inline-block;width:6px;height:6px;border-radius:50%;
  background:#fff;
  animation:dlBounce 1s ease-in-out infinite;
}
.dl-dots span:nth-child(2){animation-delay:.15s}
.dl-dots span:nth-child(3){animation-delay:.3s}
@keyframes dlBounce{0%,80%,100%{transform:scale(.6);opacity:.5}40%{transform:scale(1);opacity:1}}


/* ── Phone mockup image fix ── */
.phone-mockup {
    aspect-ratio: 400 / 700;
    width: 100%;
    height: auto;
}

/* URL Input theme styling handled by frosted glass */

/* ══════════════════════════════════════════════════════════════════════
   DOWNLOAD ANY — GLOBAL FOOTER COMPONENT
   ══════════════════════════════════════════════════════════════════════ */
.site-footer {
  background: #0d0d14 !important;
  color: rgba(255, 255, 255, 0.65) !important;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  margin-top: 60px !important;
  padding: 0 !important;
  position: relative !important;
  z-index: 20 !important;
}

.footer-main {
  padding: 56px 20px 44px !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
}

.footer-grid {
  display: grid !important;
  grid-template-columns: 1.6fr 1.1fr 1.1fr 1fr !important;
  gap: 40px 32px !important;
  align-items: start !important;
}

.footer-brand-col {
  display: flex !important;
  flex-direction: column !important;
}

.footer-logo {
  display: inline-flex !important;
  text-decoration: none !important;
  margin-bottom: 16px !important;
}

.footer-tagline {
  font-size: 13.5px !important;
  line-height: 1.7 !important;
  color: rgba(255, 255, 255, 0.5) !important;
  margin: 0 0 22px !important;
  max-width: 320px !important;
}

.footer-tiktok-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 8px 18px !important;
  border-radius: 30px !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  background: rgba(255, 255, 255, 0.05) !important;
  color: #facc15 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  width: fit-content !important;
}

.footer-tiktok-badge:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: #facc15 !important;
  transform: translateY(-2px) !important;
  color: #ffffff !important;
}

.footer-col-title {
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: rgba(255, 255, 255, 0.45) !important;
  margin: 0 0 18px !important;
}

.footer-nav-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 9px !important;
}

.footer-nav-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 13.5px !important;
  color: rgba(255, 255, 255, 0.65) !important;
  text-decoration: none !important;
  transition: color 0.18s ease, transform 0.18s ease !important;
}

.footer-nav-link:hover {
  color: #ffffff !important;
  transform: translateX(3px) !important;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 20px 20px !important;
  background: #09090e !important;
}

.footer-bottom-inner {
  max-width: 1200px !important;
  margin: 0 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  flex-wrap: wrap !important;
}

.footer-copy {
  margin: 0 !important;
  font-size: 13px !important;
  color: rgba(255, 255, 255, 0.45) !important;
}

.footer-disclaimer {
  margin: 0 !important;
  font-size: 11.5px !important;
  color: rgba(255, 255, 255, 0.28) !important;
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 36px 30px !important;
  }
  .footer-brand-col {
    grid-column: 1 / -1 !important;
  }
  .footer-tagline {
    max-width: 100% !important;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  .footer-bottom-inner {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }
}

/* ==========================================================================
   SHARED MOBILE RESPONSIVE COMPONENTS (NAVBAR & LINK INPUT)
   ========================================================================== */

/* Universal URL & Title wrapping */
.url-input, .result-info, .result-label, .error-msg, .inline-validation, .btn-dl-overlay-main, .btn-dl-sd {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Inline Validation Box */
.inline-validation {
  display: none;
  margin-top: 12px;
  padding: 12px 16px;
  background: #f0f7ff;
  border: 1px solid #bae0ff;
  border-radius: 14px;
  color: #0958d9;
  font-size: 13.5px;
  line-height: 1.45;
  text-align: left;
  animation: fadeUp 0.2s ease;
  overflow-wrap: anywhere;
  word-break: break-word;
  box-sizing: border-box;
}
.validation-content {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.validation-icon {
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}
.validation-text {
  flex: 1;
}
.validation-suggestion {
  margin-top: 6px;
}
.validation-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #0071e3;
  font-weight: 700;
  text-decoration: underline;
  padding: 4px 0;
  min-height: 44px;
}
.validation-link:hover {
  color: #0077ed;
}

/* Body lock when mobile nav is open */
body.nav-menu-locked {
  overflow: hidden !important;
  touch-action: none !important;
}

@media (max-width: 768px) {
  /* --- A. NAVBAR (MOBILE <= 768px) --- */
  .site-header {
    height: 60px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    width: 100% !important;
    overflow: visible !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
  }
  .nav-inner {
    height: 60px !important;
    padding: 0 16px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    overflow: visible !important;
    gap: 8px !important;
  }
  .nav-actions-desktop {
    display: none !important;
  }
  .nav-logo {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    text-decoration: none !important;
    flex-shrink: 0 !important;
    min-width: 0 !important;
  }
  .nav-logo-icon {
    width: 36px !important;
    height: 36px !important;
    flex-shrink: 0 !important;
  }
  .nav-logo-text {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'SF Pro', 'Helvetica Neue', sans-serif !important;
    font-size: clamp(15px, 4.4vw, 19px) !important;
    font-weight: 700 !important;
    color: #000000 !important;
    letter-spacing: -0.02em !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    display: inline-block !important;
  }
  .nav-logo-text-bold {
    font-weight: 800 !important;
  }

  /* Hamburger Button */
  .nav-hamburger {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 10px !important;
    color: #1d1d1f !important;
    cursor: pointer !important;
    -webkit-tap-highlight-color: transparent !important;
    transition: background 0.15s ease !important;
    flex-shrink: 0 !important;
  }
  .nav-hamburger:hover,
  .nav-hamburger:active {
    background: rgba(0, 0, 0, 0.06) !important;
  }
  .nav-hamburger:focus-visible {
    outline: 2px solid #0071e3 !important;
    outline-offset: 2px !important;
  }
  .hamburger-icon {
    width: 20px !important;
    height: 14px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    pointer-events: none !important;
  }
  .hamburger-icon .line {
    display: block !important;
    width: 20px !important;
    height: 2px !important;
    background: #1d1d1f !important;
    border-radius: 2px !important;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease !important;
    transform-origin: center !important;
  }
  .site-header.nav-open .hamburger-icon .line-1 {
    transform: translateY(6px) rotate(45deg) !important;
  }
  .site-header.nav-open .hamburger-icon .line-2 {
    opacity: 0 !important;
    transform: scaleX(0) !important;
  }
  .site-header.nav-open .hamburger-icon .line-3 {
    transform: translateY(-6px) rotate(-45deg) !important;
  }

  /* Backdrop */
  .nav-backdrop {
    display: block !important;
    position: fixed !important;
    inset: 0 !important;
    top: 60px !important;
    background: rgba(0, 0, 0, 0.4) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    z-index: 998 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity 0.25s ease !important;
  }
  .site-header.nav-open .nav-backdrop {
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  /* Mobile Dropdown / Slide-Down Menu */
  .nav-mobile-menu {
    display: block !important;
    position: fixed !important;
    top: 60px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-height: calc(100vh - 60px) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    background: #ffffff !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.22) !important;
    z-index: 999 !important;
    transform: translateY(-12px) !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease !important;
    box-sizing: border-box !important;
  }
  .site-header.nav-open .nav-mobile-menu {
    transform: translateY(0) !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
  .nav-mobile-inner {
    padding: 14px 16px 36px !important;
    max-width: 600px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
  }
  .nav-mobile-top {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding-bottom: 14px !important;
    margin-bottom: 16px !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07) !important;
  }
  .nav-mobile-all-tools {
    flex: 1 !important;
    min-height: 48px !important;
    height: 48px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    border-radius: var(--apple-radius-pill, 980px) !important;
    background: #1d1d1f !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: background 0.15s ease !important;
  }
  .nav-mobile-all-tools:hover,
  .nav-mobile-all-tools:active {
    background: #000000 !important;
  }
  .nav-mobile-lang {
    min-height: 48px !important;
    height: 48px !important;
    padding: 0 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    border-radius: var(--apple-radius-pill, 980px) !important;
    border: 1px solid rgba(0, 0, 0, 0.12) !important;
    background: #ffffff !important;
    color: #1d1d1f !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
  }
  .nav-platform-groups {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
  }
  .nav-platform-group {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
  }
  .nav-group-title {
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    color: #86868b !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 4px 2px !important;
  }
  .nav-platform-dot {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    display: inline-block !important;
  }
  .ig-dot { background: #e1306c !important; }
  .yt-dot { background: #ff0000 !important; }
  .fb-dot { background: #1877f2 !important; }
  .tt-dot { background: #00f2fe !important; }
  .x-dot { background: #0f172a !important; }
  .sc-dot { background: #ffd700 !important; }
  .th-dot { background: #000000 !important; }
  .pin-dot { background: #e60023 !important; }

  .nav-group-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }
  .nav-tool-link {
    min-height: 48px !important;
    display: flex !important;
    align-items: center !important;
    padding: 10px 12px !important;
    border-radius: 12px !important;
    background: rgba(0, 0, 0, 0.035) !important;
    color: #1d1d1f !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    text-decoration: none !important;
    transition: background 0.15s ease, color 0.15s ease !important;
    box-sizing: border-box !important;
  }
  .nav-tool-link:hover,
  .nav-tool-link:active {
    background: rgba(0, 0, 0, 0.08) !important;
    color: #0071e3 !important;
  }
  .nav-tool-link:focus-visible,
  .nav-mobile-all-tools:focus-visible {
    outline: 2px solid #0071e3 !important;
    outline-offset: 2px !important;
  }

  /* --- B. LINK INPUT (MOBILE <= 768px) --- */
  .tool-box {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 16px !important;
    box-sizing: border-box !important;
  }
  .input-row {
    width: 100% !important;
    height: 56px !important;
    min-height: 56px !important;
    max-height: 56px !important;
    margin-bottom: 12px !important;
    padding: 6px 6px 6px 16px !important;
    border-radius: 999px !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.12) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04) !important;
    gap: 8px !important;
  }
  .url-input {
    height: 100% !important;
    font-size: 17px !important; /* >= 17px stops iOS zoom */
    padding: 0 8px 0 0 !important;
    color: #1d1d1f !important;
    -webkit-text-fill-color: #1d1d1f !important;
    background: transparent !important;
  }
  .url-input::placeholder {
    font-size: 15px !important;
    color: #1d1d1f !important;
    -webkit-text-fill-color: #1d1d1f !important;
    opacity: 0.6 !important;
  }
  .input-actions {
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
    gap: 4px !important;
  }
  .btn-paste {
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 16px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    border-radius: 999px !important;
    background: #f5f5f7 !important;
    color: #1d1d1f !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    cursor: pointer !important;
  }
  .btn-paste svg {
    width: 16px !important;
    height: 16px !important;
  }
  .btn-clear {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    border-radius: 50% !important;
    background: #e5e5ea !important;
    color: #86868b !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .btn-clear.visible,
  .input-row.has-text .btn-clear {
    display: flex !important;
  }
  .input-row.has-text .btn-paste {
    display: none !important;
  }
  .btn-download {
    width: 100% !important;
    height: 56px !important;
    min-height: 56px !important;
    border-radius: 999px !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    background: linear-gradient(180deg, #0A84FF 0%, #007AFF 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(0, 122, 255, 0.35) !important;
  }

  /* Mobile Under 400px: Icon-only 44px circle Paste button */
  @media (max-width: 400px) {
    .input-row {
      padding-left: 12px !important;
      gap: 6px !important;
    }
    .btn-paste {
      width: 44px !important;
      min-width: 44px !important;
      height: 44px !important;
      padding: 0 !important;
      border-radius: 50% !important;
      justify-content: center !important;
    }
    .btn-paste span {
      display: none !important;
    }
    .url-input::placeholder {
      font-size: 14px !important;
    }
  }

  /* Result state on mobile - single column stack */
  .result-box, .result-section {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 16px 12px !important;
    overflow: hidden !important;
  }
  .result-inner, .result-card {
    width: 100% !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 14px !important;
    display: flex !important;
  }
  .result-thumb-wrap {
    width: 100% !important;
    max-width: 320px !important;
    margin: 0 auto !important;
    border-radius: 16px !important;
  }
  .result-thumb {
    width: 100% !important;
    max-width: 320px !important;
    height: auto !important;
    max-height: 380px !important;
    border-radius: 16px !important;
  }
  .result-info, .result-actions {
    width: 100% !important;
    max-width: 320px !important;
    margin: 0 auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
  }
  .btn-dl-overlay, .dl-row {
    width: 100% !important;
    max-width: 100% !important;
    flex-direction: column !important;
  }
  .btn-dl-overlay-main, .btn-dl-main, .btn-dl-sd {
    width: 100% !important;
    min-height: 48px !important;
    height: 50px !important;
    border-radius: var(--apple-radius-pill, 980px) !important;
  }
  .error-msg, .inline-validation {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 360px) {
  .nav-inner {
    padding: 0 12px !important;
  }
  .nav-logo-icon {
    width: 30px !important;
    height: 30px !important;
  }
  .nav-logo-text {
    font-size: 15px !important;
    display: inline-block !important; /* Always show wordmark */
  }
  
}


/* ══════════════════════════════════════════════════════════════════════
   ACCESSIBILITY: PREFERS-REDUCED-TRANSPARENCY & PREFERS-REDUCED-MOTION
   ══════════════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .input-row,
  .btn-download,
  .btn-paste,
  .btn-clear,
  .spinner {
    transition: none !important;
    animation: none !important;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .input-row {
    background: #ffffff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-color: rgba(0, 0, 0, 0.15) !important;
  }
  .input-row .url-input {
    color: #1d1d1f !important;
    -webkit-text-fill-color: #1d1d1f !important;
    text-shadow: none !important;
  }
  .input-row .url-input::placeholder {
    color: rgba(29, 29, 31, 0.6) !important;
    -webkit-text-fill-color: rgba(29, 29, 31, 0.6) !important;
  }
  .input-row .input-icon {
    color: rgba(29, 29, 31, 0.7) !important;
    filter: none !important;
  }
}
