:root {
  --fc-black: var(--wp--preset--color--black);
  --fc-slate: var(--wp--preset--color--slate);
  --fc-white: var(--wp--preset--color--white);
  --fc-orange: var(--wp--preset--color--orange);
  --fc-cloud: var(--wp--preset--color--cloud);
  --fc-blue: var(--wp--preset--color--blue);
  --fc-charcoal: var(--wp--preset--color--charcoal);
  --fc-mist: var(--wp--preset--color--mist);
  --fc-radius: 18px;
  --fc-radius-sm: 12px;
  --fc-shadow: 0 18px 50px rgba(0,0,0,.12);
  --fc-shadow-soft: 0 8px 28px rgba(0,0,0,.08);
  --fc-ease: cubic-bezier(.22,1,.36,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--fc-white); color: var(--fc-charcoal); }
img { max-width: 100%; height: auto; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid var(--fc-blue);
  outline-offset: 3px;
}

/* ---------- Header ---------- */
.fc-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--fc-mist);
  box-shadow: 0 4px 18px rgba(0,0,0,.04);
}
.fc-header .wp-block-group { max-width: 1280px; margin-inline: auto; }
.fc-header .wp-block-site-title,
.fc-header .wp-block-site-logo { flex: 0 0 auto; }
.fc-header .wp-block-site-title a { color: var(--fc-black); font-weight: 800; letter-spacing: -.04em; text-decoration: none; }
.fc-header .wp-block-navigation-item__content { color: var(--fc-charcoal); font-weight: 600; }
.fc-header .wp-block-navigation-item__content:hover { color: var(--fc-blue); }
.fc-header .wp-block-button__link { border-radius: 999px; background: var(--fc-black); color: var(--fc-white); box-shadow: 0 8px 22px rgba(0,0,0,.16); }
.fc-header .wp-block-button__link:hover { background: var(--fc-blue); color: var(--fc-white); transform: translateY(-1px); }

/* ---------- Product shell ---------- */
.fc-product-main { max-width: 1280px; margin-inline: auto; padding: clamp(18px, 4vw, 36px) clamp(16px, 4vw, 32px) 0; }
.fc-product-hero { align-items: center; gap: clamp(28px, 6vw, 72px); min-height: min(780px, calc(100vh - 120px)); }
.fc-product-hero > .wp-block-column:first-child { min-width: 0; }
.fc-product-copy { padding-block: clamp(16px, 4vw, 48px); }

/* ---------- Product gallery ---------- */
.fc-product-hero .wc-block-product-gallery { position: relative; }
.fc-product-hero .wc-block-product-gallery-large-image__inner-blocks {
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(145deg, var(--fc-black), var(--fc-charcoal));
  box-shadow: 0 32px 80px rgba(0,0,0,.22);
  min-height: clamp(420px, 56vw, 650px);
  display: grid;
  place-items: center;
  position: relative;
}
.fc-product-hero .wc-block-product-gallery-large-image__inner-blocks::after {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,108,239,.22), transparent 62%);
  pointer-events: none;
}
.fc-product-hero .wp-block-woocommerce-product-image,
.fc-product-hero .wp-block-woocommerce-product-image img {
  position: relative;
  z-index: 2;
}
.fc-product-hero .wp-block-woocommerce-product-image img {
  width: 100%;
  max-height: 620px;
  object-fit: contain;
  padding: clamp(22px, 6vw, 72px);
  filter: drop-shadow(0 28px 34px rgba(0,0,0,.28));
}
.fc-product-hero .wp-block-woocommerce-product-gallery-thumbnails {
  margin-top: 14px;
}
.fc-product-hero .wp-block-woocommerce-product-gallery-thumbnails img {
  border-radius: 12px;
  border: 1px solid var(--fc-mist);
}

/* ---------- Hero copy ---------- */
.fc-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--fc-slate);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.fc-hero-label i { width: 6px; height: 6px; border-radius: 50%; background: var(--fc-orange); }
.fc-product-copy .wp-block-post-title {
  margin: 0 0 16px;
  max-width: 700px;
  color: var(--fc-black);
  font-size: clamp(2.4rem, 5.6vw, 5.5rem);
  line-height: .98;
  letter-spacing: -.06em;
  font-weight: 800;
}
.fc-hero-dek {
  max-width: 620px;
  margin: 0 0 22px;
  font-size: clamp(1rem, 1.45vw, 1.14rem);
  line-height: 1.72;
  color: var(--fc-charcoal);
}
.fc-spec-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}
.fc-spec-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--fc-cloud);
  color: var(--fc-charcoal);
  border: 1px solid var(--fc-mist);
  font-size: .82rem;
  font-weight: 700;
}

/* ---------- Price lock card ---------- */
.pl-offer-card {
  border: 1px solid var(--fc-mist);
  border-radius: 24px;
  background: var(--fc-white);
  box-shadow: var(--fc-shadow-soft);
  padding: clamp(18px, 3vw, 26px);
  max-width: 620px;
}
.pl-offer-card__top { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.pl-offer-card__eyebrow {
  margin: 0;
  color: var(--fc-slate);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.pl-offer-card__save {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--fc-orange);
  color: var(--fc-black);
  font-size: .75rem;
  font-weight: 900;
  white-space: nowrap;
}
.pl-offer-card__price { display: flex; align-items: baseline; gap: 12px; margin: 12px 0 6px; }
.pl-offer-card__price strong { color: var(--fc-black); font-size: clamp(2.4rem, 4vw, 3.8rem); line-height: 1; letter-spacing: -.05em; }
.pl-offer-card__price del { color: var(--fc-slate); font-weight: 700; }
.pl-offer-card__sub { margin: 0 0 18px; color: var(--fc-charcoal); font-size: .92rem; }
.pl-offer-card__steps { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0; }
.pl-offer-card__step { padding: 13px; border-radius: 14px; background: var(--fc-cloud); border: 1px solid var(--fc-mist); }
.pl-offer-card__step span { display: block; color: var(--fc-slate); font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.pl-offer-card__step strong { display: block; color: var(--fc-black); font-size: 1.1rem; margin-top: 4px; }
.pl-offer-card__note { color: var(--fc-slate); font-size: .76rem; line-height: 1.6; }
.pl-offer-card__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  padding: 14px 18px;
  border: 0;
  border-radius: 14px;
  background: var(--fc-blue);
  color: var(--fc-white);
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(0,108,239,.26);
  transition: transform .18s var(--fc-ease), box-shadow .18s var(--fc-ease), background .18s var(--fc-ease);
}
.pl-offer-card__cta:hover { background: var(--fc-black); color: var(--fc-white); transform: translateY(-2px); box-shadow: 0 18px 36px rgba(0,0,0,.18); }
.pl-offer-card__secure { margin: 10px 0 0; text-align: center; color: var(--fc-slate); font-size: .74rem; }
.pl-countdown { display: flex; gap: 8px; margin: 14px 0 0; }
.pl-countdown span { display: grid; place-items: center; min-width: 58px; padding: 8px 7px; border-radius: 12px; background: var(--fc-black); color: var(--fc-white); font-variant-numeric: tabular-nums; }
.pl-countdown strong { font-size: 1.05rem; line-height: 1; }
.pl-countdown small { margin-top: 4px; color: var(--fc-mist); font-size: .6rem; letter-spacing: .08em; text-transform: uppercase; }

/* ---------- Trust strip ---------- */
.fc-trust-strip { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; margin: 44px 0 0; border-top: 1px solid var(--fc-mist); border-bottom: 1px solid var(--fc-mist); }
.fc-trust-strip > div { padding: 20px; border-right: 1px solid var(--fc-mist); }
.fc-trust-strip > div:last-child { border-right: 0; }
.fc-trust-strip strong { display: block; color: var(--fc-black); font-size: .95rem; }
.fc-trust-strip span { display: block; margin-top: 5px; color: var(--fc-slate); font-size: .76rem; line-height: 1.5; }

/* ---------- Story sections ---------- */
.fc-story { max-width: 1100px; margin: 0 auto; padding: clamp(72px, 10vw, 130px) 0; }
.fc-story--math { border-top: 1px solid var(--fc-mist); }
.fc-story__eyebrow { color: var(--fc-blue); font-size: .72rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.fc-story__title { margin: 10px 0 14px; max-width: 820px; color: var(--fc-black); font-size: clamp(2rem, 4.4vw, 4.2rem); line-height: 1; letter-spacing: -.055em; }
.fc-story__intro { max-width: 720px; margin: 0; color: var(--fc-charcoal); font-size: 1rem; line-height: 1.75; }
.fc-math { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; margin-top: 30px; }
.fc-math-card { padding: clamp(20px, 3vw, 28px); border: 1px solid var(--fc-mist); border-radius: 20px; background: var(--fc-cloud); }
.fc-math-card.is-hot { border-color: var(--fc-blue); background: var(--fc-black); color: var(--fc-white); }
.fc-math-card span { display: block; font-size: .7rem; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; color: var(--fc-slate); }
.fc-math-card.is-hot span { color: var(--fc-mist); }
.fc-math-card strong { display: block; margin-top: 12px; font-size: clamp(1.7rem, 3vw, 2.6rem); letter-spacing: -.04em; }
.fc-math-card small { display: block; margin-top: 7px; font-size: .82rem; line-height: 1.55; color: var(--fc-slate); }
.fc-math-card.is-hot small { color: var(--fc-mist); }

.fc-feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 30px; }
.fc-feature { min-height: 210px; padding: 24px; border-radius: 20px; background: var(--fc-white); border: 1px solid var(--fc-mist); box-shadow: var(--fc-shadow-soft); }
.fc-feature__num { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 50%; background: var(--fc-black); color: var(--fc-white); font-size: .75rem; font-weight: 900; }
.fc-feature h3 { margin: 22px 0 8px; color: var(--fc-black); font-size: 1.25rem; letter-spacing: -.02em; }
.fc-feature p { margin: 0; color: var(--fc-slate); font-size: .9rem; line-height: 1.7; }

/* ---------- FAQ ---------- */
.fc-faq { margin-top: 30px; border-top: 1px solid var(--fc-mist); }
.fc-faq details { border-bottom: 1px solid var(--fc-mist); }
.fc-faq summary { cursor: pointer; list-style: none; padding: 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--fc-black); font-weight: 800; font-size: 1rem; }
.fc-faq summary::-webkit-details-marker { display: none; }
.fc-faq summary::after { content: "+"; color: var(--fc-blue); font-size: 1.5rem; font-weight: 500; }
.fc-faq details[open] summary::after { content: "–"; }
.fc-faq p { max-width: 740px; margin: -4px 0 22px; color: var(--fc-slate); font-size: .92rem; line-height: 1.7; }

.fc-final-cta { max-width: 1280px; padding: clamp(58px, 8vw, 92px); border-radius: 28px; margin-bottom: clamp(70px, 10vw, 120px); background: var(--fc-black); color: var(--fc-white); box-shadow: 0 34px 90px rgba(0,0,0,.16); }
.fc-final-cta .fc-story__eyebrow { color: var(--fc-orange); }
.fc-final-cta .fc-story__title { color: var(--fc-white); }
.fc-final-cta .fc-story__intro { color: var(--fc-mist); }
.fc-final-cta .pl-offer-card { margin-top: 26px; }

/* ---------- Thank you / coupon ---------- */
.pl-code-panel { max-width: 780px; margin: 20px auto 34px; padding: 24px; border-radius: 20px; background: var(--fc-black); color: var(--fc-white); box-shadow: var(--fc-shadow); text-align: center; }
.pl-code-panel__label { margin: 0; color: var(--fc-orange); font-size: .72rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.pl-code-panel__code { margin: 12px 0 6px; color: var(--fc-white); font-size: clamp(2rem, 5vw, 3rem); font-weight: 900; letter-spacing: .12em; font-variant-numeric: tabular-nums; }
.pl-code-panel__note { margin: 0; color: var(--fc-mist); font-size: .8rem; }

/* ---------- Mobile sticky CTA ---------- */
.pl-sticky-cta { display: none; }

/* ---------- Product details cleanup ---------- */
.fc-product-main .wp-block-woocommerce-product-details { margin-top: 20px; padding-bottom: 80px; }
.fc-product-main .wc-block-components-product-details { border-top: 1px solid var(--fc-mist); }

@media (max-width: 900px) {
  .fc-product-hero { min-height: auto; }
  .fc-product-hero > .wp-block-column { flex-basis: 100% !important; }
  .fc-product-copy { padding-top: 0; }
  .fc-trust-strip { grid-template-columns: repeat(2,1fr); }
  .fc-trust-strip > div:nth-child(2) { border-right: 0; }
  .fc-trust-strip > div:nth-child(-n+2) { border-bottom: 1px solid var(--fc-mist); }
  .fc-feature-grid { grid-template-columns: 1fr; }
  .fc-story { padding-inline: 4px; }
}

@media (max-width: 640px) {
  .fc-header .wp-block-navigation { display: none; }
  .fc-header .wp-block-button { display: none; }
  .fc-product-main { padding-inline: 14px; }
  .fc-product-hero .wc-block-product-gallery-large-image__inner-blocks { min-height: 360px; border-radius: 20px; }
  .fc-product-hero .wp-block-woocommerce-product-image img { padding: 28px; }
  .fc-product-copy .wp-block-post-title { font-size: clamp(2.35rem, 11vw, 3.6rem); }
  .pl-offer-card { border-radius: 18px; padding: 18px; }
  .pl-offer-card__steps { grid-template-columns: 1fr; }
  .pl-countdown span { min-width: 50px; }
  .fc-trust-strip { margin-inline: -14px; }
  .fc-math { grid-template-columns: 1fr; }
  .fc-story { padding-block: 70px; }
  .fc-final-cta { margin-inline: 0; border-radius: 22px; padding: 26px 18px; }
  .pl-sticky-cta {
    display: flex;
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    z-index: 1200;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 10px 10px 14px;
    border: 1px solid var(--fc-mist);
    border-radius: 18px;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(18px);
    box-shadow: 0 16px 40px rgba(0,0,0,.18);
  }
  .pl-sticky-cta__meta { min-width: 0; }
  .pl-sticky-cta__label { margin: 0; color: var(--fc-slate); font-size: .65rem; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
  .pl-sticky-cta__price { margin: 2px 0 0; color: var(--fc-black); font-size: 1.05rem; font-weight: 900; }
  .pl-sticky-cta a { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 16px; border-radius: 13px; background: var(--fc-blue); color: var(--fc-white); text-decoration: none; font-size: .82rem; font-weight: 900; }
  body { padding-bottom: 86px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms; animation-duration: .01ms; animation-iteration-count: 1; }
}
