/* =========================================================
   BLOCK 06 MOTION V2 — CLEAN FIX
   - real background (no baked UI)
   - copy/card breathing room
   - no duplicate numbers / Maxi badge
   - no layered-card hover illusion
   ========================================================= */
:root{
  --p6-cyan:#42eaff;
  --p6-ease:cubic-bezier(.22,.61,.36,1);
}

.prices-v3{
  position:relative;
  overflow:hidden;
  padding:86px 0 92px;
  background:#020c16;
  border-top:1px solid rgba(70,228,255,.16);
  border-bottom:1px solid rgba(70,228,255,.16);
  isolation:isolate;
}

.prices-v3-bg{
  position:absolute;
  inset:-2%;
  width:104%;
  height:104%;
  object-fit:cover;
  object-position:center 50%;
  z-index:-3;
  opacity:.90;
  filter:saturate(.96) contrast(1.05) brightness(.92);
  transform:scale(1.01);
}

.prices-v3-atmosphere{
  position:absolute;
  inset:0;
  z-index:-2;
  pointer-events:none;
  background:
    radial-gradient(circle at 58% 23%,rgba(48,221,255,.18),transparent 31%),
    linear-gradient(90deg,rgba(1,9,17,.90) 0%,rgba(1,10,18,.76) 24%,rgba(1,11,19,.48) 55%,rgba(1,9,17,.64) 100%),
    linear-gradient(180deg,rgba(1,8,15,.08),rgba(1,8,15,.18) 61%,rgba(1,8,15,.78));
}

.prices-v3-inner{
  width:min(1600px,calc(100% - 72px));
  margin:0 auto;
  display:grid;
  grid-template-columns:minmax(350px,430px) minmax(0,1fr);
  gap:68px;
  align-items:center;
}

.prices-v3-copy{
  position:relative;
  z-index:2;
  min-width:0;
  padding:6px 0 0;
}
.prices-v3-kicker{
  margin:0 0 24px;
  color:#65efff;
  font-size:13px;
  font-weight:900;
  letter-spacing:.22em;
  text-transform:uppercase;
}
.prices-v3-copy h2{
  margin:0;
  font-size:clamp(54px,4.25vw,80px);
  line-height:.96;
  letter-spacing:-.055em;
  font-weight:950;
  text-transform:uppercase;
}
.prices-v3-copy h2 span,
.prices-v3-copy h2 b{display:block}
.prices-v3-copy h2 span{color:#f5f8ff}
.prices-v3-copy h2 b{color:var(--p6-cyan)}
.prices-v3-lead{
  max-width:360px;
  margin:28px 0 0;
  color:#d1dce6;
  font-size:17px;
  line-height:1.58;
}
.prices-v3-note{
  max-width:360px;
  margin:16px 0 0;
  color:#75e8f8;
  font-size:13px;
  line-height:1.5;
}

.prices-v3-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
  min-width:0;
  align-items:stretch;
}

.price-v3-card{
  position:relative;
  min-width:0;
  border:1px solid rgba(78,230,255,.48);
  border-radius:22px;
  overflow:hidden;
  background:linear-gradient(180deg,rgba(7,30,49,.95),rgba(3,16,28,.98));
  box-shadow:0 22px 56px rgba(0,0,0,.30);
  transform:none;
  transition:border-color 220ms ease,box-shadow 220ms ease,filter 220ms ease;
}

.price-v3-media{
  position:relative;
  height:230px;
  overflow:hidden;
  border-radius:21px 21px 0 0;
  background:#061522;
}
.price-v3-media::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,transparent 48%,rgba(2,15,26,.88) 100%);
  pointer-events:none;
}
.price-v3-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transform:none;
  transition:filter 220ms ease;
}

.price-v3-body{
  position:relative;
  padding:12px 20px 20px;
  min-height:390px;
  display:flex;
  flex-direction:column;
}
.price-v3-card h3{
  margin:0;
  color:#fff;
  font-size:clamp(30px,2.3vw,42px);
  line-height:1;
  letter-spacing:-.035em;
}
.price-v3-value{
  margin-top:9px;
  color:var(--p6-cyan);
  font-size:clamp(38px,3vw,54px);
  line-height:1;
  font-weight:950;
  letter-spacing:-.04em;
  text-shadow:0 0 0 rgba(55,227,255,0);
  transition:text-shadow 220ms ease,filter 220ms ease;
}
.price-v3-sub{
  margin:8px 0 0;
  color:#f1f5f8;
  font-size:18px;
  line-height:1.2;
}
.price-v3-card ul{
  list-style:none;
  margin:24px 0 24px;
  padding:0;
  display:grid;
  gap:14px;
}
.price-v3-card li{
  position:relative;
  padding-left:24px;
  color:#c6d4df;
  font-size:14px;
  line-height:1.4;
}
.price-v3-card li::before{
  content:"";
  position:absolute;
  left:0;
  top:.46em;
  width:10px;
  height:10px;
  border-radius:50%;
  border:1px solid rgba(68,232,255,.9);
  box-shadow:0 0 10px rgba(58,226,255,.22);
}

.price-v3-action{
  position:relative;
  margin-top:auto;
  min-height:58px;
  border-radius:16px;
  border:1px solid rgba(72,232,255,.78);
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:22px;
  color:#f7fbff;
  background:rgba(2,16,27,.74);
  font-size:14px;
  font-weight:900;
  transition:transform 180ms var(--p6-ease),background 180ms ease,box-shadow 180ms ease,filter 180ms ease;
}
.price-v3-action::after{
  content:"";
  position:absolute;
  top:-90%;
  left:-35%;
  width:20%;
  height:280%;
  transform:rotate(18deg);
  opacity:0;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.54),transparent);
  pointer-events:none;
}
.price-v3-action-primary{
  color:#03131d;
  background:linear-gradient(180deg,#6ff2ff,#35dceb);
  border-color:#75f1ff;
  box-shadow:0 0 24px rgba(45,220,255,.20);
}

/* featured card: one real border/glow only, no duplicate pseudo-card */
.price-v3-featured{
  border-color:rgba(91,240,255,.92);
  box-shadow:
    0 0 0 1px rgba(71,230,255,.10),
    0 0 24px rgba(43,217,255,.13),
    0 24px 60px rgba(0,0,0,.32);
  animation:p6FeaturedBreath 3.6s ease-in-out infinite;
}
@keyframes p6FeaturedBreath{
  0%,100%{box-shadow:0 0 0 1px rgba(71,230,255,.08),0 0 18px rgba(43,217,255,.10),0 24px 60px rgba(0,0,0,.32)}
  50%{box-shadow:0 0 0 1px rgba(71,230,255,.13),0 0 30px rgba(43,217,255,.18),0 24px 60px rgba(0,0,0,.32)}
}

/* hover: no card scaling, so nothing looks stacked underneath */
.price-v3-card:hover{
  border-color:rgba(112,244,255,.96);
  box-shadow:
    0 0 0 1px rgba(91,238,255,.10),
    0 0 26px rgba(47,219,255,.17),
    0 25px 54px rgba(0,0,0,.34);
}
.price-v3-card:hover .price-v3-media img{filter:brightness(1.05) saturate(1.04)}
.price-v3-card:hover .price-v3-value{
  text-shadow:0 0 20px rgba(58,226,255,.40);
  filter:brightness(1.06);
}
.price-v3-action:hover{
  transform:scale(1.018);
  filter:brightness(1.07);
  box-shadow:0 0 0 1px rgba(93,239,255,.08),0 0 22px rgba(48,219,255,.22);
}
.price-v3-action:hover::after{animation:p6ButtonSweep .72s var(--p6-ease) 1 both}
@keyframes p6ButtonSweep{
  0%{left:-35%;opacity:0}
  18%{opacity:.82}
  100%{left:120%;opacity:0}
}

.prices-v3-bottom{
  width:min(1600px,calc(100% - 72px));
  margin:28px auto 0;
  display:grid;
  grid-template-columns:auto 1fr;
  gap:18px;
  align-items:center;
  color:#8fa7b8;
  font-size:11px;
}
.prices-v3-line{
  height:1px;
  background:linear-gradient(90deg,rgba(72,228,255,.44),transparent);
}

/* entrance */
html.p6-ready .prices-v3-copy>*{
  opacity:0;
  transform:translateY(14px);
  filter:blur(3px);
}
html.p6-ready .price-v3-card{
  opacity:0;
  transform:translateY(24px);
  filter:brightness(.78);
}
html.p6-ready .prices-v3-bottom{
  opacity:0;
  transform:translateY(8px);
}
html.p6-ready .prices-v3.p6-in .prices-v3-kicker{animation:p6CopyIn .58s var(--p6-ease) .04s forwards}
html.p6-ready .prices-v3.p6-in h2{animation:p6TitleIn .88s var(--p6-ease) .12s forwards}
html.p6-ready .prices-v3.p6-in .prices-v3-lead{animation:p6CopyIn .68s var(--p6-ease) .34s forwards}
html.p6-ready .prices-v3.p6-in .prices-v3-note{animation:p6CopyIn .62s var(--p6-ease) .46s forwards}
html.p6-ready .prices-v3.p6-in .price-v3-card:nth-child(1){animation:p6CardIn .70s var(--p6-ease) .26s forwards}
html.p6-ready .prices-v3.p6-in .price-v3-card:nth-child(2){animation:p6CardIn .76s var(--p6-ease) .38s forwards}
html.p6-ready .prices-v3.p6-in .price-v3-card:nth-child(3){animation:p6CardIn .70s var(--p6-ease) .50s forwards}
html.p6-ready .prices-v3.p6-in .prices-v3-bottom{animation:p6CopyIn .60s var(--p6-ease) .62s forwards}
@keyframes p6TitleIn{
  0%{opacity:0;transform:scale(.94) translateY(14px);filter:blur(6px)}
  100%{opacity:1;transform:scale(1) translateY(0);filter:blur(0)}
}
@keyframes p6CopyIn{
  to{opacity:1;transform:translateY(0);filter:blur(0)}
}
@keyframes p6CardIn{
  0%{opacity:0;transform:translateY(24px);filter:brightness(.78)}
  100%{opacity:1;transform:translateY(0);filter:brightness(1)}
}

@media(min-width:1181px) and (max-width:1500px){
  .prices-v3-inner{
    grid-template-columns:minmax(320px,390px) minmax(0,1fr);
    gap:54px;
  }
  .prices-v3-copy h2{font-size:clamp(56px,4vw,72px)}
}

@media(max-width:1180px){
  .prices-v3-inner{
    grid-template-columns:1fr;
    gap:34px;
    align-items:start;
  }
  .prices-v3-copy{max-width:820px}
  .prices-v3-lead,.prices-v3-note{max-width:700px}
}

@media(max-width:900px){
  .prices-v3{padding:64px 0 72px}
  .prices-v3-inner,.prices-v3-bottom{width:calc(100% - 32px)}
  .prices-v3-grid{grid-template-columns:1fr}
  .price-v3-media{height:260px}
  .price-v3-body{min-height:auto}
  .price-v3-action{margin-top:10px}
  .price-v3-featured{animation:none}
}

@media(max-width:560px){
  .prices-v3-copy h2{font-size:clamp(48px,15vw,70px)}
  .prices-v3-lead{font-size:15px}
  .price-v3-media{height:220px}
}

@media(prefers-reduced-motion:reduce){
  .price-v3-featured{animation:none!important}
  .price-v3-card,.price-v3-action,.price-v3-value{transition:none!important}
  html.p6-ready .prices-v3-copy>*,
  html.p6-ready .price-v3-card,
  html.p6-ready .prices-v3-bottom{
    opacity:1!important;
    transform:none!important;
    filter:none!important;
    animation:none!important;
  }
}


/* =========================================================
   BLOCK 06 V2.1 — spacing + badges surgical fix
   User-approved layout/hover/background stay untouched.
   ========================================================= */

/* 1) More air between title lines. */
.prices-v3-copy h2{
  line-height:.96;
}

/* 2) Maxi / Animator: hide baked edge-hugging badges and replace them
      with clean UI badges placed safely inside the media frame. */
.price-v3-media{
  isolation:isolate;
}

.price-v3-badge-cover,
.price-v3-number,
.price-v3-popular{
  position:absolute;
  z-index:4;
  pointer-events:none;
}

/* local dark patch, only over the old baked number badge area */
.price-v3-badge-cover-number{
  left:0;
  top:0;
  width:112px;
  height:104px;
  background:
    radial-gradient(circle at 33px 31px,
      rgba(5,22,35,.99) 0 43px,
      rgba(5,22,35,.90) 50px,
      rgba(5,22,35,.32) 66px,
      transparent 82px);
}

/* old baked Popular badge lives at the top of Maxi; cover only that zone */
.price-v3-badge-cover-popular{
  top:0;
  right:0;
  width:250px;
  height:64px;
  background:linear-gradient(180deg,
    rgba(5,22,35,.99) 0%,
    rgba(5,22,35,.94) 58%,
    rgba(5,22,35,.34) 82%,
    transparent 100%);
}

.price-v3-number{
  left:22px;
  top:18px;
  width:58px;
  height:58px;
  border-radius:50%;
  display:grid;
  place-items:center;
  color:#dffbff;
  background:rgba(4,24,38,.88);
  border:1px solid rgba(79,235,255,.86);
  box-shadow:
    inset 0 0 0 1px rgba(84,235,255,.08),
    0 0 15px rgba(44,219,255,.18);
  font-size:18px;
  line-height:1;
  font-weight:950;
  letter-spacing:.02em;
  text-shadow:0 0 10px rgba(77,236,255,.22);
}

.price-v3-popular{
  top:14px;
  right:18px;
  min-height:34px;
  padding:0 14px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  color:#04131d;
  background:linear-gradient(180deg,#6ff4ff,#36deee);
  border:1px solid rgba(151,250,255,.95);
  box-shadow:0 0 20px rgba(49,224,255,.22);
  font-size:11px;
  line-height:1;
  font-weight:950;
  letter-spacing:.045em;
  white-space:nowrap;
}
.price-v3-popular span{
  font-size:14px;
  transform:translateY(-.5px);
}

/* make the overlay feel native when Maxi breathes; no independent motion */
.price-v3-featured .price-v3-number,
.price-v3-featured .price-v3-popular{
  transition:filter 220ms ease,box-shadow 220ms ease;
}
.price-v3-featured:hover .price-v3-number,
.price-v3-featured:hover .price-v3-popular{
  filter:brightness(1.05);
}

@media(max-width:1180px){
  .price-v3-number{left:20px;top:18px}
  .price-v3-popular{right:18px;top:14px}
}

@media(max-width:560px){
  .prices-v3-copy h2{line-height:.98}
  .price-v3-popular{
    max-width:190px;
    padding:0 12px;
    font-size:10px;
  }
}
