@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Locket & Apple Gold Palette */
  --gold-50: #FFFBEB;
  --gold-100: #FEF3C7;
  --gold-200: #FDE68A;
  --gold-300: #FCD34D;
  --gold-400: #FBBF24;
  --gold-500: #F59E0B;
  --gold-600: #D97706;
  --gold-700: #B45309;
  --locket-yellow: #FFB000;
  --locket-yellow-light: #FFE091;
  --locket-gold-dark: #C67700;

  /* Liquid Glass Color System */
  --bg-deep: #070709;
  --glass-surface: rgba(18, 18, 24, 0.65);
  --glass-surface-hover: rgba(26, 26, 36, 0.75);
  --glass-surface-active: rgba(32, 32, 44, 0.85);
  --glass-specular-border: rgba(255, 255, 255, 0.15);
  --glass-specular-border-gold: rgba(245, 158, 11, 0.4);
  --glass-highlight: rgba(255, 255, 255, 0.22);
  --glass-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.65);
  --glass-inner-bevel: inset 0 1px 1px 0 rgba(255, 255, 255, 0.22), inset 0 -1px 1px 0 rgba(0, 0, 0, 0.4);

  /* Typography */
  --font-family-rounded: 'Nunito', 'SF Pro Rounded', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-family-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: var(--font-family-rounded);
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: var(--bg-deep);
  color: #F4F4F5;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  letter-spacing: -0.015em;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(255, 176, 0, 0.14) 0%, transparent 45%),
    radial-gradient(circle at 10% 30%, rgba(217, 119, 6, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 60%, rgba(255, 176, 0, 0.07) 0%, transparent 45%),
    radial-gradient(circle, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 32px 32px;
}

/* ===================================================
   APPLE LIQUID GLASS MATERIALS
   =================================================== */

/* Ambient Fluid Blobs in Background */
.liquid-ambient-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.liquid-blob-1 {
  position: absolute;
  top: -15%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 176, 0, 0.18) 0%, rgba(217, 119, 6, 0.08) 50%, transparent 70%);
  filter: blur(80px);
  animation: blobFloat 14s ease-in-out infinite alternate;
}

.liquid-blob-2 {
  position: absolute;
  top: 40%;
  right: -10%;
  width: 500px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.12) 0%, transparent 70%);
  filter: blur(90px);
  animation: blobFloat2 18s ease-in-out infinite alternate;
}

.liquid-blob-3 {
  position: absolute;
  bottom: 10%;
  left: -10%;
  width: 550px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 191, 36, 0.1) 0%, transparent 70%);
  filter: blur(85px);
  animation: blobFloat 20s ease-in-out infinite alternate;
}

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

@keyframes blobFloat2 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, -40px) scale(1.12); }
  100% { transform: translate(20px, 30px) scale(0.92); }
}

/* Master Liquid Glass Container */
.liquid-glass {
  background: var(--glass-surface);
  backdrop-filter: blur(28px) saturate(190%) brightness(108%);
  -webkit-backdrop-filter: blur(28px) saturate(190%) brightness(108%);
  border: 1px solid var(--glass-specular-border);
  box-shadow: var(--glass-shadow), var(--glass-inner-bevel);
  border-radius: 28px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Glass Specular Reflection Highlight (Top Sheen) */
.liquid-glass::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.01) 100%);
  pointer-events: none;
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
}

/* Interactive Liquid Glass Card */
.liquid-glass-card {
  background: rgba(18, 18, 24, 0.7);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  box-shadow: 0 12px 36px -8px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  cursor: pointer;
}

.liquid-glass-card:hover {
  background: rgba(24, 24, 34, 0.82);
  border-color: rgba(255, 176, 0, 0.45);
  box-shadow: 0 20px 45px -10px rgba(255, 176, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transform: translateY(-4px);
}

.liquid-glass-card.selected {
  background: linear-gradient(180deg, rgba(255, 176, 0, 0.16) 0%, rgba(20, 20, 28, 0.9) 100%);
  border-color: #FFB000;
  box-shadow: 0 0 40px rgba(255, 176, 0, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.4);
}

/* Liquid Glass Buttons */
.btn-liquid-gold {
  background: linear-gradient(135deg, #FFB000 0%, #F59E0B 50%, #D97706 100%);
  color: #1A1200;
  font-weight: 800;
  border-radius: 18px;
  padding: 14px 28px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  box-shadow: 0 10px 30px -5px rgba(255, 176, 0, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.5);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

.btn-liquid-gold::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: rotate(25deg);
  transition: all 0.7s ease;
}

.btn-liquid-gold:hover::after {
  left: 130%;
}

.btn-liquid-gold:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 16px 40px -5px rgba(255, 176, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.6);
  filter: brightness(1.06);
}

.btn-liquid-gold:active {
  transform: translateY(0) scale(0.98);
}

/* Liquid Frosted Glass Inputs */
.liquid-input {
  background: rgba(15, 15, 20, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5), 0 1px 0 rgba(255, 255, 255, 0.05);
  color: #fff;
  transition: all 0.25s ease;
}

.liquid-input:focus {
  border-color: #FFB000;
  box-shadow: 0 0 20px rgba(255, 176, 0, 0.3), inset 0 2px 4px rgba(0, 0, 0, 0.4);
  background: rgba(20, 20, 28, 0.9);
}

/* Locket Gold Text Gradient */
.text-locket-gold {
  background: linear-gradient(135deg, #FFE091 0%, #FFB000 50%, #D97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Locket Widget Simulator / Mockup */
.locket-widget-box {
  width: 170px;
  height: 170px;
  border-radius: 38px;
  background: #181820;
  border: 2.5px solid #FFB000;
  box-shadow: 0 16px 45px -8px rgba(255, 176, 0, 0.4), inset 0 0 25px rgba(255, 176, 0, 0.2);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px;
}

.locket-widget-box::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, transparent 60%);
  pointer-events: none;
}

/* Accordion Smooth Height */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  opacity: 0;
}

.accordion-content.open {
  max-height: 350px;
  opacity: 1;
}

.accordion-icon {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.accordion-icon.rotate-180 {
  transform: rotate(180deg);
}

/* Real-Time Toast Ticker */
.toast-social-proof {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 40;
  transform: translateY(120%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
  opacity: 0;
}

.toast-social-proof.show {
  transform: translateY(0);
  opacity: 1;
}

/* Floating Quick Support Button */
.floating-support-pill {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 40;
}

/* Mobile Sticky Bottom CTA */
.mobile-sticky-dock {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: rgba(10, 10, 14, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-sticky-dock.visible {
  transform: translateY(0);
}

/* Badge Gold */
.badge-gold {
  background: linear-gradient(135deg, #FFB000 0%, #B45309 100%);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.4px;
  padding: 4px 10px;
  border-radius: 9999px;
  box-shadow: 0 2px 10px rgba(255, 176, 0, 0.3);
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #070709;
}

::-webkit-scrollbar-thumb {
  background: #27272a;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #3f3f46;
}


/* ===================================================
   LIGHT MODE & 3D PHONE EXTENSIONS (LOCKET.COM NATIVE)
   =================================================== */

html:not(.dark) body {
  background-color: #FFFDF7 !important;
  color: #18181B !important;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(255, 176, 0, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 10% 30%, rgba(254, 215, 170, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 90% 60%, rgba(254, 240, 138, 0.15) 0%, transparent 45%),
    radial-gradient(circle, rgba(0, 0, 0, 0.03) 1px, transparent 1px) !important;
}

html:not(.dark) .liquid-glass,
html:not(.dark) .glass-card,
html:not(.dark) .surface-glass {
  background: rgba(255, 255, 255, 0.92) !important;
  border-color: rgba(245, 158, 11, 0.22) !important;
  color: #18181B !important;
  box-shadow: 0 10px 35px -5px rgba(220, 180, 120, 0.18) !important;
}

html:not(.dark) .liquid-input {
  background: #FFFFFF !important;
  border-color: #EFE8DA !important;
  color: #18181B !important;
}
html:not(.dark) .liquid-input:focus {
  border-color: #FFB000 !important;
}

html:not(.dark) .package-card {
  background: #FFFFFF !important;
  border: 2px solid #EFE8DA !important;
  color: #18181B !important;
  box-shadow: 0 4px 20px -2px rgba(180, 150, 100, 0.08) !important;
}
html:not(.dark) .package-card:hover {
  border-color: #FFB000 !important;
  box-shadow: 0 12px 30px -5px rgba(255, 176, 0, 0.25) !important;
}
html:not(.dark) .package-card.selected {
  background: #FFFDF5 !important;
  border: 2px solid #FFB000 !important;
  box-shadow: 0 12px 32px -5px rgba(255, 176, 0, 0.32) !important;
}

/* 3D Phone Perspective and Ground Reflection */
.phone-perspective-stage {
  perspective: 1000px;
}
.phone-unit {
  transform: rotateY(-5deg) rotateX(3deg);
  transform-style: preserve-3d;
  transition: transform 0.4s ease;
  -webkit-box-reflect: below 4px linear-gradient(transparent 72%, rgba(0, 0, 0, 0.25));
}
.phone-unit:hover {
  transform: rotateY(0deg) rotateX(0deg) scale(1.02);
}

.floor-reflection {
  transform: scaleY(-1);
  opacity: 0.16;
  mask-image: linear-gradient(to top, rgba(0,0,0,0.9), transparent 65%);
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,0.9), transparent 65%);
  filter: blur(1.5px);
}

.qr-hero-card {
  transform: rotate(10deg);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}
.qr-hero-card:hover {
  transform: rotate(4deg) scale(1.08);
}

@keyframes stickerWobble {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-8px) rotate(4deg); }
}
.sticker-wobble {
  animation: stickerWobble 4.5s ease-in-out infinite;
}
