/* CreatorGrowth Luxury Surface + Depth Layer
 * Public frontend only. No business logic selectors or data mutation.
 */
.cg-home.cg-luxury{
  --lux-purple:#7142ff;
  --lux-violet:#9a6cff;
  --lux-ink:#0e1224;
  --lux-muted:#657089;
  --lux-glass:rgba(255,255,255,.56);
  --lux-glass-strong:rgba(255,255,255,.72);
  --lux-glass-line:rgba(255,255,255,.72);
  --lux-shadow:0 28px 90px rgba(54,39,110,.12);
  --lux-ease:cubic-bezier(.22,1,.36,1);
  position:relative;
  isolation:isolate;
  overflow:clip;
}
.cg-home.cg-luxury::before,
.cg-home.cg-luxury::after{
  content:"";
  position:fixed;
  z-index:-2;
  width:520px;height:520px;border-radius:50%;
  pointer-events:none;
  filter:blur(10px);
  opacity:.6;
  animation:luxAmbient 18s var(--lux-ease) infinite alternate;
}
.cg-home.cg-luxury::before{
  left:-270px;top:24vh;
  background:radial-gradient(circle,rgba(157,111,255,.17),transparent 68%);
}
.cg-home.cg-luxury::after{
  right:-300px;top:62vh;
  background:radial-gradient(circle,rgba(93,183,255,.11),transparent 68%);
  animation-delay:-7s;
}

/* Premium navigation */
.cg-home.cg-luxury .cg-nav{
  background:rgba(255,255,255,.64);
  border-bottom:1px solid rgba(218,214,233,.55);
  box-shadow:0 10px 40px rgba(42,31,84,.035);
  backdrop-filter:blur(28px) saturate(150%);
  -webkit-backdrop-filter:blur(28px) saturate(150%);
}
.cg-home.cg-luxury .cg-nav::after{
  content:"";position:absolute;left:8%;right:8%;bottom:-1px;height:1px;
  background:linear-gradient(90deg,transparent,rgba(121,76,255,.3),transparent);
}
.cg-home.cg-luxury .cg-brand-mark{
  position:relative;
  box-shadow:0 14px 34px rgba(111,61,245,.28),inset 0 1px 0 rgba(255,255,255,.4);
}
.cg-home.cg-luxury .cg-brand-mark::after{
  content:"";position:absolute;inset:-7px;border-radius:15px;
  border:1px solid rgba(126,88,255,.15);
  animation:luxRing 4.5s ease-in-out infinite;
}

/* Hero depth */
.cg-home.cg-luxury .cg-hero{
  background:
    radial-gradient(circle at 76% 24%,rgba(151,105,255,.22),transparent 30%),
    radial-gradient(circle at 22% 82%,rgba(91,173,255,.08),transparent 28%),
    linear-gradient(135deg,#fff 0%,#fbfaff 44%,#f1ebff 100%);
}
.cg-home.cg-luxury .cg-hero::after{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(105deg,transparent 35%,rgba(255,255,255,.55) 50%,transparent 65%);
  transform:translateX(-130%);
  animation:luxHeroSweep 11s ease-in-out infinite;
}
.cg-home.cg-luxury .cg-hero-copy,
.cg-home.cg-luxury .cg-hero-art{position:relative;z-index:2}
.cg-home.cg-luxury .cg-hero-art{
  transform:translate3d(0,var(--lux-parallax,0px),0);
  transition:transform .08s linear;
}
.cg-home.cg-luxury .cg-hero-art img{
  filter:drop-shadow(0 42px 70px rgba(71,46,141,.19));
  transform:translate3d(18px,0,0) rotate(var(--lux-rotate,0deg)) scale(var(--lux-scale,1));
  transition:transform .15s linear,filter .5s ease;
  will-change:transform;
}
.cg-home.cg-luxury .cg-hero-art::before{
  content:"";position:absolute;width:74%;height:74%;border-radius:50%;
  background:radial-gradient(circle,rgba(148,102,255,.23),rgba(148,102,255,.04) 42%,transparent 72%);
  filter:blur(18px);animation:luxHeroOrb 9s ease-in-out infinite;
}
.cg-home.cg-luxury .cg-eyebrow{
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 8px 28px rgba(104,65,214,.08);
}

/* Glass cards */
.cg-home.cg-luxury .cg-card,
.cg-home.cg-luxury .cg-economy-panel,
.cg-home.cg-luxury .cg-goal,
.cg-home.cg-luxury .cg-content-card,
.cg-home.cg-luxury .cg-platform,
.cg-home.cg-luxury .cg-custom-quote,
.cg-home.cg-luxury .cg-offer,
.cg-home.cg-luxury .cg-ref-step,
.cg-home.cg-luxury .cg-audience-card{
  position:relative;
  overflow:hidden;
  background:linear-gradient(145deg,rgba(255,255,255,.72),rgba(249,247,255,.48));
  border:1px solid rgba(218,215,233,.76);
  box-shadow:0 22px 70px rgba(56,43,103,.075),inset 0 1px 0 rgba(255,255,255,.96);
  backdrop-filter:blur(24px) saturate(135%);
  -webkit-backdrop-filter:blur(24px) saturate(135%);
  transition:transform .55s var(--lux-ease),box-shadow .55s var(--lux-ease),border-color .4s ease;
}
.cg-home.cg-luxury .cg-card::before,
.cg-home.cg-luxury .cg-economy-panel::before,
.cg-home.cg-luxury .cg-goal::before,
.cg-home.cg-luxury .cg-platform::before,
.cg-home.cg-luxury .cg-content-card::before,
.cg-home.cg-luxury .cg-audience-card::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(115deg,rgba(255,255,255,.32),transparent 34%,transparent 68%,rgba(164,122,255,.05));
}
.cg-home.cg-luxury .cg-card::after,
.cg-home.cg-luxury .cg-platform::after{
  content:"";position:absolute;width:170px;height:170px;right:-90px;top:-90px;border-radius:50%;
  background:radial-gradient(circle,rgba(145,99,255,.14),transparent 68%);
  pointer-events:none;transition:transform .8s var(--lux-ease);
}
.cg-home.cg-luxury .cg-card:hover,
.cg-home.cg-luxury .cg-economy-panel:hover,
.cg-home.cg-luxury .cg-goal:hover,
.cg-home.cg-luxury .cg-platform:hover,
.cg-home.cg-luxury .cg-content-card:hover,
.cg-home.cg-luxury .cg-audience-card:hover{
  transform:translateY(-9px);
  box-shadow:0 34px 90px rgba(62,45,119,.13),inset 0 1px 0 rgba(255,255,255,1);
  border-color:rgba(145,112,235,.3);
}
.cg-home.cg-luxury .cg-card:hover::after,
.cg-home.cg-luxury .cg-platform:hover::after{transform:scale(1.45)}

/* Dark feature sections gain depth instead of flat gradients */
.cg-home.cg-luxury .cg-dark-section,
.cg-home.cg-luxury .cg-final{
  box-shadow:0 34px 110px rgba(43,27,86,.22),inset 0 1px 0 rgba(255,255,255,.08);
}
.cg-home.cg-luxury .cg-dark-section::before,
.cg-home.cg-luxury .cg-final::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:
    radial-gradient(circle at 15% 30%,rgba(255,255,255,.06),transparent 18%),
    linear-gradient(120deg,transparent 35%,rgba(255,255,255,.045) 50%,transparent 65%);
  background-size:auto,220% 100%;
  animation:luxDarkSweep 13s ease-in-out infinite;
}
.cg-home.cg-luxury .cg-dark-inner{position:relative;z-index:2}
.cg-home.cg-luxury .cg-flow-icon{
  box-shadow:0 12px 32px rgba(108,69,235,.25),inset 0 1px 0 rgba(255,255,255,.3);
  animation:luxIconFloat 5s ease-in-out infinite;
}
.cg-home.cg-luxury .cg-flow-item:nth-child(2) .cg-flow-icon{animation-delay:-.6s}
.cg-home.cg-luxury .cg-flow-item:nth-child(3) .cg-flow-icon{animation-delay:-1.2s}
.cg-home.cg-luxury .cg-flow-item:nth-child(4) .cg-flow-icon{animation-delay:-1.8s}
.cg-home.cg-luxury .cg-flow-item:nth-child(5) .cg-flow-icon{animation-delay:-2.4s}
.cg-home.cg-luxury .cg-flow-item:nth-child(6) .cg-flow-icon{animation-delay:-3s}

/* Scroll reveal: slower and softer than a generic fade-in */
.cg-home.cg-luxury .cg-reveal{
  opacity:0;
  transform:translate3d(0,34px,0) scale(.985);
  filter:blur(2px);
  transition:opacity .9s var(--lux-ease),transform 1s var(--lux-ease),filter .9s ease;
}
.cg-home.cg-luxury .cg-reveal.cg-visible{
  opacity:1;transform:none;filter:none;
}
.cg-home.cg-luxury .cg-reveal:nth-child(2){transition-delay:.05s}
.cg-home.cg-luxury .cg-reveal:nth-child(3){transition-delay:.1s}
.cg-home.cg-luxury .cg-reveal:nth-child(4){transition-delay:.15s}

/* Tiny scroll-floating depth for selected section surfaces */
.cg-home.cg-luxury [data-lux-float]{
  transform:translate3d(0,var(--lux-scroll-y,0px),0);
  will-change:transform;
}
.cg-home.cg-luxury .cg-final [data-lux-float]{transition:transform .08s linear}

/* Buttons: glass depth + light sweep */
.cg-home.cg-luxury .cg-btn{
  box-shadow:0 14px 32px rgba(88,53,196,.13),inset 0 1px 0 rgba(255,255,255,.3);
  transition:transform .35s var(--lux-ease),box-shadow .35s ease,filter .35s ease;
}
.cg-home.cg-luxury .cg-btn:hover{
  transform:translateY(-4px) scale(1.01);
  box-shadow:0 20px 42px rgba(88,53,196,.2),inset 0 1px 0 rgba(255,255,255,.4);
}
.cg-home.cg-luxury .cg-btn-primary::before{
  content:"";position:absolute;inset:0;border-radius:inherit;
  background:linear-gradient(110deg,transparent 25%,rgba(255,255,255,.3) 50%,transparent 75%);
  transform:translateX(-130%);animation:luxButtonSweep 5.8s ease-in-out infinite;pointer-events:none;
}

/* Platform icons subtly breathe */
.cg-home.cg-luxury .cg-platform-icon{filter:drop-shadow(0 10px 16px rgba(45,37,80,.13));animation:luxIconFloat 6.5s ease-in-out infinite}
.cg-home.cg-luxury .cg-platform:nth-child(2) .cg-platform-icon{animation-delay:-.8s}
.cg-home.cg-luxury .cg-platform:nth-child(3) .cg-platform-icon{animation-delay:-1.6s}
.cg-home.cg-luxury .cg-platform:nth-child(4) .cg-platform-icon{animation-delay:-2.4s}
.cg-home.cg-luxury .cg-platform:nth-child(5) .cg-platform-icon{animation-delay:-3.2s}
.cg-home.cg-luxury .cg-platform:nth-child(6) .cg-platform-icon{animation-delay:-4s}

/* Footer retains the premium language */
.cg-home.cg-luxury .cg-footer{
  position:relative;overflow:hidden;
  background:linear-gradient(180deg,#fbfaff,#f2effb);
  border-top:1px solid rgba(220,216,235,.7);
}
.cg-home.cg-luxury .cg-footer::before{
  content:"";position:absolute;left:50%;top:-140px;transform:translateX(-50%);width:620px;height:260px;border-radius:50%;
  background:radial-gradient(circle,rgba(137,92,255,.12),transparent 68%);pointer-events:none;
}

@keyframes luxAmbient{0%{transform:translate3d(0,0,0)}100%{transform:translate3d(55px,-38px,0)}}
@keyframes luxRing{0%,100%{transform:scale(.96);opacity:.55}50%{transform:scale(1.12);opacity:1}}
@keyframes luxHeroSweep{0%,55%{transform:translateX(-130%)}72%,100%{transform:translateX(130%)}}
@keyframes luxHeroOrb{0%,100%{transform:translate3d(-8px,5px,0) scale(.95);opacity:.65}50%{transform:translate3d(16px,-14px,0) scale(1.06);opacity:1}}
@keyframes luxDarkSweep{0%,60%{background-position:0 0,0 0}82%,100%{background-position:0 0,100% 0}}
@keyframes luxIconFloat{0%,100%{transform:translate3d(0,0,0)}50%{transform:translate3d(0,-5px,0)}}
@keyframes luxButtonSweep{0%,58%{transform:translateX(-130%)}78%,100%{transform:translateX(130%)}}

@media(max-width:760px){
  .cg-home.cg-luxury::before,.cg-home.cg-luxury::after{width:360px;height:360px;opacity:.4}
  .cg-home.cg-luxury .cg-nav{backdrop-filter:blur(24px) saturate(145%);-webkit-backdrop-filter:blur(24px) saturate(145%)}
  .cg-home.cg-luxury .cg-hero-art{transform:none!important}
  .cg-home.cg-luxury .cg-hero-art img{transform:none;filter:drop-shadow(0 25px 42px rgba(71,46,141,.15))}
  .cg-home.cg-luxury .cg-card:hover,.cg-home.cg-luxury .cg-economy-panel:hover,.cg-home.cg-luxury .cg-goal:hover,.cg-home.cg-luxury .cg-platform:hover,.cg-home.cg-luxury .cg-content-card:hover,.cg-home.cg-luxury .cg-audience-card:hover{transform:translateY(-4px)}
}
@media(prefers-reduced-motion:reduce){
  .cg-home.cg-luxury::before,.cg-home.cg-luxury::after,
  .cg-home.cg-luxury .cg-hero::after,.cg-home.cg-luxury .cg-hero-art::before,
  .cg-home.cg-luxury .cg-flow-icon,.cg-home.cg-luxury .cg-platform-icon,
  .cg-home.cg-luxury .cg-btn-primary::before{animation:none!important}
  .cg-home.cg-luxury .cg-reveal{opacity:1;transform:none;filter:none;transition:none}
  .cg-home.cg-luxury [data-lux-float]{transform:none!important}
  .cg-home.cg-luxury .cg-btn:hover,.cg-home.cg-luxury .cg-card:hover,.cg-home.cg-luxury .cg-economy-panel:hover,.cg-home.cg-luxury .cg-goal:hover,.cg-home.cg-luxury .cg-platform:hover,.cg-home.cg-luxury .cg-content-card:hover,.cg-home.cg-luxury .cg-audience-card:hover{transform:none}
}
