@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700;800&family=Inter:wght@400;500;600&display=swap');

.ch-premium-page *,
.ch-premium-page *::before,
.ch-premium-page *::after{
  box-sizing:border-box;
  margin:0;
  padding:0;
}

.ch-premium-body{
  font-family:'Inter',sans-serif;
  background:#f5f3ff;
  min-height:100vh;
  display:flex;
  align-items:flex-start;
  justify-content:center;
  padding:40px 20px 60px;
}

.ch-premium-page{
  width:100%;
  max-width:900px;
}

/* Badge */
.ch-premium-badge{
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:22px;
}

.ch-premium-badge span{
  background:#fff;
  border:1.5px solid #d8b4fe;
  border-radius:999px;
  padding:5px 16px;
  font-size:13px;
  color:#7c3aed;
  font-weight:500;
  display:flex;
  align-items:center;
  gap:6px;
  box-shadow:0 1px 6px #a78bfa22;
}

.ch-premium-badge-icon{
  font-size:14px;
}

/* Hero */
.ch-premium-hero{
  text-align:center;
  margin-bottom:28px;
}

.ch-premium-hero h1{
  font-family:'Sora',sans-serif;
  font-size:clamp(28px,5vw,44px);
  font-weight:800;
  color:#1a0a2e;
  line-height:1.18;
  margin-bottom:10px;
}

.ch-premium-cycling-words{
  display:inline-flex;
  align-items:center;
  position:relative;
  height:1.2em;
  overflow:hidden;
  vertical-align:middle;
  transition:min-width .3s ease;
}

.ch-premium-cycling-words .ch-premium-word{
  position:absolute;
  top:0;
  left:0;
  color:#fff;
  background:linear-gradient(90deg,#7c3aed,#a855f7);
  border-radius:8px;
  padding:0 12px;
  white-space:nowrap;
  opacity:0;
  transform:translateY(100%);
}

.ch-premium-cycling-words .ch-premium-word.ch-premium-active{
  animation:chPremiumWordIn .45s cubic-bezier(.4,0,.2,1) forwards;
}

.ch-premium-cycling-words .ch-premium-word.ch-premium-leaving{
  animation:chPremiumWordOut .4s cubic-bezier(.4,0,.2,1) forwards;
}

@keyframes chPremiumWordIn{
  from{opacity:0;transform:translateY(60%);}
  to{opacity:1;transform:translateY(0);}
}

@keyframes chPremiumWordOut{
  from{opacity:1;transform:translateY(0);}
  to{opacity:0;transform:translateY(-60%);}
}

.ch-premium-hero p{
  color:#64748b;
  font-size:15px;
  margin-top:12px;
}

/* Login CTA */
.ch-premium-login-cta{
  margin:0 auto 36px;
  max-width:560px;
}

.ch-premium-login-btn{
  width:100%;
  padding:14px 20px;
  background:#fef9c3;
  border:1.5px solid #fde68a;
  border-radius:12px;
  color:#92400e;
  font-size:14.5px;
  font-family:'Inter',sans-serif;
  font-weight:500;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  transition:background .2s,box-shadow .2s;
  letter-spacing:.01em;
}

.ch-premium-login-btn:hover{
  background:#fef08a;
  box-shadow:0 2px 12px #fde68a88;
}

.ch-premium-lock-icon{
  font-size:15px;
}

/* Cards */
.ch-premium-cards{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
}

@media (max-width:640px){
  .ch-premium-cards{
    grid-template-columns:1fr;
  }
}

/* Features Card */
.ch-premium-features-card{
  background:#fff;
  border-radius:20px;
  padding:32px 28px;
  border:1.5px solid #ede9fe;
  box-shadow:0 4px 24px #a78bfa12;
}

.ch-premium-features-card h2{
  font-family:'Sora',sans-serif;
  font-size:19px;
  font-weight:700;
  color:#1a0a2e;
  margin-bottom:24px;
}

.ch-premium-feature-list{
  list-style:none;
  display:flex;
  flex-direction:column;
  gap:20px;
}

.ch-premium-feature-item{
  display:flex;
  align-items:flex-start;
  gap:14px;
}

.ch-premium-feature-icon{
  width:38px;
  height:38px;
  background:#f3f0ff;
  border-radius:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:17px;
  flex-shrink:0;
  color:#7c3aed;
}

.ch-premium-feature-text strong{
  display:block;
  font-size:14px;
  font-weight:600;
  color:#1e1b4b;
  margin-bottom:2px;
}

.ch-premium-feature-text span{
  font-size:13px;
  color:#64748b;
}

/* Premium Card */
.ch-premium-card{
  background:linear-gradient(145deg,#fdf4ff 0%,#f5f0ff 60%,#ede9fe 100%);
  border-radius:20px;
  padding:32px 28px;
  border:1.5px solid #d8b4fe;
  box-shadow:0 8px 32px #a78bfa22;
  position:relative;
  overflow:hidden;
}

.ch-premium-card::before{
  content:'';
  position:absolute;
  top:-60px;
  right:-60px;
  width:180px;
  height:180px;
  background:radial-gradient(circle,#d8b4fe44 0%,transparent 70%);
  border-radius:50%;
  pointer-events:none;
}

.ch-premium-best-value{
  display:inline-block;
  background:linear-gradient(90deg,#7c3aed,#a855f7);
  color:#fff;
  font-size:11px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  border-radius:999px;
  padding:4px 12px;
  margin-bottom:14px;
}

.ch-premium-plan-name{
  font-family:'Sora',sans-serif;
  font-size:22px;
  font-weight:700;
  color:#1a0a2e;
  margin-bottom:16px;
}

.ch-premium-price-row{
  display:flex;
  align-items:baseline;
  gap:10px;
  margin-bottom:4px;
}

.ch-premium-price-main{
  font-family:'Sora',sans-serif;
  font-size:48px;
  font-weight:800;
  line-height:1;
  background:linear-gradient(90deg,#1a0a2e 30%,#7c3aed 50%,#1a0a2e 70%);
  background-size:200% auto;
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
  animation:chPremiumShimmerPrice 3s linear infinite;
}

@keyframes chPremiumShimmerPrice{
  from{background-position:200% center;}
  to{background-position:-200% center;}
}

.ch-premium-price-original{
  font-size:16px;
  color:#94a3b8;
  text-decoration:line-through;
}

.ch-premium-price-discount{
  font-size:14px;
  color:#16a34a;
  font-weight:700;
  background:#dcfce7;
  border-radius:6px;
  padding:2px 8px;
}

.ch-premium-price-note{
  font-size:13px;
  color:#64748b;
  margin-bottom:22px;
}

.ch-premium-perks{
  list-style:none;
  display:flex;
  flex-direction:column;
  gap:10px;
  margin-bottom:28px;
}

.ch-premium-perk-item{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:14px;
  color:#374151;
}

.ch-premium-perk-check{
  color:#7c3aed;
  font-size:15px;
  font-weight:700;
}

.ch-premium-cta-btn{
  width:100%;
  padding:15px;
  background:linear-gradient(90deg,#7c3aed,#a855f7);
  border:none;
  border-radius:12px;
  color:#fff;
  font-size:15px;
  font-weight:700;
  font-family:'Sora',sans-serif;
  cursor:pointer;
  letter-spacing:.01em;
  transition:opacity .2s,transform .15s,box-shadow .2s;
  box-shadow:0 4px 18px #a855f755;
  margin-bottom:14px;

  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  text-decoration:none;
  line-height:1.2;
}

.ch-premium-cta-btn:hover{
  opacity:.93;
  transform:translateY(-1px);
  box-shadow:0 8px 28px #a855f766;
}

.ch-premium-cta-btn:active{
  transform:translateY(0);
}

.ch-premium-secure-note{
  text-align:center;
  font-size:12px;
  color:#94a3b8;
}

/* Entrance */
.ch-premium-hero,
.ch-premium-login-cta,
.ch-premium-features-card,
.ch-premium-card{
  animation:chPremiumFadeUp .6s cubic-bezier(.4,0,.2,1) both;
}

.ch-premium-login-cta{animation-delay:.1s;}
.ch-premium-features-card{animation-delay:.2s;}
.ch-premium-card{animation-delay:.32s;}

@keyframes chPremiumFadeUp{
  from{opacity:0;transform:translateY(28px);}
  to{opacity:1;transform:translateY(0);}
}
