@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Playfair+Display:wght@600;700&display=swap");

:root {
  --bg: #ffffff;
  --ink: #1f2937;
  --pink-1: rgba(248, 231, 240, 0.46);
  --pink-2: rgba(252, 231, 243, 0.52);
  --pink-3: rgba(244, 208, 230, 0.4);
  --pink-border: rgba(249, 232, 240, 1);
}

html.dark {
  --bg: #000000;
  --ink: #ffffff;
  --pink-1: rgba(40, 20, 30, 0.6);
  --pink-2: rgba(50, 25, 40, 0.7);
  --pink-3: rgba(60, 30, 50, 0.8);
  --pink-border: rgba(80, 40, 60, 0.9);
  color-scheme: dark;
}

.hero-split-section {
  background: #fff0f6;
  transition: background-color 0.3s ease;
}

html.dark .hero-split-section {
  background: #000000 !important;
}

.site-footer {
  background: #fff5f9;
  border-top: 1px solid rgba(236, 72, 153, 0.1);
  transition: background-color 0.3s ease;
  color: #1f2937;
}

html.dark .site-footer {
  background: #000000 !important;
  border-top: 1px solid rgba(80, 40, 60, 0.4);
}

/* Footer text — explicit dark color in light mode */
.footer-text,
.footer-text * {
  color: #1f2937 !important;
}
.footer-heading {
  color: #374151 !important;
}
.footer-border {
  border-color: rgba(236, 72, 153, 0.12);
}
.footer-link {
  color: #374151 !important;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.15s;
}
.footer-link:hover {
  color: #ec4899 !important;
}
.footer-social-link {
  color: #6b7280 !important;
  transition: color 0.15s;
}
.footer-social-link:hover {
  color: #ec4899 !important;
}

/* Dark mode footer text */
html.dark .footer-text,
html.dark .footer-text * {
  color: #9ca3af !important;
}
html.dark .footer-heading {
  color: #6b7280 !important;
}
html.dark .footer-border {
  border-color: rgba(255, 255, 255, 0.08) !important;
}
html.dark .footer-link {
  color: #d1d5db !important;
}
html.dark .footer-link:hover {
  color: #ffffff !important;
}
html.dark .footer-social-link {
  color: #9ca3af !important;
}
html.dark .footer-social-link:hover {
  color: #ffffff !important;
}



html {
  scroll-behavior: smooth;
  background: var(--bg) !important;
}

html.dark {
  background: #000000 !important;
}

body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.75;
  letter-spacing: -0.01em;
  background: var(--bg) !important;
  color: #1f2937;
  min-height: 100vh;
  transition: background-color 0.3s ease, color 0.3s ease;
}

html.premium-member body,
body.premium-member {
  font-family: "SF Pro Text", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  animation: premiumPageReveal 720ms cubic-bezier(0.2, 0.82, 0.2, 1) both;
  position: relative;
  background:
    radial-gradient(64% 44% at 50% 88%, rgba(236,72,153,0.24) 0%, rgba(99,102,241,0.16) 36%, rgba(255,255,255,0) 76%),
    radial-gradient(48% 32% at 16% 10%, rgba(244,114,182,0.24) 0%, rgba(255,255,255,0) 68%),
    radial-gradient(42% 26% at 88% 12%, rgba(129,140,248,0.22) 0%, rgba(255,255,255,0) 70%),
    radial-gradient(72% 36% at 50% -8%, rgba(251,113,133,0.12) 0%, rgba(255,255,255,0) 62%),
    linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(252,244,250,0.96) 52%, rgba(250,238,248,0.98) 100%) !important;
}

html.dark.premium-member body,
html.dark body.premium-member {
  background:
    radial-gradient(64% 44% at 50% 88%, rgba(236,72,153,0.3) 0%, rgba(129,140,248,0.22) 36%, rgba(2,6,23,0) 76%),
    radial-gradient(48% 32% at 16% 10%, rgba(244,114,182,0.26) 0%, rgba(2,6,23,0) 68%),
    radial-gradient(42% 26% at 88% 12%, rgba(129,140,248,0.26) 0%, rgba(2,6,23,0) 70%),
    radial-gradient(72% 36% at 50% -8%, rgba(217,70,239,0.14) 0%, rgba(2,6,23,0) 62%),
    linear-gradient(180deg, rgba(10,14,34,0.98) 0%, rgba(18,10,30,0.98) 52%, rgba(8,10,24,0.99) 100%) !important;
}

html.premium-member body::before,
body.premium-member::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(520px 300px at 8% 16%, rgba(255,255,255,0.46) 0%, rgba(255,255,255,0) 72%),
    radial-gradient(560px 320px at 92% 18%, rgba(255,255,255,0.34) 0%, rgba(255,255,255,0) 74%);
  mix-blend-mode: screen;
  opacity: 0.62;
  transform-origin: 50% 50%;
  animation: premiumBackgroundBreath 12s ease-in-out infinite;
}

html.dark.premium-member body::before,
html.dark body.premium-member::before {
  background:
    radial-gradient(560px 320px at 8% 16%, rgba(236,72,153,0.22) 0%, rgba(2,6,23,0) 72%),
    radial-gradient(580px 340px at 92% 18%, rgba(129,140,248,0.22) 0%, rgba(2,6,23,0) 74%);
  mix-blend-mode: screen;
  opacity: 0.56;
}

html.premium-member main,
html.premium-member .chat-app,
body.premium-member main,
body.premium-member .chat-app {
  position: relative;
  z-index: 1;
}

html.premium-member .nav-glass {
  border-bottom: 1px solid rgba(244, 114, 182, 0.5);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 241, 250, 0.95)),
    radial-gradient(circle at 10% 0%, rgba(244, 114, 182, 0.22), transparent 46%),
    radial-gradient(circle at 90% -8%, rgba(99, 102, 241, 0.16), transparent 44%);
  box-shadow: 0 18px 40px rgba(236, 72, 153, 0.2), 0 12px 28px rgba(30, 41, 59, 0.09);
  animation: premiumNavReveal 700ms cubic-bezier(0.19, 1, 0.22, 1) both;
}

html.premium-member .brand-mark {
  gap: 0.62rem;
}

html.premium-member .brand-text {
  font-family: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.24rem;
  letter-spacing: 0.01em;
  font-weight: 700;
  background: linear-gradient(135deg, #9d174d 0%, #7c3aed 45%, #3730a3 100%);
  background-size: 220% 220%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 18px rgba(236, 72, 153, 0.18);
  animation: premiumBrandShift 6.5s ease-in-out infinite;
}

html.dark.premium-member .brand-text {
  background: linear-gradient(135deg, #f9a8d4 0%, #c4b5fd 55%, #93c5fd 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.premium-member-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.2rem 0.62rem;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  border: 1px solid rgba(236, 72, 153, 0.58);
  background: linear-gradient(135deg, rgba(255, 228, 241, 0.98), rgba(224, 231, 255, 0.96));
  color: #831843;
  box-shadow: 0 7px 18px rgba(236, 72, 153, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.45) inset;
  animation: premiumBadgeBreathe 2.8s ease-in-out infinite;
}

html.dark .premium-member-badge {
  border-color: rgba(244, 114, 182, 0.62);
  background: linear-gradient(135deg, rgba(190, 24, 93, 0.44), rgba(99, 102, 241, 0.36));
  color: #fdf2f8;
  box-shadow: 0 8px 20px rgba(139, 92, 246, 0.34), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

html.premium-member .nav-link {
  font-weight: 600;
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
}

html.premium-member .nav-link::after {
  content: "";
  position: absolute;
  left: 14%;
  right: 14%;
  bottom: 5px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(236, 72, 153, 0.12), rgba(99, 102, 241, 0.28), rgba(236, 72, 153, 0.12));
  transform: scaleX(0.2);
  opacity: 0;
  transition: transform 280ms ease, opacity 280ms ease;
}

html.premium-member .nav-link:hover::after,
html.premium-member .nav-link.active::after {
  transform: scaleX(1);
  opacity: 1;
}

html.premium-member .nav-link.active {
  background: linear-gradient(180deg, rgba(255, 232, 244, 0.98), rgba(221, 214, 254, 0.84));
  border-color: rgba(168, 85, 247, 0.56);
  color: #3b0764;
  box-shadow: 0 10px 22px rgba(168, 85, 247, 0.24), 0 0 0 1px rgba(255, 255, 255, 0.55) inset;
}

html.dark.premium-member .nav-link.active {
  background: linear-gradient(180deg, rgba(168, 85, 247, 0.46), rgba(236, 72, 153, 0.36));
  border-color: rgba(244, 114, 182, 0.66);
  color: #fdf4ff;
  box-shadow: 0 10px 24px rgba(192, 132, 252, 0.26);
}

html.dark.premium-member .nav-glass {
  border-bottom-color: rgba(244, 114, 182, 0.54);
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.97), rgba(26, 10, 32, 0.95)),
    radial-gradient(circle at 90% 0%, rgba(192, 132, 252, 0.32), transparent 50%),
    radial-gradient(circle at 8% -10%, rgba(244, 114, 182, 0.24), transparent 46%);
  box-shadow: 0 18px 44px rgba(236, 72, 153, 0.2), 0 16px 34px rgba(2, 6, 23, 0.45);
}

html.premium-member .section-card {
  border-color: rgba(244, 114, 182, 0.44);
  box-shadow: 0 22px 46px rgba(236, 72, 153, 0.2), 0 12px 28px rgba(30, 41, 59, 0.08);
  animation: premiumCardEnter 640ms cubic-bezier(0.2, 0.9, 0.2, 1) both;
  transition: transform 420ms cubic-bezier(0.2, 0.85, 0.25, 1), box-shadow 420ms ease, border-color 360ms ease;
}

html.premium-member .section-card:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 30px 56px rgba(236, 72, 153, 0.24), 0 16px 34px rgba(30, 41, 59, 0.11);
}

html.premium-member .section-card:nth-of-type(2n) {
  animation-delay: 80ms;
}

html.premium-member .section-card:nth-of-type(3n) {
  animation-delay: 140ms;
}

html.premium-member h1,
html.premium-member h2,
html.premium-member h3 {
  font-family: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  letter-spacing: -0.02em;
  font-weight: 700;
}

html.premium-member p,
html.premium-member li,
html.premium-member a,
html.premium-member button,
html.premium-member input,
html.premium-member textarea,
html.premium-member select {
  font-family: "SF Pro Text", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

html.dark.premium-member .section-card {
  border-color: rgba(244, 114, 182, 0.5);
  box-shadow: 0 26px 52px rgba(236, 72, 153, 0.24), 0 14px 32px rgba(2, 6, 23, 0.42);
}

html.premium-member .btn-primary {
  background: linear-gradient(180deg, rgba(255, 236, 246, 1), rgba(244, 208, 230, 0.98));
  border-color: rgba(244, 114, 182, 0.62);
  box-shadow: 0 14px 30px rgba(236, 72, 153, 0.3);
  position: relative;
  overflow: hidden;
}

html.premium-member .btn-primary::before {
  content: "";
  position: absolute;
  top: -120%;
  left: -40%;
  width: 46%;
  height: 340%;
  transform: rotate(18deg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0));
  animation: premiumButtonSheen 3.1s ease-in-out infinite;
  pointer-events: none;
}

html.premium-member .btn-primary:hover {
  background: linear-gradient(180deg, rgba(255, 226, 241, 1), rgba(244, 208, 230, 1));
  box-shadow: 0 16px 34px rgba(236, 72, 153, 0.36);
}

html.dark.premium-member .btn-primary {
  background: linear-gradient(180deg, rgba(236, 72, 153, 0.88), rgba(126, 34, 206, 0.82));
  border-color: rgba(244, 114, 182, 0.68);
  box-shadow: 0 16px 34px rgba(139, 92, 246, 0.34);
}

html.dark.premium-member .btn-primary:hover {
  background: linear-gradient(180deg, rgba(244, 114, 182, 0.92), rgba(147, 51, 234, 0.86));
  box-shadow: 0 18px 38px rgba(139, 92, 246, 0.4);
}

html.premium-member .mob-nav-logo,
html.premium-member .brand-logo {
  animation: premiumOrbPulse 3.8s ease-in-out infinite;
}

@keyframes premiumPageReveal {
  from { opacity: 0; filter: saturate(0.88); transform: translateY(6px); }
  to { opacity: 1; filter: saturate(1); transform: translateY(0); }
}

@keyframes premiumNavReveal {
  from { opacity: 0; transform: translateY(-14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes premiumBrandShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes premiumBadgeBreathe {
  0%, 100% { transform: translateY(0) scale(1); box-shadow: 0 7px 18px rgba(236, 72, 153, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.45) inset; }
  50% { transform: translateY(-1px) scale(1.03); box-shadow: 0 10px 22px rgba(236, 72, 153, 0.34), 0 0 0 1px rgba(255, 255, 255, 0.5) inset; }
}

@keyframes premiumCardEnter {
  from { opacity: 0; transform: translateY(18px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes premiumButtonSheen {
  0% { left: -45%; opacity: 0; }
  22% { opacity: 1; }
  60% { left: 130%; opacity: 0; }
  100% { left: 130%; opacity: 0; }
}

@keyframes premiumOrbPulse {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(236, 72, 153, 0)); transform: scale(1); }
  50% { filter: drop-shadow(0 8px 18px rgba(236, 72, 153, 0.3)); transform: scale(1.02); }
}

@keyframes premiumBackgroundBreath {
  0%, 100% {
    opacity: 0.56;
    transform: scale(1) translate3d(0, 0, 0);
    filter: saturate(1);
  }
  50% {
    opacity: 0.74;
    transform: scale(1.025) translate3d(0, -0.8%, 0);
    filter: saturate(1.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  html.premium-member body,
  html.premium-member .nav-glass,
  html.premium-member .brand-text,
  .premium-member-badge,
  html.premium-member .section-card,
  html.premium-member .btn-primary::before,
  html.premium-member .mob-nav-logo,
  html.premium-member .brand-logo,
  html.premium-member body::before,
  body.premium-member::before {
    animation: none !important;
  }

  html.premium-member .section-card,
  html.premium-member .section-card:hover {
    transform: none !important;
  }
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -3rem;
  z-index: 1000000;
  padding: 0.7rem 1rem;
  border-radius: 0.7rem;
  border: 1px solid rgba(225, 29, 72, 0.38);
  background: #ffffff;
  color: #111827;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.14);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

html.dark .skip-link {
  background: #0f172a;
  color: #f8fafc;
  border-color: rgba(244, 114, 182, 0.42);
}

:focus-visible {
  outline: 3px solid rgba(225, 29, 72, 0.45);
  outline-offset: 3px;
}

html.dark :focus-visible {
  outline-color: rgba(251, 113, 133, 0.58);
}

html.dark body {
  background: var(--bg) !important;
  color: #ffffff;
}

main,
section,
article,
header,
footer,
nav,
div {
  border-color: inherit;
}

input,
textarea,
select {
  background: var(--bg) !important;
  color: var(--ink) !important;
  border-color: var(--pink-border) !important;
  transition: background-color 0.3s ease, color 0.3s ease;
}

html.dark input,
html.dark textarea,
html.dark select {
  background: #1e293b !important;
  color: var(--ink) !important;
}

.page-soft-edge {
  position: relative;
  isolation: isolate;
}

.page-soft-edge::before,
.page-soft-edge::after {
  content: none;
  position: fixed;
  top: 0;
  bottom: 0;
  width: 156px;
  pointer-events: none;
  z-index: -1;
  filter: blur(18px);
  opacity: 1;
}

.page-soft-edge::before {
  left: 0;
  background:
    radial-gradient(220px 320px at -34% 0%, rgba(252, 231, 243, 0.68), rgba(252, 231, 243, 0) 78%),
    radial-gradient(220px 320px at -34% 100%, rgba(248, 231, 240, 0.64), rgba(248, 231, 240, 0) 78%),
    linear-gradient(90deg, rgba(248, 231, 240, 0.5), rgba(248, 231, 240, 0) 84%);
}

html.dark .page-soft-edge::before {
  background:
    radial-gradient(220px 320px at -34% 0%, rgba(30, 15, 25, 0.4), rgba(30, 15, 25, 0) 78%),
    radial-gradient(220px 320px at -34% 100%, rgba(25, 12, 20, 0.4), rgba(25, 12, 20, 0) 78%),
    linear-gradient(90deg, rgba(20, 10, 15, 0.3), rgba(20, 10, 15, 0) 84%);
}

.page-soft-edge::after {
  right: 0;
  background:
    radial-gradient(220px 320px at 134% 0%, rgba(252, 231, 243, 0.68), rgba(252, 231, 243, 0) 78%),
    radial-gradient(220px 320px at 134% 100%, rgba(248, 231, 240, 0.64), rgba(248, 231, 240, 0) 78%),
    linear-gradient(270deg, rgba(252, 231, 243, 0.5), rgba(252, 231, 243, 0) 84%);
}

html.dark .page-soft-edge::after {
  background:
    radial-gradient(220px 320px at 134% 0%, rgba(30, 15, 25, 0.4), rgba(30, 15, 25, 0) 78%),
    radial-gradient(220px 320px at 134% 100%, rgba(25, 12, 20, 0.4), rgba(25, 12, 20, 0) 78%),
    linear-gradient(270deg, rgba(20, 10, 15, 0.3), rgba(20, 10, 15, 0) 84%);
}

.page-soft-edge::selection {
  background: rgba(249, 232, 240, 0.65);
}

html.dark .page-soft-edge::selection {
  background: rgba(236, 72, 153, 0.3);
}

/* Footer styling for both themes */
footer,
footer h1,
footer h2,
footer h3,
footer p,
footer a,
footer span {
  color: #ffffff !important;
}

html.dark footer,
html.dark footer h1,
html.dark footer h2,
html.dark footer h3,
html.dark footer p,
html.dark footer a,
html.dark footer span {
  color: #ffffff !important;
}

html.dark .page-soft-edge::selection {
  background: rgba(236, 72, 153, 0.3);
}

.container-max {
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

html,
body {
  overflow-x: clip;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid rgba(249, 232, 240, 1);
  box-shadow: 0 8px 18px rgba(236, 72, 153, 0.14);
  background: #fff;
}

.brand-logo-sm {
  width: 28px;
  height: 28px;
}

.brand-text {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #1f2937;
}

html.dark .brand-text {
  color: #ffffff;
}

.nav-glass {
  backdrop-filter: blur(12px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 251, 253, 0.96));
  border-bottom: 1px solid rgba(249, 232, 240, 0.92);
  box-shadow: 0 10px 30px rgba(236, 72, 153, 0.06), 0 2px 10px rgba(17, 24, 39, 0.03);
}

html.dark .nav-glass {
  background: linear-gradient(180deg, rgba(20, 20, 20, 0.95), rgba(10, 10, 10, 0.95));
  border-bottom: 1px solid rgba(80, 40, 60, 0.5);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.nav-link {
  border-radius: 0.7rem;
  padding: 0.44rem 0.68rem;
  font-size: 0.94rem;
  line-height: 1.25rem;
  font-weight: 500;
  transition: background-color 260ms ease, border-color 260ms ease, color 260ms ease, box-shadow 260ms ease;
  border: 1px solid transparent;
}

.nav-link:hover {
  background: linear-gradient(180deg, rgba(252, 231, 243, 0.42), rgba(248, 231, 240, 0.35));
  border-color: rgba(244, 114, 182, 0.35);
  box-shadow: 0 6px 14px rgba(236, 72, 153, 0.08);
}

.nav-link.active {
  background: linear-gradient(180deg, rgba(252, 231, 243, 0.82), rgba(248, 231, 240, 0.72));
  border-color: rgba(244, 114, 182, 0.42);
  color: #111827;
  box-shadow: 0 6px 14px rgba(236, 72, 153, 0.08);
}

html.dark .nav-link.active {
  background: linear-gradient(180deg, rgba(236, 72, 153, 0.3), rgba(220, 60, 140, 0.2));
  border-color: rgba(236, 72, 153, 0.6);
  color: #ffffff;
}

.plans-dropdown-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding-bottom: 0.45rem;
  margin-bottom: -0.45rem;
}

.plans-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  display: grid;
  gap: 0.35rem;
  padding: 0.55rem;
  border-radius: 0.95rem;
  border: 1px solid rgba(249, 232, 240, 0.92);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 250, 253, 0.96));
  box-shadow: 0 16px 34px rgba(236, 72, 153, 0.1), 0 8px 18px rgba(17, 24, 39, 0.07);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 260ms ease, transform 260ms ease, visibility 260ms ease;
  pointer-events: none;
  z-index: 60;
}

html.dark .plans-dropdown-menu {
  border: 1px solid rgba(80, 40, 60, 0.5);
  background: linear-gradient(180deg, rgba(25, 25, 25, 0.95), rgba(15, 15, 15, 0.9));
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4), 0 8px 18px rgba(0, 0, 0, 0.3);
}

.plans-dropdown-wrapper:hover .plans-dropdown-menu,
.plans-dropdown-wrapper:focus-within .plans-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.plans-dropdown-link {
  border-radius: 0.66rem;
  padding: 0.48rem 0.62rem;
  font-size: 0.9rem;
  color: #374151;
  border: 1px solid transparent;
  transition: all 280ms ease;
}

html.dark .plans-dropdown-link {
  color: #e0e0e0;
}

.plans-dropdown-link:hover {
  background: var(--pink-1);
  border-color: var(--pink-border);
}

.plans-dropdown-link.active {
  background: linear-gradient(180deg, rgba(252, 231, 243, 0.7), rgba(248, 231, 240, 0.6));
  border-color: var(--pink-border);
  color: #111827;
}

html.dark .plans-dropdown-link.active {
  background: linear-gradient(180deg, rgba(236, 72, 153, 0.3), rgba(220, 60, 140, 0.2));
  border-color: rgba(236, 72, 153, 0.6);
  color: #ffffff;
}

.section-card {
  border: 1px solid rgba(249, 232, 240, 0.75);
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 250, 253, 0.92));
  box-shadow: 0 14px 30px rgba(236, 72, 153, 0.08), 0 6px 16px rgba(17, 24, 39, 0.04);
  transition: transform 500ms ease-out, box-shadow 500ms ease-out, border-color 500ms ease-out;
}

html.dark .section-card {
  border: 1px solid rgba(80, 40, 60, 0.6);
  background: linear-gradient(180deg, rgba(25, 25, 25, 0.95), rgba(15, 15, 15, 0.9));
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4), 0 6px 16px rgba(0, 0, 0, 0.3);
}

.section-card:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(249, 232, 240, 1);
  box-shadow: 0 20px 42px rgba(236, 72, 153, 0.14), 0 8px 20px rgba(17, 24, 39, 0.05);
}

@media (max-width: 640px) {
  .container-max {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .section-card:hover {
    transform: none;
  }
}

.btn-primary {
  border-radius: 0.75rem;
  padding: 0.68rem 1.12rem;
  background: linear-gradient(180deg, rgba(252, 231, 243, 0.98), rgba(244, 208, 230, 0.82));
  color: #1f2937;
  border: 1px solid rgba(249, 232, 240, 1);
  transition: transform 450ms ease-out, box-shadow 450ms ease-out, background 450ms ease-out;
}

html.dark .btn-primary {
  background: linear-gradient(180deg, rgba(236, 72, 153, 0.8), rgba(200, 50, 120, 0.7));
  color: #ffffff;
  border: 1px solid rgba(236, 72, 153, 0.6);
}

html.dark .btn-primary:hover {
  background: linear-gradient(180deg, rgba(236, 72, 153, 1), rgba(220, 60, 140, 0.85));
  box-shadow: 0 14px 30px rgba(236, 72, 153, 0.4);
}

.btn-primary:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 14px 30px rgba(236, 72, 153, 0.2);
  background: linear-gradient(180deg, rgba(252, 231, 243, 1), rgba(244, 208, 230, 0.95));
}

.btn-secondary {
  border-radius: 0.75rem;
  padding: 0.68rem 1.12rem;
  border: 1px solid rgba(249, 232, 240, 0.9);
  background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(255, 247, 252, 0.9));
  transition: all 450ms ease-out;
}

html.dark .btn-secondary {
  border: 1px solid rgba(80, 40, 60, 0.6);
  background: linear-gradient(180deg, rgba(40, 40, 40, 0.9), rgba(30, 30, 30, 0.8));
  color: #ffffff;
}

html.dark .btn-secondary:hover {
  border-color: rgba(236, 72, 153, 0.6);
  background: linear-gradient(180deg, rgba(60, 30, 50, 0.9), rgba(40, 20, 35, 0.8));
}

.btn-secondary:hover {
  border-color: rgba(249, 232, 240, 1);
  background: linear-gradient(180deg, rgba(252, 231, 243, 0.7), rgba(248, 231, 240, 0.5));
  transform: translateY(-1px);
}

.mobile-toggle-icon {
  width: 3.1rem;
  height: 3.1rem;
  min-width: 3.1rem;
  min-height: 3.1rem;
  padding: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  line-height: 1;
}

.ios-hamburger-btn {
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(244, 246, 252, 0.84));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.65);
  transition: transform 200ms ease, box-shadow 240ms ease, border-color 220ms ease, background 240ms ease;
}

html.dark .ios-hamburger-btn {
  border: 1px solid rgba(148, 163, 184, 0.32);
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.92), rgba(17, 24, 39, 0.9));
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.mobile-toggle-lines {
  position: relative;
  width: 20px;
  height: 14px;
  display: inline-block;
}

.mobile-toggle-lines span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.8px;
  border-radius: 999px;
  background: #334155;
  transform-origin: center;
  transition: transform 240ms ease, opacity 220ms ease, background-color 200ms ease;
}

.mobile-toggle-lines span:nth-child(1) { top: 0; }
.mobile-toggle-lines span:nth-child(2) { top: 6px; }
.mobile-toggle-lines span:nth-child(3) { top: 12px; }

html.dark .mobile-toggle-lines span {
  background: #e2e8f0;
}

#mobileToggle.is-open .mobile-toggle-lines span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

#mobileToggle.is-open .mobile-toggle-lines span:nth-child(2) {
  opacity: 0;
}

#mobileToggle.is-open .mobile-toggle-lines span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-toggle-icon:hover {
  transform: translateY(-1px);
}

.mobile-toggle-icon:active {
  transform: scale(0.96);
}

.theme-toggle-btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.ios-theme-toggle {
  width: 54px !important;
  height: 32px !important;
  min-width: 54px;
  min-height: 32px;
  padding: 0 !important;
  border-radius: 999px !important;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(244, 246, 252, 0.85));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 8px 20px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 220ms ease, box-shadow 260ms ease, border-color 220ms ease, background 260ms ease;
}

.ios-theme-toggle:hover {
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 12px 24px rgba(15, 23, 42, 0.1);
}

html.dark .ios-theme-toggle {
  border: 1px solid rgba(148, 163, 184, 0.38);
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.94), rgba(17, 24, 39, 0.9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 10px 24px rgba(0, 0, 0, 0.36);
}

.premium-theme-toggle {
  border-color: rgba(217, 70, 239, 0.28);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.96), rgba(244, 246, 255, 0.88)),
    radial-gradient(circle at 20% 10%, rgba(236, 72, 153, 0.15), transparent 54%);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.premium-theme-toggle:hover {
  border-color: rgba(236, 72, 153, 0.45);
  box-shadow: 0 14px 30px rgba(236, 72, 153, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

html.dark .premium-theme-toggle {
  border-color: rgba(236, 72, 153, 0.42);
  background:
    linear-gradient(160deg, rgba(22, 28, 45, 0.92), rgba(15, 23, 42, 0.85)),
    radial-gradient(circle at 70% 20%, rgba(192, 132, 252, 0.2), transparent 58%);
  box-shadow: 0 14px 28px rgba(2, 6, 23, 0.55), inset 0 1px 0 rgba(148, 163, 184, 0.2);
}

.nav-auth-btn.is-logout {
  background: linear-gradient(180deg, rgba(254, 226, 226, 0.98), rgba(252, 165, 165, 0.92));
  border-color: rgba(220, 38, 38, 0.45);
  color: #991b1b !important;
  box-shadow: 0 10px 22px rgba(220, 38, 38, 0.16);
}

.nav-auth-btn.is-logout:hover {
  background: linear-gradient(180deg, rgba(252, 165, 165, 1), rgba(248, 113, 113, 0.95));
  color: #7f1d1d !important;
  border-color: rgba(220, 38, 38, 0.6);
  box-shadow: 0 14px 30px rgba(220, 38, 38, 0.24);
}

html.dark .nav-auth-btn.is-logout {
  background: linear-gradient(180deg, rgba(185, 28, 28, 0.95), rgba(127, 29, 29, 0.9));
  border-color: rgba(248, 113, 113, 0.55);
  color: #fee2e2 !important;
  box-shadow: 0 12px 24px rgba(127, 29, 29, 0.45);
}

html.dark .nav-auth-btn.is-logout:hover {
  background: linear-gradient(180deg, rgba(220, 38, 38, 0.95), rgba(153, 27, 27, 0.9));
}

.theme-toggle-btn::after {
  content: "";
  position: absolute;
  inset: -40%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.2) 0%, rgba(236, 72, 153, 0) 70%);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 280ms ease, transform 320ms ease;
  pointer-events: none;
  z-index: -1;
}

.theme-toggle-btn.is-switching::after {
  opacity: 1;
  transform: scale(1);
}

#themeToggle svg,
#themeToggleMobile svg {
  transition: transform 220ms ease, opacity 200ms ease;
  stroke-width: 2.1;
}

.icon-pop {
  animation: themeIconPop 260ms ease;
}

@keyframes themeIconPop {
  0% { transform: scale(0.88) rotate(-8deg); opacity: 0.7; }
  70% { transform: scale(1.08) rotate(4deg); opacity: 1; }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

html.theme-transitioning,
html.theme-transitioning * {
  transition: background-color 380ms ease, color 260ms ease, border-color 280ms ease, box-shadow 320ms ease !important;
}

@media (max-width: 767px) {
  .ios-theme-toggle {
    margin-bottom: 0.2rem;
  }
}

#themeScreenTransition {
  position: fixed;
  inset: 0;
  z-index: 999999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

#themeScreenTransition.to-dark {
  background: radial-gradient(circle at 50% 45%, rgba(15, 23, 42, 0.08) 0%, rgba(2, 6, 23, 0.36) 48%, rgba(2, 6, 23, 0.56) 100%);
}

#themeScreenTransition.to-light {
  background: radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.16) 0%, rgba(241, 245, 249, 0.42) 48%, rgba(226, 232, 240, 0.62) 100%);
}

#themeScreenTransition.is-active {
  opacity: 1;
}

.hero-soft {
  position: relative;
  overflow: hidden;
}

.hero-soft::before,
.hero-soft::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  filter: blur(46px);
  opacity: 0.42;

/* Berina Signature Page */
.berina-hero {
  position: relative;
  background: radial-gradient(circle at 20% 20%, rgba(252, 231, 243, 0.55), rgba(255, 255, 255, 0.9) 45%),
    radial-gradient(circle at 80% 0%, rgba(248, 231, 240, 0.6), rgba(255, 255, 255, 0.9) 40%);
  color: #ffffff;
}

html.dark .berina-hero {
  background: radial-gradient(circle at 20% 20%, rgba(30, 15, 25, 0.6), rgba(0, 0, 0, 0.95) 45%),
    radial-gradient(circle at 80% 0%, rgba(25, 12, 20, 0.6), rgba(0, 0, 0, 0.95) 40%);
  color: #ffffff;
}

.berina-hero h1,
.berina-hero h2,
.berina-hero h3,
.berina-hero p {
  color: #ffffff;
}

html.dark .berina-hero h1,
html.dark .berina-hero h2,
html.dark .berina-hero h3,
html.dark .berina-hero p {
  color: #ffffff;
}

.berina-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0));
  pointer-events: none;
}

html.dark .berina-hero::after {
  background: linear-gradient(120deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0));
}

.berina-eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: #9ca3af;
}

html.dark .berina-eyebrow {
  color: #cccccc;
}

.berina-hero-visual {
  position: relative;
  display: grid;
  gap: 1rem;
  justify-items: center;
}

.berina-orbit {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
}

.orbit-ring {
  position: absolute;
  border-radius: 999px;
  border: 1px dashed rgba(236, 72, 153, 0.25);
  animation: orbitSpin 24s linear infinite;
}

.orbit-ring-1 {
  width: 100%;
  height: 100%;
}

.orbit-ring-2 {
  width: 72%;
  height: 72%;
  animation-duration: 18s;
  animation-direction: reverse;
}

.berina-hero-image {
  width: 70%;
  height: 70%;
  border-radius: 1.5rem;
  background: linear-gradient(160deg, rgba(255, 255, 255, 1), rgba(252, 231, 243, 0.7));
  border: 1px solid rgba(249, 232, 240, 0.9);
  box-shadow: 0 20px 40px rgba(236, 72, 153, 0.12);
}

html.dark .berina-hero-image {
  background: linear-gradient(160deg, rgba(30, 30, 30, 0.9), rgba(20, 15, 25, 0.8));
  border: 1px solid rgba(80, 40, 60, 0.5);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  color: #cccccc;
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #9ca3af;
  padding: 1.5rem;
  animation: pulseFloat 6s ease-in-out infinite;
}

.berina-hero-caption {
  text-align: center;
  color: #ffffff;
  font-size: 0.95rem;
}

html.dark .berina-hero-caption {
  color: #ffffff;
}

.berina-hero-caption span {
  display: block;
  font-size: 0.85rem;
  margin-top: 0.25rem;
  color: #9ca3af;
}

html.dark .berina-hero-caption span {
  color: #999999;
}

@keyframes orbitSpin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes pulseFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.berina-timeline {
  position: relative;
  display: grid;
  gap: 2.5rem;
  padding-left: 1.5rem;
}

.berina-timeline::before {
  content: "";
  position: absolute;
  left: 0.4rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, rgba(236, 72, 153, 0.3), rgba(236, 72, 153, 0));
}

.berina-timeline-item {
  position: relative;
  padding-left: 1.5rem;
  display: grid;
  gap: 0.25rem;
}

.timeline-dot {
  position: absolute;
  left: -0.25rem;
  top: 0.4rem;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 999px;
  background: #ec4899;
  box-shadow: 0 0 0 6px rgba(236, 72, 153, 0.12);
}

.value-card {
  border-radius: 1rem;
  border: 1px solid rgba(249, 232, 240, 0.9);
  background: rgba(255, 255, 255, 0.92);
  padding: 1rem 1.25rem;
  box-shadow: 0 10px 24px rgba(236, 72, 153, 0.08);
}

html.dark .value-card {
  border: 1px solid rgba(80, 40, 60, 0.5);
  background: rgba(25, 25, 25, 0.85);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

.value-card h3 {
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.35rem;
}

html.dark .value-card h3 {
  color: #ffffff;
}

.value-card p {
  color: #6b7280;
  font-size: 0.95rem;
}

html.dark .value-card p {
  color: #bbbbbb;
}

.stat-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(249, 232, 240, 0.9);
  background: rgba(255, 255, 255, 0.95);
  color: #6b7280;
  font-size: 0.85rem;
}

html.dark .stat-chip {
  border: 1px solid rgba(80, 40, 60, 0.5);
  background: rgba(30, 30, 30, 0.8);
  color: #999999;
}

.berina-image-block {
  border-radius: 1.25rem;
  border: 1px dashed rgba(249, 232, 240, 1);
  background: linear-gradient(180deg, #ffffff 0%, rgba(255, 246, 251, 0.8) 100%);
  min-height: 180px;
  display: grid;
  place-items: center;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.75rem;
  color: #9ca3af;
  padding: 1.5rem;
}

html.dark .berina-image-block {
  border: 1px dashed rgba(80, 40, 60, 0.5);
  background: linear-gradient(180deg, rgba(20, 20, 20, 0.9) 0%, rgba(15, 15, 15, 0.8) 100%);
  color: #aaaaaa;
}

@media (max-width: 768px) {
  .berina-hero::after {
    display: none;
  }

  .berina-orbit {
    width: min(100%, 320px);
  }
}
  pointer-events: none;
}

.hero-soft::before {
  top: -120px;
  left: -80px;
  background: rgba(248, 231, 240, 0.62);
  animation: floaty 8s ease-in-out infinite;
}

html.dark .hero-soft::before {
  background: rgba(30, 15, 25, 0.3);
}

.hero-soft::after {
  bottom: -140px;
  right: -90px;
  background: rgba(252, 231, 243, 0.58);
  animation: floaty 10s ease-in-out infinite reverse;
}

html.dark .hero-soft::after {
  background: rgba(25, 12, 20, 0.3);
}

.hero-gallery-wrap {
  background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(255, 246, 251, 0.95));
}

html.dark .hero-gallery-wrap {
  background: linear-gradient(180deg, rgba(15, 15, 15, 0.95), rgba(10, 10, 10, 0.9));
}

.hero-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  min-height: 420px;
}

.hero-tile {
  border: 1px dashed rgba(249, 232, 240, 0.95);
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 245, 251, 0.86));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.75rem;
  min-height: 120px;
  color: #6b7280;
  font-size: 0.75rem;
  box-shadow: 0 12px 26px rgba(236, 72, 153, 0.1);
}

html.dark .hero-tile {
  border: 1px dashed rgba(80, 40, 60, 0.5);
  background: linear-gradient(180deg, rgba(25, 25, 25, 0.92), rgba(15, 15, 15, 0.8));
  color: #aaaaaa;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.3);
  transition: transform 500ms ease-out, box-shadow 500ms ease-out, border-color 500ms ease-out;
}

.hero-tile:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 20px 36px rgba(236, 72, 153, 0.16);
  border-color: rgba(249, 232, 240, 1);
}

#mobileMenu {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 246, 251, 0.96)) !important;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: max-height 320ms cubic-bezier(0.16, 1, 0.3, 1),
              opacity 260ms ease,
              transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

html.dark #mobileMenu {
  background: linear-gradient(180deg, rgba(20, 20, 20, 0.95), rgba(10, 10, 10, 0.9)) !important;
}

#mobileMenu.mobile-menu-open {
  max-height: min(78vh, 700px);
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

#mobileMenu > .container-max {
  max-height: inherit;
  overflow-y: auto;
}

.hero-tile-lg {
  grid-column: span 2;
  min-height: 210px;
}

.hero-tile-wide {
  grid-column: span 2;
}

.float-a { animation: driftUp 5.2s ease-in-out infinite; }
.float-b { animation: driftUp 5.7s ease-in-out infinite 0.25s; }
.float-c { animation: driftUp 5.4s ease-in-out infinite 0.4s; }
.float-d { animation: driftUp 5.9s ease-in-out infinite 0.55s; }
.float-e { animation: driftUp 5.1s ease-in-out infinite 0.3s; }
.float-f { animation: driftUp 6.1s ease-in-out infinite 0.65s; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes driftUp {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

@media (max-width: 767px) {
  .hero-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: auto;
  }

  .hero-tile-lg,
  .hero-tile-wide {
    grid-column: span 2;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(42px);
  transition: opacity 560ms ease-out, transform 560ms ease-out;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ── Advanced Scroll Animations ── */

/* Fade Up (default) */
.scroll-fade-up {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.scroll-fade-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Fade Down */
.scroll-fade-down {
  opacity: 0;
  transform: translateY(-50px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.scroll-fade-down.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Slide In Left */
.scroll-slide-left {
  opacity: 0;
  transform: translateX(-80px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.scroll-slide-left.in-view {
  opacity: 1;
  transform: translateX(0);
}

/* Slide In Right */
.scroll-slide-right {
  opacity: 0;
  transform: translateX(80px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.scroll-slide-right.in-view {
  opacity: 1;
  transform: translateX(0);
}

/* Scale Up */
.scroll-scale-up {
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.scroll-scale-up.in-view {
  opacity: 1;
  transform: scale(1);
}

/* Zoom Rotate */
.scroll-zoom-rotate {
  opacity: 0;
  transform: scale(0.9) rotate(-2deg);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.scroll-zoom-rotate.in-view {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

/* Blur In */
.scroll-blur-in {
  opacity: 0;
  filter: blur(12px);
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.scroll-blur-in.in-view {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

/* Flip In X */
.scroll-flip-x {
  opacity: 0;
  transform: perspective(800px) rotateX(20deg);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.scroll-flip-x.in-view {
  opacity: 1;
  transform: perspective(800px) rotateX(0deg);
}

/* Bounce In */
.scroll-bounce-in {
  opacity: 0;
  transform: translateY(60px) scale(0.92);
  transition: opacity 0.5s ease-out, transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.scroll-bounce-in.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Stagger delays for children */
.scroll-stagger > *:nth-child(1) { transition-delay: 0ms; }
.scroll-stagger > *:nth-child(2) { transition-delay: 80ms; }
.scroll-stagger > *:nth-child(3) { transition-delay: 160ms; }
.scroll-stagger > *:nth-child(4) { transition-delay: 240ms; }
.scroll-stagger > *:nth-child(5) { transition-delay: 320ms; }
.scroll-stagger > *:nth-child(6) { transition-delay: 400ms; }
.scroll-stagger > *:nth-child(7) { transition-delay: 480ms; }
.scroll-stagger > *:nth-child(8) { transition-delay: 560ms; }
.scroll-stagger > *:nth-child(9) { transition-delay: 640ms; }
.scroll-stagger > *:nth-child(10) { transition-delay: 720ms; }
.scroll-stagger > *:nth-child(11) { transition-delay: 800ms; }
.scroll-stagger > *:nth-child(12) { transition-delay: 880ms; }

/* Speed variants */
.scroll-fast { transition-duration: 0.4s !important; }
.scroll-slow { transition-duration: 1.2s !important; }

/* Extra delay utilities */
.scroll-delay-100 { transition-delay: 100ms !important; }
.scroll-delay-200 { transition-delay: 200ms !important; }
.scroll-delay-300 { transition-delay: 300ms !important; }
.scroll-delay-400 { transition-delay: 400ms !important; }
.scroll-delay-500 { transition-delay: 500ms !important; }

/* Parallax-like depth effect on float */
.scroll-float {
  transition: transform 0.3s ease-out;
}
.scroll-float:hover {
  transform: translateY(-6px);
}

/* Glow entrance */
.scroll-glow {
  opacity: 0;
  transform: translateY(40px);
  box-shadow: none;
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.scroll-glow.in-view {
  opacity: 1;
  transform: translateY(0);
  box-shadow: none;
}
html.dark .scroll-glow.in-view {
  box-shadow: none;
}

/* Navbar scroll-shrink */
.nav-glass {
  transition: backdrop-filter 0.3s, box-shadow 0.3s, padding 0.3s;
}
.nav-glass.nav-scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
html.dark .nav-glass.nav-scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Smooth scroll progress bar */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #ec4899, #f9a8d4);
  z-index: 9999;
  transition: width 0.1s linear;
  border-radius: 0 2px 2px 0;
}
html.dark #scroll-progress {
  background: linear-gradient(90deg, #f472b6, #fbcfe8);
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .scroll-fade-up, .scroll-fade-down,
  .scroll-slide-left, .scroll-slide-right,
  .scroll-scale-up, .scroll-zoom-rotate,
  .scroll-blur-in, .scroll-flip-x,
  .scroll-bounce-in, .scroll-glow {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}

.cookie-banner {
  width: min(94vw, 980px);
  border-color: rgba(249, 232, 240, 1) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(255, 246, 251, 0.96)) !important;
  box-shadow: 0 18px 36px rgba(236, 72, 153, 0.13) !important;
}

html.dark .cookie-banner {
  border-color: rgba(80, 40, 60, 0.6) !important;
  background: linear-gradient(180deg, rgba(25, 25, 25, 0.95), rgba(15, 15, 15, 0.9)) !important;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.4) !important;
}

/* Dark mode handled via html.dark class - media query removed */

/* Rotating Brands Animation */
@keyframes rotateLogos {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.rotating-brands-container {
  position: relative;
  width: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(248, 231, 240, 0.12) 50%, rgba(255, 255, 255, 0) 100%);
  border-radius: 2rem;
  padding: 2.5rem 0 3rem;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
}

html.dark .rotating-brands-container {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(60, 30, 50, 0.15) 50%, rgba(0, 0, 0, 0) 100%);
}

.rotating-brands-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem 1.5rem;
  gap: 1rem;
}

.rotating-brands-title {
  font-size: 0.85rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #6b7280;
  margin: 0;
}

html.dark .rotating-brands-title {
  color: #999999;
}

.brand-marquee-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(249, 232, 240, 0.8);
  background: rgba(255, 255, 255, 0.92);
  color: #6b7280;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 6px 16px rgba(236, 72, 153, 0.08);
}

html.dark .brand-marquee-hint {
  border: 1px solid rgba(80, 40, 60, 0.5);
  background: rgba(30, 30, 30, 0.8);
  color: #999999;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #ec4899;
  box-shadow: 0 0 0 0 rgba(236, 72, 153, 0.6);
  animation: pulseGlow 2.2s ease-out infinite;
}

@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(236, 72, 153, 0.5);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(236, 72, 153, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(236, 72, 153, 0);
  }
}

.rotating-brands {
  display: flex;
  gap: 2.5rem;
  animation: rotateLogos 26s linear infinite;
  width: max-content;
  will-change: transform;
}

@media (hover: hover) {
  .rotating-brands-container:hover .rotating-brands {
    animation-play-state: paused;
  }
}

.brand-logo-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  height: 100px;
  padding: 1rem;
  background: white;
  border: 1px solid rgba(249, 232, 240, 0.5);
  border-radius: 1rem;
  box-shadow: 0 2px 12px rgba(236, 72, 153, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  cursor: pointer;
}

html.dark .brand-logo-item {
  background: rgba(25, 25, 25, 0.8);
  border: 1px solid rgba(80, 40, 60, 0.5);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.brand-logo-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.brand-logo-item-hft img {
  max-width: 52%;
  max-height: 52%;
}

.brand-logo-item.brand-logo-item-hft {
  min-width: 96px;
}

.brand-logo-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(236, 72, 153, 0.12);
}

.brand-logo-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .rotating-brands {
    animation: none;
  }
}

@media (max-width: 768px) {
  .rotating-brands-toolbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 0 1.25rem 1.25rem;
  }

  .rotating-brands {
    gap: 1.5rem;
  }

  .brand-logo-item {
    min-width: 100px;
    height: 80px;
  }

  .brand-marquee-hint {
    font-size: 0.72rem;
  }
}

/* ================================================
   DARK MODE — GLOBAL TAILWIND UTILITY OVERRIDES
   Forces all hardcoded Tailwind gray/white classes
   to adapt when html.dark is active.
   ================================================ */

/* --- Text color overrides --- */
html.dark .text-gray-900,
html.dark .text-gray-800,
html.dark .text-gray-700,
html.dark .text-gray-600,
html.dark .text-gray-500,
html.dark .text-gray-400,
html.dark .text-gray-300,
html.dark .text-gray-200 {
  color: #ffffff !important;
}

html.dark .text-black {
  color: #ffffff !important;
}

/* Keep accent colors intact — only soften slightly */
html.dark .text-pink-500,
html.dark .text-pink-600,
html.dark .text-pink-700 {
  color: #f472b6 !important;
}

html.dark .text-blush,
html.dark .text-blush2,
html.dark .text-blush3 {
  color: #f9a8d4 !important;
}

/* --- Background overrides --- */
html.dark .bg-white {
  background-color: #0a0a0a !important;
}

html.dark .bg-gray-50 {
  background-color: #111111 !important;
}

html.dark .bg-gray-100 {
  background-color: #1a1a1a !important;
}

html.dark .bg-gray-200 {
  background-color: #222222 !important;
}

/* --- Green utility overrides (status badges, trends) --- */
html.dark .bg-green-100 {
  background-color: rgba(22, 163, 74, 0.15) !important;
}
html.dark .text-green-800 {
  color: #4ade80 !important;
}
html.dark .text-green-600 {
  color: #4ade80 !important;
}
html.dark .text-blue-600 {
  color: #60a5fa !important;
}

/* --- Blush background override --- */
html.dark .bg-blush,
html.dark .bg-blush2,
html.dark .bg-blush3 {
  background-color: rgba(236, 72, 153, 0.15) !important;
}

/* --- Semi-transparent white backgrounds --- */
html.dark [class*="bg-white\/"] {
  background-color: rgba(255, 255, 255, 0.07) !important;
}

/* --- Pink bg overrides for cards/accents --- */
html.dark .bg-pink-50 {
  background-color: rgba(236, 72, 153, 0.1) !important;
}
html.dark .border-pink-300 {
  border-color: rgba(236, 72, 153, 0.4) !important;
}

/* --- Border overrides --- */
html.dark .border-gray-100,
html.dark .border-gray-200,
html.dark .border-gray-300 {
  border-color: rgba(255,255,255,0.12) !important;
}

/* --- Catch-all: bare semantic tags without utility classes --- */
html.dark body,
html.dark main,
html.dark section,
html.dark article,
html.dark aside,
html.dark div {
  color: inherit;
}

html.dark h1,
html.dark h2,
html.dark h3,
html.dark h4,
html.dark h5,
html.dark h6 {
  color: #ffffff;
}

html.dark p,
html.dark li,
html.dark td,
html.dark th,
html.dark label,
html.dark span {
  color: inherit;
}

html.dark a:not(.btn-primary):not(.btn-secondary):not(.hero-btn-secondary):not(.hero-btn-primary):not(.footer-link):not(.footer-social-link) {
  color: #ffffff;
}

/* Learn More / hero-btn-secondary: keep dark text on white background in dark mode */
html.dark a.hero-btn-secondary {
  background: #ffffff !important;
  color: #333333 !important;
  border-color: rgba(0,0,0,0.15) !important;
}

/* Nav text helper class (used in script.js) */
html.dark .nav-text {
  color: #ffffff !important;
}

/* ═══════════════════════════════════
   MOB Nav Logo & Intro Glow Animation
   ═══════════════════════════════════ */
.mob-nav-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  isolation: isolate;
  overflow: visible;
  z-index: 0;
  flex-shrink: 0;
  white-space: nowrap;
  gap: 0.42rem;
  padding: 0.18rem 0.62rem 0.18rem 0.2rem;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid rgba(220, 38, 38, 0.18);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(8px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s ease,
              border-color 0.35s ease;
}
.mob-nav-logo::before {
  content: "";
  position: absolute;
  width: 54px;
  height: 54px;
  left: -8px;
  top: 50%;
  border-radius: 50%;
  padding: 2px;
  background: conic-gradient(from 0deg,
    rgba(220,38,38,0) 0deg,
    rgba(220,38,38,0) 300deg,
    rgba(248,113,113,0.72) 333deg,
    rgba(239,68,68,0.96) 347deg,
    rgba(220,38,38,0) 360deg
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: mobNavLaserSpin 2.6s linear infinite;
  pointer-events: none;
  z-index: 0;
}
.mob-nav-logo::after {
  content: "";
  position: absolute;
  width: 62px;
  height: 62px;
  left: -12px;
  top: 50%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(220, 38, 38, 0.26) 0%, rgba(220, 38, 38, 0.05) 55%, transparent 72%);
  filter: blur(10px);
  opacity: 0.5;
  pointer-events: none;
  z-index: -1;
}
.mob-nav-logo:hover {
  transform: scale(1.12);
  box-shadow: 0 4px 20px rgba(220, 38, 38, 0.25);
  border-color: rgba(220, 38, 38, 0.4);
}
.mob-nav-logo:active {
  transform: scale(0.97);
}
.mob-nav-logo.mob-nav-logo-active,
.mob-nav-logo[aria-current="page"] {
  border-color: rgba(220, 38, 38, 0.62);
  background: rgba(254, 242, 242, 0.94);
  box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.18), 0 10px 30px rgba(220, 38, 38, 0.34);
}
.mob-nav-logo.mob-nav-logo-active::before,
.mob-nav-logo[aria-current="page"]::before {
  animation-duration: 2s;
  background: conic-gradient(from 0deg,
    rgba(220,38,38,0) 0deg,
    rgba(220,38,38,0) 288deg,
    rgba(254,202,202,0.8) 325deg,
    rgba(239,68,68,1) 343deg,
    rgba(220,38,38,0) 360deg
  );
}
.mob-nav-logo-img {
  position: relative;
  z-index: 2;
  width: 38px;
  height: 38px;
  min-width: 38px;
  min-height: 38px;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid rgba(220, 38, 38, 0.2);
  background: #fff;
  transition: border-color 0.3s ease;
}
.mob-nav-logo-text {
  position: relative;
  z-index: 2;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #be123c;
  line-height: 1;
}
.mob-nav-logo:hover .mob-nav-logo-img {
  border-color: rgba(220, 38, 38, 0.6);
}
html.dark .mob-nav-logo-img {
  border-color: rgba(220, 38, 38, 0.3);
  background: #1a1a1a;
}
html.dark .mob-nav-logo {
  background: rgba(17, 17, 17, 0.78);
  border-color: rgba(248, 113, 113, 0.36);
}
html.dark .mob-nav-logo::before {
  background: conic-gradient(from 0deg,
    rgba(248,113,113,0) 0deg,
    rgba(248,113,113,0) 304deg,
    rgba(254,202,202,0.74) 333deg,
    rgba(248,113,113,0.98) 348deg,
    rgba(248,113,113,0) 360deg
  );
}
html.dark .mob-nav-logo::after {
  background: radial-gradient(circle, rgba(248, 113, 113, 0.32) 0%, rgba(248, 113, 113, 0.09) 55%, transparent 72%);
}
html.dark .mob-nav-logo.mob-nav-logo-active,
html.dark .mob-nav-logo[aria-current="page"] {
  background: rgba(32, 10, 14, 0.92);
  border-color: rgba(248, 113, 113, 0.72);
  box-shadow: 0 0 0 2px rgba(248, 113, 113, 0.2), 0 14px 32px rgba(185, 28, 28, 0.42);
}
html.dark .mob-nav-logo-text {
  color: #fda4af;
}

@keyframes mobNavLaserSpin {
  from { transform: translateY(-50%) rotate(0deg); }
  to { transform: translateY(-50%) rotate(360deg); }
}

@media (max-width: 1024px) {
  .mob-nav-logo {
    padding: 0.12rem;
    gap: 0;
  }

  .mob-nav-logo::before {
    width: 48px;
    height: 48px;
    left: -7px;
    top: 50%;
    padding: 1.8px;
  }

  .mob-nav-logo::after {
    width: 56px;
    height: 56px;
    left: -11px;
    top: 50%;
  }

  .mob-nav-logo-text {
    display: none;
  }

  .mob-nav-logo:hover {
    transform: none;
  }

  .mob-nav-logo-img {
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mob-nav-logo::before {
    animation: none;
  }

  .mob-nav-logo,
  .mob-nav-logo:hover,
  .mob-nav-logo:active {
    transform: none;
  }
}

.logo-emitting-pink,
.logo-emitting-red {
  animation: logoEmitPulse 0.9s ease-in-out 0s 2;
}
.logo-emitting-pink {
  box-shadow: 0 0 0 0 rgba(236, 72, 153, 0.5), 0 0 32px rgba(236, 72, 153, 0.42);
}
.logo-emitting-red {
  box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.5), 0 0 32px rgba(220, 38, 38, 0.42);
}
@keyframes logoEmitPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

/* Intro Glow Overlay */
#introGlowOverlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  pointer-events: none;
  overflow: hidden;
}
#introGlowOverlay .glow-orb {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  filter: blur(74px);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.55);
  mix-blend-mode: screen;
  will-change: left, top, transform, opacity;
  transition: left 1.35s cubic-bezier(0.16, 1, 0.3, 1),
              top 1.35s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1.35s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 1.35s ease;
}
#introGlowOverlay .glow-beam {
  position: absolute;
  height: 7px;
  border-radius: 999px;
  transform-origin: left center;
  filter: blur(1.2px);
  opacity: 0;
  will-change: transform, opacity, width;
  transition: transform 0.68s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.56s ease;
}
#introGlowOverlay .glow-beam-berina {
  box-shadow: 0 0 24px rgba(236, 72, 153, 0.62);
}
#introGlowOverlay .glow-beam-mob {
  box-shadow: 0 0 24px rgba(220, 38, 38, 0.62);
}
html.dark #introGlowOverlay .glow-burst {
  mix-blend-mode: normal;
}

/* Mobile menu panel */
html.dark #mobileMenu {
  background-color: #0a0a0a !important;
  border-color: rgba(255,255,255,0.1) !important;
}

/* Cookie banner dark bg */
html.dark #cookieBanner {
  background-color: #111111 !important;
  border-color: rgba(255,255,255,0.1) !important;
}

/* ================================================
   FAQ ACCORDION (GEO section)
   Uses native <details>/<summary> — no JS needed
   ================================================ */
.faq-section {
  text-align: center;
}
.faq-section > div {
  text-align: left;
}
.faq-section details summary {
  user-select: none;
}
.faq-section details summary span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: rgba(236,72,153,0.1);
  color: #ec4899;
  font-weight: 700;
  font-size: 1rem;
  transition: transform 0.25s ease, background 0.2s;
  flex-shrink: 0;
}
.faq-section details[open] summary span {
  transform: rotate(45deg);
  background: rgba(236,72,153,0.18);
}
.faq-section details > p {
  animation: faqSlideDown 0.25s ease;
}
@keyframes faqSlideDown {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Dark mode FAQ icon */
html.dark .faq-section details summary span {
  background: rgba(255,255,255,0.1);
  color: #ffffff;
}
html.dark .faq-section details[open] summary span {
  background: rgba(255,255,255,0.18);
}

/* Dark mode FAQ text — questions must be clearly visible */
html.dark .faq-section details summary {
  color: #ffffff !important;
}
html.dark .faq-section details p {
  color: rgba(255, 255, 255, 0.75) !important;
}

/* FAQ item hover & open animations */
.faq-section details {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.faq-section details:hover {
  transform: translateY(-2px);
}
.faq-section details[open] {
  border-color: rgba(236, 72, 153, 0.3);
}
html.dark .faq-section details[open] {
  border-color: rgba(236, 72, 153, 0.4);
}

/* FAQ stagger animation for children */
.faq-section details:nth-child(1) { transition-delay: 0s; }
.faq-section details:nth-child(2) { transition-delay: 0.05s; }
.faq-section details:nth-child(3) { transition-delay: 0.1s; }
.faq-section details:nth-child(4) { transition-delay: 0.15s; }
.faq-section details:nth-child(5) { transition-delay: 0.2s; }

/* ================================================
   GLOBAL MOBILE COMPATIBILITY LAYER
   Applies to all pages using tailwind.css
   ================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

img,
video,
canvas,
iframe {
  max-width: 100%;
  height: auto;
}

svg {
  max-width: 100%;
}

input,
textarea,
select,
button {
  max-width: 100%;
}

pre,
code {
  max-width: 100%;
  overflow-wrap: anywhere;
}

pre {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 768px) {
  .container-max {
    padding-left: 0.9rem;
    padding-right: 0.9rem;
  }

  .plans-dropdown-menu {
    left: auto;
    right: 0;
    min-width: min(92vw, 260px);
    max-height: 72vh;
    overflow-y: auto;
  }

  .cookie-banner {
    width: min(96vw, 980px);
  }

  .brand-text {
    font-size: 1rem;
  }

  .mob-nav-logo {
    max-width: 100%;
  }

  .mob-nav-logo-text {
    font-size: 0.72rem;
    letter-spacing: 0.06em;
  }
}
