/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */

/* ==============================================
   WPWellCare — Brand Palette (Direction 2: Midnight Navy + Coral)
   ============================================== */
:root {
  /* Core dark */
  --wc-berry: #0C1A30;        /* midnight navy - hero/CTA bg */
  --wc-mulberry: #1E3860;     /* medium navy - hover, borders */
  --wc-deep-violet: #060F1E;  /* deepest navy */
  /* Accent */
  --wc-rose: #E8563A;         /* coral - primary CTA accent */
  --wc-violet: #2A4888;       /* rich navy-blue */
  --wc-iris: #5A86E0;         /* medium blue */
  /* Light */
  --wc-lavender: #B0C8F0;     /* light blue - text on dark */
  --wc-petal: #EEF3FA;        /* very light blue - section bg */
  --wc-cream: #F4EDE8;        /* warm cream - alt section bg */
  /* Neutral */
  --wc-ink: #1A2640;          /* dark navy text */
  --wc-stone: #6A84A0;        /* blue-grey muted text */
}


/* ==============================================
   WPWellCare Main Page — HERO ROW
   ============================================== */

/* SiteOrigin row: full-bleed, remove cell constraints */
.wc-row-hero {
  background: var(--wc-berry);
  min-height: 100vh;
  position: relative;
}
.wc-row-hero .panel-grid-cell {
  padding: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  display: block !important;
}

.wc-cursor-els { display: none !important; padding: 0 !important; }

/* Hero section fills the row */
.wc-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Full-bleed Three.js canvas */
#hero-canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
}

/* Gradient: left side legible, canvas shows through on right */
.wc-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 100% at 0% 50%, rgba(12,26,48,.97) 0%, rgba(12,26,48,.70) 50%, transparent 80%),
    radial-gradient(ellipse 55% 55% at 100% 85%, rgba(42,72,136,.12) 0%, transparent 55%);
  z-index: 1;
  pointer-events: none;
}

/* Content wrapper — above canvas and gradient */
.wc-hin {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 160px 80px 140px;
  box-sizing: border-box;
}

/* Text block — left-anchored, max readable width */
.wc-hcnt { max-width: 640px; }

/* Badge */
.wc-hbdg {
  display: inline-flex;
  align-items: center;
  background: rgba(232,86,58,.12);
  border: 1px solid rgba(232,86,58,.28);
  color: var(--wc-lavender);
  font-size: 11px;
  font-weight: 500;
  padding: 7px 18px;
  border-radius: 100px;
  margin-bottom: 40px;
  letter-spacing: .07em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

/* H1 */
.wc-hero h1 {
  font-size: clamp(48px, 6.5vw, 88px);
  color: #ffffff;
  margin-bottom: 28px;
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -.025em;
}

/* Word-by-word GSAP reveal spans */
.wc-ww {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  line-height: 1.1;
}
.wc-wd {
  display: inline-block;
  transform: translateY(110%);
}

/* Subtitle */
.wc-hsub {
  font-size: 18px;
  color: var(--wc-lavender);
  max-width: 520px;
  line-height: 1.82;
  margin-bottom: 48px;
  opacity: .82;
}

/* CTA button row */
.wc-hbtn {
  display: flex;
  gap: 16px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

/* Trust indicators */
.wc-htr {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.wc-trit {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(176,200,240,.5);
  letter-spacing: .01em;
}
.wc-trdt {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--wc-rose);
  flex-shrink: 0;
  opacity: .65;
}

/* Scroll indicator */
.wc-scrl {
  position: absolute;
  bottom: 44px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(176,200,240,.3);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.wc-scrl-ln {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(176,200,240,.45), transparent);
  animation: wc-scrl-drip 2.2s ease-in-out infinite;
  transform-origin: top;
}
@keyframes wc-scrl-drip {
  0%   { transform: scaleY(0); opacity: 0; }
  30%  { opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

@media (max-width: 900px) {
  .wc-hin { padding: 110px 24px 100px; }
  .wc-hero h1 { font-size: clamp(40px, 9vw, 56px); }
  .wc-htr { gap: 14px; }
  .wc-scrl { display: none; }
}
===========
   PRIMARY & OUTLINE BUTTONS (global)
   ============================================== */
.wc-btnp, .wc-btno, .wc-btnf, .wc-btnc {
  display: inline-block;
  text-decoration: none;
  font-weight: 500;
  transition: background .2s, transform .15s, border-color .2s, color .2s;
  cursor: pointer;
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
}
.wc-btnp {
  background: var(--wc-mulberry);
  color: #fff !important;
  padding: 16px 36px;
  font-size: 15px;
}
.wc-btnp:hover { background: var(--wc-rose); transform: translateY(-2px); color: #fff !important; }
.wc-btno {
  background: transparent;
  color: var(--wc-iris) !important;
  border: 1.5px solid var(--wc-iris);
  padding: 15px 36px;
  font-size: 15px;
}
.wc-btno:hover { border-color: var(--wc-lavender); color: var(--wc-lavender) !important; transform: translateY(-2px); }
.wc-btnf {
  background: var(--wc-mulberry);
  color: #fff !important;
  padding: 18px 48px;
  font-size: 15px;
}
.wc-btnf:hover { background: var(--wc-rose); transform: translateY(-2px); color: #fff !important; }
.wc-btnc {
  background: var(--wc-rose);
  color: #fff !important;
  padding: 20px 56px;
  font-size: 16px;
}
.wc-btnc:hover { background: var(--wc-mulberry); transform: translateY(-2px); color: #fff !important; }

/* ==============================================
   SECTION: IS THIS YOU — stacking cards
   ============================================== */
.wc-row-ity {
  background: var(--wc-petal);
  padding: 80px 0 0;
  overflow: visible;
}
.wc-row-ity .wc-section-inner { text-align: center; }

/* Stacking cards outer */
.wc-skot {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0 80px;
}
.wc-skin {
  position: relative;
  width: min(560px, 90vw);
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wc-skcd {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  background: #ffffff;
  border: 1px solid rgba(30,56,96,.15);
  padding: 48px 52px;
  will-change: transform, opacity;
  transform-origin: center bottom;
  box-shadow: 0 8px 40px rgba(12,26,48,.08);
  min-height: 240px;
  box-sizing: border-box;
}
.wc-sknm {
  font-size: 64px;
  font-weight: 700;
  color: rgba(30,56,96,.07);
  line-height: 1;
  position: absolute;
  top: 20px;
  right: 28px;
}
.wc-skbd { position: relative; z-index: 1; }
.wc-skdm {
  width: 10px; height: 10px;
  transform: rotate(45deg);
  display: inline-block;
  margin-bottom: 20px;
}
.wc-skdm-m { background: var(--wc-mulberry); }
.wc-skdm-r { background: var(--wc-rose); }
.wc-skdm-i { background: var(--wc-iris); }
.wc-sktx {
  font-size: clamp(20px, 2.8vw, 30px);
  color: var(--wc-berry);
  line-height: 1.35;
  font-weight: 600;
}
.wc-skcl {
  margin-top: 24px;
  font-size: 20px;
  font-style: italic;
  color: var(--wc-mulberry);
}

/* ==============================================
   SECTION: FEATURES — horizontal scroll cards
   ============================================== */
.wc-row-feat {
  background: #ffffff;
  padding: 80px 0 0;
  overflow: hidden;
}
.wc-row-feat .wc-section-inner { text-align: center; }

/* Horizontal scroll outer container — GSAP drives x transform, not scrollLeft */
.wc-hsot {
  overflow: hidden;
  position: relative;
}

/* Inner panel — also overflow hidden so track clips cleanly */
.wc-hspn {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-bottom: 40px;
}

/* Horizontal scroll track */
.wc-hstk {
  display: flex;
  gap: 20px;
  padding: 16px 80px 24px;
  width: max-content;
  will-change: transform;
}
.wc-hc {
  width: 320px;
  flex-shrink: 0;
  background: #ffffff;
  border: 1px solid #F1EFE8;
  padding: 28px 28px 32px;
  position: relative;
  transition: border-color .3s, transform .3s;
  overflow: visible;
}
.wc-hc:hover { border-color: var(--wc-petal); transform: translateY(-4px); }
.wc-hc::after {
  content: '';
  position: absolute;
  top: 6px; left: 6px; right: -6px; bottom: -6px;
  background: var(--wc-petal);
  z-index: -1;
  opacity: 0;
  transition: opacity .3s;
}
.wc-hc:hover::after { opacity: 1; }
.wc-hcnm {
  font-size: 64px;
  font-weight: 700;
  color: rgba(30,56,96,.06);
  line-height: 1;
  position: absolute;
  top: 16px;
  right: 20px;
}
.wc-fa {
  width: 32px; height: 4px;
  margin-bottom: 20px;
}
.wc-fa-m { background: var(--wc-mulberry); }
.wc-fa-v { background: var(--wc-violet); }
.wc-fa-r { background: var(--wc-rose); }
.wc-fa-i { background: var(--wc-iris); }
.wc-hc h3 {
  font-size: 18px;
  color: var(--wc-berry);
  margin-bottom: 12px;
  line-height: 1.35;
}
.wc-hc p { font-size: 14px; color: var(--wc-stone); line-height: 1.7; }

/* Scroll progress bar */
.wc-hspg {
  height: 2px;
  background: rgba(30,56,96,.12);
  border-radius: 2px;
  margin: 0 80px 48px;
}
.wc-hspb {
  height: 100%;
  background: linear-gradient(90deg, var(--wc-mulberry), var(--wc-rose), var(--wc-iris));
  width: 0%;
  transform-origin: left;
  border-radius: 2px;
  transition: width .1s linear;
}
@media(max-width:900px) {
  .wc-hstk { padding: 16px 24px 24px; }
  .wc-hc { width: 260px; }
  .wc-hspg { margin: 0 24px 40px; }
}

/* ==============================================
   SECTION: PRICING
   ============================================== */
.wc-row-pr {
  background: var(--wc-deep-violet);
  padding: 100px 0;
  overflow: hidden;
  position: relative;
}
.wc-row-pr .wc-section-inner { text-align: center; }

/* Decorative diamonds in bg */
.wc-prbg {
  position: absolute;
  transform: rotate(45deg);
  pointer-events: none;
}
.wc-prbg1 { width: 200px; height: 200px; top: 60px; right: 80px; background: var(--wc-iris); opacity: .07; }
.wc-prbg2 { width: 120px; height: 120px; bottom: 80px; left: 60px; background: var(--wc-rose); opacity: .06; }

.wc-prsb { font-size: 16px; color: var(--wc-lavender); text-align: center; margin-bottom: 56px; }

/* Pricing grid */
.wc-prgr {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
  text-align: left;
}
@media(max-width:1000px) { .wc-prgr { grid-template-columns: repeat(2, 1fr); } }
@media(max-width:700px) { .wc-prgr { grid-template-columns: 1fr; } }

/* Pricing card */
.wc-prcd {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.13);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color .2s, background .2s, transform .2s;
  isolation: isolate;
}
.wc-prcd:hover { background: rgba(255,255,255,.11); border-color: rgba(255,255,255,.25); transform: translateY(-4px); }
.wc-prcd-pop { border-color: rgba(232,86,58,.5) !important; background: rgba(232,86,58,.1) !important; transform: translateY(-12px); }
.wc-prcd-pop:hover { transform: translateY(-16px); }
.wc-prcd-free { border-color: rgba(232,86,58,.25) !important; }
.wc-ppbdg {
  background: var(--wc-rose);
  color: #fff;
  font-size: 10px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-block;
  width: fit-content;
  letter-spacing: .04em;
}
.wc-plnm { font-size: 12px; font-weight: 500; color: var(--wc-lavender); letter-spacing: .04em; }
.wc-plpr { font-size: 40px; color: #ffffff; line-height: 1; }
.wc-plpr span { font-size: 12px; color: var(--wc-lavender); font-weight: 400; }
.wc-pldv { height: 1px; background: rgba(255,255,255,.1); }
.wc-ft { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.wc-ftit { display: flex; gap: 10px; align-items: flex-start; font-size: 12px; color: var(--wc-lavender); line-height: 1.5; }
.wc-pldt { width: 6px; height: 6px; transform: rotate(45deg); flex-shrink: 0; margin-top: 4px; }
.wc-pldt-r { background: var(--wc-rose); }
.wc-pldt-i { background: var(--wc-iris); }
.wc-plun { color: var(--wc-rose); font-size: 11px; display: block; }
.wc-plbt {
  display: block;
  text-align: center;
  text-decoration: none;
  color: #fff !important;
  font-size: 13px;
  font-weight: 500;
  padding: 12px;
  transition: opacity .2s, transform .15s;
  margin-top: auto;
  clip-path: polygon(7px 0%, 100% 0%, calc(100% - 7px) 100%, 0% 100%);
}
.wc-plbt:hover { opacity: .85; transform: translateY(-1px); }
.wc-plbg { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); }
.wc-plbv { background: var(--wc-violet); }
.wc-plbr { background: var(--wc-rose); }
.wc-plbm { background: var(--wc-mulberry); }

/* Dev rates note */
.wc-dv {
  text-align: center;
  font-size: 14px;
  color: var(--wc-iris);
  padding: 16px;
  border: 1px solid rgba(90,134,224,.2);
  background: rgba(42,72,136,.1);
}
.wc-dv strong { color: var(--wc-lavender); }

/* ==============================================
   SECTION: FOUNDING
   ============================================== */
.wc-row-fn {
  background: var(--wc-petal);
  padding: 100px 0;
}
.wc-row-fn .wc-section-inner {
  max-width: 760px;
  text-align: center;
}
.wc-row-fn h2 {
  font-size: clamp(36px, 4vw, 52px);
  color: var(--wc-berry);
  margin-bottom: 28px;
  line-height: 1.2;
}
.wc-fnp { font-size: 17px; color: var(--wc-mulberry); line-height: 1.75; margin-bottom: 12px; }
.wc-fnnt { font-size: 15px; color: var(--wc-stone); margin-bottom: 40px; }

/* ==============================================
   SECTION: ABOUT
   ============================================== */
.wc-row-ab {
  background: var(--wc-cream);
  padding: 100px 0;
}
.wc-abin {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: center;
}
@media(max-width:900px) { .wc-abin { grid-template-columns: 1fr; gap: 48px; } }

/* Diamond photo frame */
.wc-abph {
  position: relative;
  max-width: 420px;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wc-abpw {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}
.wc-abpd {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 8%;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  display: block;
  position: absolute;
  top: 0; left: 0;
  transition: transform .6s ease;
  filter: drop-shadow(0 24px 60px rgba(12,26,48,.35));
}
.wc-abpb {
  position: absolute;
  inset: -12px;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  background: linear-gradient(135deg, var(--wc-mulberry), var(--wc-rose), var(--wc-iris));
  z-index: -1;
  opacity: .25;
}
.wc-abpr {
  position: absolute;
  inset: -28px;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  background: linear-gradient(135deg, var(--wc-rose), var(--wc-iris));
  z-index: -2;
  opacity: .1;
}
.wc-abph:hover .wc-abpd { transform: scale(1.03); }
.wc-abcnt { padding-top: 8px; }
.wc-abcnt h2 {
  font-size: clamp(36px, 3.5vw, 52px);
  color: var(--wc-berry);
  margin-bottom: 24px;
}
.wc-abcnt p { font-size: 16px; color: var(--wc-berry); line-height: 1.8; margin-bottom: 20px; }
.wc-absg { font-size: 24px; font-style: italic; color: var(--wc-mulberry); margin-top: 8px; margin-bottom: 4px; }
.wc-abtl { font-size: 14px; color: var(--wc-stone); }

/* ==============================================
   SECTION: FINAL CTA
   ============================================== */
.wc-row-cta {
  background: var(--wc-berry);
  padding: 120px 0;
  overflow: hidden;
  position: relative;
}
.wc-ctabg {
  position: absolute;
  transform: rotate(45deg);
  pointer-events: none;
}
.wc-ctabg1 { width: 200px; height: 200px; top: 20px; left: 50%; margin-left: -100px; background: var(--wc-rose); opacity: .06; }
.wc-ctabg2 { width: 100px; height: 100px; bottom: 60px; left: 100px; background: var(--wc-iris); opacity: .07; }
.wc-ctain { max-width: 900px; margin: 0 auto; text-align: center; position: relative; z-index: 1; padding: 0 40px; }
.wc-ctain h2 {
  font-size: clamp(38px, 5vw, 62px);
  color: #ffffff;
  margin-bottom: 24px;
  line-height: 1.15;
}
.wc-ctain p { font-size: 18px; color: var(--wc-lavender); line-height: 1.75; max-width: 720px; margin: 0 auto 48px; }

/* ==============================================
   CUSTOM CURSOR (desktop only)
   ============================================== */
@media(hover:hover) and (pointer:fine) {
  #cursor-dot {
    position: fixed; width: 6px; height: 6px;
    background: var(--wc-rose); border-radius: 50%;
    pointer-events: none; z-index: 9998;
    transform: translate(-50%, -50%);
    mix-blend-mode: screen;
  }
  #cursor-ring {
    position: fixed; width: 32px; height: 32px;
    border: 1.5px solid rgba(232,86,58,.5);
    border-radius: 50%; pointer-events: none; z-index: 9997;
    transform: translate(-50%, -50%) rotate(45deg);
    mix-blend-mode: screen;
  }
  .page-id-39 * { cursor: none !important; }
}

/* ==============================================
   GSAP / SCROLL ANIMATION BASES
   ============================================== */
.wc-rv { opacity: 0; transform: translateY(24px); }
.wc-rv.wc-visible { opacity: 1; transform: translateY(0); transition: opacity .7s ease, transform .7s ease; }

/* CTA pulse glow animation */
@keyframes wc-pulse-glow {
  0%, 100% { box-shadow: 0 0 0 rgba(30,56,96,0); }
  50%       { box-shadow: 0 0 28px rgba(30,56,96,.55), 0 0 60px rgba(30,56,96,.2); }
}
.wc-pulse { animation: wc-pulse-glow 1.6s ease-in-out infinite; }

/* Founding line-split animation base states */
.wc-fnlb {
  display: block;
  overflow: hidden;
  line-height: 1.2;
}
.wc-fnli {
  display: block;
  transform: translateY(110%);
  opacity: 0;
}
.wc-fnbw {
  display: inline-block;
  overflow: hidden;
}
.wc-fnbi {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
}

/* Prevent horizontal overflow from GSAP animations */
body { overflow-x: hidden; }

/* SiteOrigin row — remove default cell padding for full-bleed rows */
.wc-row-feat .panel-grid-cell,
.wc-row-pr .panel-grid-cell,
.wc-row-cta .panel-grid-cell {
  padding: 0 !important;
}

/* Progress bar (global scroll indicator) */
#wc-scroll-bar {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--wc-mulberry), var(--wc-rose), var(--wc-iris));
  z-index: 9999;
  pointer-events: none;
  transform-origin: left;
}
