/* BFFC Landing — light-first premium motion & effects */

/* Ambient page glow */
.page-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.page-glow span {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  animation: lpGlowPulse 12s ease-in-out infinite alternate;
}
.page-glow-1 {
  width: min(55vw, 520px);
  height: min(55vw, 520px);
  top: -12%;
  left: -8%;
  background: rgba(212, 162, 74, 0.35);
}
.page-glow-2 {
  width: min(45vw, 420px);
  height: min(45vw, 420px);
  top: 35%;
  right: -10%;
  background: rgba(255, 200, 120, 0.28);
  animation-delay: -4s;
}
.page-glow-3 {
  width: min(40vw, 360px);
  height: min(40vw, 360px);
  bottom: 5%;
  left: 30%;
  background: rgba(166, 124, 26, 0.2);
  animation-delay: -8s;
}
html[data-theme="dark"] .page-glow span {
  opacity: 0.35;
}

body.landing::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
html[data-theme="dark"] body.landing::after {
  opacity: 0.06;
  mix-blend-mode: overlay;
}

.hero,
.lp-section,
.trust-marquee-wrap,
.site-footer {
  position: relative;
  z-index: 1;
}

/* Hero spotlight (mouse) */
.hero-spotlight {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(
    600px circle at var(--spot-x, 50%) var(--spot-y, 40%),
    rgba(212, 162, 74, 0.18),
    transparent 55%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
}
body.landing-ready .hero-spotlight {
  opacity: 1;
}
html[data-theme="dark"] .hero-spotlight {
  background: radial-gradient(
    500px circle at var(--spot-x, 50%) var(--spot-y, 40%),
    rgba(232, 197, 71, 0.12),
    transparent 55%
  );
}

/* Floating deco */
.hero-deco {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-deco-ring {
  position: absolute;
  width: clamp(280px, 40vw, 480px);
  height: clamp(280px, 40vw, 480px);
  top: 8%;
  right: 8%;
  border: 1px solid rgba(166, 124, 26, 0.2);
  border-radius: 50%;
  animation: lpRingSpin 40s linear infinite;
}
.hero-deco-ring::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px dashed rgba(212, 162, 74, 0.25);
  border-radius: 50%;
  animation: lpRingSpin 28s linear infinite reverse;
}
.hero-float-icon {
  position: absolute;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 32px rgba(40, 28, 10, 0.1);
  color: var(--lp-gold);
  font-size: 1.1rem;
  animation: lpFloatIcon 6s ease-in-out infinite;
}
.hero-float-icon-1 { top: 22%; right: 18%; animation-delay: 0s; }
.hero-float-icon-2 { top: 55%; right: 28%; animation-delay: -2s; font-size: 0.95rem; width: 42px; height: 42px; }
.hero-float-icon-3 { bottom: 18%; right: 12%; animation-delay: -4s; }
html[data-theme="dark"] .hero-float-icon {
  background: rgba(28, 24, 18, 0.85);
  border-color: var(--lp-border);
}

/* Gradient headline */
.text-gradient {
  font-style: normal;
  background: linear-gradient(
    120deg,
    #6b4a0f 0%,
    var(--lp-gold-bright) 35%,
    #8b5e12 55%,
    var(--lp-gold-bright) 75%,
    #6b4a0f 100%
  );
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: lpGradientShift 5s ease-in-out infinite;
}

.hero-eyebrow {
  animation: lpShimmerBorder 3s ease-in-out infinite;
}

.hero-badge-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 10px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2d7a3a;
  vertical-align: middle;
}
.hero-badge-live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3cb85a;
  box-shadow: 0 0 0 0 rgba(60, 184, 90, 0.5);
  animation: lpLivePulse 2s ease-out infinite;
}

/* Scroll cue */
.hero-scroll-cue {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lp-muted);
  z-index: 2;
  animation: lpBounceCue 2.2s ease-in-out infinite;
}
.hero-scroll-cue i {
  font-size: 0.85rem;
  color: var(--lp-gold);
}

/* Trust marquee */
.trust-marquee-wrap {
  overflow: hidden;
  padding: 18px 0;
  border-block: 1px solid var(--lp-border);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.6), rgba(243, 236, 224, 0.9), rgba(255, 255, 255, 0.6));
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
html[data-theme="dark"] .trust-marquee-wrap {
  background: linear-gradient(90deg, rgba(20, 18, 14, 0.5), rgba(28, 24, 18, 0.9), rgba(20, 18, 14, 0.5));
}
.trust-marquee-track {
  display: flex;
  width: max-content;
  animation: lpMarquee 32s linear infinite;
}
.trust-marquee-track:hover {
  animation-play-state: paused;
}
.trust-marquee-group {
  display: flex;
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
  padding-right: clamp(28px, 4vw, 56px);
}
.trust-marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--lp-text);
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--lp-border);
  box-shadow: 0 4px 16px rgba(40, 28, 10, 0.05);
}
.trust-marquee-item i {
  color: var(--lp-gold);
}

/* Section mesh bands */
.lp-section--mesh {
  position: relative;
}
.lp-section--mesh::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 0% 50%, rgba(212, 162, 74, 0.08), transparent),
    radial-gradient(ellipse 50% 70% at 100% 50%, rgba(180, 130, 70, 0.06), transparent);
  pointer-events: none;
}

/* Glow border cards */
.glow-border {
  position: relative;
  isolation: isolate;
}
.glow-border::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  padding: 2px;
  background: conic-gradient(
    from var(--glow-angle, 0deg),
    transparent 0%,
    var(--lp-gold-bright) 15%,
    transparent 30%,
    transparent 70%,
    var(--lp-gold-bright) 85%,
    transparent 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.65;
  animation: lpGlowRotate 4s linear infinite;
  z-index: -1;
  pointer-events: none;
}
.package-card.featured.glow-border::before {
  opacity: 1;
}

/* 3D tilt */
.tilt-card {
  transform-style: preserve-3d;
  will-change: transform;
  transition: box-shadow 0.35s ease;
}
.tilt-card.is-tilting {
  transition: none;
}
.tilt-card .tilt-shine {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    400px circle at var(--shine-x, 50%) var(--shine-y, 50%),
    rgba(255, 255, 255, 0.45),
    transparent 45%
  );
  transition: opacity 0.35s ease;
}
.tilt-card:hover .tilt-shine,
.tilt-card.is-tilting .tilt-shine {
  opacity: 1;
}

/* Menu tiles — pop */
.menu-tile {
  position: relative;
  overflow: hidden;
}
.menu-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(212, 162, 74, 0.12) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.menu-tile:hover::after {
  opacity: 1;
}
.menu-tile:hover {
  transform: translateY(-8px) scale(1.02);
}
.menu-tile .count {
  animation: lpCountPop 0.6s ease backwards;
}
.menu-tile:hover i {
  transform: scale(1.15) rotate(-6deg);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.menu-tile i {
  transition: transform 0.35s ease;
}

/* Mission — light theme: warm cream band + white cards (readable) */
html:not([data-theme="dark"]) .lp-section--dark {
  background: linear-gradient(
    165deg,
    #f5efe4 0%,
    #ebe3d4 45%,
    #f5efe4 100%
  ) !important;
  color: var(--lp-text);
}
html:not([data-theme="dark"]) .lp-section--dark .lp-head h2 {
  color: var(--lp-text);
}
html:not([data-theme="dark"]) .lp-section--dark .lp-head p {
  color: var(--lp-muted);
}
html:not([data-theme="dark"]) .lp-section--dark .lp-eyebrow {
  color: var(--lp-gold);
}
html:not([data-theme="dark"]) .lp-section--dark .mission-tile {
  background: #ffffff;
  border-color: var(--lp-border);
  box-shadow: var(--lp-shadow);
}
html:not([data-theme="dark"]) .lp-section--dark .mission-tile p {
  color: var(--lp-muted);
}
html:not([data-theme="dark"]) .lp-section--dark .mission-tile i {
  color: var(--lp-gold);
}

/* Mission — dark theme: espresso band + light copy */
html[data-theme="dark"] .lp-section--dark {
  background: linear-gradient(165deg, #1a1510 0%, #2a2218 50%, #1a1510 100%) !important;
}
.mission-tile i {
  animation: lpIconBob 4s ease-in-out infinite;
}
.mission-tile:nth-child(2) i { animation-delay: -1s; }
.mission-tile:nth-child(3) i { animation-delay: -2s; }

/* Pricing pulse on featured */
.package-card.featured {
  animation: lpFeaturedPulse 5s ease-in-out infinite;
}

/* Buttons extra shine */
.btn-primary {
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  animation: lpBtnShine 4s ease-in-out infinite;
}

/* Metric counter glow */
.hero-metrics strong {
  font-variant-numeric: tabular-nums;
  transition: color 0.3s ease;
}
.hero-metrics strong.is-counted {
  color: var(--lp-gold);
  text-shadow: 0 0 24px rgba(212, 162, 74, 0.35);
}

/* Parallax hero copy */
.hero-copy {
  will-change: transform;
}

body.landing-ready .hero-card.tilt-card {
  animation: none;
}

.package-card,
.menu-tile,
.hero-card {
  position: relative;
}

/* About highlight strip */
.about-stat-ribbon {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.about-stat {
  text-align: center;
  padding: 20px 16px;
  border-radius: var(--lp-radius);
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
  box-shadow: var(--lp-shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.about-stat:hover {
  transform: translateY(-4px);
  box-shadow: var(--lp-shadow-lg);
}
.about-stat strong {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.75rem;
  color: var(--lp-gold);
  margin-bottom: 4px;
}
.about-stat span {
  font-size: 0.78rem;
  color: var(--lp-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Keyframes */
@keyframes lpGlowPulse {
  0% { transform: scale(1) translate(0, 0); opacity: 0.45; }
  100% { transform: scale(1.08) translate(2%, 3%); opacity: 0.65; }
}
@keyframes lpRingSpin {
  to { transform: rotate(360deg); }
}
@keyframes lpFloatIcon {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(6deg); }
}
@keyframes lpGradientShift {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}
@keyframes lpShimmerBorder {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212, 162, 74, 0); }
  50% { box-shadow: 0 0 20px 2px rgba(212, 162, 74, 0.15); }
}
@keyframes lpLivePulse {
  0% { box-shadow: 0 0 0 0 rgba(60, 184, 90, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(60, 184, 90, 0); }
  100% { box-shadow: 0 0 0 0 rgba(60, 184, 90, 0); }
}
@keyframes lpBounceCue {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}
@keyframes lpMarquee {
  to { transform: translateX(-50%); }
}
@keyframes lpGlowRotate {
  to { --glow-angle: 360deg; }
}
@property --glow-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
@keyframes lpFeaturedPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212, 162, 74, 0); }
  50% { box-shadow: 0 0 40px 4px rgba(212, 162, 74, 0.12); }
}
@keyframes lpBtnShine {
  0%, 100% { left: -120%; }
  50% { left: 140%; }
}
@keyframes lpIconBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes lpCountPop {
  from { transform: scale(0.6); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .trust-marquee-track,
  .page-glow span,
  .hero-deco-ring,
  .hero-float-icon,
  .text-gradient,
  .package-card.featured,
  .btn-primary::after,
  .hero-scroll-cue,
  .glow-border::before {
    animation: none !important;
  }
  .hero-spotlight {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero-deco-ring,
  .hero-float-icon,
  .hero-scroll-cue {
    display: none;
  }
  .about-stat-ribbon {
    grid-template-columns: 1fr;
  }
}
