/* ==========================================================================
   RESELLME.XYZ INSPIRED — SYLENT STOREFRONT
   Dark minimal, neon-purple, conversion-focused
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ==========================================================================
   DESIGN TOKENS
   ========================================================================== */
:root {
  /* Backgrounds */
  --bg:          #0a0a0f;
  --bg-2:        #0e0e18;
  --card-bg:     #12121a;
  --card-bg-hi:  #161622;
  --card-border: #232336;

  /* Accent */
  --purple:      #a855f7;
  --purple-hi:   #c084fc;
  --purple-dim:  rgba(168, 85, 247, 0.12);
  --purple-glow: rgba(168, 85, 247, 0.20);
  --purple-line: rgba(168, 85, 247, 0.30);

  /* Text */
  --text:        #e2e8f0;
  --text-muted:  #94a3b8;
  --text-dim:    #64748b;

  /* Functional */
  --green:       #10b981;
  --success-bg:  rgba(16, 185, 129, 0.10);
  --success-bdr: rgba(16, 185, 129, 0.25);

  /* Typography */
  --ff: 'Inter', system-ui, -apple-system, sans-serif;

  /* Radii */
  --r-sm:   6px;
  --r-md:   10px;
  --r-lg:   14px;
  --r-xl:   18px;
  --r-2xl:  22px;
  --r-full: 9999px;

  /* Shadows */
  --shadow-card:  0 2px 16px rgba(0,0,0,0.45);
  --shadow-hover: 0 8px 32px rgba(0,0,0,0.65), 0 0 28px rgba(168,85,247,0.18);
  --shadow-btn:   0 4px 16px rgba(168,85,247,0.30);

  /* Transitions */
  --t-fast:   0.15s ease;
  --t-base:   0.22s ease;
  --t-spring: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   BASE RESET
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box !important; }

html {
  background-color: var(--bg) !important;
  color: var(--text) !important;
  font-family: var(--ff) !important;
  font-size: 16px;
  overflow-x: hidden !important;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg) !important;
  color: var(--text) !important;
  font-family: var(--ff) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  overflow-x: hidden !important;
  max-width: 100vw !important;
  line-height: 1.6;
}

::selection { background: rgba(168,85,247,0.35); color: #fff; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(168,85,247,0.35); border-radius: var(--r-full); }
::-webkit-scrollbar-thumb:hover { background: rgba(192,132,252,0.55); }
* { scrollbar-width: thin; scrollbar-color: rgba(168,85,247,0.30) var(--bg); }

/* Headings */
html body h1, html body h2, html body h3, html body h4 {
  color: #fff;
  font-weight: 700;
  letter-spacing: -0.02em;
  overflow: visible !important;
}

/* ==========================================================================
   LAYOUT
   ========================================================================== */
.wrap {
  width: 100% !important;
  max-width: 1280px !important;
  margin-inline: auto !important;
  padding-inline: 1.25rem !important;
}
@media (min-width: 640px)  { .wrap { padding-inline: 2rem !important; } }
@media (min-width: 1024px) { .wrap { padding-inline: 2.5rem !important; } }

.py-section {
  padding-top:    clamp(3.5rem, 6vw, 5.5rem);
  padding-bottom: clamp(3.5rem, 6vw, 5.5rem);
}

/* Thin separator line between sections */
.component + .component { position: relative; }
.component + .component::before {
  content: "";
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(600px, 80%); height: 1px;
  background: linear-gradient(90deg, transparent, var(--card-border), transparent);
  pointer-events: none;
}

/* ==========================================================================
   BACKGROUND / AMBIENT
   ========================================================================== */
.page-fx {
  position: absolute; top: 0; left: 0; right: 0;
  height: 700px; overflow: hidden; pointer-events: none; z-index: 0;
}
.pfx-glows {
  position: absolute; top: -150px; left: 50%; transform: translateX(-50%);
  width: min(1000px, 95vw); height: 600px;
  background:
    radial-gradient(ellipse at 25% 35%, rgba(168,85,247,0.09) 0%, transparent 55%),
    radial-gradient(ellipse at 78% 25%, rgba(99,102,241,0.06) 0%, transparent 50%);
  filter: blur(60px);
}

/* ==========================================================================
   TYPOGRAPHY — GRADIENT HIGHLIGHTS
   ========================================================================== */
.font-heading { font-family: var(--ff) !important; font-weight: 800 !important; letter-spacing: -0.025em; }

mark, .hl-accent, mark.hl-accent, span.hl-accent, strong.hl-accent,
.sa-hero-title mark, .sa-hero-title strong,
.sa-fcat-title mark, .sa-fcat-title strong {
  background: linear-gradient(135deg, #fff 0%, #e9d5ff 40%, #a855f7 80%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: #a855f7 !important;
  display: inline-block !important;
  padding-right: 0.15em !important;
  padding-bottom: 0.10em !important;
  line-height: 1.18 !important;
  overflow: visible !important;
  text-decoration: none !important;
  box-sizing: content-box !important;
}

/* Anti-clip for gradient text */
.hl-accent, mark.hl-accent, span.hl-accent, strong.hl-accent,
.sa-navbar-logo span, .sa-hero-title mark, .sa-hero-title strong,
.sa-stats-item .text-h2, .sa-stats-item [class*="text-h"], .sa-fcat-stats b {
  display: inline-block !important;
  padding-right: 0.15em !important;
  padding-bottom: 0.10em !important;
  line-height: 1.18 !important;
  overflow: visible !important;
  box-sizing: content-box !important;
  text-decoration: none !important;
}

/* Live pulse */
.live-pulse-dot {
  position: relative; display: inline-block;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green); flex-shrink: 0;
}
.live-pulse-dot::after {
  content: ""; position: absolute; inset: -3px; border-radius: 50%;
  background: inherit; opacity: 0.6;
  animation: pulseDot 2s ease infinite;
}
@keyframes pulseDot {
  0%   { transform: scale(1);   opacity: 0.8; }
  50%  { transform: scale(2.2); opacity: 0; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.sa-navbar { background: transparent !important; border: none !important; box-shadow: none !important; }

.sa-navbar > div:first-child,
.sa-navbar-inner {
  background: rgba(10, 10, 15, 0.92) !important;
  border-bottom: 1px solid var(--card-border) !important;
  backdrop-filter: blur(20px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(160%) !important;
  transition: background var(--t-base), border-color var(--t-base);
}

/* Logo */
.sa-navbar-logo {
  display: inline-flex; align-items: center; gap: 0.6rem;
  text-decoration: none !important;
}
.sa-navbar-logo:hover { opacity: 0.85; }

.sa-navbar-brand-text {
  font-family: var(--ff) !important;
  font-weight: 800 !important;
  font-size: 0.95rem !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

/* Logo icon diamond */
.sa-navbar-logo::before {
  content: "";
  width: 28px; height: 28px; flex-shrink: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, #a855f7, #6366f1);
  box-shadow: 0 0 14px rgba(168,85,247,0.5);
}

/* Nav links */
.sa-navbar-link {
  border-radius: var(--r-full) !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  color: var(--text-muted) !important;
  padding: 0.4rem 0.9rem !important;
  transition: color var(--t-fast), background var(--t-fast) !important;
  border: 1px solid transparent !important;
}
.sa-navbar-link:hover {
  color: #fff !important;
  background: rgba(255,255,255,0.05) !important;
}
.sa-navbar-link.text-t-primary,
.sa-navbar-link[aria-current] {
  color: var(--purple-hi) !important;
  background: var(--purple-dim) !important;
  border-color: var(--purple-line) !important;
}
.sa-navbar-cart { color: var(--text-muted) !important; transition: color var(--t-fast) !important; }
.sa-navbar-cart:hover { color: #fff !important; }

/* Mobile menu */
.sa-mobile-menu {
  background: #10111a !important;
  border: 1px solid var(--card-border) !important;
  border-radius: var(--r-xl) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  box-shadow: 0 24px 50px rgba(0,0,0,0.8), 0 0 30px rgba(168,85,247,0.12) !important;
}
.sa-mobile-nav-link {
  display: flex !important; align-items: center !important; justify-content: space-between !important;
  gap: 0.75rem; padding: 0.7rem 1rem !important;
  border-radius: var(--r-md) !important;
  color: var(--text-muted) !important;
  font-size: 0.875rem !important; font-weight: 500 !important;
  text-decoration: none !important;
  background: rgba(255,255,255,0.03) !important;
  border: 1px solid rgba(255,255,255,0.05) !important;
  margin-bottom: 0.3rem !important;
  transition: color var(--t-fast), background var(--t-fast), border-color var(--t-fast) !important;
}
.sa-mobile-nav-link:hover {
  color: #fff !important;
  background: var(--purple-dim) !important;
  border-color: var(--purple-line) !important;
}
html body .sa-mobile-nav-link.is-active {
  color: #fff !important;
  background: rgba(124,58,237,0.22) !important;
  border-color: rgba(168,85,247,0.50) !important;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.sa-hero { position: relative; isolation: isolate; }

.sa-hero-title {
  font-family: var(--ff) !important;
  font-size: clamp(2rem, 5.5vw, 4rem) !important;
  font-weight: 800 !important;
  line-height: 1.10 !important;
  letter-spacing: -0.03em !important;
  color: #fff !important;
  overflow: visible !important;
  padding-bottom: 2px;
}
.sa-hero-subtitle {
  font-size: clamp(0.9rem, 1.6vw, 1.1rem) !important;
  color: var(--text-muted) !important;
  line-height: 1.7 !important;
  max-width: 42rem;
}

/* Eyebrow pill */
.sa-hero-eyebrow {
  background: var(--purple-dim) !important;
  border-color: var(--purple-line) !important;
}
.sa-hero-eyebrow > span:first-child {
  background: linear-gradient(135deg, #a855f7, #6366f1) !important;
  color: #fff !important;
}

/* Hero bg effects */
.sa-hero .hero-bg-glow {
  background:
    radial-gradient(50% 55% at 50% 0%, rgba(168,85,247,0.18), transparent 70%),
    radial-gradient(30% 35% at 80% 20%, rgba(99,102,241,0.10), transparent 65%);
}
.sa-hero .hero-bg-grid {
  background-image:
    linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 15%, transparent 68%);
  mask-image: radial-gradient(ellipse at 50% 0%, #000 15%, transparent 68%);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.sa-btn {
  position: relative; overflow: hidden;
  border-radius: var(--r-md) !important;
  font-weight: 600 !important;
  font-family: var(--ff) !important;
  transition: transform var(--t-fast), box-shadow var(--t-base), background var(--t-fast) !important;
}
.sa-btn:active { transform: scale(0.96) !important; }

.sa-btn--primary {
  background: var(--purple) !important;
  color: #fff !important;
  border: none !important;
  box-shadow: var(--shadow-btn) !important;
}
.sa-btn--primary:hover {
  background: var(--purple-hi) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 24px rgba(168,85,247,0.45) !important;
}

.sa-btn--secondary, .sa-btn--outline {
  background: rgba(255,255,255,0.05) !important;
  border: 1px solid var(--card-border) !important;
  color: #fff !important;
}
.sa-btn--secondary:hover, .sa-btn--outline:hover {
  transform: translateY(-2px) !important;
  border-color: var(--purple-line) !important;
  background: var(--purple-dim) !important;
}

/* ==========================================================================
   PRODUCTS SECTION
   ========================================================================== */
.sa-products { position: relative; width: 100%; }

/* Search input */
.sa-products .input {
  height: 44px !important;
  background: var(--card-bg) !important;
  border: 1px solid var(--card-border) !important;
  border-radius: var(--r-full) !important;
  color: #fff !important;
  font-size: 0.875rem !important;
  font-family: var(--ff) !important;
  transition: border-color var(--t-fast), box-shadow var(--t-fast) !important;
}
.sa-products .input::placeholder { color: var(--text-dim) !important; }
.sa-products .input:focus {
  outline: none !important;
  border-color: var(--purple-line) !important;
  box-shadow: 0 0 0 3px rgba(168,85,247,0.12) !important;
}

/* Grid & items */
.sa-products-items { width: 100%; }
.sa-products-item, .sa-page-products-item { display: flex; width: 100%; min-width: 0; }
.sa-products-item > *, .sa-page-products-item > * { width: 100%; }

/* Force-hide filtered */
.sa-products-item[style*="display: none"],
.sa-products-item[style*="display:none"],
.sa-page-products-item[style*="display: none"],
.sa-page-products-item[style*="display:none"],
html body .sa-products-item[style*="display: none"],
html body .sa-page-products-item[style*="display: none"] {
  display: none !important; visibility: hidden !important;
  height: 0 !important; margin: 0 !important; padding: 0 !important;
}

/* ==========================================================================
   PRODUCT CARDS — base rules (low specificity fallback)
   High-specificity html body overrides are in the OVERRIDES block below.
   ========================================================================== */

/* Inner card borders */
.sa-product-card .border-t,
.sa-product-card .border-b { border-color: var(--card-border) !important; }

/* View / action button */
.sa-card-view-btn,
.sa-product-card a[href],
.sa-product-card [class*="btn"] { flex-shrink: 0 !important; }

.sa-page-products-items { width: 100%; }
.sa-page-products-item { display: flex; width: 100%; }

/* ==========================================================================
   FEATURES SECTION — dark cards with purple icon
   ========================================================================== */
.sa-features-item {
  background: var(--card-bg) !important;
  border: 1px solid var(--card-border) !important;
  border-radius: var(--r-xl) !important;
  box-shadow: var(--shadow-card) !important;
  transition: border-color var(--t-base), transform var(--t-base), box-shadow var(--t-base) !important;
}
@media (hover: hover) {
  .sa-features-item:hover {
    transform: translateY(-3px) !important;
    border-color: var(--purple-line) !important;
    box-shadow: 0 8px 28px rgba(0,0,0,0.5), 0 0 20px rgba(168,85,247,0.12) !important;
  }
}
/* Icon containers inherit purple tint */
.sa-features-item [class*="rounded-xl"],
.sa-features-item [class*="rounded-lg"],
.sa-features-item span[class*="bg-accent"],
.sa-features-item span[class*="bg-purple"] {
  background: var(--purple-dim) !important;
  color: var(--purple-hi) !important;
}

/* ==========================================================================
   STATS SECTION
   ========================================================================== */
.sa-stats-item {
  background: var(--card-bg) !important;
  border: 1px solid var(--card-border) !important;
  border-radius: var(--r-xl) !important;
  box-shadow: var(--shadow-card) !important;
  position: relative; overflow: hidden;
  transition: border-color var(--t-base), transform var(--t-base) !important;
}
.sa-stats-item::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--purple), #6366f1);
  opacity: 0.50; transition: opacity var(--t-base);
}
@media (hover: hover) {
  .sa-stats-item:hover {
    transform: translateY(-3px) !important;
    border-color: var(--purple-line) !important;
  }
  .sa-stats-item:hover::before { opacity: 1; }
}
.sa-stats-item .text-h1,
.sa-stats-item .text-h2,
.sa-stats-item [class*="text-h"] {
  background: linear-gradient(135deg, #fff 20%, #e9d5ff 60%, var(--purple) 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  font-weight: 800 !important;
  display: inline-block !important;
  padding-right: 0.12em !important;
  padding-bottom: 0.1em !important;
  overflow: visible !important;
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.sa-faq .rounded-card {
  background: var(--card-bg) !important;
  border: 1px solid var(--card-border) !important;
  border-radius: var(--r-lg) !important;
  transition: border-color var(--t-fast) !important;
}
.sa-faq .rounded-card:hover { border-color: var(--purple-line) !important; }
.sa-faq-item button { font-weight: 600 !important; transition: color var(--t-fast) !important; }
.sa-faq-item button:hover { color: var(--purple-hi) !important; }

/* FAQ accordion */
.faq-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.22s cubic-bezier(.16,1,.3,1); }
.faq-panel.faq-panel-open { grid-template-rows: 1fr; }
.faq-panel-inner { overflow: hidden; }

/* ==========================================================================
   FEEDBACK / REVIEWS
   ========================================================================== */
.sa-feedback-card, .sa-feedbacks .rounded-card {
  background: var(--card-bg) !important;
  border: 1px solid var(--card-border) !important;
  border-radius: var(--r-xl) !important;
  box-shadow: var(--shadow-card) !important;
  transition: border-color var(--t-base), transform var(--t-base) !important;
}
@media (hover: hover) {
  .sa-feedback-card:hover, .sa-feedbacks .rounded-card:hover {
    transform: translateY(-3px) !important;
    border-color: var(--purple-line) !important;
  }
}

/* ==========================================================================
   STEPS
   ========================================================================== */
.sa-steps .rounded-card {
  background: var(--card-bg) !important;
  border: 1px solid var(--card-border) !important;
  border-radius: var(--r-xl) !important;
  transition: border-color var(--t-base), transform var(--t-base) !important;
}
@media (hover: hover) {
  .sa-steps .rounded-card:hover {
    transform: translateY(-3px) !important;
    border-color: var(--purple-line) !important;
  }
}

/* ==========================================================================
   ANNOUNCEMENT TICKER
   ========================================================================== */
.sa-announcement {
  background: rgba(10,10,15,0.98) !important;
  border-bottom: 1px solid var(--card-border) !important;
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  color: var(--text-muted) !important;
  position: relative; z-index: 50;
}
.sa-announcement-item {
  color: var(--text) !important;
  display: inline-flex; align-items: center; gap: 0.5rem;
  transition: color var(--t-fast);
}
.sa-announcement-item:hover { color: var(--purple-hi) !important; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.sa-footer {
  background: #07070d !important;
  border-top: 1px solid var(--card-border) !important;
  margin-top: 5rem !important;
  position: relative;
}
.sa-footer::before {
  content: ""; position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  width: min(500px, 70%); height: 1px;
  background: linear-gradient(90deg, transparent, var(--purple), #6366f1, transparent);
}
.sa-footer-link {
  font-size: 0.875rem !important;
  color: var(--text-muted) !important;
  text-decoration: none !important;
  transition: color var(--t-fast) !important;
  display: block; width: fit-content;
}
.sa-footer-link:hover { color: var(--purple-hi) !important; }

/* ==========================================================================
   MODALS & OVERLAYS
   ========================================================================== */
.sa-group-modal {
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  background: rgba(7,7,12,0.85) !important;
}
.sa-group-modal .rounded-card {
  background: #12121a !important;
  border: 1px solid var(--card-border) !important;
  border-radius: var(--r-2xl) !important;
  box-shadow: 0 30px 60px rgba(0,0,0,0.9), 0 0 40px rgba(168,85,247,0.12) !important;
}
.sa-cart-panel, .bg-surface-raised {
  background: #12121a !important;
  border-color: var(--card-border) !important;
  backdrop-filter: blur(20px) !important;
  box-shadow: 0 20px 50px rgba(0,0,0,0.8) !important;
}
.sa-cart-panel { border-left: 1px solid var(--card-border) !important; }

/* ==========================================================================
   FORMS (GLOBAL)
   ========================================================================== */
html body input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
html body textarea, html body select {
  background: var(--card-bg) !important;
  border: 1px solid var(--card-border) !important;
  border-radius: var(--r-md) !important;
  color: #fff !important;
  font-family: var(--ff) !important;
  transition: border-color var(--t-fast), box-shadow var(--t-fast) !important;
}
html body input:focus:not([type="checkbox"]):not([type="radio"]),
html body textarea:focus, html body select:focus {
  outline: none !important;
  border-color: var(--purple-line) !important;
  box-shadow: 0 0 0 3px rgba(168,85,247,0.15) !important;
}

/* ==========================================================================
   PREVIEW CARDS (feature-catalog)
   ========================================================================== */
.sa-preview-card {
  background: var(--card-bg) !important;
  border: 1px solid var(--card-border) !important;
  border-radius: var(--r-xl) !important;
  box-shadow: var(--shadow-card) !important;
  transition: border-color var(--t-base), transform var(--t-base), box-shadow var(--t-base) !important;
}
@media (hover: hover) {
  .sa-preview-card:hover {
    transform: translateY(-4px) !important;
    border-color: var(--purple-line) !important;
    box-shadow: var(--shadow-hover) !important;
  }
  .sa-preview-card--cs2:hover {
    border-color: rgba(6,182,212,0.35) !important;
    box-shadow: 0 12px 36px rgba(0,0,0,0.7), 0 0 24px rgba(6,182,212,0.15) !important;
  }
}

/* Preview buttons */
.sa-preview-btn--gta {
  background: linear-gradient(135deg, var(--purple), #6366f1) !important;
  border: none !important;
  box-shadow: 0 4px 18px rgba(168,85,247,0.4) !important;
}
.sa-preview-btn--gta:hover {
  background: linear-gradient(135deg, var(--purple-hi), var(--purple)) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(168,85,247,0.55) !important;
}

/* ==========================================================================
   PAGE STATUS / TRUST
   ========================================================================== */
.sa-page-status .rounded-card,
.sa-trust-badges .rounded-card,
.sa-social-proof .rounded-card {
  background: var(--card-bg) !important;
  border: 1px solid var(--card-border) !important;
  border-radius: var(--r-lg) !important;
}

/* ==========================================================================
   SECTION HEADER
   ========================================================================== */
/* Eyebrow overline text */
[class*="eyebrow"], [class*="headline"] {
  color: var(--purple-hi) !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
}

/* ==========================================================================
   BEACON / PULSE
   ========================================================================== */
.beacon-dot { position: relative; display: inline-flex; }
.beacon-dot::after {
  content: ""; position: absolute; inset: -2px; border-radius: 9999px;
  background: inherit; opacity: 0.6;
  animation: beaconPulse 1.8s cubic-bezier(.24,0,.38,1) infinite;
}
@keyframes beaconPulse {
  0%   { transform: scale(0.95); opacity: 0.8; }
  70%  { transform: scale(2.2);  opacity: 0; }
  100% { transform: scale(2.2);  opacity: 0; }
}

/* ==========================================================================
   SCROLL PROGRESS
   ========================================================================== */
#sx-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 100%;
  transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--purple), #6366f1);
  z-index: 10001; pointer-events: none;
  box-shadow: 0 0 10px rgba(168,85,247,0.7);
  transition: transform 0.1s linear;
}

/* ==========================================================================
   REVEAL SAFETY
   ========================================================================== */
@keyframes dsrReveal { to { visibility: visible !important; opacity: 1 !important; } }
[data-dsr] { animation: dsrReveal 0.35s ease 0.8s forwards; }
@media (prefers-reduced-motion: reduce) {
  [data-dsr] { opacity: 1 !important; visibility: visible !important; animation: none !important; }
}

/* ==========================================================================
   HIGH-SPECIFICITY OVERRIDES — beat sylent.css's html body selectors
   ========================================================================== */

/* Product card: Masterpiece High-Converting Authentic Digital Goods Box */
html body .sa-product-card {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  height: 100% !important;
  min-width: 0 !important;
  background: rgba(14, 16, 24, 0.92) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  text-decoration: none !important;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.65) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
}
html body .sa-product-card::before,
html body .sa-product-card::after {
  display: none !important;
}
html body .sa-product-card > * {
  position: relative !important;
  z-index: 1 !important;
}

@media (hover: hover) {
  html body .sa-product-card:hover {
    border-color: rgba(168, 85, 247, 0.45) !important;
    box-shadow: 0 20px 48px -12px rgba(0, 0, 0, 0.85), 0 0 28px -4px rgba(168, 85, 247, 0.25) !important;
    transform: translateY(-5px) !important;
  }
  html body .sa-product-card:hover .sa-product-card-media img {
    transform: scale(1.05) !important;
  }
  html body .sa-product-card:hover .sa-product-card-title {
    color: #c084fc !important;
  }
  html body .sa-product-card:hover .sa-card-view-btn {
    background: #a855f7 !important;
    color: #ffffff !important;
    border-color: #a855f7 !important;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.5) !important;
    transform: scale(1.04) !important;
  }
}

html body .sa-product-card-media {
  position: relative !important;
  overflow: hidden !important;
  background: #0b0c13 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  aspect-ratio: 16 / 9 !important;
  min-height: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
html body .sa-product-card-media img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1) !important;
  opacity: 0.95 !important;
}
html body .sa-product-card-title {
  font-family: var(--ff-heading, 'Plus Jakarta Sans', var(--ff)) !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  line-height: 1.35 !important;
  letter-spacing: -0.015em !important;
  display: block !important;
  word-break: break-word !important;
  overflow-wrap: break-word !important;
  transition: color 0.2s ease !important;
}
html body .sa-product-card-price {
  font-family: var(--ff-heading, 'Plus Jakarta Sans', var(--ff)) !important;
  font-size: 1.25rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  letter-spacing: -0.02em !important;
  display: block !important;
  line-height: 1.15 !important;
}
html body .sa-product-card-status {
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  border-radius: 9999px !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
}
html body .sa-card-view-btn {
  display: flex !important;
  width: 100% !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0.65rem 1rem !important;
  border-radius: 12px !important;
  background: rgba(168, 85, 247, 0.15) !important;
  border: 1px solid rgba(168, 85, 247, 0.35) !important;
  color: #c084fc !important;
  font-weight: 700 !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.02em !important;
  transition: all 0.2s ease !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
  white-space: nowrap !important;
  text-align: center !important;
}

/* Hard constraint: prevent SVGs in search / products from blowing up */
.sa-products svg,
.sa-page-products svg {
  max-width: 18px !important;
  max-height: 18px !important;
}

/* Responsive grid — with html body specificity to beat sylent.css */
@media (max-width: 639px) {
  html body .sa-products-items.grid,
  html body .sa-page-products-items.grid {
    grid-template-columns: minmax(0,1fr) !important;
    gap: 1.25rem !important;
  }
  html body .sa-product-card { border-radius: var(--r-xl) !important; }
}
@media (min-width: 640px) and (max-width: 1023px) {
  html body .sa-products-items.grid,
  html body .sa-page-products-items.grid {
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
    gap: 1.25rem !important;
  }
}
@media (min-width: 1024px) {
  html body .sa-products-items.grid,
  html body .sa-page-products-items.grid {
    grid-template-columns: repeat(3, minmax(0,1fr)) !important;
    gap: 1.5rem !important;
  }
}
@media (min-width: 1536px) {
  html body .sa-products-items.grid,
  html body .sa-page-products-items.grid {
    grid-template-columns: repeat(4, minmax(0,1fr)) !important;
    gap: 1.5rem !important;
  }
}

/* Logo ::before — override sylent.css's rotate/mask/diamond with our solid square */
html body .sa-navbar-logo::before {
  content: "" !important;
  width: 28px !important; height: 28px !important;
  flex: none !important;
  border-radius: 8px !important;
  background: linear-gradient(135deg, #a855f7, #6366f1) !important;
  box-shadow: 0 0 14px rgba(168,85,247,0.5) !important;
  transform: none !important;
  transition: none !important;
  -webkit-mask: none !important;
  mask: none !important;
}
html body .sa-navbar-logo:hover::before {
  transform: none !important;
}

/* Navbar brand text — override sylent.css gradient text with solid white */
html body .sa-navbar-brand-text,
html body .sa-navbar-logo span {
  font-family: var(--ff) !important;
  font-weight: 800 !important;
  font-size: 0.95rem !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
}

/* ==========================================================================
   MOBILE + PC RESPONSIVE POLISH
   ========================================================================== */

/* ── Navbar ── */
@media (max-width: 639px) {
  html body .sa-navbar-brand-text,
  html body .sa-navbar-logo span { font-size: 0.82rem !important; }
  .wrap { padding-inline: 0.875rem !important; }
}

/* ── Hero ── */
@media (max-width: 480px) {
  .sa-hero-title { font-size: clamp(1.75rem, 9vw, 2.4rem) !important; line-height: 1.08 !important; }
  .sa-hero-subtitle { font-size: 0.875rem !important; line-height: 1.65 !important; }
  /* Stack CTA buttons vertically, full width */
  .sa-hero-actions {
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    gap: 0.625rem !important;
  }
  .sa-hero-actions .sa-btn {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
  }
}
@media (max-width: 767px) {
  .sa-hero-title { font-size: clamp(1.9rem, 8.5vw, 2.6rem) !important; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)) !important; }
}

/* ── Products section ── */
@media (max-width: 639px) {
  .sa-products.py-section,
  .sa-page-products.py-section {
    padding-top: 2.25rem !important;
    padding-bottom: 2.25rem !important;
  }
  /* Search bar full width on mobile */
  .sa-products .max-w-md,
  .sa-products [class*="max-w-"] { max-width: 100% !important; }
}

/* ── Features ── */
@media (max-width: 639px) {
  .sa-features-items {
    grid-template-columns: 1fr !important;
    gap: 0.875rem !important;
  }
  .sa-features-item { padding: 1.25rem !important; }
}

/* ── Stats ── */
@media (max-width: 639px) {
  .sa-stats-items { grid-template-columns: repeat(2, 1fr) !important; gap: 0.875rem !important; }
}
@media (max-width: 360px) {
  .sa-stats-items { grid-template-columns: 1fr !important; }
}

/* ==========================================================================
   INSTALLATION & SETUP GUIDE PAGE (sa-page-guide)
   ========================================================================== */
.sa-page-guide {
  position: relative;
  min-height: 80vh;
}
.sa-page-guide kbd {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  background: #171926;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}
.sa-page-guide code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
.sa-page-guide [id] {
  scroll-margin-top: 5.5rem;
}

/* ── FAQ ── */
@media (max-width: 639px) {
  .sa-faq-item button { font-size: 0.9rem !important; }
}

/* ── Feedbacks / Steps ── */
@media (max-width: 639px) {
  .sa-feedbacks .rounded-card { padding: 1rem !important; }
  .sa-steps .rounded-card  { padding: 1rem !important; }
}

/* ── Announcement ── */
@media (max-width: 480px) {
  .sa-announcement { font-size: 0.62rem !important; letter-spacing: 0.04em !important; }
}

/* ── Footer ── */
@media (max-width: 639px) {
  .sa-footer { padding-top: 2.5rem !important; padding-bottom: 1.5rem !important; margin-top: 3rem !important; }
}

/* ── Buttons: bigger tap targets on mobile ── */
@media (max-width: 767px) {
  .sa-btn { min-height: 46px !important; }
}

/* ── Page products sidebar: collapse on mobile ── */
@media (max-width: 1023px) {
  /* Sidebar filter panel stacks above products */
  .sa-page-products .lg\:grid-cols-\[15rem_minmax\(0\2c1fr\)\] {
    grid-template-columns: 1fr !important;
  }
  body { padding-bottom: calc(80px + env(safe-area-inset-bottom)) !important; }
}

/* ── PC: section max-width cap ── */
@media (min-width: 1280px) {
  .sa-hero .wrap { max-width: 1180px !important; }
  .sa-products .wrap,
  .sa-page-products .wrap { max-width: 1280px !important; }
}

/* ── Horizontal overflow safety ── */
html, body, .component, .sa-products, .sa-features, .sa-stats,
.sa-faq, .sa-feedbacks, .sa-steps, .sa-footer {
  max-width: 100vw !important;
}

/* ==========================================================================
   MOBILE
   ========================================================================== */
@media (max-width: 767px) {
  .sa-hero-title { font-size: clamp(1.9rem, 8.5vw, 2.6rem) !important; }
  .sa-btn { min-height: 44px; }
}

/* ==========================================================================
   NAVBAR INNER — force sticky to work
   ========================================================================== */
html body .sa-header {
  position: sticky !important; top: 0 !important; z-index: 100 !important;
  width: 100% !important; background: transparent !important;
}
html body .sa-navbar {
  position: relative !important; z-index: 50 !important;
  width: 100% !important; opacity: 1 !important; visibility: visible !important;
}
html body .sa-navbar-inner {
  background: rgba(10,10,15,0.93) !important;
  border-bottom: 1px solid var(--card-border) !important;
  backdrop-filter: blur(20px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(160%) !important;
  box-shadow: 0 2px 20px rgba(0,0,0,0.4) !important;
  width: 100% !important;
}

/* Brand text — solid white (not gradient here, cleaner) */
html body .sa-navbar-brand-text {
  font-size: 1rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.06em !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  text-transform: uppercase !important;
}

/* ==========================================================================
   AUTHENTIC PRODUCT BOXES & UI CORRECTIONS (ZERO CLIPPING / ZERO WRAPPING)
   ========================================================================== */

/* 1. Global Price Formatting Safety: No Vertical Single-Character Wrapping */
html body .sa-product-card-price,
html body .sa-product-card-price *,
html body .sa-price-range,
html body .sa-product-card-price-slash,
html body .sa-product-card-price-slash * {
  white-space: nowrap !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
  display: inline-block !important;
  font-variant-numeric: tabular-nums !important;
}

/* 2. Guaranteed Search Bar Icon Size Protection (Zero Icon Ballooning) */
.sa-products .relative svg,
.sa-page-products .relative svg,
.sa-searchbar svg,
.sa-search-modal svg,
svg.fa-search,
.fa-search {
  max-width: 18px !important;
  max-height: 18px !important;
  width: 15px !important;
  height: 15px !important;
  display: inline-block !important;
}

/* 3. Product Card Badge Non-Collision Guarantee */
.sa-product-card-badges {
  pointer-events: none !important;
  max-width: 90% !important;
}

.sa-product-card-badges span {
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
  overflow: hidden !important;
}

/* 4. Action Button Styling */
html body .sa-card-view-btn {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  white-space: nowrap !important;
}

/* 5. Search Input Padding: Prevent icon from overlapping placeholder or input text */
html body .sa-catalog-search-input,
html body .sa-products .relative input,
html body .sa-page-products .relative input,
html body .relative > .fa-search + input,
html body .relative > svg + input {
  padding-left: 46px !important;
  padding-right: 36px !important;
}
