/* Ways To Charge (dark + white premium cards) | prefix: wc | section.wc in index.html */

.wc {
   --wc-cyan: #5eead4;
   --wc-sky: #38bdf8;
   --wc-pink: #f472b6;
   --wc-gold: #fcd34d;
   position: relative;
   isolation: isolate;
   overflow: hidden;
   padding: 120px 0px 0px;
   font-family: 'Inter', 'Poppins', sans-serif;
   color: #fff;
   background: #000 url(../images/wf.png) center top no-repeat;
}

.wc::before {
   content: "";
   position: absolute;
   inset: 0;
   z-index: -1;
   background:
      radial-gradient(640px 480px at 0% 0%, rgba(56, 189, 248, .3), transparent 70%),
      radial-gradient(620px 480px at 100% 55%, rgba(244, 114, 182, .26), transparent 70%),
      radial-gradient(560px 420px at 30% 106%, rgba(252, 211, 77, .14), transparent 70%);
}

/* diagonal sheen */
.wc::after {
   content: "";
   position: absolute;
   inset: 0;
   z-index: -1;
   background: repeating-linear-gradient(120deg, rgba(255, 255, 255, .04) 0 1px, transparent 1px 34px);
   -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%);
   mask-image: linear-gradient(180deg, #000, transparent 80%);
}

.wc__wrap {
   max-width: 1120px;
   margin: 0 auto;
}

.wc__head {
   max-width: 900px;
   margin: 0 auto;
   text-align: center;
}

.wc__title {
   margin: 0;
   font-size: clamp(32px, 5vw, 62px);
   font-weight: 800;
   letter-spacing: -.045em;
   line-height: 1.12;
   color: #fff;
   text-shadow: 0 12px 40px rgba(124, 58, 237, .5);
}

/* "Teaching" as a gold price tag */
.wc__title em {
   position: relative;
   display: block;
   width: fit-content;
   margin: 22px auto 0;
   padding: .04em .55em .1em 1em;
   font-family: 'Instrument Serif', Georgia, serif;
   font-style: italic;
   font-weight: 400;
   font-size: 1.22em;
   line-height: 1.15;
   letter-spacing: -.01em;
   color: #1a0f3d;
   text-shadow: none;
   background: linear-gradient(120deg, #fde68a 0%, #fcd34d 40%, #f9a8d4 100%);
   border-radius: 18px 14px 14px 18px;
   transform: rotate(-2.5deg);
   box-shadow:
      0 24px 50px -14px rgba(252, 211, 77, .55),
      0 0 0 5px rgba(255, 255, 255, .08),
      inset 0 2px 0 rgba(255, 255, 255, .7),
      inset 0 -6px 14px rgba(190, 90, 20, .22);
}

/* punched hole */
.wc__title em::before {
   content: "";
   position: absolute;
   left: .3em;
   top: 50%;
   width: .24em;
   height: .24em;
   margin-top: -.12em;
   border-radius: 50%;
   background: #0b0620;
   box-shadow: inset 0 2px 3px rgba(0, 0, 0, .8), 0 1px 0 rgba(255, 255, 255, .6);
}

/* string */
.wc__title em::after {
   content: "";
   position: absolute;
   left: .42em;
   top: 50%;
   width: 70px;
   height: 2px;
   transform-origin: left center;
   transform: rotate(180deg) translateY(-1px);
   background: linear-gradient(90deg, rgba(255, 255, 255, .7), transparent);
}

.wc__intro {
   position: relative;
   margin: 46px auto 0;
   max-width: 720px;
   padding-top: 28px;
   font-size: clamp(16px, 1.8vw, 19px);
   line-height: 1.7;
   color: #d6d6ff;
}

/* dashed divider with centre dot */
.wc__intro::before {
   content: "";
   position: absolute;
   top: 0;
   left: 10%;
   right: 10%;
   border-top: 2px dashed rgba(255, 255, 255, .22);
}

.wc__intro::after {
   content: "";
   position: absolute;
   top: -6px;
   left: 50%;
   width: 12px;
   height: 12px;
   margin-left: -6px;
   border-radius: 50%;
   background: linear-gradient(135deg, #fcd34d, #f472b6);
   box-shadow: 0 0 16px 3px rgba(244, 114, 182, .7);
}

/* ---------- premium white cards ---------- */
.wc__grid {
   display: grid;
   grid-template-columns: repeat(2, minmax(0, 1fr));
   gap: 28px;
   margin-top: 70px;
}

.wc__ticket--wide {
   grid-column: 1 / -1;
}

.wc__ticket {
   --a1: #6d28d9;
   --a2: #ec4899;
   --tint: #f3edff;
   position: relative;
   display: flex;
   align-items: stretch;
   gap: 6px;
   padding: 10px;
   border-radius: 30px;
   color: #0f1330;
   background: linear-gradient(180deg, #fff 0%, #f7f5ff 100%);
   box-shadow:
      0 0 0 1px rgba(255, 255, 255, .9),
      0 0 0 7px rgba(255, 255, 255, .08),
      0 40px 70px -30px rgba(109, 40, 217, .65),
      0 18px 30px -18px rgba(0, 0, 0, .8);
   overflow: hidden;
   transition: transform .35s ease, box-shadow .35s ease;
}

.wc__ticket:nth-child(2) { --a1: #2563eb; --a2: #22d3ee; --tint: #eaf3ff; }
.wc__ticket:nth-child(3) { --a1: #ec4899; --a2: #f59e0b; --tint: #fff0f6; }
.wc__ticket:nth-child(4) { --a1: #7c3aed; --a2: #2563eb; --tint: #efeaff; }

.wc__ticket:hover {
   transform: translateY(-6px);
   box-shadow:
      0 0 0 1px #fff,
      0 0 0 9px rgba(255, 255, 255, .12),
      0 50px 80px -28px rgba(236, 72, 153, .6),
      0 18px 30px -18px rgba(0, 0, 0, .8);
}

/* gradient top edge */
.wc__ticket::before {
   content: "";
   position: absolute;
   top: 0;
   left: 40px;
   right: 40px;
   height: 4px;
   border-radius: 0 0 6px 6px;
   background: linear-gradient(90deg, var(--a1), var(--a2));
}

/* soft corner glow */
.wc__ticket::after {
   content: "";
   position: absolute;
   right: -70px;
   bottom: -90px;
   width: 240px;
   height: 240px;
   border-radius: 50%;
   background: radial-gradient(closest-side, var(--a2), transparent);
   opacity: .16;
   pointer-events: none;
}

/* stub */
.wc__stub {
   position: relative;
   flex: 0 0 150px;
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
   gap: 14px;
   padding: 26px 14px;
   border-radius: 22px;
   background: var(--tint);
   box-shadow: inset 0 0 0 1px rgba(15, 19, 48, .05);
}

.wc__stub::after {
   content: "";
   position: absolute;
   top: 18px;
   bottom: 18px;
   right: -4px;
   border-right: 2px dotted rgba(15, 19, 48, .18);
}

.wc__num {
   font-size: 44px;
   font-weight: 800;
   letter-spacing: -.05em;
   line-height: 1;
   background: linear-gradient(135deg, var(--a1), var(--a2));
   -webkit-background-clip: text;
   background-clip: text;
   color: transparent;
}

.wc__ic {
   display: grid;
   place-items: center;
   width: 62px;
   height: 62px;
   border-radius: 20px;
   background: linear-gradient(135deg, var(--a1), var(--a2));
   box-shadow: 0 16px 28px -10px var(--a1), inset 0 1px 0 rgba(255, 255, 255, .45);
   color: #fff;
   transition: transform .35s ease;
}

.wc__ticket:hover .wc__ic {
   transform: rotate(-8deg) scale(1.08);
}

.wc__ic svg {
   width: 30px;
   height: 30px;
   fill: none;
   stroke: currentColor;
   stroke-width: 2.6;
   stroke-linecap: round;
   stroke-linejoin: round;
}

/* main */
.wc__main {
   position: relative;
   z-index: 1;
   flex: 1;
   display: flex;
   flex-direction: column;
   justify-content: center;
   padding: 30px 32px 30px 28px;
}

.wc__h3 {
   margin: 0;
   font-size: clamp(21px, 2.3vw, 29px);
   font-weight: 700;
   letter-spacing: -.03em;
   line-height: 1.3;
   color: #0f1330;
}

.wc__h3 span {
   font-weight: 900;
   letter-spacing: -.01em;
   padding-right: .1em;
   background: linear-gradient(100deg, var(--a1), var(--a2));
   -webkit-background-clip: text;
   background-clip: text;
   color: transparent;
}

.wc__fine {
   margin: 18px 0 0;
   padding: 14px 18px;
   border-left: 3px solid var(--a2);
   border-radius: 0 14px 14px 0;
   background: var(--tint);
   font-size: 15.5px;
   font-weight: 500;
   line-height: 1.6;
   color: #4a4f73;
}

@media (max-width: 760px) {
   .wc__grid {
      grid-template-columns: 1fr;
      gap: 22px;
      margin-top: 54px;
   }

   .wc__ticket--wide {
      grid-column: auto;
   }
}

@media (max-width: 575px) {
   .wc {
      padding: 80px 16px 90px;
   }

   .wc__ticket {
      flex-direction: column;
      border-radius: 26px;
   }

   .wc__stub {
      flex: none;
      flex-direction: row;
      justify-content: flex-start;
      gap: 16px;
      padding: 16px 20px;
   }

   .wc__stub::after {
      display: none;
   }

   .wc__num {
      font-size: 36px;
   }

   .wc__main {
      padding: 14px 16px 22px;
   }
}
