/*
 * ─────────────────────────────────────────────────────────────────────────────
 *   YourStore — Custom Theme Integration
 *   Dark Aesthetic — Outfit Font — Deep Blue Color Palette
 *   Applied on top of SellAuth's built.css via sa-* hooks
 * ─────────────────────────────────────────────────────────────────────────────
*/

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

/* ── Root Variables Override ──────────────────────────────────────────────── */
:root {
  --ys-bg:    #07050e;
  --ys-card:  #0f091c;
  --ys-line:  #24143a;
  --ys-tx:    #f9f7fd;
  --ys-mu:    #8b7ca6;
  --ys-ac:    #ec4899;   /* Discord Boost Magenta */
  --ys-ac2:   #f472b6;   /* Bright Neon Pink */
  --ys-ac3:   #a855f7;   /* Electric Violet */
  --ys-ok:    #a855f7;
}

/* ── Force Dark Mode Everywhere ───────────────────────────────────────────── */
html,
html[data-scheme="dark"],
html[data-scheme="light"] {
  background-color: var(--ys-bg) !important;
  color-scheme: dark !important;
}

/* ── Body ─────────────────────────────────────────────────────────────────── */
body {
  font-family: 'Outfit', system-ui, -apple-system, sans-serif !important;
  background: radial-gradient(1200px 600px at 50% -100px, #2a0e44, transparent),
              var(--ys-bg) !important;
  color: var(--ys-tx) !important;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', system-ui, -apple-system, sans-serif !important;
}

/* ── Particle / Glow Canvas (full-page background) ───────────────────────── */
#ys-fx {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ── Scroll Progress Bar ──────────────────────────────────────────────────── */
#ys-sp {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 9999;
  background: linear-gradient(90deg, #ec4899, #a855f7) !important;
  box-shadow: 0 0 14px #ec4899 !important;
  transition: width 0.1s linear;
}

/* ── Cursor Glow ──────────────────────────────────────────────────────────── */
#ys-cg {
  position: fixed;
  left: 0;
  top: 0;
  width: 420px;
  height: 420px;
  margin: -210px 0 0 -210px;
  border-radius: 50%;
  background: radial-gradient(#ec489926, transparent 65%) !important;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: screen;
}

@media (pointer: coarse) {
  #ys-cg { display: none; }
}

/* ── Navbar — Floating Pill ───────────────────────────────────────────────── */
.sa-header {
  background: transparent !important;
}

.sa-navbar--floating-pill > div > div {
  border: 1px solid var(--ys-line) !important;
  background: #080c16d9 !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  box-shadow: 0 4px 32px rgba(0,0,0,0.4) !important;
}

.sa-navbar-link {
  color: var(--ys-mu) !important;
  font-weight: 500 !important;
  font-size: 15px !important;
  transition: color 0.2s, background 0.2s !important;
}

.sa-navbar-link:hover,
.sa-navbar-link.text-t-primary {
  color: #fff !important;
  background: rgba(255,255,255,0.06) !important;
}

.sa-navbar-logo span {
  color: var(--ys-ac2) !important;
  font-weight: 700 !important;
  font-size: 19px !important;
}

/* Cart Icon Button in Navbar */
.sa-navbar-cart {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  background: #0b1120 !important;
  border: 1px solid var(--ys-line) !important;
  color: var(--ys-ac2) !important;
  display: grid !important;
  place-items: center !important;
  transition: transform 0.25s !important;
}

.sa-navbar-cart:hover {
  transform: translateY(-2px) !important;
}

.sa-navbar-cart:hover,
.sa-header button[aria-label]:hover {
  transform: translateY(-2px) !important;
}

/* ── Hero Section ─────────────────────────────────────────────────────────── */
.sa-hero {
  text-align: center;
  padding-top: 80px !important;
  position: relative;
  isolation: isolate;
}

.sa-hero-eyebrow {
  display: inline-flex !important;
  gap: 8px;
  align-items: center;
  border: 1px solid var(--ys-line) !important;
  background: #080d19 !important;
  padding: 7px 18px !important;
  border-radius: 99px !important;
  color: var(--ys-ac2) !important;
  font-size: 14px !important;
  margin-bottom: 26px !important;
}

.sa-hero-title {
  font-size: clamp(38px, 6.5vw, 72px) !important;
  line-height: 1.05 !important;
  letter-spacing: -2px !important;
  font-weight: 800 !important;
  max-width: 900px;
  margin: 0 auto 22px !important;
}

.sa-hero-subtitle {
  color: var(--ys-mu) !important;
  max-width: 620px;
  margin: 0 auto 34px !important;
  font-size: 18px !important;
}

.sa-hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Buttons Global ───────────────────────────────────────────────────────── */
.sa-btn,
[class*="sa-btn"] {
  border-radius: 99px !important;
  font-weight: 600 !important;
  font-family: 'Outfit', sans-serif !important;
  font-size: 15px !important;
  transition: transform 0.25s, box-shadow 0.25s !important;
  position: relative;
  overflow: hidden;
}

.sa-btn:hover {
  transform: translateY(-2px) !important;
}

/* Primary button — Solid Pure Pink */
.sa-btn--primary,
[class*="bg-accent-500"],
button[class*="btn"][class*="primary"],
.sa-add-to-cart {
  background: #ec4899 !important;
  background-color: #ec4899 !important;
  background-image: none !important;
  border: 0 !important;
  color: #fff !important;
  box-shadow: 0 8px 28px rgba(236, 72, 153, 0.45) !important;
}

.sa-btn--primary:hover,
.sa-add-to-cart:hover {
  background: #db2777 !important;
  background-color: #db2777 !important;
  background-image: none !important;
  box-shadow: 0 12px 36px rgba(236, 72, 153, 0.65) !important;
  transform: translateY(-2px) !important;
}

/* Discord Boost Badge inside buttons */
.sa-boost-badge {
  display: inline-block !important;
  vertical-align: middle !important;
  width: 20px !important;
  height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
  object-fit: contain !important;
  flex-shrink: 0 !important;
  pointer-events: none !important;
  user-select: none !important;
}

/* Ripple effect on button click */
.sa-btn .ys-ripple {
  position: absolute;
  border-radius: 50%;
  background: #ffffff40;
  transform: scale(0);
  animation: ys-rp 0.6s ease-out forwards;
  pointer-events: none;
}

@keyframes ys-rp {
  to { transform: scale(4); opacity: 0; }
}

/* ── Section Headers ──────────────────────────────────────────────────────── */
.sa-section-header {
  text-align: center;
  margin-bottom: 48px;
}

.sa-section-eyebrow {
  display: block;
  text-align: center;
  color: var(--ys-ac) !important;
  font-size: 12px;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 14px !important;
}

.sa-section-title {
  font-size: clamp(28px, 4vw, 44px) !important;
  letter-spacing: -1px;
  font-weight: 700 !important;
  text-align: center;
  color: var(--ys-tx) !important;
}

.sa-section-subtitle {
  color: var(--ys-mu) !important;
  text-align: center;
  max-width: 600px;
  margin: 12px auto 48px !important;
  font-size: 16px;
}

/* ── Product Cards ────────────────────────────────────────────────────────── */
.sa-product-card {
  background: linear-gradient(160deg, #180c2c 0%, #0d071a 55%, #080410 100%) !important;
  border: 1px solid #281440 !important;
  border-radius: 24px !important;
  box-shadow: inset 1px 1px 0 #ec489922, 0 20px 40px rgba(0,0,0,0.5) !important;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s !important;
  overflow: hidden;
  position: relative;
}

.sa-product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(240px circle at var(--gx, 50%) var(--gy, 50%), #ffffff0f, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  z-index: 0;
}

.sa-product-card:hover::before { opacity: 1; }

.sa-product-card:hover {
  border-color: #ec4899 !important;
  transform: translateY(-6px) !important;
  box-shadow: 0 24px 50px rgba(236, 72, 153, 0.25) !important;
}

/* Product card price styling (smaller & cleaner) */
.sa-product-card-price {
  font-size: 19px !important;
  font-weight: 800 !important;
  letter-spacing: -0.5px !important;
  color: var(--ys-tx) !important;
}

/* Buy Button with Light Sweep (Shimmer) */
.ys-buy-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 15px;
  border-radius: 99px;
  background: #ec4899 !important;
  background-color: #ec4899 !important;
  background-image: none !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 18px rgba(236, 72, 153, 0.45) !important;
  transition: transform 0.2s, box-shadow 0.2s !important;
}

.ys-buy-btn:hover {
  background: #db2777 !important;
  background-color: #db2777 !important;
  background-image: none !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 24px rgba(236, 72, 153, 0.7) !important;
}

.ys-shimmer {
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: skewX(-20deg);
  animation: ys-sweep 2.8s infinite;
  pointer-events: none;
}

@keyframes ys-sweep {
  0% { left: -100%; }
  35%, 100% { left: 200%; }
}

/* Product card title */
.sa-product-card-title {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: var(--ys-tx) !important;
}

/* Product card stock */
.sa-product-card-stock .text-success {
  color: var(--ys-ok) !important;
}

/* ── Categories / Groups Cards ────────────────────────────────────────────── */
.sa-categories-item {
  background: linear-gradient(145deg, #0d1529, #080d1a) !important;
  border: 1px solid var(--ys-line) !important;
  border-radius: 22px !important;
  transition: border-color 0.3s, transform 0.3s !important;
}

.sa-categories-item:hover {
  border-color: #2c4378 !important;
  transform: translateY(-4px) !important;
}

/* ── Features Grid / Bento ────────────────────────────────────────────────── */
.sa-features-item {
  background: linear-gradient(145deg, #0d1529, #080d1a) !important;
  border: 1px solid var(--ys-line) !important;
  border-radius: 24px !important;
  padding: 28px !important;
  transition: border-color 0.3s !important;
  position: relative;
  overflow: hidden;
}

.sa-features-item::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(240px circle at var(--gx, 50%) var(--gy, 50%), #ffffff0f, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.sa-features-item:hover::before { opacity: 1; }

.sa-features-item:hover {
  border-color: #2c4378 !important;
}

/* Feature icon */
[class*="sa-features"] [class*="bg-accent"] {
  background: rgba(74, 107, 184, 0.15) !important;
  color: var(--ys-ac2) !important;
  border-radius: 14px !important;
}

/* ── Steps ────────────────────────────────────────────────────────────────── */
.sa-steps-item {
  background: linear-gradient(145deg, #0d1529, #080d1a) !important;
  border: 1px solid var(--ys-line) !important;
  border-radius: 24px !important;
  padding: 24px 26px !important;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s !important;
  position: relative;
  overflow: hidden;
}

.sa-steps-item:hover {
  border-color: #2c4378 !important;
  transform: translateY(-4px) !important;
}

/* Step number accent */
.sa-steps-item [class*="text-accent"] {
  color: var(--ys-ac2) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 2px !important;
}

/* ── FAQ ──────────────────────────────────────────────────────────────────── */
.sa-faq-item {
  background: var(--ys-card) !important;
  border: 1px solid var(--ys-line) !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  transition: border-color 0.3s, background 0.3s !important;
  margin-bottom: 10px;
}

.sa-faq-item[x-data] button {
  font-weight: 600 !important;
  font-size: 16px !important;
  color: var(--ys-tx) !important;
  background: none !important;
}

/* Expanded state */
.sa-faq-item[x-data]:has([x-bind="open"]) {
  border-color: #2c4378 !important;
  background: linear-gradient(160deg, #0f1a36, #0a1020) !important;
}

/* ── Testimonial / Feedback Cards ─────────────────────────────────────────── */
.sa-feedback-card {
  background: var(--ys-card) !important;
  border: 1px solid var(--ys-line) !important;
  border-radius: 22px !important;
  padding: 24px !important;
  transition: border-color 0.3s !important;
}

.sa-feedback-card:hover {
  border-color: #2c4378 !important;
}

/* Star rating color */
.sa-feedback-card .text-warning {
  color: #f5c518 !important;
}

/* ── Footer ───────────────────────────────────────────────────────────────── */
.sa-footer {
  border-top: 1px solid var(--ys-line) !important;
  background: transparent !important;
  color: var(--ys-mu) !important;
  font-size: 15px;
}

.sa-footer-link {
  color: var(--ys-mu) !important;
  transition: color 0.2s !important;
  display: block;
  padding: 3px 0;
}

.sa-footer-link:hover {
  color: #fff !important;
}

/* ── Cart Panel / Drawer ──────────────────────────────────────────────────── */
.sa-cart-panel {
  background: #06091380 !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-left: 1px solid var(--ys-line) !important;
}

.sa-cart-panel [class*="bg-surface"] {
  background: #080c18 !important;
}

.sa-cart-item {
  border-color: var(--ys-line) !important;
  background: #0a1020 !important;
  border-radius: 12px !important;
}

/* ── Search Modal ─────────────────────────────────────────────────────────── */
.sa-searchbar input,
[x-ref="searchInput"],
[id*="search"] input {
  background: #070c17 !important;
  border: 1px solid var(--ys-line) !important;
  color: var(--ys-tx) !important;
  border-radius: 12px !important;
}

/* ── Inputs / Forms ───────────────────────────────────────────────────────── */
.input,
input[type="text"],
input[type="email"],
input[type="number"],
input[type="password"],
textarea,
select {
  background-color: #070c17 !important;
  border-color: var(--ys-line) !important;
  color: var(--ys-tx) !important;
  border-radius: 10px !important;
}

.input:focus,
input:focus,
textarea:focus,
select:focus {
  border-color: var(--ys-ac) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(74, 107, 184, 0.25) !important;
}

/* ── Modals / Dialogs ─────────────────────────────────────────────────────── */
[role="dialog"],
[class*="modal"],
.sa-group-modal {
  background: #080c18 !important;
  border: 1px solid #1a2540 !important;
  border-radius: 24px !important;
  color: var(--ys-tx) !important;
}

/* Overlay backdrop */
[class*="overlay"],
[class*="backdrop"],
.fixed.inset-0[class*="bg-"] {
  background-color: rgba(2, 4, 12, 0.8) !important;
  backdrop-filter: blur(8px) !important;
}

/* ── Trust Badges ─────────────────────────────────────────────────────────── */
.sa-trust-badges-item {
  background: linear-gradient(145deg, #0d1529, #080d1a) !important;
  border: 1px solid var(--ys-line) !important;
  border-radius: 18px !important;
  transition: border-color 0.3s, transform 0.3s !important;
}

.sa-trust-badges-item:hover {
  border-color: #2c4378 !important;
  transform: translateY(-3px) !important;
}

/* ── Announcement Bar (Moving Marquee Ticker) ─────────────────────────────── */
[class*="sa-announcement"],
[id*="announcement"] {
  background: linear-gradient(90deg, #090514, #18092d, #270e42, #18092d, #090514) !important;
  border-bottom: 1px solid rgba(236, 72, 153, 0.3) !important;
  color: #f9f7fd !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  position: relative;
  z-index: 40;
}

.sa-announcement .animate-announcement-scroll {
  display: flex !important;
  align-items: center !important;
  gap: 2.5rem !important;
  will-change: transform;
}

.sa-announcement:hover .animate-announcement-scroll {
  animation-play-state: paused !important;
}

.sa-announcement-item {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 3px 12px !important;
  border-radius: 9999px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(236, 72, 153, 0.2) !important;
  color: #f9f7fd !important;
  font-weight: 500 !important;
  letter-spacing: 0.01em !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
}

.sa-announcement-item:hover {
  background: rgba(236, 72, 153, 0.15) !important;
  border-color: rgba(236, 72, 153, 0.6) !important;
  color: #ffffff !important;
  box-shadow: 0 0 12px rgba(236, 72, 153, 0.35) !important;
  transform: translateY(-1px);
}

/* ── Breadcrumbs ──────────────────────────────────────────────────────────── */
.sa-breadcrumbs {
  color: var(--ys-mu) !important;
}

/* ── Pagination ───────────────────────────────────────────────────────────── */
.sa-pagination button,
.sa-pagination a {
  background: #0b1120 !important;
  border: 1px solid var(--ys-line) !important;
  color: var(--ys-mu) !important;
  border-radius: 10px !important;
  transition: all 0.2s !important;
}

.sa-pagination button:hover,
.sa-pagination a:hover,
.sa-pagination [aria-current] {
  background: var(--ys-ac) !important;
  border-color: var(--ys-ac) !important;
  color: #fff !important;
}

/* ── Product Page ─────────────────────────────────────────────────────────── */
.sa-product-gallery {
  border-radius: 20px !important;
  overflow: hidden;
  border: 1px solid var(--ys-line) !important;
}

/* ── Toasts ───────────────────────────────────────────────────────────────── */
.sa-toast {
  background: #0a1020f0 !important;
  border: 1px solid var(--ys-line) !important;
  border-radius: 16px !important;
  backdrop-filter: blur(12px) !important;
  color: var(--ys-tx) !important;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6) !important;
}

/* ── Cookie Consent ───────────────────────────────────────────────────────── */
[id*="cookie"],
[class*="cookie"] {
  background: #0a1020f0 !important;
  backdrop-filter: blur(14px) !important;
  border: 1px solid #1e2b4a !important;
  border-radius: 22px !important;
  color: var(--ys-tx) !important;
  box-shadow: 0 20px 60px rgba(0,0,0,0.7) !important;
}

/* ── Accent Color Overrides ───────────────────────────────────────────────── */
.text-accent-500 {
  color: var(--ys-ac2) !important;
}

.bg-accent-500 {
  background-color: var(--ys-ac) !important;
}

.border-accent-500 {
  border-color: var(--ys-ac) !important;
}

/* Gradient accent badges */
[class*="bg-accent"][class*="10"] {
  background: rgba(74, 107, 184, 0.1) !important;
}

/* ── Scroll-Reveal Animation ─────────────────────────────────────────────── */
[data-dsr] {
  opacity: 0;
  transform: perspective(900px) translateY(36px) rotateX(-16deg);
  transform-origin: 50% 100%;
  transition: opacity 0.9s cubic-bezier(0.2, 0.8, 0.2, 1),
              transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}

[data-dsr].ys-visible {
  opacity: 1 !important;
  transform: none !important;
}

/* ── Customer Dashboard / Account Pages ──────────────────────────────────── */
.sa-tpl-customer-dashboard,
.sa-tpl-customer-invoices,
.sa-tpl-customer-tickets,
.sa-tpl-customer-balance {
  /* Nothing extra — dark bg from body handles it */
}

[class*="sa-customer"] [class*="bg-surface"],
[class*="customer"] [class*="bg-surface"] {
  background: #0a1020 !important;
  border-color: var(--ys-line) !important;
}

/* ── Coupon Popup ─────────────────────────────────────────────────────────── */
.sa-coupon {
  background: #070b18 !important;
  border: 1px solid var(--ys-line) !important;
  border-radius: 28px !important;
  box-shadow: 0 24px 70px rgba(0,0,0,0.8) !important;
}

/* ── Surface / Background Colors ─────────────────────────────────────────── */
.bg-background {
  background-color: var(--ys-bg) !important;
}

.bg-surface,
[class*="bg-surface"] {
  background-color: var(--ys-card) !important;
}

.bg-surface-raised {
  background-color: #0f1828 !important;
}

/* ── Text Colors ──────────────────────────────────────────────────────────── */
.text-t-primary {
  color: var(--ys-tx) !important;
}

.text-t-muted {
  color: var(--ys-mu) !important;
}

/* ── Borders ──────────────────────────────────────────────────────────────── */
.border-theme,
[class*="border-border"] {
  border-color: var(--ys-line) !important;
}

.divide-theme > * + * {
  border-color: var(--ys-line) !important;
}

/* ── Scroll-bar Styling ───────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--ys-bg); }
::-webkit-scrollbar-thumb { background: #1e2e52; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--ys-ac); }

/* ── Hover Glow on Cards (JS-injected --gx/--gy) ─────────────────────────── */
.sa-product-card,
.sa-features-item,
.sa-steps-item,
.sa-trust-badges-item,
.sa-categories-item {
  transform-style: preserve-3d;
}

/* ── Reduced Motion ───────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  [data-dsr] {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* ── Marquee Strip ────────────────────────────────────────────────────────── */
.ys-mq {
  overflow: hidden;
  border-top: 1px solid var(--ys-line);
  border-bottom: 1px solid var(--ys-line);
  padding: 15px 0;
  background: #060a14;
}
.ys-mq-inner {
  display: flex;
  gap: 44px;
  width: max-content;
  animation: ys-mq-run 32s linear infinite;
  color: var(--ys-mu);
  white-space: nowrap;
  align-items: center;
  font-weight: 500;
  font-size: 14px;
}
@keyframes ys-mq-run { to { transform: translateX(-50%); } }
.ys-mq-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ys-ac);
  flex: none;
}

/* ── How It Works — Phone Section ─────────────────────────────────────────── */
.sa-custom-html.ys-how-block { padding: 0 !important; }
.ys-how-wrap {
  padding: 90px 20px;
  max-width: 1180px;
  margin: auto;
}
.ys-how-title {
  text-align: center;
  margin-bottom: 64px;
}
.ys-how-lab {
  display: block;
  color: var(--ys-ac);
  font-size: 12px;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 14px;
}
.ys-how-h2 {
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -1px;
  font-weight: 700;
  color: var(--ys-tx);
  margin: 0 auto 14px;
}
.ys-how-sub {
  color: var(--ys-mu);
  max-width: 520px;
  margin: 0 auto;
  font-size: 15px;
}

/* Three-column grid */
.ys-how {
  display: grid;
  grid-template-columns: 1fr 330px 1fr;
  gap: 70px;
  align-items: center;
}
.ys-col { display: grid; gap: 36px; }

/* Step cards */
.ys-step {
  position: relative;
  background: linear-gradient(145deg, #0d1529, #080d1a);
  border: 1px solid var(--ys-line);
  border-radius: 26px;
  padding: 26px 28px;
  overflow: hidden;
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.ys-step:hover {
  border-color: #2c4378;
  transform: translateY(-4px);
  box-shadow: 0 0 44px #3a5aa028;
}
.ys-step-n {
  position: absolute;
  right: 18px; top: -6px;
  font-size: 84px;
  font-weight: 800;
  color: #ffffff09;
  line-height: 1;
  pointer-events: none;
}
.ys-step-hd {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 22px;
}
.ys-ib {
  width: 50px; height: 50px;
  border-radius: 14px;
  border: 1px solid var(--ys-line);
  background: #0a1122;
  display: grid;
  place-items: center;
  color: var(--ys-ac2);
  flex: none;
}
.ys-ib svg {
  width: 20px; height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ys-step-hd small {
  display: block;
  font-size: 11px;
  letter-spacing: 3px;
  color: #3e4d70;
  font-family: ui-monospace, monospace;
  font-weight: 500;
}
.ys-step-hd b {
  font-size: 13px;
  letter-spacing: 2.5px;
  color: var(--ys-ac);
  text-transform: uppercase;
}
.ys-step h3 {
  font-size: 22px;
  margin-bottom: 6px;
  font-weight: 700;
  color: var(--ys-tx);
}
.ys-step p {
  color: var(--ys-mu);
  font-size: 15px;
  line-height: 1.6;
}

/* Phone wrapper */
.ys-phw {
  position: relative;
  display: grid;
  place-items: center;
  perspective: 1500px;
  padding: 30px 0;
}
.ys-phw::before {
  content: '';
  position: absolute;
  width: 560px; height: 560px;
  border-radius: 50%;
  background: radial-gradient(#13204a, transparent 68%);
  animation: ys-pu 5s ease-in-out infinite alternate;
}
@keyframes ys-pu { to { transform: scale(1.12); opacity: .7; } }
.ys-ph-shadow {
  position: absolute;
  bottom: 6px;
  width: 230px; height: 28px;
  border-radius: 50%;
  background: #000;
  filter: blur(22px);
  opacity: .8;
}
.ys-tilt {
  transform-style: preserve-3d;
  transform: rotateY(-9deg) rotateX(3deg) rotateZ(1.5deg);
  transition: transform .2s ease-out;
}
.ys-ph {
  position: relative;
  width: 300px; height: 620px;
  border-radius: 56px;
  padding: 7px;
  background: linear-gradient(145deg, #7d8cae, #1b2438 28%, #080b16 58%, #62718f);
  box-shadow: 0 55px 90px #000c, 0 0 0 1px #000a, inset 0 0 0 2px #ffffff26, inset 0 0 14px #000;
  animation: ys-fp 6s ease-in-out infinite alternate;
}
@keyframes ys-fp { to { transform: translateY(-12px); } }
.ys-ph-btn {
  position: absolute;
  width: 4px;
  border-radius: 3px 0 0 3px;
  left: -3px;
  background: linear-gradient(90deg, #222c46, #76859f);
}
.ys-ph-btn.b1 { top: 108px; height: 26px; }
.ys-ph-btn.b2 { top: 158px; height: 54px; }
.ys-ph-btn.b3 { top: 224px; height: 54px; }
.ys-ph-btn.pw {
  left: auto; right: -3px;
  top: 190px; height: 88px;
  border-radius: 0 3px 3px 0;
}
.ys-scr {
  position: relative;
  height: 100%;
  border-radius: 49px;
  background: #000;
  border: 5px solid #000;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px #1c2542;
}
.ys-bgs {
  position: absolute;
  inset: 0;
  background: radial-gradient(300px 220px at 70% 0, #2b4585, transparent),
              linear-gradient(170deg, #16254a, #070b18 60%);
}
.ys-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 92px; height: 27px;
  background: #000;
  border-radius: 20px;
  z-index: 5;
}
.ys-notch::after {
  content: '';
  position: absolute;
  right: 9px; top: 7px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #4568b8, #0a1228 62%);
  box-shadow: 0 0 0 2px #05070f;
}
.ys-statusbar {
  position: absolute;
  top: 14px; left: 28px; right: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  font-weight: 600;
  z-index: 4;
  color: #fff;
}
.ys-feed {
  position: relative;
  padding: 64px 16px 90px;
  animation: ys-sc 20s ease-in-out 1.5s infinite alternate;
}
@keyframes ys-sc { from { transform: none; } to { transform: translateY(-180px); } }
.ys-feed h4 {
  font-size: 32px;
  line-height: 1.1;
  text-align: center;
  font-weight: 700;
  margin: 12px 0;
  color: var(--ys-tx);
}
.ys-feed h4 em { font-style: normal; color: var(--ys-ac2); }
.ys-feed > p {
  text-align: center;
  color: #7686aa;
  font-size: 12.5px;
  margin-bottom: 18px;
}
.ys-pst {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 22px;
}
.ys-pst div {
  border: 1px solid #1c2a4c;
  background: #0b1328cc;
  border-radius: 16px;
  padding: 12px;
  text-align: center;
}
.ys-pst b { display: block; font-size: 20px; color: var(--ys-tx); }
.ys-pst span { font-size: 10px; letter-spacing: 2px; color: var(--ys-mu); }
.ys-mc {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #1c2a4c;
  background: #0b1328;
  border-radius: 16px;
  padding: 13px 15px;
  margin-top: 10px;
  font-size: 13px;
  color: var(--ys-tx);
}
.ys-mc b { color: var(--ys-ac2); font-size: 15px; }
.ys-scr-shine {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 6;
  background: linear-gradient(118deg, #ffffff22 0, #ffffff08 22%, transparent 38%);
}
.ys-scr-shine::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 42%, #ffffff12 50%, transparent 58%);
  background-size: 260% 100%;
  animation: ys-sh 8s ease-in-out infinite;
}
@keyframes ys-sh {
  from { background-position: 130% 0; }
  to   { background-position: -90% 0; }
}
.ys-home-bar {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 112px; height: 4px;
  border-radius: 9px;
  background: #fffc;
  z-index: 5;
}
.ys-scr::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 70px;
  background: linear-gradient(transparent, #070b18);
  z-index: 3;
  pointer-events: none;
}

/* Floating chips */
.ys-chip {
  position: absolute;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 18px 10px 12px;
  border-radius: 18px;
  background: #0c1630d9;
  border: 1px solid #26396a;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 24px 44px #000a;
  font-size: 13px;
  white-space: nowrap;
  color: var(--ys-tx);
  animation: ys-cf 5s ease-in-out infinite alternate;
}
.ys-chip svg {
  width: 22px; height: 22px;
  fill: none;
  stroke: var(--ys-ac2);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.ys-chip small { display: block; color: var(--ys-mu); font-size: 11px; line-height: 1.2; }
.ys-chip b { font-weight: 600; }
@keyframes ys-cf {
  from { transform: translateY(0); }
  to   { transform: translateY(-14px); }
}
.ys-chip.c1 { top: 80px; left: -25px; z-index: 10; animation-delay: 0s; }
.ys-chip.c2 { top: 270px; right: -25px; z-index: 10; animation-delay: -2s; }
.ys-chip.c3 { bottom: 100px; left: -20px; z-index: 10; animation-delay: -1s; }

/* ── Hero Split Layout with 3D Robot ──────────────────────────────────────── */
.ys-hero-split {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  gap: 24px !important;
  position: relative !important;
}

.sa-hero-col-text {
  width: 100% !important;
  text-align: center;
}

.sa-hero-col-robot {
  width: 100% !important;
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 400px !important;
  overflow: visible !important;
}

@media (min-width: 992px) {
  .ys-hero-split {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 32px !important;
  }
  .sa-hero-col-text {
    flex: 1 1 56% !important;
    max-width: 58% !important;
    text-align: left !important;
  }
  [dir="rtl"] .sa-hero-col-text {
    text-align: right !important;
  }
  .sa-hero-col-text .sa-hero-eyebrow {
    margin-left: 0 !important;
    margin-right: auto !important;
  }
  [dir="rtl"] .sa-hero-col-text .sa-hero-eyebrow {
    margin-right: 0 !important;
    margin-left: auto !important;
  }
  .sa-hero-col-text .sa-hero-title {
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: left !important;
    max-width: 100% !important;
  }
  [dir="rtl"] .sa-hero-col-text .sa-hero-title {
    text-align: right !important;
  }
  .sa-hero-col-text .sa-hero-subtitle {
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: left !important;
    max-width: 100% !important;
  }
  [dir="rtl"] .sa-hero-col-text .sa-hero-subtitle {
    text-align: right !important;
  }
  .sa-hero-col-text .sa-hero-actions,
  .sa-hero-col-text .sa-hero-actions .sa-buttons,
  .sa-hero-col-text .sa-buttons {
    justify-content: flex-start !important;
  }
  [dir="rtl"] .sa-hero-col-text .sa-hero-actions,
  [dir="rtl"] .sa-hero-col-text .sa-buttons {
    justify-content: flex-start !important;
  }
  .sa-hero-col-text .stats {
    justify-content: flex-start !important;
  }
  .sa-hero-col-robot {
    flex: 1 1 48% !important;
    max-width: 50% !important;
    min-height: 620px !important;
  }
}

/* ── 3D Robot in Hero (Completely Transparent Mascot) ─────────────────────── */
.ys-robot-glow {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: 500px !important;
  height: 500px !important;
  max-width: 95vw !important;
  max-height: 95vw !important;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.42) 0%, rgba(168, 85, 247, 0.28) 38%, rgba(147, 51, 234, 0.1) 58%, transparent 72%) !important;
  filter: blur(65px) !important;
  pointer-events: none !important;
  z-index: 0 !important;
  border-radius: 50% !important;
  animation: ys-robot-glow-pulse 4s ease-in-out infinite alternate !important;
}

@keyframes ys-robot-glow-pulse {
  0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.75; }
  100% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}

.ys-robot-canvas {
  position: relative !important;
  z-index: 1 !important;
  display: block !important;
  width: 100% !important;
  height: 600px !important;
  max-height: 85vh !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  touch-action: none !important;
  cursor: grab !important;
}

@media (min-width: 1200px) {
  .ys-robot-canvas {
    height: 640px !important;
  }
}

.ys-robot-canvas:active {
  cursor: grabbing !important;
}

@media (max-width: 640px) {
  .ys-robot-canvas {
    height: 420px !important;
  }
}

/* ── Hero h1 word animation ───────────────────────────────────────────────── */
.ys-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(46px) rotateX(-70deg);
  filter: blur(10px);
  animation: ys-wr 1s cubic-bezier(.2,.8,.2,1) forwards;
}
@keyframes ys-wr { to { opacity: 1; transform: none; filter: none; } }

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .ys-how { grid-template-columns: 1fr; gap: 30px; }
  .ys-phw { order: -1; }
  .ys-chip { display: none; }
  .ys-tilt { transform: none; }
}
@media (max-width: 700px) {
  .ys-chip { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ys-word { opacity: 1 !important; transform: none !important; filter: none !important; animation: none !important; }
  .ys-ph  { animation: none !important; }
  .ys-feed { animation: none !important; }
  .ys-phw::before { animation: none !important; }
}

/* ── 3D Isometric Cube Loader ────────────────────────────────────────────── */
body.ld { overflow: hidden; }
#ys-ld, #ld {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
}
#ys-ld .pn, #ld .pn {
  position: absolute;
  left: 0; right: 0;
  height: 50.5%;
  background: #04060d;
  transition: transform 1s cubic-bezier(.77,0,.18,1);
}
#ys-ld .pn.t, #ld .pn.t { top: 0; }
#ys-ld .pn.b, #ld .pn.b { bottom: 0; }
#ys-ld.go .pn.t, #ld.go .pn.t { transform: translateY(-100%); }
#ys-ld.go .pn.b, #ld.go .pn.b { transform: translateY(100%); }
#ys-ld .lc, #ld .lc {
  position: relative;
  z-index: 2;
  text-align: center;
  transition: .6s;
}
#ys-ld.go .lc, #ld.go .lc { opacity: 0; transform: scale(.8) translateZ(0); }
.cw {
  perspective: 700px;
  width: 120px;
  height: 120px;
  margin: 0 auto 34px;
  display: grid;
  place-items: center;
}
.cube, .cube.in {
  position: relative;
  width: 70px;
  height: 70px;
  transform-style: preserve-3d;
  animation: ys-cs 4s linear infinite;
}
.cube.in {
  position: absolute;
  width: 34px;
  height: 34px;
  animation: ys-cs2 3s linear infinite;
}
.cube i {
  position: absolute;
  inset: 0;
  border: 1px solid #f472b6;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.35), rgba(168, 85, 247, 0.1));
  box-shadow: inset 0 0 18px rgba(236, 72, 153, 0.4), 0 0 18px rgba(168, 85, 247, 0.3);
}
.cube i:nth-child(1){transform:translateZ(35px)}
.cube i:nth-child(2){transform:rotateY(180deg) translateZ(35px)}
.cube i:nth-child(3){transform:rotateY(90deg) translateZ(35px)}
.cube i:nth-child(4){transform:rotateY(-90deg) translateZ(35px)}
.cube i:nth-child(5){transform:rotateX(90deg) translateZ(35px)}
.cube i:nth-child(6){transform:rotateX(-90deg) translateZ(35px)}
.cube.in i:nth-child(1){transform:translateZ(17px)}
.cube.in i:nth-child(2){transform:rotateY(180deg) translateZ(17px)}
.cube.in i:nth-child(3){transform:rotateY(90deg) translateZ(17px)}
.cube.in i:nth-child(4){transform:rotateY(-90deg) translateZ(17px)}
.cube.in i:nth-child(5){transform:rotateX(90deg) translateZ(17px)}
.cube.in i:nth-child(6){transform:rotateX(-90deg) translateZ(17px)}
.cube.in i{background: rgba(244, 114, 182, 0.3);}
@keyframes ys-cs{to{transform:rotateX(360deg) rotateY(720deg)}}
@keyframes ys-cs2{to{transform:rotateX(-360deg) rotateY(-360deg) rotateZ(180deg)}}
.lt { font-size: 26px; font-weight: 700; color: #f9f7fd; display: flex; align-items: center; justify-content: center; }
.lt span { color: var(--ys-ac); }
.ys-badge-logo svg {
  width: 28px;
  height: 28px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
  filter: drop-shadow(0 0 8px rgba(236, 72, 153, 0.7));
}
.lbar {
  width: 220px;
  height: 3px;
  border-radius: 9px;
  background: #1c0e2e;
  margin: 18px auto 10px;
  overflow: hidden;
}
.lbar b {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #ec4899, #a855f7);
  box-shadow: 0 0 12px #ec4899;
  transition: width .1s ease-out;
}
.pc {
  font: 500 12px ui-monospace,monospace;
  letter-spacing: 3px;
  color: var(--ys-mu);
}

/* Active Step Highlight on Scroll */
.ys-step.act {
  border-color: #ec4899 !important;
  box-shadow: 0 0 44px rgba(236, 72, 153, 0.3) !important;
  transform: translateY(-4px) !important;
}
.ys-step.act .ys-ib {
  background: #2b0e45 !important;
  box-shadow: 0 0 22px rgba(236, 72, 153, 0.6) !important;
  color: #fff !important;
}

/* Phone Status Bar SVG Icons */
.ys-sb-icons {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fff;
}
.ys-sb-svg {
  width: 14px;
  height: 10px;
  display: block;
}
.ys-sb-bat {
  width: 20px;
  height: 10px;
}

/* Navbar Boost Gate Badge Icon */
.ys-nav-badge svg {
  width: 24px;
  height: 24px;
  filter: drop-shadow(0 0 6px rgba(236, 72, 153, 0.65));
}

/* ── Boost Gate Loader Logo & Ring ───────────────────────────────────────── */
.ys-loader-logo-wrap {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 28px;
  display: grid;
  place-items: center;
}

.ys-loader-logo {
  width: 95px;
  height: 95px;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 35px rgba(236, 72, 153, 0.65), 0 0 15px rgba(168, 85, 247, 0.5);
  animation: ys-logo-float 2.5s ease-in-out infinite alternate;
}

@keyframes ys-logo-float {
  0% { transform: translateY(0) scale(0.97); filter: drop-shadow(0 0 20px rgba(236, 72, 153, 0.6)); }
  100% { transform: translateY(-8px) scale(1.03); filter: drop-shadow(0 0 40px rgba(236, 72, 153, 0.95)); }
}

.ys-logo-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px dashed rgba(236, 72, 153, 0.6);
  animation: ys-ring-spin 8s linear infinite;
  pointer-events: none;
}

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

/* ── Text Block High Contrast & Clarity ──────────────────────────────────── */
.sa-text-block .sa-text-block-body,
.sa-text-block--accent-tint .sa-text-block-body,
.sa-text-block--accent-tint .text-t-muted,
.sa-text-block [class*="bg-accent"] .sa-text-block-body,
.sa-text-block [class*="bg-accent"] .text-t-muted,
.sa-text-block--card .sa-text-block-body {
  color: #ffffff !important;
  opacity: 0.95 !important;
  font-size: 16.5px !important;
  font-weight: 500 !important;
  line-height: 1.8 !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45) !important;
}

.sa-text-block h2,
.sa-text-block--accent-tint h2,
.sa-text-block--accent-tint .sa-section-title,
.sa-text-block [class*="bg-accent"] h2 {
  color: #ffffff !important;
  font-weight: 800 !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5) !important;
}
