/* ==========================================================================
   AURZYRA MASTER DESIGN SYSTEM — BASE.CSS
   Theme: Premium White & Lavender Frosted Glass Architecture
   ========================================================================== */

/* Zero-CLS Container Stabilizer: Prevents footer jump before React hydration */
#section-01 {
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  display: block;
}

:root {
  /* Core Lavender & Violet Palette */
  --az-lavender-50:  #FAF8FF;
  --az-lavender-100: #F4EFFF;
  --az-lavender-200: #E9DEFF;
  --az-lavender-300: #D8C7FF;
  --az-lavender-400: #B9A6FF;
  --az-lavender:     #9E86FF;
  --az-lavender-dark:#7B62E3;
  --az-violet-deep:  #2E2254;
  --az-violet-text:  #181035;
  --az-body-gray:    #5B5470;
  --az-muted-gray:   #867E9C;

  /* Frosted Glass System (Light / Default) */
  --az-glass-bg: rgba(255, 255, 255, 0.48);
  --az-glass-bg-hover: rgba(255, 255, 255, 0.65);
  --az-glass-border: rgba(255, 255, 255, 0.65);
  --az-glass-border-subtle: rgba(255, 255, 255, 0.35);
  --az-glass-blur: blur(20px) saturate(180%);
  --az-glass-shadow: 0 16px 40px -10px rgba(118, 93, 214, 0.16), 0 0 0 1px rgba(255, 255, 255, 0.4);
  --az-glass-highlight: inset 0 1px 1px 0 rgba(255, 255, 255, 0.9), inset 0 -1px 1px 0 rgba(118, 93, 214, 0.05);

  /* Frosted Glass System (Dark Surface Fallback/Variants) */
  --az-glass-dark-bg: rgba(14, 18, 36, 0.65);
  --az-glass-dark-border: rgba(255, 255, 255, 0.15);
  --az-glass-dark-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.25);

  /* Radii & Layout */
  --az-radius-sm: 12px;
  --az-radius-md: 20px;
  --az-radius-lg: 28px;
  --az-radius-full: 9999px;
  --az-font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --az-font-heading: 'Playfair Display', Georgia, serif;
}

/* ==========================================================================
   RESET & GLOBAL VIEWPORT
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--az-font-body);
  color: var(--az-body-gray);
  background: linear-gradient(180deg, #FFFFFF 0%, #F8F5FF 30%, #EDE7FF 70%, #E3DAFF 100%) fixed !important;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Base Headings */
h1, h2, h3, h4, h5, h6 {
  color: var(--az-violet-text);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ==========================================================================
   ANIMATED LAVENDER BACKGROUND BLOBS
   ========================================================================== */
.az-bg-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.az-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  animation: azBlobDrift 24s ease-in-out infinite alternate;
}

.az-blob-1 {
  width: 550px;
  height: 550px;
  top: -120px;
  left: -80px;
  background: radial-gradient(circle, rgba(185, 166, 255, 0.45) 0%, rgba(220, 208, 255, 0.1) 70%);
}

.az-blob-2 {
  width: 650px;
  height: 650px;
  bottom: 10%;
  right: -100px;
  background: radial-gradient(circle, rgba(143, 122, 230, 0.35) 0%, rgba(240, 230, 255, 0.05) 70%);
  animation-duration: 30s;
  animation-delay: -7s;
}

.az-blob-3 {
  width: 480px;
  height: 480px;
  top: 45%;
  left: 25%;
  background: radial-gradient(circle, rgba(214, 198, 255, 0.3) 0%, rgba(255, 255, 255, 0) 70%);
  animation-duration: 20s;
  animation-delay: -12s;
}

@keyframes azBlobDrift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(45px, 60px) scale(1.08); }
  100% { transform: translate(-30px, 30px) scale(0.95); }
}

/* ==========================================================================
   SCROLL PROGRESS BAR
   ========================================================================== */
.az-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
  background: linear-gradient(90deg, #8F7AE6, #B9A6FF, #E0D4FF);
  z-index: 100000;
  box-shadow: 0 0 10px rgba(185, 166, 255, 0.7);
}

/* ==========================================================================
   DESKTOP CURSOR GLOW
   ========================================================================== */
.az-cursor-glow {
  position: fixed;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(185, 166, 255, 0.15) 0%, rgba(185, 166, 255, 0) 70%);
  transform: translate(-50%, -50%);
  z-index: 99998;
  opacity: 0;
  transition: opacity 0.4s ease;
  mix-blend-mode: multiply;
}

@media (pointer: fine) {
  body:hover .az-cursor-glow {
    opacity: 1;
  }
}

/* ==========================================================================
   FROSTED GLASS CARD COMPONENT
   ========================================================================== */
.az-glass-card {
  position: relative;
  background: var(--az-glass-bg);
  backdrop-filter: var(--az-glass-blur);
  -webkit-backdrop-filter: var(--az-glass-blur);
  border: 1px solid var(--az-glass-border);
  box-shadow: var(--az-glass-shadow), var(--az-glass-highlight);
  border-radius: var(--az-radius-lg);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.3s ease;
}

.az-glass-card:hover {
  transform: translateY(-4px);
  background: var(--az-glass-bg-hover);
  box-shadow: 0 24px 50px -12px rgba(118, 93, 214, 0.24), 
              0 0 0 1px rgba(255, 255, 255, 0.75), 
              inset 0 1px 1px 0 rgba(255, 255, 255, 1);
}

/* Light sheen sweep effect */
.az-glass-card::after {
  content: '';
  position: absolute;
  top: -100%;
  left: -100%;
  width: 300%;
  height: 300%;
  background: linear-gradient(
    45deg,
    transparent 42%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 58%
  );
  transform: rotate(25deg);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.8s ease;
}

.az-glass-card:hover::after {
  opacity: 1;
  transform: rotate(25deg) translate(30%, 30%);
}

/* Fallback for browsers without backdrop-filter */
@supports not (backdrop-filter: blur(10px)) {
  .az-glass-card, .az-navbar, .az-footer-inner {
    background: rgba(255, 255, 255, 0.94) !important;
  }
}

/* ==========================================================================
   SHARED FROSTED NAVIGATION BAR
   ========================================================================== */
.az-nav-wrapper {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 1360px;
  z-index: 99999;
  pointer-events: none;
}

.az-navbar {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  border-radius: var(--az-radius-full);
  background: rgba(255, 255, 255, 0.22) !important;
  backdrop-filter: blur(24px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(160%) !important;
  border: 1px solid rgba(255, 255, 255, 0.45) !important;
  box-shadow: 0 16px 36px -8px rgba(30, 20, 60, 0.12),
              0 0 0 1px rgba(255, 255, 255, 0.2),
              inset 0 1px 1.5px 0 rgba(255, 255, 255, 0.8),
              inset 0 -1px 1px 0 rgba(255, 255, 255, 0.12) !important;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.az-navbar.scrolled {
  top: 12px;
  padding: 8px 22px;
  background: rgba(255, 255, 255, 0.35) !important;
  backdrop-filter: blur(28px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(180%) !important;
  border-color: rgba(255, 255, 255, 0.6) !important;
  box-shadow: 0 20px 44px -8px rgba(30, 20, 60, 0.16),
              inset 0 1px 1.5px 0 rgba(255, 255, 255, 0.9) !important;
}

/* Ensure navbar is ALWAYS pure blur transparent glass across all pages, NO colored background */
body.az-dark-theme .az-navbar {
  background: rgba(255, 255, 255, 0.20) !important;
  backdrop-filter: blur(24px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(160%) !important;
  border: 1px solid rgba(255, 255, 255, 0.45) !important;
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.2),
              0 0 0 1px rgba(255, 255, 255, 0.15),
              inset 0 1px 1.5px 0 rgba(255, 255, 255, 0.8) !important;
}

body.az-dark-theme .az-navbar.scrolled {
  background: rgba(255, 255, 255, 0.30) !important;
  border-color: rgba(255, 255, 255, 0.55) !important;
}


/* Logo */
.az-nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.22em;
  color: #181035 !important;
  text-transform: uppercase;
  flex-shrink: 0;
  padding: 4px 6px;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.7);
}

.az-navbar.on-dark .az-nav-logo {
  color: #FFFFFF !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6) !important;
}

.az-nav-logo .star {
  color: var(--az-lavender);
  font-size: 18px;
  line-height: 1;
}

.az-navbar.on-dark .az-nav-logo .star {
  color: #B9A6FF !important;
  filter: drop-shadow(0 0 6px #B9A6FF);
}

/* Nav Links */
.az-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.az-nav-links a {
  position: relative;
  font-size: 13.5px;
  font-weight: 600;
  color: #2E2254 !important;
  letter-spacing: 0.01em;
  padding: 6px 2px;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.az-nav-links a:hover,
.az-nav-links a.active {
  color: #7B62E3 !important;
}

.az-navbar.on-dark .az-nav-links a {
  color: rgba(255, 255, 255, 0.95) !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6) !important;
}

.az-navbar.on-dark .az-nav-links a:hover,
.az-navbar.on-dark .az-nav-links a.active {
  color: #FFFFFF !important;
  text-shadow: 0 0 10px rgba(185, 166, 255, 0.9) !important;
}

/* Active Indicator */
.az-nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--az-lavender);
  box-shadow: 0 0 8px var(--az-lavender);
}

.az-navbar.on-dark .az-nav-links a.active::after {
  background: #FFFFFF !important;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.9), 0 0 14px #B9A6FF !important;
}

/* Actions Right */
.az-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.az-nav-icon-btn {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(143, 122, 230, 0.25);
  background: rgba(255, 255, 255, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2E2254 !important;
  cursor: pointer;
  pointer-events: auto !important;
  z-index: 10;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}

.az-nav-icon-btn:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: var(--az-lavender);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(143, 122, 230, 0.2);
}

.az-navbar.on-dark .az-nav-icon-btn {
  border-color: rgba(255, 255, 255, 0.35) !important;
  background: rgba(255, 255, 255, 0.16) !important;
  color: #FFFFFF !important;
}

.az-navbar.on-dark .az-nav-icon-btn:hover {
  background: rgba(255, 255, 255, 0.28) !important;
  border-color: rgba(255, 255, 255, 0.6) !important;
}

.az-nav-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--az-lavender-dark);
  color: #FFF;
  font-size: 10px;
  font-weight: 700;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(123, 98, 227, 0.4);
}

.az-btn-start {
  padding: 8px 18px;
  border-radius: var(--az-radius-full);
  background: linear-gradient(135deg, var(--az-lavender-dark) 0%, #6848DC 100%);
  color: #FFF;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 6px 18px rgba(118, 93, 214, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.az-btn-start:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(118, 93, 214, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  color: #FFF;
}

/* Hamburger button */
.az-hamburger {
  display: none;
  background: none;
  border: none;
  width: 36px;
  height: 36px;
  padding: 6px;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-around;
  color: var(--az-violet-deep);
}

body.az-dark-theme .az-hamburger {
  color: #FFFFFF;
}

.az-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ==========================================================================
   MOBILE MENU DRAWER
   ========================================================================== */
.az-mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(18, 14, 38, 0.85);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  z-index: 999999;
  display: flex;
  flex-direction: column;
  padding: 24px 28px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.az-mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}

.az-mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.az-mobile-menu .az-nav-logo {
  color: #FFFFFF !important;
  text-shadow: 0 0 16px rgba(185, 166, 255, 0.6), 0 1px 3px rgba(0, 0, 0, 0.5) !important;
  font-weight: 800 !important;
  font-size: 18px !important;
  letter-spacing: 0.14em !important;
}

.az-mobile-menu .az-nav-logo .star {
  color: #C4B5FD !important;
  font-size: 20px !important;
  filter: drop-shadow(0 0 8px #A78BFA) !important;
}

.az-mobile-close {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFF;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.az-mobile-nav-list {
  list-style: none;
  margin: 30px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.az-mobile-nav-list a {
  color: #FFFFFF;
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
}

.az-mobile-nav-list a.active {
  color: var(--az-lavender-300);
}

.az-mobile-footer-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ==========================================================================
   SHARED FROSTED FOOTER - PURE BLUR TRANSPARENT GLASS
   Target: Frosted glass container sitting cleanly on page background
   ========================================================================== */
.az-footer-wrapper {
  position: relative;
  width: 100%;
  padding: 60px 24px 40px;
  margin-top: 60px;
  background: transparent !important;
  border: none !important;
}

.az-footer-inner {
  max-width: 1360px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.16) !important;
  backdrop-filter: blur(24px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(160%) !important;
  border: 1px solid rgba(255, 255, 255, 0.45) !important;
  box-shadow: 0 16px 36px -8px rgba(30, 20, 60, 0.12),
              0 0 0 1px rgba(255, 255, 255, 0.2),
              inset 0 1px 1.5px 0 rgba(255, 255, 255, 0.8),
              inset 0 -1px 1px 0 rgba(255, 255, 255, 0.12) !important;
  border-radius: 28px !important;
  padding: 56px 48px 36px;
  position: relative;
  z-index: 10;
}

/* Ensure footer container is ALWAYS pure blur transparent glass without milky white color fill */
body.az-dark-theme .az-footer-inner {
  background: rgba(255, 255, 255, 0.10) !important;
  backdrop-filter: blur(24px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(160%) !important;
  border: 1px solid rgba(255, 255, 255, 0.38) !important;
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.4),
              0 0 0 1px rgba(255, 255, 255, 0.15),
              inset 0 1px 1.5px 0 rgba(255, 255, 255, 0.6) !important;
  color: var(--az-body-gray) !important;
}

body.az-dark-theme .az-footer-inner h4,
body.az-dark-theme .az-footer-inner .az-footer-brand-title {
  color: var(--az-violet-text) !important;
}

.az-footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(143, 122, 230, 0.18) !important;
}

body.az-dark-theme .az-footer-top {
  border-bottom: 1px solid rgba(143, 122, 230, 0.18) !important;
}

.az-footer-brand-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--az-violet-text) !important;
  margin-bottom: 14px;
}

.az-footer-brand-desc {
  font-size: 14px;
  line-height: 1.65;
  color: #453E5C !important;
  max-width: 360px;
  margin-bottom: 20px;
}

body.az-dark-theme .az-footer-brand-desc {
  color: #453E5C !important;
}

.az-footer-col h2,
.az-footer-col h3,
.az-footer-col h4,
.az-footer-heading {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--az-violet-deep) !important;
  margin: 0 0 18px 0;
}

.az-footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.az-footer-col a {
  font-size: 13.5px;
  color: #453E5C !important;
  transition: all 0.2s ease;
}

.az-footer-col a:hover {
  color: var(--az-lavender-dark) !important;
  transform: translateX(2px);
  display: inline-block;
}

body.az-dark-theme .az-footer-col a {
  color: #453E5C !important;
}

body.az-dark-theme .az-footer-col a:hover {
  color: var(--az-lavender-dark) !important;
}

.az-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  flex-wrap: wrap;
  gap: 20px;
}

.az-footer-copy {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88) !important;
  letter-spacing: 0.02em;
}

.az-footer-credit {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88) !important;
  letter-spacing: 0.04em;
}

body.az-dark-theme .az-footer-copy,
body.az-dark-theme .az-footer-credit {
  color: rgba(255, 255, 255, 0.88) !important;
}

.az-footer-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.az-social-pill {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--az-violet-deep);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(46, 34, 84, 0.04);
}

.az-social-pill svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  transition: transform 0.2s ease;
}

.az-social-pill:hover {
  background: var(--az-lavender) !important;
  color: #FFF !important;
  border-color: var(--az-lavender) !important;
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 8px 20px rgba(158, 134, 255, 0.4);
}

.az-social-pill:hover svg {
  transform: scale(1.1);
}

body.az-dark-theme .az-social-pill {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--az-violet-deep);
}

/* Floating Frosted Toast Notification for Cart */
.az-cart-toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  background: rgba(255, 255, 255, 0.70);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 40px -10px rgba(46, 34, 84, 0.22), inset 0 1px 1px 0 rgba(255, 255, 255, 0.95);
  border-radius: 999px;
  padding: 12px 22px;
  color: var(--az-violet-text);
  font-weight: 700;
  font-size: 14px;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.az-cart-toast.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.az-toast-content {
  display: flex;
  align-items: center;
  gap: 16px;
}

.az-toast-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #FFF !important;
  background: var(--az-violet-deep);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 800;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.az-toast-link:hover {
  background: var(--az-lavender) !important;
  transform: translateX(2px);
}

.az-back-to-top {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--az-violet-deep);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(143, 122, 230, 0.3);
  padding: 8px 18px;
  border-radius: var(--az-radius-full);
  transition: all 0.2s ease;
}

.az-back-to-top:hover {
  background: #FFF;
  border-color: var(--az-lavender);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(158, 134, 255, 0.2);
}

body.az-dark-theme .az-back-to-top {
  background: rgba(255, 255, 255, 0.65);
  border-color: rgba(143, 122, 230, 0.3);
  color: var(--az-violet-deep);
}

.az-copyright {
  width: 100%;
  text-align: center;
  font-size: 12.5px;
  color: #7A748E;
  margin-top: 14px;
}

body.az-dark-theme .az-copyright {
  color: #7A748E;
}

/* ==========================================================================
   SCROLL REVEAL & ANIMATIONS
   ========================================================================== */
.az-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.az-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.az-reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.az-reveal-scale.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* Magnetic Button Base */
.az-btn-magnetic {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Button ripple click element */
.az-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  transform: scale(0);
  animation: azRippleAnim 0.6s linear;
  pointer-events: none;
}

@keyframes azRippleAnim {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* ==========================================================================
   RESPONSIVENESS (375px, 768px, 1024px, 1440px)
   ========================================================================== */
@media (max-width: 1024px) {
  .az-nav-links {
    display: none;
  }
  .az-hamburger {
    display: flex;
  }
  .az-footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .az-footer-brand-col {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .az-nav-wrapper {
    top: 10px;
    width: calc(100% - 16px);
    max-width: calc(100% - 16px);
  }
  .az-navbar {
    padding: 6px 10px 6px 14px;
    border-radius: var(--az-radius-full);
    gap: 4px;
    justify-content: space-between;
  }
  .az-nav-logo {
    font-size: 13.5px;
    letter-spacing: 0.08em;
    gap: 5px;
    padding: 2px 0;
    flex-shrink: 1;
    min-width: 0;
  }
  .az-nav-logo .star {
    font-size: 13px;
  }
  .az-nav-actions {
    gap: 5px;
    flex-shrink: 0;
  }
  .az-nav-icon-btn {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
  }
  .az-nav-icon-btn svg {
    width: 15px;
    height: 15px;
  }
  .az-nav-badge {
    min-width: 15px;
    height: 15px;
    font-size: 9px;
    padding: 0 3px;
    top: -2px;
    right: -2px;
  }
  .az-btn-start {
    display: none;
  }
  .az-hamburger {
    width: 32px;
    height: 32px;
    padding: 6px 3px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
  }
  .az-hamburger span {
    width: 18px;
    height: 2px;
    border-radius: 2px;
  }
  .az-footer-inner {
    padding: 36px 20px 24px;
  }
  .az-footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .az-footer-brand-col {
    grid-column: span 1;
  }
  .az-footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 360px) {
  .az-navbar {
    padding: 5px 8px 5px 10px;
  }
  .az-nav-logo {
    font-size: 12px;
    letter-spacing: 0.05em;
  }
  .az-nav-actions {
    gap: 3px;
  }
  .az-nav-icon-btn, .az-hamburger {
    width: 29px;
    height: 29px;
  }
  .az-hamburger span {
    width: 15px;
  }
}

/* ==========================================================================
   ACCESSIBILITY: PREFERS-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;
  }
  .az-blob {
    display: none !important;
  }
  .az-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  .az-cursor-glow {
    display: none !important;
  }
}

/* 3D Card Flip Hit-Testing & Layering Fix */
.card-scene {
  perspective: 1400px;
}
.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform .48s cubic-bezier(.2,.8,.2,1);
}
.card-inner.flipped {
  transform: rotateY(180deg) !important;
}
.card-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.card-back {
  transform: rotateY(180deg) translateZ(2px) !important;
}
.card-inner:not(.flipped) .card-face:first-child {
  pointer-events: auto !important;
  z-index: 2 !important;
}
.card-inner:not(.flipped) .card-back {
  pointer-events: none !important;
  z-index: 1 !important;
}
.card-inner.flipped .card-face:first-child {
  pointer-events: none !important;
  z-index: 1 !important;
}
.card-inner.flipped .card-back {
  pointer-events: auto !important;
  z-index: 2 !important;
}




/* ==================== MARKETPLACE MULTI-TAXONOMY FILTERS ==================== */
.az-filter-sidebar {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.az-filter-label {
  user-select: none;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.az-filter-label:active {
  transform: scale(0.98);
}

.az-filter-checkbox {
  accent-color: #8F7AE6;
  transition: transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.az-filter-checkbox:checked {
  transform: scale(1.08);
}

.az-chip {
  animation: azChipFade 0.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes azChipFade {
  from {
    opacity: 0;
    transform: translateY(-4px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.az-term-count {
  font-family: 'JetBrains Mono', monospace;
  transition: all 0.2s ease;
}

.az-filter-legend {
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.az-empty-state,
.az-coming-soon-card {
  box-shadow: 0 20px 50px rgba(45, 25, 110, 0.06);
  border: 1px solid rgba(237, 231, 255, 0.8);
}

@media (prefers-reduced-motion: reduce) {
  .az-filter-sidebar,
  .az-filter-label,
  .az-filter-checkbox,
  .az-chip {
    animation: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   ACCESSIBILITY & WCAG AA CONTRAST ENHANCEMENTS
   ========================================================================== */
/* Touch targets for carousel dot controls (expands hit area to 36px without changing sleek visual look) */
[role="tablist"] button {
  position: relative;
  min-height: 28px;
  touch-action: manipulation;
  cursor: pointer;
}
[role="tablist"] button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 36px;
  min-height: 36px;
  background: transparent;
  pointer-events: auto;
}

/* WCAG AA Color Contrast Boost for Section 04 and Section 06 text */
.text-\[\#ffb9a5\] {
  color: #FFCDB7 !important;
}
.text-\[\#b9a9e8\] {
  color: #D6CAFF !important;
}
.text-\[\#d8d5e8\] {
  color: #EFEAFF !important;
}
.text-white\/45 {
  color: rgba(255, 255, 255, 0.78) !important;
}
.text-white\/40 {
  color: rgba(255, 255, 255, 0.75) !important;
}

/* Clean keyboard focus indicator */
[role="tab"]:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 2px solid #A78BFA !important;
  outline-offset: 3px !important;
}

/* ==========================================================================
   MOBILE & TOUCH SCROLL PERFORMANCE OPTIMIZATIONS
   Eliminate full-page fixed-attachment repaints & heavy background blur stalls
   ========================================================================== */
@media (max-width: 1024px), (hover: none), (pointer: coarse) {
  body {
    background-attachment: scroll !important;
  }

  .az-blob {
    filter: blur(36px);
    animation: none !important;
  }

  .az-navbar,
  .az-glass-card,
  .az-footer-inner {
    backdrop-filter: blur(12px) saturate(140%) !important;
    -webkit-backdrop-filter: blur(12px) saturate(140%) !important;
  }
}

/* Global Clean WooCommerce Notices (prevent Tailwind ul/li reset from colliding ::before icons with text) */
:where(body:not(.theme-anime)) .woocommerce-error,
:where(body:not(.theme-anime)) .woocommerce-message,
:where(body:not(.theme-anime)) .woocommerce-info {
  position: relative !important;
  display: block !important;
  box-sizing: border-box !important;
  border-radius: 16px !important;
  padding: 14px 18px 14px 48px !important;
  margin: 0 0 18px 0 !important;
  line-height: 1.55 !important;
  font-size: 0.92rem !important;
  font-weight: 600 !important;
  list-style: none !important;
  box-shadow: 0 12px 30px rgba(20, 16, 46, 0.08) !important;
}

:where(body:not(.theme-anime)) .woocommerce-error {
  background: #FFF1F2 !important;
  color: #9F1239 !important;
  border: 1px solid #FECDD3 !important;
  border-top: 1px solid #FECDD3 !important;
}

:where(body:not(.theme-anime)) .woocommerce-message {
  background: #ECFDF5 !important;
  color: #065F46 !important;
  border: 1px solid #A7F3D0 !important;
  border-top: 1px solid #A7F3D0 !important;
}

:where(body:not(.theme-anime)) .woocommerce-info {
  background: #F5F3FF !important;
  color: #2E2A4F !important;
  border: 1px solid #DDD6FE !important;
  border-top: 1px solid #DDD6FE !important;
}

:where(body:not(.theme-anime)) .woocommerce-error li,
:where(body:not(.theme-anime)) .woocommerce-message li,
:where(body:not(.theme-anime)) .woocommerce-info li {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

:where(body:not(.theme-anime)) .woocommerce-error::before,
:where(body:not(.theme-anime)) .woocommerce-message::before,
:where(body:not(.theme-anime)) .woocommerce-info::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  left: 16px !important;
  top: 16px !important;
  width: 18px !important;
  height: 18px !important;
  font-family: inherit !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: contain !important;
}

:where(body:not(.theme-anime)) .woocommerce-error::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E11D48' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='8' x2='12' y2='12'/%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'/%3E%3C/svg%3E") !important;
}

:where(body:not(.theme-anime)) .woocommerce-message::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E") !important;
}

:where(body:not(.theme-anime)) .woocommerce-info::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236D4DF0' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='16' x2='12' y2='12'/%3E%3Cline x1='12' y1='8' x2='12.01' y2='8'/%3E%3C/svg%3E") !important;
}

:where(body:not(.theme-anime)) .woocommerce-error::after,
:where(body:not(.theme-anime)) .woocommerce-message::after,
:where(body:not(.theme-anime)) .woocommerce-info::after {
  display: none !important;
  content: none !important;
}

/* Keep dark midnight backdrop solid on standalone auth pages */
html:has(body.theme-anime),
body.theme-anime {
  background: #0B1226 !important;
  background-color: #0B1226 !important;
  background-image: none !important;
}
