/* Ani Studio - Luxury Visual Media & Precision Laser Crafting Studio */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&family=Space+Grotesk:wght@500;600;700&display=swap');

/* =========================================================
   CSS THEME VARIABLES
   ========================================================= */
:root, html.dark {
  --bg-primary:      #07090e;
  --bg-card:         rgba(15, 23, 42, 0.85);
  --bg-card-subtle:  rgba(15, 23, 42, 0.5);
  --border-color:    rgba(255, 255, 255, 0.09);
  --border-hover-c:  rgba(6, 182, 212, 0.4);
  --border-hover-l:  rgba(245, 158, 11, 0.5);
  --text-primary:    #f8fafc;
  --text-secondary:  #cbd5e1;
  --text-muted:      #94a3b8;
  --nav-bg:          rgba(10, 14, 26, 0.65);
  --nav-border:      rgba(255, 255, 255, 0.16);
  --input-bg:        rgba(15, 23, 42, 0.9);
  --input-border:    rgba(255, 255, 255, 0.15);
  --shadow-el:       0 10px 30px -10px rgba(0,0,0,0.6);
  --section-alt:     rgba(15, 23, 42, 0.35);
}

html.light {
  --bg-primary:      #f0f4f8;
  --bg-card:         rgba(255, 255, 255, 0.98);
  --bg-card-subtle:  rgba(241, 245, 249, 0.92);
  --border-color:    rgba(203, 213, 225, 0.9);
  --border-hover-c:  rgba(2, 132, 199, 0.45);
  --border-hover-l:  rgba(217, 119, 6, 0.55);
  --text-primary:    #0f172a;
  --text-secondary:  #1e293b;
  --text-muted:      #475569;
  --nav-bg:          rgba(255, 255, 255, 0.72);
  --nav-border:      rgba(255, 255, 255, 0.88);
  --input-bg:        #ffffff;
  --input-border:    #94a3b8;
  --shadow-el:       0 4px 20px -4px rgba(0,0,0,0.10), 0 2px 8px -2px rgba(0,0,0,0.06);
  --section-alt:     rgba(226, 232, 240, 0.55);
}

/* =========================================================
   BASE RESET
   ========================================================= */
* { box-sizing: border-box; margin: 0; padding: 0; scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.65;
}

/* ---- Dark body ---- */
html.dark body {
  background-color: #07090e !important;
  color: #f8fafc;
  background-image:
    radial-gradient(circle at 50% 12%, rgba(6,182,212,.14) 0%, transparent 55%),
    radial-gradient(circle at 85% 55%, rgba(245,158,11,.09) 0%, transparent 45%),
    radial-gradient(circle at 15% 75%, rgba(14,165,233,.09) 0%, transparent 50%),
    linear-gradient(to right,  rgba(255,255,255,.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 40px 40px, 40px 40px;
}

/* ---- Light body ---- */
html.light body {
  background-color: #f0f4f8 !important;
  color: #0f172a;
  background-image:
    radial-gradient(circle at 50% 12%, rgba(2,132,199,.08) 0%, transparent 55%),
    radial-gradient(circle at 85% 55%, rgba(217,119, 6,.06) 0%, transparent 45%),
    radial-gradient(circle at 15% 75%, rgba(6,182,212,.06) 0%, transparent 50%),
    linear-gradient(to right,  rgba(0,0,0,.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,0,0,.03) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 40px 40px, 40px 40px;
}

/* =========================================================
   TYPOGRAPHY
   ========================================================= */
h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: 'Outfit', -apple-system, sans-serif;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.font-tech {
  font-family: 'Space Grotesk', monospace;
  letter-spacing: -0.015em;
}

/* Headings inherit body color â€” explicitly lock in light mode */
html.light h1,
html.light h2,
html.light h3,
html.light h4,
html.light h5,
html.light h6 {
  color: #0a0e1a;
}

strong, b { font-weight: 700; }

/* =========================================================
   APPLE LIQUID GLASS NAVBAR
   ========================================================= */
.glass-nav {
  position: relative;
  background: var(--nav-bg) !important;
  backdrop-filter: blur(28px) saturate(190%) contrast(105%);
  -webkit-backdrop-filter: blur(28px) saturate(190%) contrast(105%);
  border: 1px solid var(--nav-border) !important;
  box-shadow: 
    inset 0 1.5px 1.5px 0 rgba(255, 255, 255, 0.28),
    inset 0 -1px 1px 0 rgba(0, 0, 0, 0.25),
    0 20px 45px -12px rgba(0, 0, 0, 0.5),
    0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }

/* Liquid Prismatic Specular Sheen (Subsurface refraction) */
.glass-nav::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    rgba(255, 255, 255, 0.22) 0%,
    rgba(255, 255, 255, 0.04) 30%,
    transparent 50%,
    rgba(6, 182, 212, 0.08) 75%,
    rgba(245, 158, 11, 0.06) 100%
  );
  opacity: 0.9;
  z-index: 1;
  transition: opacity 0.35s ease;
}

/* Dynamic Liquid Light Flow across the glass */
@keyframes liquidGlowFlow {
  0% { transform: translateX(-100%) rotate(20deg); }
  50% { transform: translateX(100%) rotate(20deg); }
  100% { transform: translateX(-100%) rotate(20deg); }
}

.glass-nav::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse at center top, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0.8;
}

/* Light Mode Apple Glass Adjustments */
html.light .glass-nav {
  background: rgba(255, 255, 255, 0.72) !important;
  border: 1px solid rgba(255, 255, 255, 0.88) !important;
  box-shadow: 
    inset 0 1.5px 2px 0 rgba(255, 255, 255, 1),
    inset 0 -1px 1px 0 rgba(0, 0, 0, 0.03),
    0 16px 40px -10px rgba(15, 23, 42, 0.12),
    0 2px 8px rgba(0, 0, 0, 0.04);
}

html.light .glass-nav::before {
  background: linear-gradient(
    115deg,
    rgba(255, 255, 255, 0.85) 0%,
    rgba(255, 255, 255, 0.35) 30%,
    transparent 55%,
    rgba(2, 132, 199, 0.08) 80%,
    rgba(217, 119, 6, 0.05) 100%
  );
  opacity: 0.95;
}

html.light .glass-nav::after {
  background: radial-gradient(ellipse at center top, rgba(255, 255, 255, 0.6) 0%, rgba(2, 132, 199, 0.05) 50%, transparent 100%);
}

/* Apple Pill Navigation Links */
.apple-nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #94a3b8;
  white-space: nowrap;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10;
}

html.dark .apple-nav-link {
  color: #cbd5e1;
}

html.dark .apple-nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.22), 0 4px 12px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transform: translateY(-1px);
}

html.light .apple-nav-link {
  color: #475569;
}

html.light .apple-nav-link:hover {
  color: #0f172a;
  background: rgba(0, 0, 0, 0.05);
  box-shadow: inset 0 1px 1.5px rgba(255, 255, 255, 0.9), 0 2px 8px rgba(0, 0, 0, 0.04);
  transform: translateY(-1px);
}

/* Apple Mega Menu Dropdown */
.apple-mega-menu {
  background: var(--bg-card) !important;
  backdrop-filter: blur(32px) saturate(200%);
  -webkit-backdrop-filter: blur(32px) saturate(200%);
  border: 1px solid var(--border-color) !important;
  box-shadow: 
    0 25px 50px -12px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

html.light .apple-mega-menu {
  background: rgba(255, 255, 255, 0.98) !important;
  border: 1px solid rgba(203, 213, 225, 0.9) !important;
  box-shadow: 
    0 20px 45px -10px rgba(15, 23, 42, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.9) inset;
}

.apple-mega-link-bold {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  transition: all 0.2s ease;
  display: block;
}

html.light .apple-mega-link-bold {
  color: #0f172a;
}

.apple-mega-link-bold:hover {
  transform: translateX(4px);
}

.apple-mega-link-sub {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #94a3b8;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

html.light .apple-mega-link-sub {
  color: #475569;
}

.apple-mega-link-sub:hover {
  color: #06b6d4;
  transform: translateX(3px);
}

/* Apple Sub-Navigation Bar */
.apple-subnav-strip {
  background: rgba(10, 14, 26, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

html.light .apple-subnav-strip {
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

/* Apple Theme Switcher Button */
.apple-theme-btn {
  position: relative;
  z-index: 10;
  background: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.25), 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

html.light .apple-theme-btn {
  background: rgba(255, 255, 255, 0.8) !important;
  border: 1px solid rgba(255, 255, 255, 0.95) !important;
  box-shadow: inset 0 1px 1.5px rgba(255, 255, 255, 1), 0 2px 8px rgba(0, 0, 0, 0.05);
}

.apple-theme-btn:hover {
  transform: translateY(-1px) scale(1.03);
  border-color: rgba(255, 255, 255, 0.3) !important;
}

html.light .apple-theme-btn:hover {
  background: rgba(255, 255, 255, 0.95) !important;
  border-color: rgba(203, 213, 225, 0.9) !important;
}

/* Apple CTA WhatsApp Button */
.apple-cta-btn {
  position: relative;
  z-index: 10;
  overflow: hidden;
  box-shadow: 
    inset 0 1.5px 1.5px 0 rgba(255, 255, 255, 0.45),
    inset 0 -1px 1px 0 rgba(0, 0, 0, 0.2),
    0 8px 20px -4px rgba(16, 185, 129, 0.45);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.apple-cta-btn:hover {
  transform: translateY(-1px) scale(1.03);
  box-shadow: 
    inset 0 1.5px 1.5px 0 rgba(255, 255, 255, 0.6),
    0 12px 24px -4px rgba(16, 185, 129, 0.55);
}

.apple-cta-btn:active {
  transform: scale(0.97);
}

/* Scrolled Header State */
header.is-scrolled {
  padding-top: 0.25rem;
}

header.is-scrolled .glass-nav {
  box-shadow: 
    inset 0 1.5px 1.5px 0 rgba(255, 255, 255, 0.35),
    0 24px 55px -12px rgba(0, 0, 0, 0.7),
    0 0 25px -4px rgba(6, 182, 212, 0.18);
}

html.light header.is-scrolled .glass-nav {
  box-shadow: 
    inset 0 1.5px 2px 0 rgba(255, 255, 255, 1),
    0 20px 45px -10px rgba(15, 23, 42, 0.16),
    0 0 20px -4px rgba(2, 132, 199, 0.1);
}

/* Mobile Apple Glass Drawer */
#mobile-menu.glass-nav {
  border-radius: 1.5rem !important;
  backdrop-filter: blur(32px) saturate(190%) contrast(105%) !important;
  -webkit-backdrop-filter: blur(32px) saturate(190%) contrast(105%) !important;
}

/* =========================================================
   GLASS PANEL â€” ONLY sets background & border, NOT color
   (Let child elements control their own text color via Tailwind)
   ========================================================= */
.glass-panel {
  background: var(--bg-card) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color) !important;
  box-shadow: var(--shadow-el) !important;
}

/* =========================================================
   LIGHT MODE â€” Targeted text fixes
   Only override elements whose Tailwind class resolves
   to an unreadable color in light mode (e.g. slate-400 is
   too light on white, slate-300 is nearly invisible).
   ========================================================= */

/* Body paragraph / generic text â€” inherit body's #0f172a */
html.light body {
  color: #0f172a;
}

/* Tailwind classes that are TOO LIGHT on a white card */
html.light .text-slate-300  { color: #334155 !important; }
html.light .text-slate-400  { color: #475569 !important; }
html.light .text-slate-500  { color: #475569 !important; }

/* Slightly darken slate-600/700 for better punch on white */
html.light .text-slate-600  { color: #334155 !important; }
html.light .text-slate-700  { color: #1e293b !important; }

/* text-white inside cards would be invisible on white bg */
/* Only target white text that is NOT on a dark bg button */
html.light .glass-panel .text-white {
  color: #0f172a !important;
}

/* =========================================================
   LIGHT MODE â€” Form inputs
   ========================================================= */
html.light select,
html.light textarea,
html.light input[type="text"],
html.light input[type="tel"],
html.light input[type="number"],
html.light input[type="email"] {
  color: #0f172a !important;
  background-color: #ffffff !important;
}

html.light select option {
  color: #0f172a !important;
  background: #ffffff !important;
}

html.light label {
  color: #334155 !important;
}

/* =========================================================
   INPUT GLASS
   ========================================================= */
.input-glass {
  background: var(--input-bg) !important;
  border: 1px solid var(--input-border) !important;
  color: var(--text-primary) !important;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

html.dark .input-glass::placeholder  { color: #64748b !important; }
html.light .input-glass::placeholder { color: #94a3b8 !important; }

.input-glass:focus {
  border-color: #06b6d4 !important;
  box-shadow: 0 0 0 3px rgba(6,182,212,.15) !important;
  outline: none;
}

/* =========================================================
   SECTION ALT
   ========================================================= */
.section-alt {
  background-color: var(--section-alt) !important;
}

/* =========================================================
   LIGHT MODE â€” Footer
   ========================================================= */
html.light footer {
  background-color: #e2e8f0 !important;
  color: #334155 !important;
}

html.light footer a {
  color: #475569 !important;
}

html.light footer a:hover {
  color: #0284c7 !important;
}

/* =========================================================
   LIGHT MODE â€” "Book Session" dark button stays readable
   ========================================================= */
html.light a.bg-slate-900,
html.light button.bg-slate-900 {
  background-color: #0f172a !important;
  color: #ffffff !important;
}

/* =========================================================
   LIGHT MODE â€” Filter buttons (portfolio)
   ========================================================= */
html.light .filter-btn {
  background: #ffffff !important;
  color: #334155 !important;
  border: 1px solid #cbd5e1 !important;
}

html.light .filter-btn:hover {
  color: #0f172a !important;
  border-color: #0284c7 !important;
}

/* Active filter btn keeps cyan500 + dark text (Tailwind handles it) */

/* =========================================================
   GRADIENT TEXT
   ========================================================= */
.text-gradient-cyan {
  background: linear-gradient(135deg, #0284c7 0%, #06b6d4 50%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-amber {
  background: linear-gradient(135deg, #b45309 0%, #d97706 50%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-hybrid {
  background: linear-gradient(135deg, #0284c7 0%, #6366f1 40%, #d97706 80%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* =========================================================
   LIGHTBOX â€” always dark interior regardless of page theme
   ========================================================= */
.lightbox-modal {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}

html.light .lightbox-modal {
  background-color: rgba(3,7,18,.95) !important;
}

html.light .lightbox-modal h3,
html.light .lightbox-modal p,
html.light .lightbox-modal span,
html.light .lightbox-modal div {
  color: inherit;
}

/* =========================================================
   LASER SCAN LINE ANIMATION
   ========================================================= */
@keyframes laserSweep {
  0%   { top: 0%;  opacity: .7; }
  50%  { top: 96%; opacity: 1;  }
  100% { top: 0%;  opacity: .7; }
}

.laser-beam {
  position: absolute;
  left: 0; width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, #ef4444, #f59e0b, #ef4444, transparent);
  box-shadow: 0 0 12px #ef4444, 0 0 20px #f59e0b;
  animation: laserSweep 4.5s ease-in-out infinite;
  pointer-events: none;
}

/* =========================================================
   SHIMMER ANIMATION
   ========================================================= */
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position:  200% 0; }
}

.badge-shimmer {
  background: linear-gradient(90deg,
    rgba(245,158,11,.15) 0%,
    rgba(245,158,11,.45) 50%,
    rgba(245,158,11,.15) 100%);
  background-size: 200% 100%;
  animation: shimmer 3s infinite linear;
}

/* =========================================================
   CARD HOVER TRANSITIONS
   ========================================================= */
.card-hover {
  transition: all 0.35s cubic-bezier(.4,0,.2,1);
}
.card-hover:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover-c) !important;
}

.card-laser-hover {
  transition: all 0.35s cubic-bezier(.4,0,.2,1);
}
.card-laser-hover:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover-l) !important;
}

/* =========================================================
   CUSTOM SCROLLBAR
   ========================================================= */
::-webkit-scrollbar { width: 7px; height: 7px; }

html.dark  ::-webkit-scrollbar-track { background: #07090e; }
html.dark  ::-webkit-scrollbar-thumb { background: #1e293b; border-radius: 4px; }
html.dark  ::-webkit-scrollbar-thumb:hover { background: #334155; }

html.light ::-webkit-scrollbar-track { background: #f0f4f8; }
html.light ::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
html.light ::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* =========================================================
   MAGIC UI MARQUEE (PROFESSIONAL SMOOTH FADE)
   ========================================================= */

/* Robust Viewport with Smooth Elegant Edge Fade */
.pixel-marquee-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,1) 20%, rgba(0,0,0,1) 80%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,1) 20%, rgba(0,0,0,1) 80%, transparent 100%);
}

/* Magic UI Marquee Track (Smooth Infinite Scroll with Pause on Hover) */
.magic-marquee-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  will-change: transform;
  animation: magicMarquee 32s linear infinite;
}

.magic-marquee-track:hover,
.pixel-marquee-viewport:hover .magic-marquee-track {
  animation-play-state: paused;
}

@keyframes magicMarquee {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

/* Magic UI Review Card â€” Pixelated Solid Surface (No Muddy Blur) */
.pixel-review-card {
  position: relative;
  width: 320px;
  max-width: 82vw;
  flex-shrink: 0;
  border-radius: 0.875rem;
  padding: 1.15rem;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

/* Dark Mode Card */
html.dark .pixel-review-card {
  background-color: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 16px -2px rgba(0, 0, 0, 0.4);
}

html.dark .pixel-review-card:hover {
  background-color: rgba(30, 41, 59, 0.9);
  border-color: rgba(6, 182, 212, 0.55);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -4px rgba(6, 182, 212, 0.2);
}

/* Light Mode Card */
html.light .pixel-review-card {
  background-color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 23, 42, 0.09);
  box-shadow: 0 2px 10px -2px rgba(0, 0, 0, 0.05);
}

html.light .pixel-review-card:hover {
  background-color: #ffffff;
  border-color: rgba(2, 132, 199, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px -3px rgba(2, 132, 199, 0.15);
}



/* Pixel Category Tag */
.pixel-pill {
  font-family: 'Space Grotesk', monospace;
  font-size: 10px;
  letter-spacing: 0.05em;
  font-weight: 600;
}

html.dark .pixel-pill {
  background: rgba(6, 182, 212, 0.12);
  color: #38bdf8;
  border-color: rgba(6, 182, 212, 0.3);
}

html.light .pixel-pill {
  background: rgba(2, 132, 199, 0.08);
  color: #0284c7;
  border-color: rgba(2, 132, 199, 0.25);
}

/* =========================================================
   SOCIAL MEDIA ICONS (TOOLTIP STYLE)
   ========================================================= */

.social-wrapper {
  display: inline-flex;
  list-style: none;
  font-family: "Poppins", sans-serif;
  justify-content: center;
  gap: 15px;
  padding: 0;
  margin: 0;
}

.social-wrapper .icon {
  position: relative;
  background: var(--bg-card, #fff);
  color: var(--text-primary, #333);
  border-radius: 50%;
  width: 45px;
  height: 45px;
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

html.dark .social-wrapper .icon {
  background: rgba(30, 41, 59, 1);
  color: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.social-wrapper .tooltip {
  position: absolute;
  top: 0;
  font-size: 12px;
  background: #fff;
  color: #fff;
  padding: 5px 8px;
  border-radius: 5px;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  z-index: 50;
  white-space: nowrap;
}

html.dark .social-wrapper .tooltip {
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.5);
}

.social-wrapper .tooltip::before {
  position: absolute;
  content: ";
  height: 8px;
  width: 8px;
  background: #fff;
  bottom: -3px;
  left: 50%;
  transform: translate(-50%) rotate(45deg);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.social-wrapper .icon:hover .tooltip {
  top: -45px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.social-wrapper .icon:hover span,
.social-wrapper .icon:hover .tooltip {
  text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.1);
}

.social-wrapper .facebook:hover,
.social-wrapper .facebook:hover .tooltip,
.social-wrapper .facebook:hover .tooltip::before {
  background: #1877f2;
  color: #fff;
}

.social-wrapper .twitter:hover,
.social-wrapper .twitter:hover .tooltip,
.social-wrapper .twitter:hover .tooltip::before {
  background: #1da1f2;
  color: #fff;
}

.social-wrapper .instagram:hover,
.social-wrapper .instagram:hover .tooltip,
.social-wrapper .instagram:hover .tooltip::before {
  background: #e4405f;
  color: #fff;
}

.social-wrapper .youtube:hover,
.social-wrapper .youtube:hover .tooltip,
.social-wrapper .youtube:hover .tooltip::before {
  background: #ff0000;
  color: #fff;
}

.social-wrapper .whatsapp:hover,
.social-wrapper .whatsapp:hover .tooltip,
.social-wrapper .whatsapp:hover .tooltip::before {
  background: #25d366;
  color: #fff;
}
html {
  scroll-padding-top: 150px !important;
}

/* Dropdown Menu - Solid to prevent nested backdrop-filter bleeding */
.glass-dropdown {
  background: rgba(10, 14, 26, 0.96) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.15),
    0 20px 45px -12px rgba(0, 0, 0, 0.7),
    0 2px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

html.light .glass-dropdown {
  background: rgba(255, 255, 255, 0.96) !important;
  border: 1px solid rgba(255, 255, 255, 0.95) !important;
  box-shadow: 
    inset 0 1px 1.5px rgba(255, 255, 255, 1),
    0 16px 40px -10px rgba(15, 23, 42, 0.15),
    0 2px 8px rgba(0, 0, 0, 0.05);
}

/* =========================================================
   PREMIUM ANIMATED BORDER BUTTONS (Hero CTA)
   ========================================================= */
.premium-btn {
  position: relative;
  border: none;
  border-radius: 0.75rem; /* Matches rounded-xl */
  background-size: 250%;
  background-position: left;
  cursor: pointer;
  transition: background-position 1s ease, transform 0.2s ease;
  z-index: 1;
}

.premium-btn:active {
  transform: scale(0.95);
}

.premium-btn::before {
  content: "";
  position: absolute;
  inset: 2px; /* Creates the border thickness */
  border-radius: 0.65rem;
  background-color: rgba(10, 14, 26, 0.95); /* Dark background matching theme */
  z-index: -1;
}
html.light .premium-btn::before {
  background-color: #ffffff; /* White interior for light mode */
}

.premium-btn:hover {
  background-position: right;
}

.premium-btn-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  height: 100%;
}

/* Theme Variants */
.premium-btn-cyan {
  background-image: linear-gradient(to right, #083344, #22d3ee, #083344, #083344, #22d3ee, #083344);
  color: #22d3ee;
}
html.light .premium-btn-cyan {
  background-image: linear-gradient(to right, #cffafe, #0891b2, #cffafe, #cffafe, #0891b2, #cffafe);
  color: #0891b2;
}

.premium-btn-gold {
  background-image: linear-gradient(to right, #77530a, #ffd277, #77530a, #77530a, #ffd277, #77530a);
  color: #ffd277;
}
html.light .premium-btn-gold {
  background-image: linear-gradient(to right, #fef08a, #b45309, #fef08a, #fef08a, #b45309, #fef08a);
  color: #b45309;
}

.premium-btn-emerald {
  background-image: linear-gradient(to right, #064e3b, #34d399, #064e3b, #064e3b, #34d399, #064e3b);
  color: #34d399;
}
html.light .premium-btn-emerald {
  background-image: linear-gradient(to right, #d1fae5, #059669, #d1fae5, #d1fae5, #059669, #d1fae5);
  color: #059669;
}
