/* =========================================================
   SA LITTLE BLOOM LIBRARY
   GLOBAL WEBSITE STYLES
========================================================= */
/* =========================================================
   1. ROOT VARIABLES
========================================================= */
:root {
  /* Main Brand Colors */
  --purple: #7c3aed;
  --deep-purple: #4c1d95;
  --dark-purple: #31234f;
  --blue: #2563eb;
  --deep-blue: #1e40af;
  --soft-blue: #eff6ff;
  --light-blue: #dbeafe;
  --pink: #ec4899;
  --soft-pink: #fdf2f8;
  --light-pink: #fce7f3;
  /* Background Colors */
  --cream: #fbf9ff;
  --soft-purple: #f5f0fc;
  --lavender: #ede7f7;
  /* Border & Neutral */
  --border-purple: #ddd6fe;
  --white: #ffffff;
  --slate: #64748b;
  /* Effects */
  --shadow-soft: 0 12px 32px rgba(76, 29, 149, 0.07);
  --shadow-hover: 0 18px 38px rgba(37, 99, 235, 0.14);
  /* Radius */
  --radius-sm: 0.75rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;
  --radius-2xl: 2.5rem;
  --transition: 0.25s ease;
}
/* =========================================================
   2. GLOBAL RESET
========================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
}
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--cream);
  color: var(--dark-purple);
  font-family: "Nunito", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
body.bg-cream {
  background-color: #f7f3fc;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
/* =========================================================
   3. TYPOGRAPHY
========================================================= */
h1,
h2,
h3,
h4,
h5,
h6,
.brand-font {
  margin-top: 0;
  font-family: "Baloo 2", cursive;
  line-height: 1.15;
}
h1 {
  font-size: clamp(2.3rem, 5vw, 4.5rem);
  font-weight: 800;
}
h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
}
h3 {
  font-size: clamp(1.4rem, 3vw, 2.25rem);
  font-weight: 800;
}
p {
  margin-top: 0;
}
.text-purple {
  color: var(--purple);
}
.text-deep-purple {
  color: var(--deep-purple);
}
.text-pink {
  color: var(--pink);
}
.text-muted {
  color: rgba(49, 35, 79, 0.65);
}
.gradient-text {
  color: transparent;
  background: linear-gradient(135deg, var(--purple), var(--blue), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
}
.text-balance {
  text-wrap: balance;
}
.text-pretty {
  text-wrap: pretty;
}
/* =========================================================
   4. SHARED NAVBAR
========================================================= */
.site-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(124, 58, 237, 0.1);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.navbar-container {
  width: min(100% - 2rem, 1200px);
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
/* =========================================================
   5. BRAND
========================================================= */
.brand-logo {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 0.65rem;
  color: var(--deep-purple);
}
.brand-image-wrapper {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(124, 58, 237, 0.12);
  border-radius: 17px;
  background: linear-gradient(135deg, #ede9fe, #dbeafe, #fce7f3);
}
.brand-image {
  width: 100%;
  height: 100%;
  padding: 3px;
  object-fit: contain;
}
.brand-icon-fallback {
  display: none;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}
.brand-text {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.15rem;
}
.brand-name {
  color: #581c87;
  font-family: "Baloo 2", sans-serif;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.brand-tagline {
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.2;
  white-space: nowrap;
}
/* =========================================================
   6. DESKTOP NAVIGATION
========================================================= */
.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}
.site-navbar .nav-link,
.desktop-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 0.85rem;
  overflow: hidden;
  border-radius: 999px;
  color: var(--slate);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition:
    color var(--transition),
    background var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}
.site-navbar .nav-link:hover,
.desktop-nav a:hover {
  color: var(--deep-blue);
  background: linear-gradient(135deg, #f5f3ff, #eff6ff, #fdf2f8);
  transform: translateY(-2px);
}
.site-navbar .nav-link.active-page,
.desktop-nav a.active {
  color: var(--deep-purple) !important;
  background: linear-gradient(135deg, #ede9fe, #dbeafe, #fce7f3) !important;
  box-shadow:
    0 5px 14px rgba(124, 58, 237, 0.1),
    inset 0 0 0 1px rgba(37, 99, 235, 0.12);
  animation: navActiveIn 0.35s ease both;
}
.site-navbar .nav-link.active-page::after,
.desktop-nav a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 20px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--purple), var(--blue), var(--pink));
  transform: translateX(-50%);
  animation: navUnderlineIn 0.35s ease both;
}
@keyframes navActiveIn {
  from {
    opacity: 0;
    transform: translateY(4px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes navUnderlineIn {
  from {
    opacity: 0;
    width: 0;
  }
  to {
    opacity: 1;
    width: 20px;
  }
}
/* =========================================================
   7. NAVBAR ACTIONS
========================================================= */
.navbar-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.language-btn {
  display: inline-flex;
  min-width: 42px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.75rem;
  border: 1px solid #e9d5ff;
  border-radius: 999px;
  background: var(--white);
  color: #7e22ce;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  transition: all var(--transition);
}
.language-btn:hover {
  border-color: #c084fc;
  background: #faf5ff;
  transform: translateY(-2px);
  box-shadow: 0 5px 14px rgba(124, 58, 237, 0.1);
}
.navbar-shop-button {
  white-space: nowrap;
}
/* =========================================================
   8. MOBILE MENU
========================================================= */
.mobile-menu-button {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  border: 1px solid #c7d2fe;
  background: linear-gradient(135deg, #f5f3ff, #eff6ff);
  color: var(--deep-blue);
  font-size: 1.3rem;
  cursor: pointer;
  transition: all var(--transition);
}
.mobile-menu-button:hover {
  background: linear-gradient(135deg, #ede9fe, #dbeafe);
  transform: translateY(-2px);
}
.mobile-menu-button .close-icon {
  display: none;
}
.mobile-menu-button.is-open .menu-icon {
  display: none;
}
.mobile-menu-button.is-open .close-icon {
  display: inline;
}
.mobile-menu {
  display: none;
  border-top: 1px solid rgba(124, 58, 237, 0.08);
  background: rgba(255, 255, 255, 0.98);
}
.mobile-menu.is-open {
  display: block;
  animation: mobileMenuOpen 0.25s ease both;
}
.mobile-nav {
  width: min(100% - 2rem, 1280px);
  margin: 0 auto;
  padding: 0.75rem 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.site-navbar .mobile-nav-link,
.mobile-nav > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0.9rem;
  border-radius: 14px;
  color: var(--slate);
  font-size: 16px;
  font-weight: 700;
  transition: all var(--transition);
}
.mobile-nav > a:hover {
  color: var(--purple);
  background: #faf5ff;
  transform: translateX(3px);
}
.mobile-nav > a.active,
.site-navbar .mobile-nav-link.active-page {
  color: var(--deep-purple);
  background: linear-gradient(135deg, #f3e8ff, #dbeafe, #fce7f3);
  box-shadow: inset 4px 0 0 var(--blue);
}
.mobile-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid #f3e8ff;
}
.mobile-nav-actions .btn-main {
  flex: 1;
  justify-content: center;
}
@keyframes mobileMenuOpen {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* =========================================================
   9. SHARED CONTAINERS
========================================================= */
.section-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-inline: 1.5rem;
}
.section-padding {
  padding-block: 4rem;
}
.section-heading {
  max-width: 760px;
  margin: 0 auto 2.25rem;
  text-align: center;
}
.section-eyebrow {
  display: inline-block;
  margin-bottom: 0.6rem;
  color: var(--pink);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.section-title {
  margin-bottom: 0.8rem;
  color: var(--deep-purple);
}
.section-description {
  max-width: 680px;
  margin: 0 auto;
  color: rgba(49, 35, 79, 0.65);
  line-height: 1.8;
}
/* =========================================================
   10. HERO BACKGROUND
========================================================= */
.hero-bg {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 15% 20%,
      rgba(196, 181, 253, 0.45),
      transparent 35%
    ),
    radial-gradient(
      circle at 85% 15%,
      rgba(147, 197, 253, 0.45),
      transparent 35%
    ),
    radial-gradient(
      circle at 70% 85%,
      rgba(244, 114, 182, 0.3),
      transparent 40%
    ),
    linear-gradient(135deg, #f5f3ff 0%, #eff6ff 50%, #fdf2f8 100%);
}
.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(
    rgba(168, 85, 247, 0.13) 1px,
    transparent 1px
  );
  background-size: 26px 26px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}
.hero-content {
  min-width: 0;
}
.hero-title {
  text-wrap: balance;
}
.hero-description {
  text-wrap: pretty;
}
.hero-visual {
  min-height: 520px;
}
.hero-visual-inner {
  min-height: 520px;
  height: 100%;
}
.hero-category-card {
  min-height: 142px;
}
.hero-floating {
  animation: heroFloat 5s ease-in-out infinite;
}
.hero-floating-delay {
  animation: heroFloat 5s ease-in-out 1.2s infinite;
}
@keyframes heroFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
/* =========================================================
   11. SHARED CARDS
========================================================= */
.soft-card {
  border: 1px solid rgba(124, 58, 237, 0.1);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
}
.soft-card-hover {
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}
.soft-card-hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.rounded-card {
  border-radius: var(--radius-xl);
}
.bundle-card {
  position: relative;
  overflow: hidden;
}
.bundle-card::before {
  content: "";
  position: absolute;
  top: -75px;
  right: -75px;
  width: 170px;
  height: 170px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
  pointer-events: none;
}
/* =========================================================
   12. BUTTONS
========================================================= */
.btn-main,
.btn-outline,
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  border-radius: 999px;
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-main {
  border: 0;
  background: linear-gradient(135deg, var(--purple), var(--blue), var(--pink));
  color: var(--white);
}
.btn-main:hover {
  color: var(--white);
  transform: translateY(-2px);
  box-shadow:
    0 12px 24px rgba(124, 58, 237, 0.2),
    0 8px 18px rgba(37, 99, 235, 0.12);
}
.btn-outline {
  border: 1px solid var(--border-purple);
  background: var(--white);
  color: #6d28d9;
}
.btn-outline:hover {
  border-color: var(--purple);
  background: var(--soft-purple);
  color: var(--purple);
  transform: translateY(-2px);
}
.btn-whatsapp {
  border: 1px solid #bbf7d0;
  background: #dcfce7;
  color: #166534;
}
.btn-whatsapp:hover {
  border-color: #86efac;
  background: #bbf7d0;
  color: #14532d;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(34, 197, 94, 0.12);
}
/* =========================================================
   16. FORMS
========================================================= */
.form-input,
.form-textarea,
.form-select {
  width: 100%;
  border: 1px solid var(--border-purple);
  border-radius: 1rem;
  background: var(--white);
  padding: 0.8rem 1rem;
  color: var(--dark-purple);
  outline: none;
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1);
}
.form-label {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--deep-purple);
  font-size: 0.875rem;
  font-weight: 700;
}
/* =========================================================
   17. SHARED FOOTER
========================================================= */
.site-footer {
  background: linear-gradient(135deg, #31234f 0%, #4c1d95 55%, #1e3a8a 100%);
  color: var(--white);
}
.footer-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 3.25rem 1.5rem 1.25rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.25rem;
}
.footer-brand {
  color: var(--white);
  font-family: "Baloo 2", cursive;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.1;
}
.footer-description {
  max-width: 360px;
  margin-top: 0.8rem;
  color: rgba(237, 233, 254, 0.75);
  font-size: 0.875rem;
  line-height: 1.8;
}
.footer-title {
  margin-bottom: 0.8rem;
  color: var(--white);
  font-family: "Baloo 2", cursive;
  font-size: 1.3rem;
  font-weight: 800;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: rgba(237, 233, 254, 0.78);
  font-size: 0.875rem;
}
.footer-links a {
  transition: color var(--transition);
}
.footer-links a:hover {
  color: #93c5fd;
}
.footer-bottom {
  margin-top: 2.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(237, 233, 254, 0.6);
  font-size: 0.75rem;
  text-align: center;
}
/* =========================================================
   18. ACCESSIBILITY
========================================================= */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.6);
  outline-offset: 4px;
}
/* =========================================================
   19. RESPONSIVE TABLET
========================================================= */
@media (max-width: 1100px) {
  .desktop-nav {
    gap: 0.1rem;
  }
  .site-navbar .nav-link,
  .desktop-nav a {
    padding-inline: 0.65rem;
    font-size: 14px;
  }
  .brand-tagline {
    letter-spacing: 0.08em;
  }
}
@media (max-width: 900px) {
  .navbar-container {
    min-height: 76px;
  }
  .desktop-nav,
  .navbar-actions {
    display: none;
  }
  .mobile-menu-button {
    display: inline-flex;
  }
  .brand-image-wrapper {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
    border-radius: 15px;
  }
  .brand-name {
    font-size: 1.15rem;
  }
  .brand-tagline {
    font-size: 0.52rem;
  }
  .hero-visual,
  .hero-visual-inner {
    min-height: auto;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }
}
/* =========================================================
   20. RESPONSIVE MOBILE
========================================================= */
@media (max-width: 640px) {
  body {
    font-size: 14px;
  }
  .navbar-container {
    width: min(100% - 1.25rem, 1280px);
  }
  .brand-logo {
    gap: 0.5rem;
  }
  .brand-image-wrapper {
    width: 45px;
    height: 45px;
    flex-basis: 45px;
  }
  .brand-name {
    font-size: 1.05rem;
  }
  .brand-tagline {
    max-width: 170px;
    font-size: 0.45rem;
    letter-spacing: 0.06em;
  }
  .mobile-nav {
    width: min(100% - 1.25rem, 1280px);
  }
  .section-container {
    padding-inline: 1rem;
  }
  .section-padding {
    padding-block: 3rem;
  }
  .section-heading {
    margin-bottom: 1.75rem;
  }
  .footer-container {
    padding: 2.75rem 1rem 1.25rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .footer-grid > :first-child {
    grid-column: auto;
  }
  .footer-bottom {
    margin-top: 1.75rem;
  }
}
/* =========================================================
   21. REDUCED MOTION
========================================================= */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-floating,
  .hero-floating-delay {
    animation: none !important;
  }
}
/* =========================================================
   LIBRARY HERO (library.html)
========================================================= */
.library-hero {
  position: relative;
  background:
    radial-gradient(
      circle at 10% 15%,
      rgba(249, 168, 212, 0.2),
      transparent 30%
    ),
    radial-gradient(
      circle at 90% 20%,
      rgba(196, 181, 253, 0.25),
      transparent 32%
    ),
    linear-gradient(135deg, #fff9fc 0%, #faf5ff 48%, #fffaf0 100%);
}
/* Soft Grid */
.library-hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(124, 58, 237, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 58, 237, 0.045) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, black, transparent);
}
/* Background Orbs */
.library-orb {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(2px);
  animation: libraryOrbFloat 8s ease-in-out infinite;
}
.library-orb-pink {
  width: 210px;
  height: 210px;
  top: -80px;
  left: -80px;
  background: rgba(249, 168, 212, 0.28);
}
.library-orb-purple {
  width: 260px;
  height: 260px;
  right: -120px;
  top: 12%;
  background: rgba(196, 181, 253, 0.28);
  animation-delay: -3s;
}
.library-orb-yellow {
  width: 160px;
  height: 160px;
  right: 25%;
  bottom: -100px;
  background: rgba(253, 230, 138, 0.25);
  animation-delay: -5s;
}
/* Decorative Sparkles */
.library-spark {
  position: absolute;
  z-index: 1;
  color: #c084fc;
  pointer-events: none;
  animation: librarySparkle 4s ease-in-out infinite;
}
.library-spark-one {
  top: 17%;
  left: 7%;
  font-size: 1.5rem;
}
.library-spark-two {
  top: 32%;
  right: 7%;
  color: #f9a8d4;
  font-size: 1.7rem;
  animation-delay: -1s;
}
.library-spark-three {
  bottom: 14%;
  left: 44%;
  font-size: 1.25rem;
  animation-delay: -2s;
}
.library-spark-four {
  top: 10%;
  right: 35%;
  color: #fbbf24;
  font-size: 1.25rem;
  animation-delay: -3s;
}
/* Hero Content */
.library-hero-content {
  animation: libraryHeroReveal 0.8s ease both;
}
.library-hero-badge {
  box-shadow: 0 8px 25px rgba(124, 58, 237, 0.06);
}
.library-badge-icon {
  font-size: 1rem;
}
.library-badge-spark {
  color: #f9a8d4;
}
/* Gradient Heading */
.library-gradient-title {
  background: linear-gradient(
    100deg,
    #7c3aed 0%,
    #a855f7 40%,
    #ec4899 80%,
    #f59e0b 110%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
/* CTA */
.library-main-cta {
  background: linear-gradient(135deg, #7c3aed, #a855f7 55%, #ec4899);
  box-shadow:
    0 12px 25px rgba(124, 58, 237, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.library-main-cta:hover {
  box-shadow:
    0 18px 35px rgba(124, 58, 237, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.library-secondary-cta {
  box-shadow: 0 8px 22px rgba(124, 58, 237, 0.05);
}
/* Trust Points */
.library-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.library-trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 999px;
  background: #dcfce7;
  color: #16a34a;
  font-size: 0.7rem;
  font-weight: 900;
}
/* Hero Visual */
.library-hero-visual {
  animation: libraryHeroVisualReveal 1s ease 0.15s both;
}
.library-visual-stage {
  min-height: 390px;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 2.5rem;
  background: rgba(255, 255, 255, 0.38);
  box-shadow: 0 25px 80px rgba(124, 58, 237, 0.1);
  backdrop-filter: blur(16px);
}
.library-visual-glow {
  position: absolute;
  width: 75%;
  height: 75%;
  border-radius: 999px;
  background: radial-gradient(
    circle,
    rgba(216, 180, 254, 0.35),
    rgba(249, 168, 212, 0.18),
    transparent 70%
  );
  filter: blur(12px);
}
/* Main Book Card */
.library-book-card {
  transform: rotate(-3deg);
  transition:
    transform 0.5s ease,
    box-shadow 0.5s ease;
}
.library-book-card:hover {
  transform: rotate(0deg) translateY(-5px) scale(1.02);
  box-shadow: 0 30px 80px rgba(71, 43, 112, 0.24);
}
/* Book Cover */
.library-book-cover {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 15% 20%,
      rgba(255, 255, 255, 0.8),
      transparent 25%
    ),
    radial-gradient(
      circle at 90% 80%,
      rgba(255, 255, 255, 0.8),
      transparent 25%
    ),
    linear-gradient(135deg, #ede9fe 0%, #fce7f3 55%, #fef3c7 100%);
}
.library-book-cover::before {
  content: "✦  ✿  ✦";
  position: absolute;
  top: 0.8rem;
  left: 0;
  right: 0;
  color: rgba(124, 58, 237, 0.18);
  font-size: 1rem;
  letter-spacing: 0.8rem;
}
.library-book-cover::after {
  content: "♡";
  position: absolute;
  right: 1rem;
  bottom: 0.6rem;
  color: rgba(236, 72, 153, 0.2);
  font-size: 2rem;
}
.library-book-icon {
  position: relative;
  z-index: 1;
  font-size: 3.4rem;
  filter: drop-shadow(0 8px 8px rgba(124, 58, 237, 0.08));
}
/* Progress Bar */
.library-progress-bar {
  background: linear-gradient(90deg, #a78bfa, #ec4899, #fbbf24);
  box-shadow: 0 0 12px rgba(236, 72, 153, 0.2);
}
/* Heart Button */
.library-heart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: #fff1f2;
  color: #ec4899;
  font-size: 1.25rem;
  transition:
    transform 0.3s ease,
    background 0.3s ease;
}
.library-heart:hover {
  transform: scale(1.12);
  background: #fce7f3;
}
/* Mini Category Cards */
.library-mini-card {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  flex-direction: column;
  border-radius: 1rem;
  padding: 0.65rem 0.35rem;
  text-align: center;
  font-size: 0.65rem;
  font-weight: 900;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.library-mini-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(71, 43, 112, 0.1);
}
.library-mini-yellow {
  background: #fef3c7;
  color: #a16207;
}
.library-mini-blue {
  background: #dbeafe;
  color: #1d4ed8;
}
.library-mini-green {
  background: #dcfce7;
  color: #15803d;
}
/* Floating Cards */
.library-floating-card {
  animation: libraryFloatingCard 5s ease-in-out infinite;
}
.library-floating-two {
  animation-delay: -2.5s;
}
/* Stickers */
.library-sticker {
  position: absolute;
  z-index: 15;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 25px rgba(71, 43, 112, 0.12);
  font-size: 1.45rem;
  backdrop-filter: blur(8px);
  animation: libraryStickerFloat 4s ease-in-out infinite;
}
.library-sticker-pencil {
  top: 0.3rem;
  right: 14%;
  transform: rotate(12deg);
}
.library-sticker-rainbow {
  top: 28%;
  left: 2%;
  transform: rotate(-12deg);
  animation-delay: -1s;
}
.library-sticker-star {
  right: 2%;
  bottom: 24%;
  transform: rotate(8deg);
  animation-delay: -2s;
}
.library-sticker-flower {
  bottom: 0.5rem;
  left: 18%;
  transform: rotate(-10deg);
  animation-delay: -3s;
}
/* Animations */
@keyframes libraryHeroReveal {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes libraryHeroVisualReveal {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes libraryOrbFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(15px, -18px, 0);
  }
}
@keyframes librarySparkle {
  0%,
  100% {
    opacity: 0.45;
    transform: translateY(0) rotate(0deg) scale(1);
  }
  50% {
    opacity: 1;
    transform: translateY(-8px) rotate(12deg) scale(1.12);
  }
}
@keyframes libraryFloatingCard {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
@keyframes libraryStickerFloat {
  0%,
  100% {
    margin-top: 0;
  }
  50% {
    margin-top: -8px;
  }
}
/* Responsive */
@media (max-width: 640px) {
  .library-visual-stage {
    min-height: 350px;
    padding: 0.8rem;
    border-radius: 2rem;
  }
  .library-book-card {
    max-width: 285px;
  }
  .library-floating-card {
    transform: scale(0.82);
    transform-origin: center;
  }
  .library-floating-one {
    left: -1.8rem;
    top: 2rem;
  }
  .library-floating-two {
    right: -1.8rem;
    bottom: 0;
  }
  .library-sticker {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 0.8rem;
    font-size: 1.1rem;
  }
  .library-sticker-pencil {
    right: 5%;
  }
  .library-sticker-rainbow {
    left: -0.3rem;
  }
  .library-sticker-star {
    right: -0.2rem;
  }
  .library-sticker-flower {
    left: 8%;
  }
}
/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .library-orb,
  .library-spark,
  .library-floating-card,
  .library-sticker,
  .library-hero-content,
  .library-hero-visual {
    animation: none !important;
  }
  .library-book-card,
  .library-mini-card,
  .library-main-cta,
  .library-secondary-cta {
    transition: none !important;
  }
}
/* ========================================================= */
/* LIBRARY SECTION - PURPLE BLUE PINK THEME */
/* ========================================================= */
.library-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 8% 12%,
      rgba(196, 181, 253, 0.28),
      transparent 30%
    ),
    radial-gradient(
      circle at 92% 18%,
      rgba(147, 197, 253, 0.22),
      transparent 30%
    ),
    radial-gradient(
      circle at 50% 100%,
      rgba(244, 114, 182, 0.18),
      transparent 38%
    ),
    linear-gradient(135deg, #faf7ff 0%, #f5f3ff 45%, #fdf2f8 100%);
}
/* Decorative purple, blue and pink blobs */
.library-section::before,
.library-section::after {
  position: absolute;
  z-index: -1;
  content: "";
  pointer-events: none;
  border-radius: 999px;
  filter: blur(12px);
}
.library-section::before {
  top: 8%;
  left: -100px;
  width: 240px;
  height: 240px;
  background: rgba(167, 139, 250, 0.25);
}
.library-section::after {
  right: -100px;
  bottom: 5%;
  width: 270px;
  height: 270px;
  background: rgba(244, 114, 182, 0.22);
}
/* ========================================================= */
/* SECTION HEADING */
/* ========================================================= */
.library-heading {
  animation: libraryFadeUp 0.8s ease both;
}
.library-heading .section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(124, 58, 237, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  padding: 0.45rem 0.85rem;
  color: #7c3aed;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  box-shadow: 0 5px 20px rgba(124, 58, 237, 0.04);
}
.library-heading .section-eyebrow::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f472b6;
  content: "";
  box-shadow: 0 0 0 4px rgba(244, 114, 182, 0.12);
}
.library-heading .section-title {
  letter-spacing: -0.035em;
  line-height: 1.12;
}
.library-heading .section-description {
  max-width: 570px;
  margin-right: auto;
  margin-left: auto;
}
/* ========================================================= */
/* CATEGORY FILTERS */
/* ========================================================= */
/* ---------------------------------------------------------
     FILTERS
  --------------------------------------------------------- */
.library-filter-premium {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 999px;
  padding: 0.65rem 1rem;
  font-size: 0.72rem;
  font-weight: 800;
  color: #64748b;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}
.library-filter-premium:hover {
  transform: translateY(-2px);
  color: #7c3aed;
  border-color: #ddd6fe;
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.1);
}
.library-filter-premium.active {
  color: white;
  border-color: transparent;
  background: linear-gradient(135deg, #7c3aed, #8b5cf6, #ec4899);
  box-shadow:
    0 8px 24px rgba(124, 58, 237, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}
/* ---------------------------------------------------------
     CARDS
  --------------------------------------------------------- */
.library-premium-card {
  position: relative;
  min-height: 285px;
  overflow: hidden;
  border-radius: 1.6rem;
  border: 1px solid rgba(226, 232, 240, 0.8);
  background: rgba(255, 255, 255, 0.86);
  box-shadow:
    0 8px 30px rgba(51, 35, 68, 0.055),
    0 2px 8px rgba(51, 35, 68, 0.03);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s ease,
    border-color 0.4s ease;
}
.library-premium-card:hover {
  transform: translateY(-8px);
  border-color: rgba(196, 181, 253, 0.75);
  box-shadow:
    0 22px 45px rgba(124, 58, 237, 0.13),
    0 8px 20px rgba(236, 72, 153, 0.08);
}
/* ---------------------------------------------------------
     GRADIENT GLOW
  --------------------------------------------------------- */
.library-card-gradient {
  position: absolute;
  right: -55px;
  top: -55px;
  width: 150px;
  height: 150px;
  border-radius: 999px;
  opacity: 0.45;
  filter: blur(25px);
  transition:
    transform 0.5s ease,
    opacity 0.5s ease;
}
.library-premium-card:hover .library-card-gradient {
  transform: scale(1.35);
  opacity: 0.7;
}
.gradient-purple {
  background: #c4b5fd;
}
.gradient-blue {
  background: #93c5fd;
}
.gradient-pink {
  background: #f9a8d4;
}
.gradient-orange {
  background: #fdba74;
}
.gradient-yellow {
  background: #fde68a;
}
.gradient-green {
  background: #86efac;
}
/* ---------------------------------------------------------
     CARD CONTENT
  --------------------------------------------------------- */
.library-card-content-premium {
  position: relative;
  z-index: 2;
  display: flex;
  height: 100%;
  flex-direction: column;
  padding: 1.1rem;
}
.library-premium-icon {
  display: flex;
  height: 3rem;
  width: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  font-size: 1.4rem;
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s ease;
}
.library-premium-card:hover .library-premium-icon {
  transform: rotate(-5deg) scale(1.1);
  box-shadow: 0 10px 22px rgba(51, 35, 68, 0.1);
}
/* ---------------------------------------------------------
     ARROW
  --------------------------------------------------------- */
.library-arrow {
  display: flex;
  height: 2rem;
  width: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.9);
  color: #94a3b8;
  font-size: 0.85rem;
  font-weight: 900;
  transition:
    transform 0.3s ease,
    background 0.3s ease,
    color 0.3s ease;
}
.library-premium-card:hover .library-arrow {
  transform: rotate(8deg);
  background: #7c3aed;
  color: white;
}
/* ---------------------------------------------------------
     LABEL
  --------------------------------------------------------- */
.library-premium-label {
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.13em;
}
/* ---------------------------------------------------------
     TITLE
  --------------------------------------------------------- */
.library-premium-title {
  margin-top: 0.4rem;
  font-family: "Baloo 2", sans-serif;
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.15;
  color: #334155;
  transition: color 0.25s ease;
}
.library-premium-card:hover .library-premium-title {
  color: #7c3aed;
}
/* ---------------------------------------------------------
     DESCRIPTION
  --------------------------------------------------------- */
.library-premium-description {
  margin-top: 0.45rem;
  font-size: 0.72rem;
  line-height: 1.55;
  color: #64748b;
}
/* ---------------------------------------------------------
     FOOTER
  --------------------------------------------------------- */
.library-premium-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(226, 232, 240, 0.75);
  font-size: 0.68rem;
  font-weight: 900;
  color: #7c3aed;
}
/* ---------------------------------------------------------
     FEATURED CARD
  --------------------------------------------------------- */
.library-featured-card {
  border-color: rgba(251, 146, 60, 0.25);
}
.library-featured-card:hover {
  border-color: rgba(251, 146, 60, 0.55);
}
.library-featured-badge {
  position: absolute;
  right: 0.8rem;
  top: 4.1rem;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border-radius: 999px;
  background: rgba(255, 247, 237, 0.92);
  padding: 0.3rem 0.55rem;
  font-size: 0.48rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: #ea580c;
  box-shadow: 0 5px 15px rgba(234, 88, 12, 0.1);
}
/* ---------------------------------------------------------
     CTA
  --------------------------------------------------------- */
.library-premium-cta {
  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(196, 181, 253, 0.6),
      transparent 35%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(249, 168, 212, 0.55),
      transparent 35%
    ),
    linear-gradient(135deg, #f5f3ff, #fff7fb);
}
.library-premium-cta-button {
  color: white;
  background: linear-gradient(135deg, #7c3aed, #8b5cf6, #ec4899);
  box-shadow:
    0 12px 30px rgba(124, 58, 237, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.library-premium-cta-button:hover {
  transform: translateY(-3px);
  box-shadow:
    0 18px 38px rgba(124, 58, 237, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
/* ---------------------------------------------------------
     FLOATING DECORATIONS
  --------------------------------------------------------- */
.cta-floating {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  opacity: 0.65;
  animation: libraryFloat 4s ease-in-out infinite;
}
.cta-floating-one {
  right: 12%;
  top: 18%;
  font-size: 1.2rem;
  animation-delay: 0s;
}
.cta-floating-two {
  right: 4%;
  bottom: 18%;
  font-size: 1.7rem;
  animation-delay: 1s;
}
.cta-floating-three {
  left: 45%;
  bottom: 12%;
  font-size: 1rem;
  animation-delay: 2s;
}
@keyframes libraryFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-9px) rotate(8deg);
  }
}
/* ---------------------------------------------------------
     MOBILE
  --------------------------------------------------------- */
@media (max-width: 640px) {
  .library-premium-card {
    min-height: 260px;
    border-radius: 1.35rem;
  }
  .library-card-content-premium {
    padding: 0.9rem;
  }
  .library-premium-icon {
    height: 2.7rem;
    width: 2.7rem;
    font-size: 1.2rem;
  }
  .library-premium-title {
    font-size: 0.95rem;
  }
  .library-premium-description {
    font-size: 0.66rem;
  }
  .library-premium-footer {
    font-size: 0.62rem;
  }
  .library-featured-badge {
    top: 3.6rem;
    font-size: 0.42rem;
  }
  .library-filter-premium {
    padding: 0.55rem 0.8rem;
    font-size: 0.65rem;
  }
}
/* ---------------------------------------------------------
     REDUCED MOTION
  --------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .library-premium-card,
  .library-premium-icon,
  .library-arrow,
  .library-card-gradient,
  .library-filter-premium,
  .library-premium-cta-button,
  .cta-floating {
    animation: none !important;
    transition: none !important;
  }
}
/* ========================================================= */
/* BUNDLE ANIMATIONS */
/* ========================================================= */
.reveal-up {
  opacity: 0;
  transform: translateY(22px);
  animation: revealUp 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.bundle-card {
  transform-origin: center;
  will-change: transform;
}
.bundle-emoji {
  display: inline-block;
  animation: gentleFloat 4s ease-in-out infinite;
}
.bundle-card:nth-child(2) .bundle-emoji {
  animation-delay: 0.5s;
}
.bundle-card:nth-child(3) .bundle-emoji {
  animation-delay: 1s;
}
.bundle-card:nth-child(4) .bundle-emoji {
  animation-delay: 1.5s;
}
@keyframes gentleFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-5px) rotate(2deg);
  }
}
.bundle-save-badge {
  animation: softPulse 3s ease-in-out infinite;
}
@keyframes softPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.04);
  }
}
@media (prefers-reduced-motion: reduce) {
  .reveal-up,
  .bundle-emoji,
  .bundle-save-badge {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .bundle-card,
  .bundle-card:hover {
    transition: none;
    transform: none;
  }
}
/* =========================================================
   INDIVIDUAL RESOURCES - COMPACT ANIMATIONS
========================================================= */
.reveal-up {
  opacity: 0;
  transform: translateY(18px);
  animation: revealUp 0.7s ease forwards;
}
.delay-100 {
  animation-delay: 0.1s;
}
.product-reveal {
  opacity: 0;
  transform: translateY(20px);
  animation: productReveal 0.65s ease forwards;
}
.product-reveal:nth-child(1) {
  animation-delay: 0.1s;
}
.product-reveal:nth-child(2) {
  animation-delay: 0.18s;
}
.product-reveal:nth-child(3) {
  animation-delay: 0.26s;
}
.product-reveal:nth-child(4) {
  animation-delay: 0.34s;
}
.product-reveal:nth-child(5) {
  animation-delay: 0.42s;
}
.product-reveal:nth-child(6) {
  animation-delay: 0.5s;
}
@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes productReveal {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes saFadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes saFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-9px) rotate(3deg);
  }
}
@keyframes saBlob {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(12px, -12px) scale(1.08);
  }
}
.sa-library-reveal {
  animation: saFadeUp 0.75s ease-out both;
}
.sa-library-float {
  animation: saFloat 5s ease-in-out infinite;
}
.sa-library-blob {
  animation: saBlob 9s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .sa-library-reveal,
  .sa-library-float,
  .sa-library-blob {
    animation: none;
  }
}
/* =========================================================
   HOW IT WORKS
========================================================= */
#how-it-works article {
  isolation: isolate;
}
#how-it-works article::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.8),
    rgba(253, 242, 249, 0.45)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}
#how-it-works article:hover::before {
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  #how-it-works article,
  #how-it-works article *,
  #how-it-works article::before {
    transition: none !important;
  }
}
/* =========================================================
   PRODUCT PAGE ANIMATIONS
========================================================= */
.product-preview-animated {
  isolation: isolate;
  background:
    radial-gradient(
      circle at top left,
      rgba(255, 255, 255, 0.95),
      transparent 38%
    ),
    linear-gradient(135deg, #ede9fe 0%, #dbeafe 48%, #fce7f3 100%);
}
/* Decorative animated blobs */
.preview-blob {
  position: absolute;
  z-index: 0;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  filter: blur(4px);
  opacity: 0.45;
  animation: blobFloat 8s ease-in-out infinite;
}
.preview-blob-one {
  top: -70px;
  right: -45px;
  background: #d8b4fe;
}
.preview-blob-two {
  bottom: -80px;
  left: -50px;
  background: #f9a8d4;
  animation-delay: -3s;
}
/* Main paper */
.product-preview-paper {
  animation: paperEntrance 0.8s ease both;
  transform-origin: center;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}
.product-preview-paper:hover {
  transform: translateY(-6px) rotate(1deg);
  box-shadow: 0 24px 55px rgba(109, 40, 217, 0.18);
}
/* Cover */
.preview-cover {
  animation: coverGlow 5s ease-in-out infinite;
}
/* Product emoji */
.product-emoji {
  display: inline-block;
  animation: emojiBounce 4s ease-in-out infinite;
}
/* Floating decorations */
.preview-float {
  z-index: 15;
  animation: decorationFloat 4s ease-in-out infinite;
  user-select: none;
}
.preview-float-two {
  animation-delay: -1.5s;
}
.preview-float-three {
  animation-delay: -2.5s;
}
/* Mini preview cards */
.preview-mini-card {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.preview-mini-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(109, 40, 217, 0.08);
}
/* Feature cards */
.product-feature-card {
  animation: fadeUp 0.7s ease both;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}
.product-feature-card:nth-child(2) {
  animation-delay: 0.12s;
}
.product-feature-card:nth-child(3) {
  animation-delay: 0.24s;
}
.product-feature-card:hover {
  transform: translateY(-4px);
  border-color: #e9d5ff;
  box-shadow: 0 10px 24px rgba(109, 40, 217, 0.08);
}
/* Product information card */
.product-info-card {
  animation: fadeUp 0.8s ease both;
}
/* Purchase buttons */
.purchase-button {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.purchase-button:hover {
  transform: translateY(-2px);
}
/* Benefits */
.benefit-card {
  animation: fadeUp 0.8s ease both;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.benefit-card:nth-child(2) {
  animation-delay: 0.12s;
}
.benefit-card:nth-child(3) {
  animation-delay: 0.24s;
}
.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(109, 40, 217, 0.08);
}
.benefit-icon {
  display: inline-block;
  animation: iconWiggle 5s ease-in-out infinite;
}
/* CTA decoration */
.cta-flower {
  display: inline-block;
  animation: flowerFloat 4s ease-in-out infinite;
}
/* =========================================================
   KEYFRAMES
========================================================= */
@keyframes paperEntrance {
  from {
    opacity: 0;
    transform: translateY(22px) rotate(-3deg) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(-1deg) scale(1);
  }
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes blobFloat {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(18px, -16px) scale(1.08);
  }
}
@keyframes decorationFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(8deg);
  }
}
@keyframes emojiBounce {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(-4deg);
  }
}
@keyframes coverGlow {
  0%,
  100% {
    box-shadow: inset 0 0 0 rgba(255, 255, 255, 0);
  }
  50% {
    box-shadow: inset 0 0 35px rgba(255, 255, 255, 0.45);
  }
}
@keyframes iconWiggle {
  0%,
  90%,
  100% {
    transform: rotate(0deg);
  }
  94% {
    transform: rotate(-7deg);
  }
  97% {
    transform: rotate(7deg);
  }
}
@keyframes flowerFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-6px) rotate(8deg);
  }
}
/* =========================================================
   ACCESSIBILITY
========================================================= */
@media (prefers-reduced-motion: reduce) {
  .product-preview-paper,
  .preview-blob,
  .preview-cover,
  .product-emoji,
  .preview-float,
  .product-feature-card,
  .product-info-card,
  .benefit-card,
  .benefit-icon,
  .cta-flower {
    animation: none !important;
    transition: none !important;
  }
  .product-preview-paper:hover,
  .product-feature-card:hover,
  .benefit-card:hover,
  .purchase-button:hover {
    transform: none;
  }
}
/* Smaller mobile spacing */
@media (max-width: 640px) {
  .product-preview-paper:hover {
    transform: none;
  }
  .preview-blob {
    width: 130px;
    height: 130px;
  }
}
/* ========================================================= */
/* PRODUCT HERO */
/* ========================================================= */
.product-hero {
  position: relative;
  isolation: isolate;
}
.product-preview {
  position: relative;
  background:
    radial-gradient(
      circle at 15% 20%,
      rgba(255, 255, 255, 0.95),
      transparent 28%
    ),
    radial-gradient(
      circle at 85% 80%,
      rgba(233, 213, 255, 0.8),
      transparent 32%
    ),
    linear-gradient(135deg, #fdf2f8, #f5f3ff 52%, #ede9fe);
}
.product-preview-animated {
  animation: previewAppear 0.8s ease both;
}
.preview-grid-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.3;
  background-image:
    linear-gradient(rgba(139, 92, 246, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 92, 246, 0.07) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(to bottom, black, transparent);
  pointer-events: none;
}
.preview-blob {
  position: absolute;
  border-radius: 999px;
  filter: blur(4px);
  pointer-events: none;
  animation: blobFloat 8s ease-in-out infinite;
}
.preview-blob-one {
  width: 190px;
  height: 190px;
  left: -80px;
  top: -70px;
  background: rgba(244, 114, 182, 0.2);
}
.preview-blob-two {
  width: 220px;
  height: 220px;
  right: -100px;
  bottom: -90px;
  background: rgba(167, 139, 250, 0.24);
  animation-delay: -3s;
}
.product-preview-paper {
  transform: rotate(-1deg);
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
  animation: paperReveal 0.9s ease both;
}
.product-preview-paper:hover {
  transform: rotate(0deg) translateY(-4px);
  box-shadow: 0 25px 60px rgba(91, 63, 140, 0.2);
}
.preview-cover {
  position: relative;
  overflow: hidden;
}
.preview-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 20%,
    rgba(255, 255, 255, 0.45) 45%,
    transparent 65%
  );
  transform: translateX(-120%);
  animation: coverShine 6s ease-in-out infinite;
  pointer-events: none;
}
.product-emoji {
  animation: emojiBounce 4s ease-in-out infinite;
}
.preview-float {
  animation: decorationFloat 4s ease-in-out infinite;
  user-select: none;
  pointer-events: none;
}
.preview-float-two {
  animation-delay: -1.5s;
}
.preview-float-three {
  animation-delay: -2.5s;
}
.preview-mini-card {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.preview-mini-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(139, 92, 246, 0.1);
}
.product-feature-card {
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}
.product-info-card {
  animation: infoReveal 0.8s ease 0.12s both;
  border: 1px solid rgba(221, 214, 254, 0.75);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.98),
    rgba(250, 245, 255, 0.96)
  );
  box-shadow: 0 14px 35px rgba(91, 63, 140, 0.08);
}
.product-info-card #productPrice {
  letter-spacing: -0.04em;
}
.purchase-button {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    filter 0.25s ease;
}
.purchase-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
}
.purchase-button:active {
  transform: translateY(0);
}
.product-info-card #includedList > * {
  animation: includedReveal 0.35s ease both;
}
@keyframes previewAppear {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes infoReveal {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes paperReveal {
  from {
    opacity: 0;
    transform: translateY(20px) rotate(-4deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(-1deg);
  }
}
@keyframes blobFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(12px, -14px, 0) scale(1.06);
  }
}
@keyframes decorationFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-9px) rotate(6deg);
  }
}
@keyframes emojiBounce {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-5px) rotate(-3deg);
  }
}
@keyframes coverShine {
  0%,
  55% {
    transform: translateX(-120%);
  }
  75%,
  100% {
    transform: translateX(120%);
  }
}
@keyframes includedReveal {
  from {
    opacity: 0;
    transform: translateX(-5px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
/* ========================================================= */
/* REDUCED MOTION */
/* ========================================================= */
@media (prefers-reduced-motion: reduce) {
  .product-preview-animated,
  .product-preview-paper,
  .product-info-card,
  .preview-blob,
  .preview-float,
  .product-emoji,
  .preview-cover::before {
    animation: none;
  }
  .product-preview-paper {
    transform: none;
  }
  .purchase-button,
  .preview-mini-card,
  .product-feature-card {
    transition: none;
  }
}
/* ========================================================= */
/* MOBILE REFINEMENT */
/* ========================================================= */
@media (max-width: 639px) {
  .product-preview {
    border-radius: 1.25rem;
  }
  .product-preview-paper:hover {
    transform: rotate(-1deg);
  }
  .product-info-card {
    border-radius: 1.25rem;
  }
}
/* ========================================================= */
/* BENEFIT CARD ANIMATION */
/* ========================================================= */
.benefit-card {
  animation: benefitCardReveal 0.7s ease both;
}
.benefit-card:nth-child(2) {
  animation-delay: 0.12s;
}
.benefit-card:nth-child(3) {
  animation-delay: 0.24s;
}
@keyframes benefitCardReveal {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .benefit-card,
  .benefit-icon {
    animation: none;
    transition: none;
  }
}
/* ========================================================= */
/* CTA ANIMATION */
/* ========================================================= */
.cta-flower {
  animation: ctaFlowerFloat 4s ease-in-out infinite;
}
@keyframes ctaFlowerFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-6px) rotate(5deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .cta-flower,
  .animate-pulse,
  .animate-bounce {
    animation: none !important;
  }
}
/* ========================================================= */
/* SHOP INTRO ANIMATION */
/* ========================================================= */
.shop-intro {
  isolation: isolate;
}
.shop-intro-eyebrow {
  animation: shopIntroFadeUp 0.7s ease both;
}
.shop-benefit-card {
  animation: shopIntroFadeUp 0.7s ease both;
}
.shop-benefit-card:nth-child(1) {
  animation-delay: 0.1s;
}
.shop-benefit-card:nth-child(2) {
  animation-delay: 0.2s;
}
.shop-benefit-card:nth-child(3) {
  animation-delay: 0.3s;
}
.shop-divider-icon {
  animation: shopDividerSpin 5s linear infinite;
}
@keyframes shopIntroFadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes shopDividerSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .shop-intro-eyebrow,
  .shop-benefit-card,
  .shop-divider-icon,
  .shop-benefit-card *,
  .shop-intro span {
    animation: none !important;
    transition: none !important;
  }
}
/* =====================================================
   MODERN LANGUAGE TOGGLE
===================================================== */
.language-toggle {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.language-toggle::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  pointer-events: none;
  background: linear-gradient(
    135deg,
    rgba(147, 51, 234, 0.04),
    rgba(236, 72, 153, 0.08)
  );
}
.language-option {
  position: relative;
  z-index: 1;
  letter-spacing: 0.02em;
}
.language-toggle:hover {
  transform: translateY(-1px);
}
@media (prefers-reduced-motion: reduce) {
  .language-toggle,
  .language-option {
    transition: none !important;
  }
}
/* =====================================================
   HERO ANIMATIONS
===================================================== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
/* Reduce animation for users who prefer less 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;
  }
}
/* =====================================================
   INTERACTION STYLE (index.html)
===================================================== */
.step-card.is-active {
  border-color: rgb(168 85 247 / 0.65);
  background: linear-gradient(
    145deg,
    rgb(255 255 255 / 0.98),
    rgb(250 245 255 / 0.95)
  );
  box-shadow:
    0 18px 45px rgb(124 58 237 / 0.13),
    0 0 0 3px rgb(216 180 254 / 0.35);
  transform: translateY(-4px);
}
.step-card.is-active .step-number {
  background: rgb(124 58 237);
  color: white;
}
.step-card.is-active .step-icon {
  background: linear-gradient(135deg, #ddd6fe, #fbcfe8);
  transform: scale(1.08) rotate(4deg);
}
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 {
  transition-delay: 0.1s;
}
.reveal-delay-2 {
  transition-delay: 0.2s;
}
@media (hover: hover) and (pointer: fine) {
  .step-card:hover .step-icon {
    filter: saturate(1.15);
  }
}
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.is-visible,
  .step-card,
  .step-icon,
  .step-number {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .reveal-delay-1,
  .reveal-delay-2 {
    transition-delay: 0s;
  }
}
/* =====================================================
   FAQ (index.html)
===================================================== */
.faq-item[open] {
  animation: faqOpen 0.3s ease-out;
}
.faq-answer {
  animation: faqAnswer 0.3s ease-out;
}
@keyframes faqOpen {
  from {
    opacity: 0.7;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes faqAnswer {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .faq-item,
  .faq-answer,
  .faq-icon {
    animation: none !important;
    transition: none !important;
  }
}
/* =========================================================
   PRIVACY & TERMS PAGE
========================================================= */
:root {
  --legal-purple: #7c3aed;
  --legal-deep-purple: #4c1d95;
  --legal-ink: #332344;
  --legal-muted: #64748b;
  --legal-border: #ede9fe;
  --legal-soft: #faf5ff;
  --legal-pink: #fdf2f8;
  --legal-white: #ffffff;
}
/* =========================================================
   LEGAL PAGE BACKGROUND
========================================================= */
.legal-page {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 8% 8%,
      rgba(221, 214, 254, 0.45),
      transparent 28%
    ),
    radial-gradient(
      circle at 92% 18%,
      rgba(251, 207, 232, 0.35),
      transparent 30%
    ),
    linear-gradient(180deg, #fffaf5 0%, #ffffff 65%, #faf5ff 100%);
}
.legal-page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.35;
  background-image: radial-gradient(
    rgba(124, 58, 237, 0.12) 1px,
    transparent 1px
  );
  background-size: 26px 26px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}
/* =========================================================
   LEGAL HERO
========================================================= */
.legal-hero {
  position: relative;
  text-align: center;
}
.legal-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
  border: 1px solid #e9d5ff;
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  background: rgba(255, 255, 255, 0.85);
  color: var(--legal-purple);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 5px 18px rgba(124, 58, 237, 0.06);
}
.legal-hero-title {
  max-width: 850px;
  margin-inline: auto;
  color: var(--legal-deep-purple);
  text-wrap: balance;
}
.legal-hero-description {
  max-width: 680px;
  margin: 0.9rem auto 0;
  color: var(--legal-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  text-wrap: pretty;
}
/* =========================================================
   LEGAL LAYOUT
========================================================= */
.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 2fr);
  align-items: start;
  gap: 1.5rem;
}
.legal-main {
  min-width: 0;
}
/* =========================================================
   DOCUMENT CARD
========================================================= */
.terms-card {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(221, 214, 254, 0.85);
  border-radius: 1.5rem;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.98),
    rgba(255, 250, 253, 0.98)
  );
  padding: 1.25rem 1.35rem;
  box-shadow:
    0 18px 50px rgba(76, 29, 149, 0.06),
    0 3px 12px rgba(124, 58, 237, 0.03);
}
/* =========================================================
   DOCUMENT HEADER
========================================================= */
.legal-document-header {
  margin-bottom: 0.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--legal-border);
}
.legal-document-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.35rem;
  color: var(--legal-purple);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.legal-document-title {
  margin-bottom: 0.35rem;
  color: var(--legal-ink);
  font-family: "Baloo 2", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  line-height: 1.15;
}
.legal-document-meta {
  color: var(--legal-muted);
  font-size: 0.75rem;
}
/* =========================================================
   DOCUMENT SECTION
========================================================= */
.terms-section {
  position: relative;
  display: grid;
  grid-template-columns: 2.35rem minmax(0, 1fr);
  gap: 0.9rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid #f1eafa;
  scroll-margin-top: 6rem;
}
.terms-section:last-child {
  border-bottom: 0;
  padding-bottom: 0.35rem;
}
.terms-section:first-child {
  padding-top: 0.65rem;
}
/* =========================================================
   SECTION NUMBER
========================================================= */
.terms-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  flex-shrink: 0;
  border: 1px solid rgba(216, 180, 254, 0.65);
  border-radius: 0.85rem;
  background: linear-gradient(135deg, #f3e8ff 0%, #ede9fe 45%, #fce7f3 100%);
  color: var(--legal-purple);
  font-family: "Baloo 2", sans-serif;
  font-size: 0.75rem;
  font-weight: 900;
  line-height: 1;
  box-shadow:
    0 5px 12px rgba(124, 58, 237, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
/* =========================================================
   SECTION CONTENT
========================================================= */
.terms-content {
  min-width: 0;
}
.terms-title {
  margin-bottom: 0.55rem;
  color: var(--legal-ink);
  font-family: "Baloo 2", sans-serif;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 800;
  line-height: 1.25;
  text-wrap: balance;
}
.terms-section p {
  margin-bottom: 0.7rem;
  color: var(--legal-muted);
  font-size: 0.875rem;
  line-height: 1.85;
  overflow-wrap: anywhere;
}
.terms-section p:last-child {
  margin-bottom: 0;
}
.terms-section strong {
  color: var(--legal-deep-purple);
  font-weight: 800;
}
.terms-section a {
  color: var(--legal-purple);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: #ddd6fe;
  text-underline-offset: 3px;
  transition:
    color 180ms ease,
    text-decoration-color 180ms ease;
}
.terms-section a:hover {
  color: var(--legal-deep-purple);
  text-decoration-color: var(--legal-purple);
}
/* =========================================================
   LIST STYLE
========================================================= */
.terms-list {
  display: grid;
  gap: 0.55rem;
  margin: 0.8rem 0 0;
  padding: 0;
  list-style: none;
}
.terms-list li {
  position: relative;
  padding-left: 1.45rem;
  color: var(--legal-muted);
  font-size: 0.85rem;
  line-height: 1.75;
  overflow-wrap: anywhere;
}
.terms-list li::before {
  content: "✓";
  position: absolute;
  top: 0.05rem;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  border-radius: 999px;
  background: #f3e8ff;
  color: var(--legal-purple);
  font-size: 0.65rem;
  font-weight: 900;
}
/* Numbered list support */
.terms-list.numbered {
  counter-reset: legal-counter;
}
.terms-list.numbered li {
  counter-increment: legal-counter;
}
.terms-list.numbered li::before {
  content: counter(legal-counter);
  background: #ede9fe;
  font-size: 0.65rem;
}
/* =========================================================
   NOTICE / IMPORTANT BOX
========================================================= */
.terms-notice {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 1rem 0;
  border: 1px solid #e9d5ff;
  border-radius: 1rem;
  padding: 0.9rem 1rem;
  background: linear-gradient(
    135deg,
    rgba(250, 245, 255, 0.98),
    rgba(253, 242, 248, 0.98)
  );
  box-shadow: 0 5px 18px rgba(124, 58, 237, 0.04);
}
.terms-notice::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75rem;
  bottom: 0.75rem;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, #a855f7, #ec4899);
}
.terms-notice-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.8rem;
  height: 1.8rem;
  flex-shrink: 0;
  border-radius: 0.6rem;
  background: #ffffff;
  color: var(--legal-purple);
  box-shadow: 0 3px 10px rgba(124, 58, 237, 0.08);
}
.terms-notice p {
  margin: 0;
  color: #6b21a8;
  font-size: 0.82rem;
  line-height: 1.7;
}
/* =========================================================
   SIDEBAR NAVIGATION
========================================================= */
.terms-sidebar {
  position: sticky;
  top: 6rem;
  min-width: 0;
}
.terms-sidebar-card {
  border: 1px solid rgba(221, 214, 254, 0.85);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.9);
  padding: 1rem;
  box-shadow: 0 12px 32px rgba(76, 29, 149, 0.05);
}
.terms-sidebar-title {
  margin-bottom: 0.75rem;
  color: var(--legal-ink);
  font-family: "Baloo 2", sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
}
.terms-sidebar-description {
  margin-bottom: 0.85rem;
  color: var(--legal-muted);
  font-size: 0.75rem;
  line-height: 1.65;
}
.terms-nav {
  display: grid;
  gap: 0.25rem;
}
.terms-nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
  border: 1px solid transparent;
  border-radius: 0.8rem;
  padding: 0.65rem 0.7rem;
  color: var(--legal-muted);
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1.35;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}
.terms-nav-link span:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  color: #c084fc;
  font-size: 0.68rem;
  font-weight: 900;
}
.terms-nav-link:hover {
  border-color: #ede9fe;
  background: #faf5ff;
  color: var(--legal-purple);
  transform: translateX(3px);
}
.terms-nav-link.active {
  border-color: #e9d5ff;
  background: linear-gradient(90deg, #f3e8ff, #fdf2f8);
  color: var(--legal-deep-purple);
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.05);
}
.terms-nav-link.active::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 0.55rem;
  bottom: 0.55rem;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, #7c3aed, #ec4899);
}
.terms-nav-link.active span:first-child {
  color: var(--legal-purple);
}
/* =========================================================
   READING PROGRESS
========================================================= */
.legal-progress-wrapper {
  overflow: hidden;
  height: 5px;
  border-radius: 999px;
  background: #ede9fe;
}
#terms-progress,
#privacy-progress {
  display: block;
  width: 0;
  height: 100%;
  min-width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #7c3aed, #2563eb, #ec4899);
  box-shadow: 0 0 12px rgba(124, 58, 237, 0.2);
  transition: width 180ms ease;
}
/* =========================================================
   LEGAL CTA
========================================================= */
.legal-bottom-card {
  border: 1px solid #e9d5ff;
  border-radius: 1.25rem;
  background: linear-gradient(135deg, #faf5ff, #fdf2f8);
  padding: 1rem 1.15rem;
}
.legal-bottom-card p {
  margin: 0;
  color: var(--legal-muted);
  font-size: 0.8rem;
  line-height: 1.7;
}
.legal-bottom-card a {
  color: var(--legal-purple);
  font-weight: 800;
}
/* =========================================================
   PAGE ANIMATION
========================================================= */
.legal-reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: legalRevealUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.legal-reveal.delay-100 {
  animation-delay: 100ms;
}
.legal-reveal.delay-200 {
  animation-delay: 200ms;
}
.legal-reveal.delay-300 {
  animation-delay: 300ms;
}
@keyframes legalRevealUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* =========================================================
   TABLET
========================================================= */
@media (max-width: 1023px) {
  .legal-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .terms-sidebar {
    position: static;
    order: -1;
  }
  .terms-sidebar-card {
    padding: 0.85rem;
  }
  .terms-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .terms-nav-link {
    height: 100%;
  }
}
/* =========================================================
   MOBILE
========================================================= */
@media (max-width: 639px) {
  .legal-hero-title {
    font-size: 2rem;
  }
  .legal-hero-description {
    font-size: 0.82rem;
    line-height: 1.75;
  }
  .terms-card {
    border-radius: 1.15rem;
    padding: 0.9rem;
  }
  .terms-section {
    grid-template-columns: 2rem minmax(0, 1fr);
    gap: 0.65rem;
    padding: 1rem 0;
  }
  .terms-number {
    width: 2rem;
    height: 2rem;
    border-radius: 0.7rem;
    font-size: 0.68rem;
  }
  .terms-title {
    font-size: 1.08rem;
  }
  .terms-section p {
    font-size: 0.8rem;
    line-height: 1.75;
  }
  .terms-list {
    gap: 0.45rem;
  }
  .terms-list li {
    padding-left: 1.25rem;
    font-size: 0.78rem;
    line-height: 1.7;
  }
  .terms-notice {
    gap: 0.55rem;
    padding: 0.75rem;
  }
  .terms-notice p {
    font-size: 0.76rem;
  }
  .terms-nav {
    grid-template-columns: 1fr;
  }
  .terms-nav-link {
    padding: 0.6rem 0.65rem;
  }
}
/* =========================================================
   ACCESSIBILITY & REDUCED MOTION
========================================================= */
.terms-nav-link:focus-visible,
.terms-section a:focus-visible {
  outline: 3px solid rgba(124, 58, 237, 0.35);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .legal-reveal {
    opacity: 1;
    transform: none;
    animation: none;
  }
  .terms-nav-link,
  #terms-progress,
  #privacy-progress,
  .terms-section a {
    transition: none;
  }
  .terms-nav-link:hover {
    transform: none;
  }
}
/* =========================================================
   .thankyou-card (thankyou.html)
========================================================= */
.thankyou-card {
  position: relative;
  isolation: isolate;
  border: 1px solid rgba(233, 213, 255, 0.95);
  border-radius: 1.75rem;
  background:
    radial-gradient(
      circle at top left,
      rgba(245, 208, 254, 0.45),
      transparent 34%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(209, 250, 229, 0.45),
      transparent 32%
    ),
    rgba(255, 255, 255, 0.97);
  box-shadow:
    0 18px 45px rgba(124, 58, 237, 0.1),
    0 4px 14px rgba(124, 58, 237, 0.04);
}
/* Decorative Elements */
.thankyou-decor {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  user-select: none;
  opacity: 0.7;
}
.decor-one {
  top: 1.5rem;
  left: 1.5rem;
  color: #c084fc;
  font-size: 1.5rem;
  animation: floatDecor 4s ease-in-out infinite;
}
.decor-two {
  top: 1rem;
  right: 1.5rem;
  font-size: 1.7rem;
  animation: floatDecor 5s ease-in-out infinite reverse;
}
.decor-three {
  right: 2rem;
  bottom: 4rem;
  color: #f9a8d4;
  font-size: 1.4rem;
  animation: floatDecor 4.5s ease-in-out infinite;
}
/* Success Icon */
.success-icon {
  display: grid;
  place-items: center;
  width: 4.25rem;
  height: 4.25rem;
  border: 5px solid #ffffff;
  border-radius: 999px;
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  color: #047857;
  box-shadow:
    0 8px 20px rgba(16, 185, 129, 0.16),
    0 0 0 1px rgba(167, 243, 208, 0.8);
  animation: successPop 0.6s ease-out both;
}
/* Status Pill */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  background: #f0fdf4;
  color: #15803d;
  padding: 0.35rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 800;
}
.status-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12);
}
/* Email Box */
.soft-box {
  border: 1px solid #f1eafa;
  border-radius: 1.15rem;
  background: rgba(255, 250, 254, 0.95);
  box-shadow: 0 5px 16px rgba(124, 58, 237, 0.035);
}
.email-icon {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  flex-shrink: 0;
  border-radius: 0.9rem;
  background: linear-gradient(135deg, #f3e8ff, #fce7f3);
  font-size: 1.25rem;
}
.email-folder-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  border-top: 1px solid #f3e8ff;
  padding-top: 0.75rem;
}
.email-folder-list span {
  border: 1px solid #eadcff;
  border-radius: 999px;
  background: #ffffff;
  color: #7c3aed;
  padding: 0.25rem 0.55rem;
  font-size: 0.68rem;
  font-weight: 700;
}
/* Help Accordion */
.help-toggle {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border: 1px solid #eadcff;
  border-radius: 0.95rem;
  background: #ffffff;
  padding: 0.75rem 0.9rem;
  color: #31234f;
  font-size: 0.78rem;
  font-weight: 800;
  text-align: left;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}
.help-toggle:hover {
  border-color: #d8b4fe;
  background: #faf5ff;
}
.help-toggle:active {
  transform: scale(0.99);
}
.help-toggle:focus-visible,
.primary-btn:focus-visible,
.secondary-btn:focus-visible {
  outline: 3px solid rgba(192, 132, 252, 0.5);
  outline-offset: 3px;
}
.help-icon {
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  border-radius: 999px;
  background: #f3e8ff;
  color: #7c3aed;
  font-size: 1.1rem;
  transition: transform 0.25s ease;
}
.help-icon.is-open {
  transform: rotate(45deg);
}
.help-content {
  border-right: 1px solid #eadcff;
  border-bottom: 1px solid #eadcff;
  border-left: 1px solid #eadcff;
  border-radius: 0 0 0.95rem 0.95rem;
  background: rgba(250, 245, 255, 0.7);
  padding: 0.8rem 0.95rem;
  color: #6b7280;
  font-size: 0.75rem;
  line-height: 1.6;
}
/* Buttons */
.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.65rem;
  border-radius: 999px;
  padding: 0.7rem 1.15rem;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}
.primary-btn {
  color: #ffffff;
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  box-shadow: 0 7px 16px rgba(124, 58, 237, 0.2);
}
.primary-btn:hover {
  color: #ffffff;
  transform: translateY(-2px);
  background: linear-gradient(135deg, #7c3aed, #6d28d9);
  box-shadow: 0 10px 22px rgba(124, 58, 237, 0.28);
}
.secondary-btn {
  border: 1px solid #e9d5ff;
  background: #ffffff;
  color: #7c3aed;
}
.secondary-btn:hover {
  color: #7c3aed;
  transform: translateY(-2px);
  background: #faf5ff;
  box-shadow: 0 7px 16px rgba(124, 58, 237, 0.08);
}
/* Custom Classes */
.font-baloo {
  font-family: "Baloo 2", cursive;
}
.font-nunito {
  font-family: "Nunito", sans-serif;
}
.text-ink {
  color: #31234f;
}
.text-bloom {
  color: #7c3aed;
}
/* Animations */
@keyframes successPop {
  0% {
    opacity: 0;
    transform: scale(0.65) rotate(-8deg);
  }
  70% {
    transform: scale(1.08) rotate(2deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}
@keyframes floatDecor {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-6px) rotate(5deg);
  }
}
/* Mobile Responsive */
@media (max-width: 640px) {
  .thankyou-card {
    border-radius: 1.35rem;
  }
  .thankyou-decor {
    opacity: 0.45;
  }
  .decor-one {
    top: 1rem;
    left: 0.8rem;
  }
  .decor-two {
    top: 0.8rem;
    right: 0.8rem;
  }
  .decor-three {
    right: 1rem;
    bottom: 4.5rem;
  }
  .primary-btn,
  .secondary-btn {
    width: 100%;
  }
}
/* Reduce Motion Accessibility */
@media (prefers-reduced-motion: reduce) {
  .success-icon,
  .thankyou-decor,
  .primary-btn,
  .secondary-btn,
  .help-toggle,
  .help-icon {
    animation: none;
    transition: none;
  }
}
/* =========================================================
   SA LITTLE BLOOM LIBRARY
   PREMIUM • INTERACTIVE • PLAYFUL SHOP CARDS
========================================================= */
/* =========================================================
   PRODUCT CARD
========================================================= */
.product-card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(124, 58, 237, 0.1);
  border-radius: 1.35rem;
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(249, 168, 212, 0.13),
      transparent 30%
    ),
    radial-gradient(
      circle at 0% 100%,
      rgba(196, 181, 253, 0.12),
      transparent 32%
    ),
    rgba(255, 255, 255, 0.96);
  box-shadow:
    0 7px 24px rgba(76, 29, 149, 0.045),
    0 2px 6px rgba(76, 29, 149, 0.025),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transform: translate3d(0, 0, 0);
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease,
    border-color 0.35s ease,
    background 0.35s ease;
}
/* top accent */
.product-card::before {
  content: "";
  position: absolute;
  z-index: 10;
  top: 0;
  left: 15%;
  right: 15%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #7c3aed, #a855f7, #ec4899);
  opacity: 0;
  transform: scaleX(0.3);
  transition:
    opacity 0.35s ease,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
/* ambient glow */
.product-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -75px;
  bottom: -75px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(236, 72, 153, 0.13),
    transparent 68%
  );
  opacity: 0.5;
  transform: scale(0.85);
  transition:
    transform 0.6s ease,
    opacity 0.6s ease;
}
/* hover */
.product-card:hover {
  border-color: rgba(167, 139, 250, 0.6);
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(249, 168, 212, 0.15),
      transparent 32%
    ),
    #ffffff;
  transform: translateY(-7px);
  box-shadow:
    0 28px 60px rgba(76, 29, 149, 0.12),
    0 10px 24px rgba(236, 72, 153, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}
.product-card:hover::before {
  opacity: 1;
  transform: scaleX(1);
}
.product-card:hover::after {
  opacity: 1;
  transform: scale(1.35);
}
/* =========================================================
   PRODUCT IMAGE AREA
========================================================= */
.product-card .product-image {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 205px;
  overflow: hidden;
  border-radius: 1.05rem;
  background:
    radial-gradient(
      circle at 18% 18%,
      rgba(255, 255, 255, 0.95),
      transparent 34%
    ),
    linear-gradient(135deg, #f3e8ff 0%, #ede9fe 40%, #dbeafe 70%, #fce7f3 100%);
  transform: translateZ(0);
}
/* subtle pattern */
.product-card .product-image::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(124, 58, 237, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 58, 237, 0.055) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 92%);
  pointer-events: none;
}
/* image shine */
.product-card .product-image::after {
  content: "";
  position: absolute;
  z-index: 4;
  inset: -20%;
  width: 55%;
  background: linear-gradient(
    110deg,
    transparent 20%,
    rgba(255, 255, 255, 0.48) 50%,
    transparent 80%
  );
  transform: translateX(-220%) rotate(8deg);
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.product-card:hover .product-image::after {
  transform: translateX(420%) rotate(8deg);
}
/* =========================================================
   PRODUCT IMAGE
========================================================= */
.product-card .product-image img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  max-height: 205px;
  object-fit: contain;
  padding: 0.8rem;
  filter: drop-shadow(0 10px 14px rgba(76, 29, 149, 0.08));
  transform: translate3d(0, 0, 0);
  transition:
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.4s ease;
}
.product-card:hover .product-image img {
  transform: translateY(-4px) scale(1.08);
  filter: drop-shadow(0 18px 25px rgba(76, 29, 149, 0.15));
}
/* =========================================================
   PRODUCT IMAGE BADGE
========================================================= */
.product-card .product-image .product-badge {
  position: absolute;
  z-index: 8;
  top: 0.7rem;
  left: 0.7rem;
  box-shadow: 0 7px 16px rgba(76, 29, 149, 0.08);
  backdrop-filter: blur(10px);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.product-card:hover .product-image .product-badge {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(76, 29, 149, 0.12);
}
/* =========================================================
   PRODUCT CONTENT
========================================================= */
.product-card > .p-5,
.product-card > .p-4,
.product-card > div:last-child {
  position: relative;
  z-index: 5;
}
/* title */
.product-card h3 {
  color: #4c1d95;
  font-family: "Baloo 2", sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-wrap: balance;
  transition:
    color 0.25s ease,
    transform 0.3s ease;
}
.product-card:hover h3 {
  color: #7c3aed;
  transform: translateX(1px);
}
/* description */
.product-card p {
  color: #64748b;
  font-size: 0.78rem;
  line-height: 1.5;
  text-wrap: pretty;
}
/* =========================================================
   META INFORMATION
========================================================= */
.product-card .text-xs {
  font-size: 0.72rem;
}
.product-card .text-slate-500,
.product-card .text-slate-400 {
  color: #64748b;
}
.product-card .font-semibold {
  color: #4c1d95;
}
/* =========================================================
   PRICE
========================================================= */
.product-card .brand-font {
  color: #7c3aed;
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  letter-spacing: -0.035em;
  transition:
    color 0.3s ease,
    transform 0.3s ease;
}
.product-card:hover .brand-font {
  color: #db2777;
  transform: scale(1.035);
}
/* =========================================================
   CTA
========================================================= */
.product-card a:not(.product-image) {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  overflow: hidden;
  border-radius: 999px;
  transform: translateZ(0);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    filter 0.3s ease;
}
/* shine */
.product-card a:not(.product-image)::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 20%,
    rgba(255, 255, 255, 0.4) 50%,
    transparent 80%
  );
  transform: translateX(-130%);
  transition: transform 0.65s ease;
}
.product-card a:not(.product-image):hover::before {
  transform: translateX(130%);
}
/* hover */
.product-card a:not(.product-image):hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(124, 58, 237, 0.2);
  filter: brightness(1.03);
}
/* =========================================================
   BADGES
========================================================= */
.product-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-size: 0.68rem;
  line-height: 1;
  font-weight: 900;
  white-space: nowrap;
  letter-spacing: 0.01em;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.badge-purple {
  border: 1px solid #ddd6fe;
  background: #f3e8ff;
  color: #6d28d9;
}
.badge-pink {
  border: 1px solid #fbcfe8;
  background: #fce7f3;
  color: #be185d;
}
.badge-blue {
  border: 1px solid #bfdbfe;
  background: #dbeafe;
  color: #1d4ed8;
}
.badge-yellow {
  border: 1px solid #fde68a;
  background: #fef3c7;
  color: #a16207;
}
.badge-green {
  border: 1px solid #bbf7d0;
  background: #dcfce7;
  color: #15803d;
}
/* =========================================================
   PREMIUM BUNDLE CARD
========================================================= */
.bundle-card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(124, 58, 237, 0.11);
  border-radius: 1.4rem;
  background:
    radial-gradient(
      circle at 90% 0%,
      rgba(249, 168, 212, 0.14),
      transparent 31%
    ),
    rgba(255, 255, 255, 0.97);
  box-shadow:
    0 8px 28px rgba(76, 29, 149, 0.055),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transform: translate3d(0, 0, 0);
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease,
    border-color 0.35s ease;
}
/* accent */
.bundle-card::before {
  content: "";
  position: absolute;
  z-index: 10;
  top: 0;
  left: 14%;
  right: 14%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #7c3aed, #a855f7, #ec4899);
  opacity: 0;
  transform: scaleX(0.3);
  transition:
    opacity 0.35s ease,
    transform 0.45s ease;
}
/* ambient glow */
.bundle-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 190px;
  height: 190px;
  right: -85px;
  bottom: -90px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(236, 72, 153, 0.14),
    transparent 68%
  );
  opacity: 0.55;
  transition:
    transform 0.6s ease,
    opacity 0.6s ease;
}
.bundle-card:hover {
  transform: translateY(-8px);
  border-color: rgba(167, 139, 250, 0.65);
  box-shadow:
    0 30px 65px rgba(76, 29, 149, 0.12),
    0 10px 24px rgba(236, 72, 153, 0.06);
}
.bundle-card:hover::before {
  opacity: 1;
  transform: scaleX(1);
}
.bundle-card:hover::after {
  opacity: 1;
  transform: scale(1.3);
}
/* =========================================================
   BUNDLE IMAGE
========================================================= */
.bundle-card .bundle-image,
.bundle-card .product-image {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 190px;
  overflow: hidden;
  border-radius: 1.05rem;
  background:
    radial-gradient(
      circle at 18% 18%,
      rgba(255, 255, 255, 0.95),
      transparent 34%
    ),
    linear-gradient(135deg, #ede9fe, #dbeafe 55%, #fce7f3);
}
/* pattern */
.bundle-card .bundle-image::before,
.bundle-card .product-image::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image: radial-gradient(
    rgba(124, 58, 237, 0.12) 1px,
    transparent 1px
  );
  background-size: 18px 18px;
  pointer-events: none;
}
/* shine */
.bundle-card .bundle-image::after,
.bundle-card .product-image::after {
  content: "";
  position: absolute;
  z-index: 4;
  inset: -20%;
  width: 55%;
  background: linear-gradient(
    110deg,
    transparent 20%,
    rgba(255, 255, 255, 0.48) 50%,
    transparent 80%
  );
  transform: translateX(-220%) rotate(8deg);
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.bundle-card:hover .bundle-image::after,
.bundle-card:hover .product-image::after {
  transform: translateX(420%) rotate(8deg);
}
/* image */
.bundle-card .bundle-image img,
.bundle-card .product-image img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  max-height: 190px;
  padding: 0.75rem;
  object-fit: contain;
  filter: drop-shadow(0 12px 16px rgba(76, 29, 149, 0.1));
  transform: translate3d(0, 0, 0);
  transition:
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.4s ease;
}
.bundle-card:hover .bundle-image img,
.bundle-card:hover .product-image img {
  transform: translateY(-4px) scale(1.08);
  filter: drop-shadow(0 19px 26px rgba(76, 29, 149, 0.15));
}
/* =========================================================
   BUNDLE BADGES
========================================================= */
.bundle-save-badge,
.bundle-card .product-badge {
  box-shadow: 0 6px 14px rgba(76, 29, 149, 0.08);
  backdrop-filter: blur(10px);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.bundle-card:hover .bundle-save-badge,
.bundle-card:hover .product-badge {
  transform: translateY(-2px);
  box-shadow: 0 9px 18px rgba(76, 29, 149, 0.12);
}
/* =========================================================
   BUNDLE CONTENT
========================================================= */
.bundle-card h3 {
  color: #4c1d95;
  font-family: "Baloo 2", sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  text-wrap: balance;
  transition:
    color 0.25s ease,
    transform 0.25s ease;
}
.bundle-card:hover h3 {
  color: #7c3aed;
  transform: translateX(1px);
}
.bundle-card p {
  color: #64748b;
  font-size: 0.78rem;
  line-height: 1.5;
}
/* =========================================================
   BUNDLE PRICE
========================================================= */
.bundle-card .brand-font {
  font-family: "Baloo 2", sans-serif;
  color: #7c3aed;
  font-weight: 800;
  letter-spacing: -0.04em;
  transition:
    color 0.3s ease,
    transform 0.3s ease;
}
.bundle-card:hover .brand-font {
  color: #db2777;
}
/* =========================================================
   COMPLETE BUNDLE — FEATURED
========================================================= */
.complete-bundle {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background:
    radial-gradient(
      circle at 12% 10%,
      rgba(255, 255, 255, 0.18),
      transparent 28%
    ),
    radial-gradient(
      circle at 90% 85%,
      rgba(249, 168, 212, 0.23),
      transparent 35%
    ),
    linear-gradient(135deg, #6d28d9 0%, #7c3aed 38%, #a855f7 68%, #db2777 100%);
  color: #ffffff;
  box-shadow:
    0 22px 55px rgba(124, 58, 237, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease;
}
.complete-bundle:hover {
  transform: translateY(-8px);
  box-shadow:
    0 34px 75px rgba(124, 58, 237, 0.27),
    0 12px 28px rgba(219, 39, 119, 0.1);
}
/* featured glow */
.complete-bundle::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 230px;
  height: 230px;
  top: -105px;
  right: -85px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.13);
  transition: transform 0.7s ease;
}
.complete-bundle:hover::before {
  transform: scale(1.25);
}
.complete-bundle::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 180px;
  height: 180px;
  left: -85px;
  bottom: -95px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}
/* typography */
.complete-bundle h3,
.complete-bundle p,
.complete-bundle .brand-font {
  color: #ffffff;
}
/* =========================================================
   BEST VALUE
========================================================= */
.best-value-badge {
  animation: bestValueFloat 3.2s ease-in-out infinite;
  box-shadow: 0 8px 20px rgba(76, 29, 149, 0.16);
}
@keyframes bestValueFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}
/* =========================================================
   BUNDLE CTA
========================================================= */
.bundle-card a,
.complete-bundle a {
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    filter 0.3s ease;
}
.bundle-card a:hover,
.complete-bundle a:hover {
  transform: translateY(-2px);
}
/* CTA shine */
.bundle-card a::before,
.complete-bundle a::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 20%,
    rgba(255, 255, 255, 0.38) 50%,
    transparent 80%
  );
  transform: translateX(-130%);
  transition: transform 0.65s ease;
}
.bundle-card a:hover::before,
.complete-bundle a:hover::before {
  transform: translateX(130%);
}
/* =========================================================
   GRID
========================================================= */
#bundles .grid,
#individuals .grid {
  align-items: stretch;
}
#bundles .product-card,
#bundles .bundle-card,
#individuals .product-card {
  height: 100%;
}
/* =========================================================
   CARD REVEAL
========================================================= */
.product-reveal,
.bundle-card.reveal-up {
  opacity: 0;
  animation: shopCardReveal 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.product-reveal:nth-child(1),
.bundle-card:nth-child(1) {
  animation-delay: 0.05s;
}
.product-reveal:nth-child(2),
.bundle-card:nth-child(2) {
  animation-delay: 0.12s;
}
.product-reveal:nth-child(3),
.bundle-card:nth-child(3) {
  animation-delay: 0.19s;
}
.product-reveal:nth-child(4),
.bundle-card:nth-child(4) {
  animation-delay: 0.26s;
}
.product-reveal:nth-child(5) {
  animation-delay: 0.33s;
}
.product-reveal:nth-child(6) {
  animation-delay: 0.4s;
}
@keyframes shopCardReveal {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
/* =========================================================
   FILTER / SEARCH INTERACTION
========================================================= */
.filter-btn {
  position: relative;
  overflow: hidden;
  transition:
    transform 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease;
}
.filter-btn:hover {
  transform: translateY(-1px);
}
.filter-btn.active {
  border-color: #7c3aed;
  background: linear-gradient(135deg, #7c3aed, #9333ea);
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(124, 58, 237, 0.2);
}
.filter-btn.active:hover {
  transform: translateY(-1px);
  box-shadow: 0 9px 20px rgba(124, 58, 237, 0.25);
}
/* search */
#searchInput {
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    background-color 0.3s ease,
    transform 0.3s ease;
}
#searchInput:focus {
  border-color: #a78bfa;
  background: #ffffff;
  box-shadow:
    0 0 0 4px rgba(124, 58, 237, 0.08),
    0 8px 25px rgba(76, 29, 149, 0.07);
  transform: translateY(-1px);
}
/* =========================================================
   FOCUS ACCESSIBILITY
========================================================= */
.product-card a:focus-visible,
.bundle-card a:focus-visible,
.filter-btn:focus-visible,
#searchInput:focus-visible {
  outline: 3px solid rgba(168, 85, 247, 0.35);
  outline-offset: 3px;
}
/* =========================================================
   MOBILE
========================================================= */
@media (max-width: 767px) {
  .product-card,
  .bundle-card {
    border-radius: 1.15rem;
  }
  .product-card .product-image,
  .bundle-card .bundle-image,
  .bundle-card .product-image {
    min-height: 160px;
    border-radius: 0.9rem;
  }
  .product-card .product-image img,
  .bundle-card .bundle-image img,
  .bundle-card .product-image img {
    max-height: 160px;
    padding: 0.55rem;
  }
  .product-card h3,
  .bundle-card h3 {
    font-size: 0.95rem;
  }
  .product-card p,
  .bundle-card p {
    font-size: 0.72rem;
    line-height: 1.45;
  }
  .product-badge {
    padding: 0.3rem 0.6rem;
    font-size: 0.62rem;
  }
  .product-card:hover,
  .bundle-card:hover,
  .complete-bundle:hover {
    transform: translateY(-3px);
  }
}
/* =========================================================
   SMALL MOBILE
========================================================= */
@media (max-width: 420px) {
  .product-card,
  .bundle-card {
    border-radius: 1rem;
  }
  .product-card .product-image,
  .bundle-card .bundle-image,
  .bundle-card .product-image {
    min-height: 140px;
  }
  .product-card .product-image img,
  .bundle-card .bundle-image img,
  .bundle-card .product-image img {
    max-height: 140px;
  }
  .product-card h3,
  .bundle-card h3 {
    font-size: 0.88rem;
  }
  .product-card p,
  .bundle-card p {
    font-size: 0.68rem;
  }
}
/* =========================================================
   REDUCED MOTION
========================================================= */
@media (prefers-reduced-motion: reduce) {
  .product-card,
  .bundle-card,
  .complete-bundle,
  .product-card *,
  .bundle-card *,
  .best-value-badge {
    animation: none !important;
    transition: none !important;
  }
  .product-card:hover,
  .bundle-card:hover,
  .complete-bundle:hover {
    transform: none;
  }
  .product-card:hover .product-image img,
  .bundle-card:hover .bundle-image img,
  .bundle-card:hover .product-image img {
    transform: none;
  }
}
@keyframes slideLine {
  0% {
    transform: translateX(-100%);
  }
  50% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(200%);
  }
}
/* =========================================================
   FAQ (AFFILIATE.HTML)
========================================================= */
.faq-answer {
  animation: faqOpen 0.25s ease-out;
}
@keyframes faqOpen {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* =======================================================
     LIBRARY ANIMATIONS
======================================================== */
.library-card {
  transform: translateZ(0);
  isolation: isolate;
}
.library-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.9),
    rgba(255, 255, 255, 0),
    rgba(124, 58, 237, 0.08)
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.8;
}
.library-card:hover::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    circle at 80% 10%,
    rgba(255, 255, 255, 0.7),
    transparent 35%
  );
  pointer-events: none;
  z-index: 0;
}
@media (prefers-reduced-motion: reduce) {
  .library-card,
  .library-card * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .animate-\[gradientMove_5s_ease_infinite\] {
    animation: none !important;
  }
}
@keyframes floatLibrary {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -18px, 0);
  }
}
@keyframes floatLibrarySlow {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(20px, -14px, 0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .animate-\[floatLibrary_8s_ease-in-out_infinite\],
  .animate-\[floatLibrarySlow_10s_ease-in-out_infinite\] {
    animation: none !important;
  }
}
@keyframes bloomLine {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
@media (prefers-reduced-motion: reduce) {
  [style*="bloomLine"] {
    animation: none !important;
    transform: scaleX(1) !important;
  }
}
.shop-grid {
  background-image:
    linear-gradient(rgba(124, 58, 237, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 58, 237, 0.045) 1px, transparent 1px);
  background-size: 36px 36px;
}
.shop-glow {
  filter: blur(80px);
}
.shop-card {
  transition:
    transform 300ms ease,
    box-shadow 300ms ease,
    border-color 300ms ease;
}
.shop-card:hover {
  transform: translateY(-5px);
}
.shop-reveal {
  animation: shopReveal 700ms ease-out both;
}
@keyframes shopReveal {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .shop-card,
  .shop-reveal {
    animation: none !important;
    transition: none !important;
  }
}
@keyframes saLittleBloomFlow {
  0% {
    left: 0;
    opacity: 0;
  }
  15% {
    opacity: 0.8;
  }
  50% {
    opacity: 1;
  }
  85% {
    opacity: 0.8;
  }
  100% {
    left: calc(100% - 4rem);
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .animate-ping {
    animation: none !important;
  }
  [style*="saLittleBloomFlow"] {
    animation: none !important;
  }
}
@keyframes saLittleBloomFlow {
  0% {
    left: 0;
    opacity: 0;
  }
  15% {
    opacity: 0.8;
  }
  50% {
    opacity: 1;
  }
  85% {
    opacity: 0.8;
  }
  100% {
    left: calc(100% - 4rem);
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .animate-ping {
    animation: none !important;
  }
  [style*="saLittleBloomFlow"] {
    animation: none !important;
  }
}
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .scrollbar-hide::-webkit-scrollbar {
    display: none;
  }