/* ============================================================
   AURORA — Modern Luxury Edition
   Cool ink-black canvas + iridescent violet→cyan accents.
   Designed for buttery-smooth 60fps animations.
   ============================================================ */

/* ============================================================
   Foundation
   ============================================================ */
:root {
  --bs-body-font-family: var(--lux-sans);
  --bs-body-color: var(--lux-text);
  --bs-body-bg: var(--lux-ink);
  --bs-border-color: var(--lux-line);
  --bs-border-radius: 12px;
  --bs-border-radius-pill: 999px;
  --bs-link-color: var(--lux-accent);
  --bs-link-hover-color: var(--lux-aurora-1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
  -webkit-text-size-adjust: 100%;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
  background-color: var(--lux-ink);
  color: var(--lux-text);
  font-family: var(--lux-sans);
  font-feature-settings: "cv11", "ss01", "ss03";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.011em;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

/* Body base — single soft aurora glow behind everything */
body {
  background:
    radial-gradient(80% 50% at 50% -10%, rgba(139, 126, 232, 0.12), transparent 60%),
    radial-gradient(40% 30% at 100% 0%, rgba(34, 211, 238, 0.06), transparent 70%),
    radial-gradient(40% 30% at 0% 10%, rgba(167, 139, 250, 0.05), transparent 70%),
    var(--lux-ink);
  background-attachment: fixed;
}

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover { background: rgba(139, 126, 232, 0.4); background-clip: content-box; }
* { scrollbar-width: thin; scrollbar-color: rgba(139, 126, 232, 0.3) transparent; }

/* Selection */
::selection {
  background: rgba(139, 126, 232, 0.32);
  color: #fff;
  text-shadow: none;
}

/* ============================================================
   Typography — Instrument Serif for display, Inter for body
   ============================================================ */
h1, h2, h3, h4, h5 {
  font-family: var(--lux-serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: #fff;
  text-wrap: balance;
}

.section-title h2,
.hero h1,
.product h3,
.feature-title,
.payment-title,
.footer-heading,
.footer-brand-name,
.currency-modal-title,
.modal-title {
  font-family: var(--lux-serif) !important;
  font-weight: 400 !important;
  letter-spacing: -0.02em !important;
  color: #fff !important;
}

/* ============================================================
   Section titles — refined with thin aurora underline
   ============================================================ */
.section-title {
  width: 100% !important;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem !important;
  gap: 1.25rem;
  text-align: center;
}

.section-title h2 {
  font-size: clamp(2.4rem, 5vw, 3.75rem) !important;
  font-weight: 400 !important;
  line-height: 1.02 !important;
  margin-bottom: 0 !important;
  background: linear-gradient(180deg, #ffffff 0%, rgba(255,255,255,0.78) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle { text-align: center !important; margin-bottom: 3.5rem !important; }
.section-subtitle p {
  color: var(--lux-text-muted) !important;
  font-size: 1.05rem !important;
  line-height: 1.65 !important;
  text-align: center !important;
  max-width: 580px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  font-weight: 400;
}

/* ============================================================
   Hero — clean, no clutter, drifting aurora background
   ============================================================ */

/* Hide the existing 3D shape images — they clash */
.hero .shapes-container,
.hero .elegant-shape,
.hero .shape-1,
.hero .shape-2,
.hero .shape-3,
.hero .shape-4,
.hero .shape-5 {
  display: none !important;
}

/* Replace the gradient backdrop with a slow-drifting aurora */
.hero .gradient-bg {
  background:
    radial-gradient(50% 50% at 20% 30%, rgba(167, 139, 250, 0.28), transparent 60%),
    radial-gradient(40% 40% at 80% 20%, rgba(34, 211, 238, 0.18), transparent 60%),
    radial-gradient(60% 60% at 50% 100%, rgba(129, 140, 248, 0.22), transparent 60%) !important;
  filter: blur(60px) !important;
  opacity: 0.9 !important;
  animation: auroraDrift 20s ease-in-out infinite alternate !important;
  will-change: transform, opacity;
}

@keyframes auroraDrift {
  0%   { transform: translate3d(0, 0, 0) scale(1) rotate(0deg); opacity: 0.85; }
  50%  { transform: translate3d(2%, -2%, 0) scale(1.08) rotate(2deg); opacity: 1; }
  100% { transform: translate3d(-2%, 1%, 0) scale(1.05) rotate(-1deg); opacity: 0.9; }
}

/* Hero badge — refined glass pill */
.hero-badge {
  display: inline-flex !important;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.1rem !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid var(--lux-line-strong) !important;
  border-radius: var(--lux-radius-pill) !important;
  margin-bottom: 1.75rem !important;
  font-size: 0.7rem !important;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lux-aurora-1) !important;
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 0 40px -10px rgba(139,126,232,0.4);
  opacity: 0;
  animation: fadeUp 0.9s var(--lux-ease-out) 0.15s forwards !important;
}
.hero-badge svg,
.hero-badge .hero-badge-icon {
  color: var(--lux-aurora-1) !important;
  font-size: 0.55rem !important;
}
.hero-badge span {
  font-size: 0.7rem !important;
  font-weight: 500 !important;
  color: var(--lux-aurora-1) !important;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* Hero title — big, serif, pure white (no gradient, no background-clip) */
.hero h1 {
  font-family: var(--lux-serif) !important;
  font-weight: 400 !important;
  font-size: clamp(2.75rem, 7vw, 5.5rem) !important;
  letter-spacing: -0.035em !important;
  line-height: 0.98 !important;
  color: #ffffff !important;
  background: none !important;
  -webkit-text-fill-color: #ffffff !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  opacity: 1;
  /* The mask reveal animation on .title-line-1 > span handles the entrance */
}

.hero p {
  color: var(--lux-text-muted) !important;
  font-weight: 400;
  font-size: 1.125rem !important;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  animation: fadeUp 1s var(--lux-ease-out) 0.4s forwards !important;
}

/* Hero searchbar — clean glass */
.hero .fake-searchbar,
.hero .searchbar {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid var(--lux-line-strong) !important;
  border-radius: var(--lux-radius-pill) !important;
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  transition: border-color 0.4s var(--lux-ease), box-shadow 0.4s var(--lux-ease);
  opacity: 0;
  animation: fadeUp 1s var(--lux-ease-out) 0.55s forwards !important;
}
.hero .fake-searchbar:hover,
.hero .searchbar:focus-within {
  border-color: var(--lux-accent-line) !important;
  box-shadow: 0 0 0 4px var(--lux-accent-faint);
}
.hero .fake-searchbar svg,
.hero .searchbar svg { color: var(--lux-aurora-1) !important; }

/* Hero buttons */
.hero-buttons {
  opacity: 0;
  animation: fadeUp 1s var(--lux-ease-out) 0.7s forwards !important;
}
.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  border-radius: var(--lux-radius-pill);
  transition: transform 0.4s var(--lux-ease), box-shadow 0.4s var(--lux-ease), background 0.4s var(--lux-ease);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
  cursor: pointer;
  will-change: transform;
}
.hero-btn-primary {
  background: linear-gradient(135deg, #A78BFA 0%, #818CF8 50%, #22D3EE 100%) !important;
  color: #07080F !important;
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 10px 40px -12px rgba(139, 126, 232, 0.65), inset 0 1px 0 rgba(255,255,255,0.4);
  background-size: 200% 100% !important;
  background-position: 0% 50% !important;
}
.hero-btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.4) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.8s var(--lux-ease);
  pointer-events: none;
}
.hero-btn-primary:hover {
  transform: translateY(-2px);
  background-position: 100% 50% !important;
  box-shadow: 0 16px 50px -12px rgba(139, 126, 232, 0.85), inset 0 1px 0 rgba(255,255,255,0.5);
}
.hero-btn-primary:hover::after { transform: translateX(120%); }
.hero-btn-secondary {
  background: rgba(255, 255, 255, 0.03) !important;
  color: #fff !important;
  border-color: var(--lux-line-strong) !important;
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
}
.hero-btn-secondary:hover {
  border-color: var(--lux-accent-line) !important;
  background: var(--lux-accent-faint) !important;
  transform: translateY(-2px);
}

/* Hero stats — clean row, animated */
.hero-stats {
  margin-top: 3.5rem !important;
  padding-top: 2.5rem !important;
  border-top: 1px solid var(--lux-line) !important;
  opacity: 0;
  animation: fadeUp 1s var(--lux-ease-out) 0.85s forwards !important;
}
.stat-item .stat-icon,
.stat-item .stat-icon svg {
  color: var(--lux-aurora-1) !important;
}
.stat-value {
  font-family: var(--lux-sans) !important;
  font-weight: 600 !important;
  letter-spacing: -0.025em;
  background: linear-gradient(180deg, #ffffff 0%, rgba(167, 139, 250, 0.8) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label {
  font-size: 0.7rem !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lux-text-faint) !important;
  font-weight: 500;
}

/* ============================================================
   Navbar — slim bar (deeper overrides in the dedicated section below)
   ============================================================ */
header.sticky-top {
  padding-bottom: 0;
}

/* Announcement bar — slim, refined, full-width with centered text */
.announcement {
  background: linear-gradient(90deg, transparent, rgba(139, 126, 232, 0.08), transparent) !important;
  border-bottom: 1px solid var(--lux-line) !important;
  color: var(--lux-aurora-1) !important;
  font-size: 0.74rem !important;
  letter-spacing: 0.06em;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  backdrop-filter: blur(12px);
  text-align: center;
}
.announcement a {
  color: #fff !important;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--lux-accent-line);
  padding-bottom: 1px;
  transition: border-color 0.3s var(--lux-ease);
}
.announcement a:hover { border-color: var(--lux-aurora-1); }
.announcement svg { color: var(--lux-aurora-1) !important; }

/* ============================================================
   Cards — frosted glass with aurora glow on hover
   ============================================================ */
.payment-card,
.feature-card,
.product-card,
.product-card-horizontal,
.feedback-card,
.status-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.008)) !important;
  border: 1px solid var(--lux-line) !important;
  border-radius: var(--lux-radius-card) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.5s var(--lux-ease), border-color 0.5s var(--lux-ease), box-shadow 0.5s var(--lux-ease) !important;
  position: relative;
  overflow: hidden;
  will-change: transform;
}

.payment-card::before,
.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 60% at 50% 0%, rgba(139, 126, 232, 0.10), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s var(--lux-ease);
  pointer-events: none;
}
.payment-card:hover,
.feature-card:hover,
.product-card:hover,
.product-card-horizontal:hover,
.feedback-card:hover {
  transform: translateY(-6px);
  border-color: var(--lux-accent-line) !important;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.6), 0 0 50px -12px rgba(139,126,232,0.3) !important;
}
.payment-card:hover::before,
.feature-card:hover::before { opacity: 1; }

/* Feature icon — aurora ring */
.feature-icon {
  background: linear-gradient(135deg, rgba(139,126,232,0.12), rgba(34,211,238,0.08)) !important;
  border: 1px solid var(--lux-accent-line) !important;
  color: var(--lux-aurora-1) !important;
  border-radius: 14px !important;
  transition: transform 0.4s var(--lux-ease), box-shadow 0.4s var(--lux-ease);
}
.feature-icon i { color: var(--lux-aurora-1) !important; }
.feature-card:hover .feature-icon {
  transform: scale(1.06);
  box-shadow: 0 0 30px -6px rgba(139,126,232,0.5);
}
.feature-title {
  font-size: 1.5rem !important;
  font-weight: 400 !important;
  color: #fff !important;
}
.feature-description {
  color: var(--lux-text-muted) !important;
  font-weight: 400;
  line-height: 1.65;
  font-size: 0.95rem;
}

/* ============================================================
   Payments — crypto-only refinement
   ============================================================ */
.payments-grid { max-width: 880px !important; margin: 0 auto; gap: 1.5rem !important; }
.payment-item {
  max-width: 360px !important;
  width: 100% !important;
}
@media (min-width: 768px) {
  .payment-item { width: calc(50% - 0.75rem) !important; }
}
.payment-card {
  padding: 2.75rem 2rem !important;
  text-align: center;
}
.payment-icon-single {
  margin-bottom: 1.75rem !important;
}
.payment-icon-single .payment-icon,
.payment-icon-group .payment-icon {
  color: var(--lux-aurora-1) !important;
  filter: drop-shadow(0 8px 24px rgba(139, 126, 232, 0.4));
  transition: transform 0.5s var(--lux-ease), filter 0.5s var(--lux-ease);
  will-change: transform;
}
.payment-icon-single .payment-icon { font-size: 3.5rem !important; }
.payment-icon-group .payment-icon { font-size: 2.75rem !important; }

/* SVG icon (Litecoin — FA free doesn't include it) — match the FA sizing */
.payment-icon-svg {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem !important;
  line-height: 1;
  filter: drop-shadow(0 8px 24px rgba(52, 93, 157, 0.4));
  transition: transform 0.5s var(--lux-ease), filter 0.5s var(--lux-ease);
  will-change: transform;
}
.payment-icon-group .payment-icon-svg { font-size: 2.75rem !important; }
.payment-icon-svg svg {
  width: 4.5rem;
  height: 4.5rem;
  display: block;
}
.payment-icon-group .payment-icon-svg svg {
  width: 3.5rem;
  height: 3.5rem;
}
.payment-card:hover .payment-icon-svg {
  transform: scale(1.1) translateY(-4px);
  filter: drop-shadow(0 12px 32px rgba(52, 93, 157, 0.6));
}
.payment-card:hover .payment-icon {
  transform: scale(1.1) translateY(-4px);
  filter: drop-shadow(0 12px 32px rgba(139, 126, 232, 0.6));
}
.payment-title {
  font-size: 1.875rem !important;
  font-weight: 400 !important;
  color: #fff !important;
  margin-bottom: 0.5rem !important;
  letter-spacing: -0.025em !important;
}
.payment-description {
  color: var(--lux-text-muted) !important;
  font-weight: 400;
  font-size: 0.95rem !important;
  line-height: 1.65;
  margin-bottom: 1.5rem !important;
}
.payment-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(139, 126, 232, 0.1) !important;
  border: 1px solid var(--lux-accent-line) !important;
  color: var(--lux-aurora-1) !important;
  border-radius: var(--lux-radius-pill);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  transition: all 0.4s var(--lux-ease);
}
.payment-card:hover .payment-badge {
  background: linear-gradient(135deg, var(--lux-aurora-1), var(--lux-aurora-3)) !important;
  color: #07080F !important;
  border-color: transparent !important;
  box-shadow: 0 6px 18px -6px rgba(139,126,232,0.5);
}

.payment-security {
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.008)) !important;
  border: 1px solid var(--lux-line) !important;
  border-radius: var(--lux-radius-card) !important;
  backdrop-filter: blur(12px);
  margin-top: 3.5rem !important;
}
.security-item i { color: var(--lux-aurora-1) !important; }
.security-item span {
  color: var(--lux-text) !important;
  font-weight: 400;
  letter-spacing: -0.005em;
}

/* ============================================================
   Buttons — global aurora gradient
   ============================================================ */
.btn-primary {
  background: linear-gradient(135deg, var(--lux-aurora-1) 0%, var(--lux-aurora-2) 50%, var(--lux-aurora-3) 100%) !important;
  background-size: 200% 100% !important;
  background-position: 0% 50% !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #07080F !important;
  font-weight: 500;
  letter-spacing: -0.005em;
  border-radius: var(--lux-radius-pill) !important;
  padding: 0.65rem 1.5rem;
  transition: transform 0.4s var(--lux-ease), box-shadow 0.4s var(--lux-ease), background-position 0.6s var(--lux-ease) !important;
  box-shadow: 0 8px 28px -10px rgba(139,126,232,0.5);
  will-change: transform;
}
.btn-primary:hover {
  transform: translateY(-2px);
  background-position: 100% 50% !important;
  box-shadow: 0 14px 38px -10px rgba(139,126,232,0.7);
}

.btn-outline-primary {
  border: 1px solid var(--lux-accent-line) !important;
  color: var(--lux-aurora-1) !important;
  background: rgba(139, 126, 232, 0.04);
  border-radius: var(--lux-radius-pill) !important;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: all 0.4s var(--lux-ease);
}
.btn-outline-primary:hover {
  background: linear-gradient(135deg, var(--lux-aurora-1), var(--lux-aurora-2)) !important;
  color: #07080F !important;
  border-color: transparent !important;
  box-shadow: 0 8px 22px -8px rgba(139,126,232,0.6);
}

/* ============================================================
   Footer
   ============================================================ */
.footer-modern {
  background: linear-gradient(180deg, transparent, rgba(139,126,232,0.04) 100%), var(--lux-ink) !important;
  border-top: 1px solid var(--lux-line) !important;
  position: relative;
}
.footer-modern::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  width: 70%;
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--lux-accent-line), transparent);
}
.footer-brand-name,
.footer-heading {
  font-family: var(--lux-serif) !important;
  font-weight: 400 !important;
  color: #fff !important;
  letter-spacing: -0.02em;
}
.footer-heading {
  font-size: 0.72rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lux-aurora-1) !important;
}
.footer-description {
  color: var(--lux-text-muted) !important;
  font-weight: 400;
  font-size: 0.9rem;
  line-height: 1.65;
  max-width: 380px;
}
.footer-link {
  color: var(--lux-text-muted) !important;
  font-size: 0.875rem;
  font-weight: 400;
  transition: color 0.3s var(--lux-ease), padding-left 0.3s var(--lux-ease);
  text-decoration: none;
}
.footer-link:hover {
  color: #fff !important;
  padding-left: 4px;
}
.footer-link-icon svg,
.footer-icon { color: var(--lux-aurora-1) !important; }
.footer-list-item { margin-bottom: 0.65rem; }

/* ============================================================
   Scroll-to-top — aurora pill
   ============================================================ */
.scroll-to-top,
#scroll-to-top,
button.scroll-to-top {
  background: linear-gradient(135deg, var(--lux-aurora-1), var(--lux-aurora-3)) !important;
  color: #07080F !important;
  border: 1px solid rgba(255,255,255,0.2) !important;
  box-shadow: 0 12px 32px -8px rgba(139,126,232,0.5) !important;
  border-radius: 50% !important;
  transition: transform 0.4s var(--lux-ease), box-shadow 0.4s var(--lux-ease);
  will-change: transform;
}
.scroll-to-top:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 16px 42px -8px rgba(139,126,232,0.7) !important;
}

/* ============================================================
   Product cards & badges
   ============================================================ */
.product-card .price,
.product .price {
  color: var(--lux-aurora-1) !important;
  font-weight: 600;
}
.product-card .badge-item,
.badge-item {
  background: rgba(139, 126, 232, 0.1) !important;
  color: var(--lux-aurora-1) !important;
  border: 1px solid var(--lux-accent-line);
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: var(--lux-radius-pill);
}
.text-primary {
  color: var(--lux-aurora-1) !important;
}

/* Inputs */
.form-control,
.form-select {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid var(--lux-line-strong) !important;
  color: #fff !important;
  border-radius: 12px !important;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  transition: border-color 0.4s var(--lux-ease), box-shadow 0.4s var(--lux-ease), background 0.4s var(--lux-ease);
}
.form-control:focus,
.form-select:focus {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: var(--lux-aurora-1) !important;
  box-shadow: 0 0 0 4px var(--lux-accent-faint) !important;
  color: #fff !important;
}
.form-control::placeholder { color: var(--lux-text-faint); }

/* Modal */
.modal-content {
  background: var(--lux-ink-soft) !important;
  border: 1px solid var(--lux-line-strong) !important;
  border-radius: var(--lux-radius-card) !important;
  backdrop-filter: blur(24px);
  box-shadow: var(--lux-shadow-card);
}
.modal-header,
.modal-footer { border-color: var(--lux-line) !important; }
.modal-title {
  font-family: var(--lux-serif) !important;
  color: #fff;
}
.btn-close {
  filter: invert(1) brightness(1.5);
  opacity: 0.5;
  transition: opacity 0.3s var(--lux-ease);
}
.btn-close:hover { opacity: 1; }

/* ============================================================
   Smooth fade-up reveal — overrides the janky popDown animation
   ============================================================ */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes popDownContent {
  0% {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.scroll-reveal {
  opacity: 0;
  will-change: transform, opacity;
}

.scroll-reveal.revealed {
  animation: fadeUp 0.9s var(--lux-ease-out) forwards !important;
}

.section-title.scroll-reveal.revealed,
.section-subtitle.scroll-reveal.revealed {
  animation: fadeUp 0.9s var(--lux-ease-out) forwards !important;
}

/* ============================================================
   Container widths — more breathing room
   ============================================================ */
.container {
  max-width: 1240px !important;
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;
}

section.component {
  padding-top: 6rem !important;
  padding-bottom: 6rem !important;
}

@media (max-width: 768px) {
  section.component {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
  }
  .container { padding-left: 1.25rem !important; padding-right: 1.25rem !important; }
  .section-title h2 { font-size: 2.25rem !important; }
  .hero h1 { font-size: 2.75rem !important; }
  .hero p { font-size: 1rem !important; }
  .hero-btn { padding: 0.85rem 1.5rem; font-size: 0.78rem; }
  .payment-card { padding: 2rem 1.5rem !important; }
  .payment-title { font-size: 1.5rem !important; }
  .feature-title { font-size: 1.25rem !important; }
}

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero .gradient-bg { animation: none !important; }
}

/* ============================================================
   HERO — Two-column layout (left: copy, right: 3D script preview)
   The default hero CSS sets up .container as a 2-col grid; we just
   need to make sure the visual side actually renders something.
   ============================================================ */
.hero .container {
  display: grid !important;
  grid-template-columns: 1.05fr 0.95fr !important;
  gap: 4rem !important;
  align-items: center !important;
  padding-top: 4rem !important;
  padding-bottom: 4rem !important;
  z-index: 10;
}

@media (max-width: 991px) {
  .hero .container {
    grid-template-columns: 1fr !important;
    gap: 3rem !important;
    text-align: center;
  }
  .hero .content { text-align: center !important; align-items: center !important; }
  .hero-visual { max-width: 380px; margin: 0 auto; }
}

/* Left-align hero copy when alignment is "left" */
.hero.alignment-left .content {
  text-align: left !important;
  align-items: flex-start !important;
}
.hero.alignment-left .content > * {
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.hero.alignment-left .hero-buttons {
  justify-content: flex-start !important;
}
.hero.alignment-left p {
  margin-left: 0 !important;
}

/* ---------- 3D Script Preview Visual ---------- */
.hero-visual {
  position: relative;
  width: 100%;
  perspective: 1400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  min-height: 420px;
}

.hero-visual-stage {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 5 / 6;
  transform-style: preserve-3d;
}

/* Soft aurora glow behind the card */
.hero-visual-glow {
  position: absolute;
  inset: -20% -15% -30% -15%;
  background:
    radial-gradient(50% 50% at 30% 30%, rgba(167, 139, 250, 0.50), transparent 60%),
    radial-gradient(40% 40% at 80% 70%, rgba(34, 211, 238, 0.35), transparent 60%),
    radial-gradient(60% 60% at 50% 100%, rgba(129, 140, 248, 0.35), transparent 60%);
  filter: blur(50px);
  z-index: 0;
  animation: auroraDrift 14s ease-in-out infinite alternate;
  will-change: transform, opacity;
  pointer-events: none;
}

/* The card itself — tilts on mouse */
.hero-visual-card {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.6s var(--lux-ease);
  will-change: transform;
  z-index: 1;
}
.hero-visual.is-tilting .hero-visual-card {
  transition: none;
}

.hero-visual-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--lux-line-strong);
  background: var(--lux-ink-soft);
  box-shadow:
    0 30px 80px -20px rgba(0, 0, 0, 0.75),
    0 12px 30px -10px rgba(139, 126, 232, 0.30),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transform: translateZ(20px);
}

.hero-visual-card-inner img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  user-select: none;
  pointer-events: none;
  background: var(--lux-ink-soft);
}

/* Reflection underneath */
.hero-visual-reflection {
  position: absolute;
  left: 15%;
  right: 15%;
  bottom: -10%;
  height: 30px;
  background: radial-gradient(50% 100% at 50% 0%, rgba(139, 126, 232, 0.30), transparent 70%);
  filter: blur(12px);
  z-index: 0;
  opacity: 0.7;
  pointer-events: none;
}

/* ---------- Buy Now button under image ---------- */
.hero-visual-buy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  background: linear-gradient(135deg, #A78BFA 0%, #818CF8 50%, #22D3EE 100%);
  background-size: 200% 100%;
  background-position: 0% 50%;
  color: #07080F !important;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-decoration: none !important;
  border-radius: var(--lux-radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 12px 32px -10px rgba(139, 126, 232, 0.6), inset 0 1px 0 rgba(255,255,255,0.35);
  transition: transform 0.4s var(--lux-ease), box-shadow 0.4s var(--lux-ease), background-position 0.6s var(--lux-ease);
  position: relative;
  overflow: hidden;
  z-index: 5;
  will-change: transform;
}
.hero-visual-buy-btn i {
  font-size: 0.8rem;
}
.hero-visual-buy-btn svg {
  transition: transform 0.3s var(--lux-ease);
}
.hero-visual-buy-btn:hover {
  transform: translateY(-2px);
  background-position: 100% 50%;
  box-shadow: 0 18px 42px -12px rgba(139, 126, 232, 0.85), inset 0 1px 0 rgba(255,255,255,0.45);
  color: #07080F !important;
}
.hero-visual-buy-btn:hover svg {
  transform: translateX(3px);
}

@media (max-width: 768px) {
  .hero-visual { min-height: 340px; gap: 1.25rem; }
  .hero-visual-stage { max-width: 280px; aspect-ratio: 5 / 6; }
}

/* ============================================================
   NAVBAR — Rebuilt: clean horizontal bar, no floating pill
   ============================================================ */
header.sticky-top {
  padding-bottom: 0 !important;
  background: rgba(7, 8, 15, 0.85) !important;
  backdrop-filter: blur(16px) saturate(1.5);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  border-bottom: 1px solid var(--lux-line) !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 1030 !important;
}

/* Override the previous pill design */
.navbar {
  padding: 0 !important;
  margin: 0 !important;
}

.navbar .navbar-inner {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0.85rem 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
}
.navbar .navbar-inner:hover {
  border-color: transparent !important;
  box-shadow: none !important;
}

.navbar .container {
  max-width: 1240px !important;
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1.5rem;
}

/* CRITICAL: Center the nav links in the middle of the bar.
   The right cluster (login/currency/cart) is pinned absolutely to the
   right edge so it doesn't push the centered links off-center. */
.navbar .navbar-collapse {
  position: relative !important;
  flex-grow: 1 !important;
  justify-content: center !important;
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  min-height: 44px;
}

/* Brand is hidden now (show_logo=false, show_shop_name=false) — but if
   it ever shows up, make sure it doesn't take part in the centering. */
.navbar .navbar-brand {
  position: absolute !important;
  left: 1.5rem !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 2;
}

/* Left nav — centered as a group */
.navbar .navbar-nav.me-auto {
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-bottom: 0 !important;
  gap: 0.15rem !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Right cluster — pinned to the right edge so the nav links can truly center */
.navbar .navbar-nav.ms-lg-auto {
  position: absolute !important;
  right: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  margin-left: 0 !important;
  gap: 0.5rem !important;
  z-index: 2;
}

/* Hide the separator now that the clusters are on opposite sides */
.navbar .nav-separator {
  display: none !important;
}

.navbar .nav-link {
  font-size: 0.85rem !important;
  font-weight: 500 !important;
  letter-spacing: -0.005em !important;
  color: var(--lux-text-muted) !important;
  padding: 0.5rem 0.85rem !important;
  border-radius: 8px !important;
  transition: color 0.3s var(--lux-ease), background 0.3s var(--lux-ease) !important;
  position: relative;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.45rem;
}
.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.04) !important;
}
/* Remove the previous underline animation */
.navbar .nav-link::after { display: none !important; }

/* Nav link icon styling */
.navbar .nav-link .nav-link-icon,
.navbar .btn-outline-primary .nav-link-icon {
  font-size: 0.78rem;
  opacity: 0.7;
  transition: opacity 0.3s var(--lux-ease), color 0.3s var(--lux-ease);
  flex-shrink: 0;
}
.navbar .nav-link:hover .nav-link-icon,
.navbar .btn-outline-primary:hover .nav-link-icon {
  opacity: 1;
  color: var(--lux-aurora-1) !important;
}

/* Right side cluster buttons */
.navbar .btn-outline-primary {
  font-size: 0.8rem !important;
  font-weight: 500 !important;
  border: 1px solid var(--lux-line-strong) !important;
  color: var(--lux-text) !important;
  border-radius: 10px !important;
  padding: 0.5rem 1rem !important;
  background: rgba(255, 255, 255, 0.03) !important;
  transition: all 0.35s var(--lux-ease) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.45rem;
}
.navbar .btn-outline-primary:hover {
  background: linear-gradient(135deg, var(--lux-aurora-1), var(--lux-aurora-2)) !important;
  color: #07080F !important;
  border-color: transparent !important;
  box-shadow: 0 8px 22px -8px rgba(139, 126, 232, 0.6);
}
.navbar .btn-outline-primary:hover .nav-link-icon {
  color: #07080F !important;
  opacity: 1;
}

/* Cart icon */
.navbar .cart .btn {
  border-radius: 10px !important;
  border: 1px solid var(--lux-line-strong) !important;
  background: rgba(255, 255, 255, 0.03) !important;
  padding: 0.5rem 0.75rem !important;
  transition: all 0.35s var(--lux-ease) !important;
  position: relative;
}
.navbar .cart .btn:hover {
  border-color: var(--lux-accent-line) !important;
  background: var(--lux-accent-faint) !important;
}
.navbar .cart .icon { color: var(--lux-aurora-1) !important; }
.navbar .cart .count {
  background: linear-gradient(135deg, var(--lux-aurora-1), var(--lux-aurora-3)) !important;
  color: #07080F !important;
  font-weight: 700;
  position: absolute;
  top: -4px;
  right: -4px;
  font-size: 0.65rem;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Currency selector */
.navbar .currency-selector-btn {
  border-radius: 10px !important;
  border: 1px solid var(--lux-line-strong) !important;
  background: rgba(255, 255, 255, 0.03) !important;
  padding: 0.5rem !important;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.35s var(--lux-ease) !important;
}
.navbar .currency-selector-btn:hover {
  border-color: var(--lux-accent-line) !important;
  background: var(--lux-accent-faint) !important;
}
.navbar .currency-selector-btn svg path { fill: var(--lux-aurora-1) !important; }

/* Separator line between left and right nav */
.navbar .nav-separator {
  width: 1px;
  height: 22px;
  background: var(--lux-line-strong);
  margin: 0 0.5rem;
}

/* Mobile menu toggle */
.navbar .mobile-menu-toggle .hamburger span {
  background: var(--lux-text) !important;
}
.navbar .mobile-menu-toggle .hamburger span:nth-child(1) { top: 0; }
.navbar .mobile-menu-toggle .hamburger span:nth-child(2) { top: 7px; }
.navbar .mobile-menu-toggle .hamburger span:nth-child(3) { top: 14px; }

/* Mobile menu items — style the icons */
.mobile-menu-item {
  display: flex !important;
  align-items: center !important;
  gap: 0.85rem !important;
}
.mobile-menu-item i {
  font-size: 0.95rem;
  color: var(--lux-aurora-1);
  width: 18px;
  text-align: center;
  flex-shrink: 0;
}

/* ============================================================
   ANNOUNCEMENT — slimmer, refined
   ============================================================ */
.announcement {
  background: linear-gradient(90deg, transparent, rgba(139, 126, 232, 0.10), transparent) !important;
  border-bottom: 1px solid var(--lux-line) !important;
  border-top: none !important;
  color: var(--lux-aurora-1) !important;
  font-size: 0.74rem !important;
  letter-spacing: 0.06em;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  backdrop-filter: blur(12px);
  text-align: center;
}
.announcement a {
  color: #fff !important;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--lux-accent-line);
  padding-bottom: 1px;
  transition: border-color 0.3s var(--lux-ease);
  margin-left: 0.4rem;
}
.announcement a:hover { border-color: var(--lux-aurora-1); }
.announcement svg { color: var(--lux-aurora-1) !important; }

/* ============================================================
   FEATURE CARDS — Completely redesigned
   Glass cards with large aurora icon, clean type, subtle gradient
   border on hover
   ============================================================ */
.features-grid-wrapper {
  max-width: 1200px !important;
  margin: 0 auto;
  padding: 0 1rem;
}

.features-grid {
  gap: 1.5rem !important;
}

.feature-item {
  position: relative;
  opacity: 0;
  will-change: transform, opacity;
}

.feature-card {
  position: relative;
  padding: 2.5rem 2rem !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100%;
  border: 1px solid var(--lux-line) !important;
  border-radius: var(--lux-radius-card) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.005)) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
  transition: transform 0.5s var(--lux-ease), border-color 0.5s var(--lux-ease), box-shadow 0.5s var(--lux-ease) !important;
  will-change: transform;
}

/* Override the existing light-theme styles from features.njk */
.feature-card,
.feature-card:hover {
  border-color: var(--lux-line) !important;
}

/* Aurora top-glow that appears on hover */
.feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 50% at 50% 0%, rgba(139, 126, 232, 0.18), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s var(--lux-ease);
  pointer-events: none;
  z-index: 0;
}

.feature-card:hover {
  transform: translateY(-6px) !important;
  border-color: var(--lux-accent-line) !important;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.6), 0 0 50px -12px rgba(139, 126, 232, 0.3) !important;
}
.feature-card:hover::after { opacity: 1; }

/* Hide the existing gradient overlay & indicator (they were light-theme) */
.feature-gradient-overlay,
.feature-indicator {
  display: none !important;
}

/* Icon — large aurora gradient square */
.feature-icon {
  margin-bottom: 1.5rem !important;
  position: relative;
  z-index: 2;
  width: 56px;
  height: 56px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.18), rgba(34, 211, 238, 0.10)) !important;
  border: 1px solid var(--lux-accent-line) !important;
  border-radius: 14px !important;
  color: var(--lux-aurora-1) !important;
  font-size: 1.4rem !important;
  line-height: 1 !important;
  transition: transform 0.5s var(--lux-ease), box-shadow 0.5s var(--lux-ease);
}
.feature-icon i {
  display: block;
  color: var(--lux-aurora-1) !important;
  font-size: 1.4rem !important;
}
.feature-card:hover .feature-icon {
  transform: scale(1.08);
  box-shadow: 0 0 30px -6px rgba(139, 126, 232, 0.55);
}

/* Content */
.feature-content {
  position: relative;
  z-index: 2;
  flex: 1;
}

.feature-title {
  font-family: var(--lux-serif) !important;
  font-size: 1.5rem !important;
  font-weight: 400 !important;
  color: #fff !important;
  margin: 0 0 0.75rem 0 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.15 !important;
}
.feature-title-text {
  color: #fff !important;
  display: inline-block !important;
  transition: none !important;
}
.feature-card:hover .feature-title-text {
  transform: none !important;
}

.feature-description {
  font-size: 0.95rem !important;
  line-height: 1.65 !important;
  color: var(--lux-text-muted) !important;
  font-weight: 400;
  margin: 0 !important;
}

@media (max-width: 768px) {
  .feature-card { padding: 2rem 1.5rem !important; }
  .feature-title { font-size: 1.3rem !important; }
}

/* ============================================================
   PRODUCT CARDS — Fix the "black" backgrounds
   ============================================================ */
.product-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)) !important;
  border: 1px solid var(--lux-line) !important;
  border-radius: var(--lux-radius-card) !important;
  overflow: hidden;
  transition: transform 0.5s var(--lux-ease), border-color 0.5s var(--lux-ease), box-shadow 0.5s var(--lux-ease) !important;
  position: relative;
  will-change: transform;
}
.product-card::before { display: none !important; }
.product-card:hover {
  transform: translateY(-6px) !important;
  border-color: var(--lux-accent-line) !important;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.6), 0 0 40px -12px rgba(139, 126, 232, 0.3) !important;
}

.product-image-wrapper {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, rgba(20, 22, 35, 0.8), rgba(7, 8, 15, 0.95)) !important;
  position: relative;
  overflow: hidden;
}
.product-image-wrapper::after {
  background: linear-gradient(180deg, transparent 0%, rgba(7, 8, 15, 0.85) 100%) !important;
}

.product-img-placeholder {
  background-color: var(--lux-ink-soft) !important;
  color: var(--lux-aurora-1) !important;
}

.product-info {
  padding: 1.25rem 1.25rem 1.25rem !important;
  background: linear-gradient(to bottom, rgba(14, 16, 24, 0.6), rgba(7, 8, 15, 0.9)) !important;
  display: flex;
  flex-direction: column;
  min-height: 90px;
  text-align: left;
  position: relative;
}
.product-info::before {
  background: linear-gradient(90deg, transparent, var(--lux-accent-line), transparent) !important;
}

.product-title {
  font-family: var(--lux-sans) !important;
  font-size: 1rem !important;
  font-weight: 500 !important;
  letter-spacing: -0.01em !important;
  line-height: 1.4 !important;
  color: #ffffff !important;
  margin-bottom: auto;
  padding-bottom: 1rem;
  transition: color 0.3s var(--lux-ease);
}
.product-card:hover .product-title {
  color: var(--lux-aurora-1) !important;
}

.price-label {
  font-size: 0.65rem !important;
  color: var(--lux-text-faint) !important;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 500 !important;
  margin-bottom: 4px;
}
.product-card:hover .price-label { color: var(--lux-aurora-1) !important; }

.current-price {
  color: #fff !important;
  font-weight: 600 !important;
  font-size: 1.125rem !important;
  letter-spacing: -0.02em;
}

/* "View Details" overlay button — make it aurora */
.overlay-content {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px !important;
  background: linear-gradient(135deg, var(--lux-aurora-1), var(--lux-aurora-2)) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: var(--lux-radius-pill) !important;
  color: #07080F !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  transform: translateY(10px);
  transition: transform 0.4s var(--lux-ease), box-shadow 0.4s var(--lux-ease);
  box-shadow: 0 8px 24px -8px rgba(139, 126, 232, 0.6);
}
.product-card:hover .overlay-content {
  transform: translateY(0);
  box-shadow: 0 12px 30px -8px rgba(139, 126, 232, 0.8);
}
.overlay-content svg { width: 16px; height: 16px; }

.product-overlay {
  background: rgba(7, 8, 15, 0.55) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Product badges — refined */
.product-badge {
  background: rgba(139, 126, 232, 0.18) !important;
  border: 1px solid var(--lux-accent-line) !important;
  color: var(--lux-aurora-1) !important;
  border-radius: var(--lux-radius-pill) !important;
  font-size: 0.65rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase;
  padding: 5px 10px !important;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}
.product-badge i { font-size: 0.75rem !important; }

/* Stock badges */
.product-stock.stock-in { color: #4ade80 !important; }
.product-stock.stock-low { color: #fbbf24 !important; }
.product-stock.stock-out { color: #f87171 !important; }

/* ============================================================
   PRODUCT DETAIL PAGE — Buy Now / Add to Cart buttons
   ============================================================ */
.product-info-section .btn-primary,
.product-info-section .btn {
  border-radius: var(--lux-radius-pill) !important;
  padding: 0.85rem 1.75rem !important;
  font-weight: 500 !important;
  letter-spacing: -0.005em !important;
  font-size: 0.9rem !important;
  transition: transform 0.4s var(--lux-ease), box-shadow 0.4s var(--lux-ease), background-position 0.6s var(--lux-ease) !important;
}
.product-info-section .btn-primary {
  background: linear-gradient(135deg, var(--lux-aurora-1) 0%, var(--lux-aurora-2) 50%, var(--lux-aurora-3) 100%) !important;
  background-size: 200% 100% !important;
  background-position: 0% 50% !important;
  color: #07080F !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 10px 30px -10px rgba(139, 126, 232, 0.6) !important;
}
.product-info-section .btn-primary:hover {
  transform: translateY(-2px);
  background-position: 100% 50% !important;
  box-shadow: 0 16px 42px -12px rgba(139, 126, 232, 0.85) !important;
}
.product-info-section .btn-outline-primary,
.product-info-section .btn-secondary {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid var(--lux-line-strong) !important;
  color: #fff !important;
}
.product-info-section .btn-outline-primary:hover,
.product-info-section .btn-secondary:hover {
  border-color: var(--lux-accent-line) !important;
  background: var(--lux-accent-faint) !important;
  color: var(--lux-aurora-1) !important;
}

/* ============================================================
   Make sure the existing "scroll-reveal" inside features still works
   ============================================================ */
.feature-item.scroll-reveal.revealed,
.feature-item.is-revealed {
  animation: fadeUp 0.9s var(--lux-ease-out) forwards !important;
}

/* ============================================================
   PREMIUM UPGRADES
   Custom cursor, magnetic buttons, cursor-aware card glow,
   cinematic page load, animated gradient borders.
   ============================================================ */

/* ---------- Cinematic page load (pure CSS — safe even if JS fails) ---------- */
body {
  animation: lux-page-fade-in 0.7s var(--lux-ease-out) forwards;
}
@keyframes lux-page-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Stagger hero entrance on page load */
body.lux-loaded .hero-badge { animation-delay: 0.2s !important; }
body.lux-loaded .hero h1 { animation-delay: 0.35s !important; }
body.lux-loaded .hero p { animation-delay: 0.5s !important; }
body.lux-loaded .hero-buttons { animation-delay: 0.65s !important; }
body.lux-loaded .hero-stats { animation-delay: 0.8s !important; }
body.lux-loaded .hero-visual { animation-delay: 0.45s !important; }

/* ---------- Custom cursor — small dot ---------- */
@media (hover: hover) and (pointer: fine) {
  body { cursor: none; }
  a, button, [role="button"], input, .nav-link, .btn,
  .choices__item, .scroll-to-top, .product-card, .feature-card,
  .payment-card, .hero-visual, label, select, textarea {
    cursor: none;
  }
}

.lux-cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transition: opacity 0.3s ease, width 0.25s var(--lux-ease), height 0.25s var(--lux-ease), background 0.25s var(--lux-ease);
  mix-blend-mode: difference;
  will-change: transform;
}
.lux-cursor-dot.lux-cursor-active {
  width: 10px;
  height: 10px;
  background: var(--lux-aurora-1);
  mix-blend-mode: normal;
}

/* Hide native cursor on links too */
* { cursor: inherit; }

/* ---------- Magnetic buttons ---------- */
.lux-magnetic {
  transition: transform 0.4s var(--lux-ease) !important;
  will-change: transform;
}
.lux-magnetic:hover {
  /* The transform is set inline by luxury.js */
}

/* ---------- Cursor-aware glow inside cards ---------- */
.lux-card-glow {
  position: relative;
  --lux-glow-x: 50%;
  --lux-glow-y: 0%;
  --lux-glow-opacity: 0;
}
.lux-card-glow::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    300px circle at var(--lux-glow-x) var(--lux-glow-y),
    rgba(139, 126, 232, 0.16),
    transparent 60%
  );
  opacity: var(--lux-glow-opacity);
  transition: opacity 0.4s var(--lux-ease);
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: screen;
}

/* ---------- Animated aurora gradient border on feature & payment cards ---------- */
.feature-card,
.payment-card {
  position: relative;
}
.feature-card::before,
.payment-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(
    from var(--lux-border-angle, 0deg),
    transparent 0%,
    rgba(167, 139, 250, 0.55) 25%,
    rgba(34, 211, 238, 0.4) 50%,
    rgba(167, 139, 250, 0.55) 75%,
    transparent 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s var(--lux-ease);
  pointer-events: none;
  z-index: 2;
  animation: lux-border-rotate 6s linear infinite;
  animation-play-state: paused;
}
.feature-card:hover::before,
.payment-card:hover::before {
  opacity: 1;
  animation-play-state: running;
}

@property --lux-border-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
@keyframes lux-border-rotate {
  to { --lux-border-angle: 360deg; }
}

/* Hide the old static ::after glow on cards (now replaced by cursor-aware one) */
/* But keep hover effects intact */

/* ---------- Refined hero title — mask reveal ---------- */
.hero h1 .title-line-1 {
  display: inline-block;
  position: relative;
  overflow: hidden;
  vertical-align: bottom;
}
.hero h1 .title-line-1 > * {
  display: inline-block;
  transform: translateY(110%);
  animation: lux-title-reveal 0.9s var(--lux-ease-out) forwards;
  animation-delay: 0.4s;
}
@keyframes lux-title-reveal {
  to { transform: translateY(0); }
}

/* ---------- Subtle parallax on hero visual ---------- */
.hero-visual {
  --parallax-y: 0px;
  transform: translateY(var(--parallax-y));
  transition: transform 0.4s ease-out;
}

/* ---------- Refined scrollbar ---------- */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(167, 139, 250, 0.5), rgba(34, 211, 238, 0.3)) !important;
  border: 2px solid transparent;
  background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(167, 139, 250, 0.8), rgba(34, 211, 238, 0.5)) !important;
  background-clip: content-box;
}

/* ---------- Refined focus states ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
.nav-link:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--lux-aurora-1) !important;
  outline-offset: 3px !important;
  border-radius: 8px;
}

/* ---------- Better section rhythm ---------- */
section.component {
  padding-top: 7rem !important;
  padding-bottom: 7rem !important;
}
@media (max-width: 768px) {
  section.component {
    padding-top: 4.5rem !important;
    padding-bottom: 4.5rem !important;
  }
}

/* ---------- Hero title (kept pure white) ---------- */
.hero h1 {
  color: #ffffff !important;
  background: none !important;
  -webkit-text-fill-color: #ffffff !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
}

/* ---------- Premium badge upgrade ---------- */
.hero-badge {
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.08), rgba(34, 211, 238, 0.04)) !important;
  border: 1px solid rgba(167, 139, 250, 0.3) !important;
  position: relative;
  overflow: hidden;
}
.hero-badge::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: lux-badge-shimmer 4s ease-in-out infinite;
}
@keyframes lux-badge-shimmer {
  0%, 60% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* ---------- Premium button shimmer ---------- */
.hero-btn-primary,
.hero-visual-buy-btn,
.btn-primary,
.product-info-section .btn-primary {
  position: relative;
  overflow: hidden;
}
.hero-btn-primary::after,
.hero-visual-buy-btn::after,
.btn-primary::after,
.product-info-section .btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.8s var(--lux-ease);
  pointer-events: none;
}
.hero-btn-primary:hover::after,
.hero-visual-buy-btn:hover::after,
.btn-primary:hover::after,
.product-info-section .btn-primary:hover::after {
  transform: translateX(100%);
}

/* ---------- Refined nav link hover with subtle scale ---------- */
.navbar .nav-link {
  transition: color 0.3s var(--lux-ease), background 0.3s var(--lux-ease), transform 0.3s var(--lux-ease) !important;
}
.navbar .nav-link:hover {
  transform: translateY(-1px);
}

/* ---------- Premium card hover lift refinement ---------- */
.feature-card:hover,
.payment-card:hover,
.product-card:hover,
.product-card-horizontal:hover {
  transform: translateY(-8px) !important;
}

/* ---------- Better section title underline ---------- */
.section-title h2::after {
  background: linear-gradient(90deg, transparent, var(--lux-aurora-1), var(--lux-aurora-3), transparent) !important;
  width: 64px !important;
  height: 2px !important;
  margin-top: 1.5rem !important;
  opacity: 0.8;
}

/* ---------- Refined input focus ---------- */
.form-control:focus,
.form-select:focus {
  border-color: var(--lux-aurora-1) !important;
  box-shadow: 0 0 0 4px rgba(139, 126, 232, 0.15) !important;
}

/* ---------- Premium mobile menu ---------- */
.mobile-menu-item {
  transition: background 0.3s var(--lux-ease), padding-left 0.3s var(--lux-ease) !important;
}
.mobile-menu-item:hover {
  background: rgba(139, 126, 232, 0.06) !important;
  padding-left: 1rem !important;
}

/* ---------- Touch device fallbacks ---------- */
@media (hover: none), (pointer: coarse) {
  body { cursor: auto; }
  * { cursor: auto !important; }
  .lux-cursor-dot { display: none !important; }
  .lux-magnetic { transform: none !important; }
  .hero h1 .title-line-1 > * {
    transform: none;
    animation: fadeUp 1s var(--lux-ease-out) 0.35s forwards;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  body { animation: none !important; opacity: 1 !important; }
  .lux-cursor-dot { display: none !important; }
  body { cursor: auto; }
  * { cursor: auto !important; }
  .lux-magnetic { transform: none !important; transition: none !important; }
  .hero-visual { transform: none !important; }
  .hero h1 .title-line-1 > * { transform: none !important; animation: fadeUp 0.8s var(--lux-ease-out) forwards !important; }
  .feature-card::before, .payment-card::before { animation: none !important; }
  .hero-badge::before { animation: none !important; opacity: 0 !important; }
}

