/* another_test.css */

/* Theme vars (fallbacks) */
:root{
  --am-accent: #f09821;
  --am-bg: #07090d;
  --am-text: rgba(255,255,255,.92);
  --am-muted: rgba(255,255,255,.62);
  --am-border: rgba(255,255,255,.10);

  --fpsp-accent: var(--am-accent);
  --fpsp-bg: var(--am-bg);
  --fpsp-text: var(--am-text);
  --fpsp-muted: var(--am-muted);
  --fpsp-border: var(--am-border);
}


/* ======================================================================
   GLOBAL: Home (HM9 + header/button sizing + loader)
   Extracted from homepage css.txt (lines 653+)
   ====================================================================== */

/* Loader overlay (only visible if markup exists) */
.am-loader{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background:
    radial-gradient(1200px 700px at 50% 35%, rgba(240,152,33,.10), transparent 55%),
    radial-gradient(900px 520px at 50% 0%, rgba(255,255,255,.05), transparent 60%),
    linear-gradient(180deg, rgba(7,9,13,.96), rgba(7,9,13,.92));
  opacity: 1;
  visibility: visible;
  transition: opacity .28s ease, visibility .28s ease;
}
.am-loader.is-hidden{
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  animation: none !important;
}
.am-loader__inner{
  text-align: center;
  padding: 22px 26px;
}
.am-loader__brand{
  font-weight: 900;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(255,255,255,.92);
}
.am-loader__line{
  width: 280px;
  max-width: 72vw;
  height: 1px;
  margin: 16px auto 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent);
  position: relative;
  overflow: hidden;
}
.am-loader__line:after{
  content:"";
  position:absolute;
  left:-40%;
  top:0;
  height:100%;
  width:40%;
  background: linear-gradient(90deg, transparent, rgba(240,152,33,.85), transparent);
  animation: amLoaderSweep 1.1s ease-in-out infinite;
}
@keyframes amLoaderSweep{
  0%{ transform: translateX(0); }
  100%{ transform: translateX(350%); }
}

/* Home root */
.hm9{ position: relative; z-index: 2; }
.hm9-shell{ max-width: 1180px; margin: 0 auto; padding: 0 18px; }
.hm9-section{ padding: 56px 0; }
@media (max-width: 980px){ .hm9-section{ padding: 44px 0; } }

/* Hero (fullscreen) */
.hm9-hero{
  position: relative;
  min-height: calc(100vh - var(--am-sticky-top));
  display: grid;
  align-items: center;
  padding: 18px 0 22px;
  overflow: hidden;
}
.hm9-hero:before{
  content:"";
  position:absolute;
  inset:-2px;
  background:
    radial-gradient(1200px 700px at 50% 0%, rgba(255,255,255,.06), transparent 60%),
    radial-gradient(900px 520px at 20% 15%, rgba(240,152,33,.14), transparent 55%),
    radial-gradient(900px 520px at 80% 35%, rgba(240,152,33,.08), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.55));
  pointer-events:none;
}
.hm9-hero:after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(900px 420px at 50% 45%, rgba(0,0,0,.15), rgba(0,0,0,.72) 68%),
    linear-gradient(180deg, rgba(7,9,13,.25), rgba(7,9,13,.80));
  pointer-events:none;
}

/* Optional hero image (set via CSS var) */
.hm9-heroMedia{
  position:absolute;
  inset:0;
  background-image: var(--hm9-hero-image, none);
  background-size: cover;
  background-position: center;
  filter: saturate(1.05) contrast(1.04) brightness(.75);
  opacity: .55;
  transform: scale(1.03);
  pointer-events:none;
}

.hm9-heroInner{
  position: relative;
  z-index: 2;
  padding-top: 8px;
  display: grid;
  justify-items: center;
  text-align: center;
}

.hm9-badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(240,152,33,.25);
  background: rgba(240,152,33,.10);
  color: rgba(255,255,255,.92);
  font-weight: 800;
  font-size: 13px;
}
.hm9-badgeDot{
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--am-accent);
  box-shadow: 0 0 18px rgba(240,152,33,.35);
}

.hm9-title{
  margin: 14px 0 0;
  font-size: 52px;
  line-height: 1.05;
  letter-spacing: .2px;
}
.hm9-sub{
  margin: 12px auto 0;
  max-width: 70ch;
  font-size: 15px;
  line-height: 1.65;
  color: var(--am-muted);
}

/* Buttons: match product page */
.hm9-ctaRow{ display:flex; gap: 12px; justify-content:center; flex-wrap: wrap; margin-top: 18px; }
.hm9-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  min-height: 46px;
  padding: 14px 18px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.08);
  font-weight: 1100;
  cursor: pointer;
  text-decoration:none;
  transition: 140ms ease;
  white-space: nowrap;
}
.hm9-btn--primary{
  background: linear-gradient(135deg, var(--am-accent), #d97f12);
  color: #0b0b0f;
  box-shadow: 0 6px 0 rgba(140,80,8,.85);
}
.hm9-btn--primary:hover{ transform: translateY(-1px); }
.hm9-btn--ghost{
  background: rgba(255,255,255,.03);
  color: var(--am-text);
}
.hm9-btn--ghost:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.05);
  border-color: rgba(240,152,33,.30);
}

.hm9-trust{
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  width: min(980px, 100%);
}
.hm9-trustCard{
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.20);
  backdrop-filter: blur(10px);
  padding: 14px;
  box-shadow: 0 30px 80px rgba(0,0,0,.32);
}
.hm9-trustVal{ display:block; font-weight: 1200; font-size: 16px; }
.hm9-trustLbl{ display:block; margin-top: 4px; font-weight: 900; font-size: 13px; color: rgba(255,255,255,.72); }

.hm9-scroll{
  position:absolute;
  left:50%;
  bottom: 14px;
  transform: translateX(-50%);
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(10px);
  padding: 10px 14px;
  color: rgba(255,255,255,.85);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
  z-index: 3;
}
.hm9-scroll:hover{ transform: translateX(-50%) translateY(-1px); border-color: rgba(240,152,33,.35); }

/* Section headers */
.hm9-head{
  display:flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}
.hm9-h2{ margin:0; font-size: 30px; letter-spacing: .2px; }
.hm9-p{ margin: 6px 0 0; font-size: 14px; color: var(--am-muted); }

/* Cards grid */
.hm9-grid3{ display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.hm9-card{
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.10);
  background:
    radial-gradient(700px 280px at 0% 0%, rgba(240,152,33,.12), transparent 60%),
    rgba(255,255,255,.02);
  box-shadow: 0 30px 80px rgba(0,0,0,.32);
  padding: 16px;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.hm9-card:hover{ transform: translateY(-2px); border-color: rgba(240,152,33,.30); box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 18px 80px rgba(0,0,0,.6), 0 0 40px rgba(240,152,33,.10); }

.hm9-cardTitle{ display:flex; align-items:center; gap: 10px; margin:0; font-size: 16px; font-weight: 1100; }
.hm9-cardIcon{
  width: 42px; height: 42px;
  border-radius: 14px;
  display:inline-flex; align-items:center; justify-content:center;
  border: 1px solid rgba(240,152,33,.28);
  background: rgba(240,152,33,.10);
  color: var(--am-accent);
  flex: 0 0 auto;
}
.hm9-cardBody{ margin-top: 10px; font-size: 14px; color: rgba(255,255,255,.80); line-height: 1.6; font-weight: 800; }

/* Products */
.hm9-filter{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.hm9-pill{
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.22);
  color: rgba(255,255,255,.80);
  border-radius: 999px;
  padding: 10px 14px;
  cursor: pointer;
  transition: border-color .15s ease, transform .15s ease, background .15s ease;
  font-weight: 900;
  font-size: 13px;
}
.hm9-pill:hover{ transform: translateY(-1px); border-color: rgba(240,152,33,.28); }
.hm9-pill.is-active{ border-color: rgba(240,152,33,.38); background: rgba(240,152,33,.12); }

.hm9-products{ display:grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.hm9-prod{
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.02);
  box-shadow: 0 30px 80px rgba(0,0,0,.32);
  padding: 16px;
  overflow: hidden;
  transition: transform .18s ease, border-color .18s ease;
}
.hm9-prod:hover{ transform: translateY(-2px); border-color: rgba(240,152,33,.30); }
.hm9-prod.is-hidden{ display:none; }

.hm9-prodTop{ display:flex; align-items:flex-start; justify-content: space-between; gap: 12px; }
.hm9-prodName{ margin: 0; font-weight: 1100; font-size: 18px; }
.hm9-prodMeta{ margin-top: 4px; color: var(--am-muted); font-weight: 900; font-size: 13px; }

.hm9-tags{ display:flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 14px; }
.hm9-tag{
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.18);
  padding: 6px 10px;
  color: rgba(255,255,255,.72);
  font-weight: 900;
  font-size: 12px;
}
.hm9-tag.is-hi{ border-color: rgba(240,152,33,.30); background: rgba(240,152,33,.10); }

.hm9-prodDesc{ margin: 0; color: rgba(255,255,255,.80); font-weight: 800; font-size: 14px; line-height: 1.6; min-height: 46px; }
.hm9-prodCta{ margin-top: 14px; display:flex; }

/* Offer block */
.hm9-offer{
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,.10);
  background:
    radial-gradient(900px 420px at 10% 0%, rgba(240,152,33,.14), transparent 60%),
    rgba(0,0,0,.22);
  box-shadow: 0 30px 80px rgba(0,0,0,.38);
  padding: 22px;
}
.hm9-offerGrid{ display:grid; grid-template-columns: 1.1fr .9fr; gap: 18px; align-items: start; }
.hm9-offerList{ margin-top: 10px; display:grid; gap: 10px; }
.hm9-offerItem{ display:flex; gap: 10px; align-items:flex-start; color: rgba(255,255,255,.86); font-weight: 800; font-size: 13px; }
.hm9-check{ width: 18px; height: 18px; margin-top: 2px; color: var(--am-accent); flex: 0 0 auto; }
.hm9-offerAside{
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.20);
  padding: 16px;
}
.hm9-miniRow{ display:flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.06); }
.hm9-miniRow:first-child{ border-top: 0; padding-top: 0; }
.hm9-miniKey{ color: rgba(255,255,255,.86); font-weight: 1000; font-size: 13px; }
.hm9-miniVal{ color: rgba(255,255,255,.72); font-weight: 900; font-size: 13px; }

/* Showcase */
.hm9-showcase{
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,.10);
  background:
    radial-gradient(900px 420px at 0% 0%, rgba(240,152,33,.12), transparent 60%),
    rgba(255,255,255,.02);
  box-shadow: 0 30px 80px rgba(0,0,0,.32);
  padding: 14px;
}
.hm9-embed{ width: 100%; aspect-ratio: 16/9; border: 0; border-radius: 16px; display:block; }

.hm9-chipGrid{ margin-top: 12px; display:grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; }
.hm9-chip{
  display:flex; align-items:center; gap: 10px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.18);
  font-weight: 800;
  font-size: 13px;
  color: rgba(255,255,255,.86);
}

/* Status */
.hm9-statusGrid{ display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.hm9-stat{
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.20);
  padding: 16px;
  box-shadow: 0 30px 80px rgba(0,0,0,.32);
}
.hm9-statVal{ font-weight: 1200; font-size: 20px; }
.hm9-statLbl{ margin-top: 4px; font-weight: 900; font-size: 13px; color: rgba(255,255,255,.70); }

/* FAQ */
.hm9-faq{ display:grid; gap: 10px; max-width: 860px; margin: 0 auto; }
.hm9-faqItem{
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
  padding: 12px 14px;
}
.hm9-faqItem summary{ cursor:pointer; font-weight: 1100; }
.hm9-faqBody{ margin-top: 10px; color: rgba(255,255,255,.84); font-weight: 800; line-height: 1.6; font-size: 14px; }

/* Reveal */
.hm9-reveal{ opacity: 0; transform: translateY(10px); transition: opacity .55s ease, transform .55s ease; }
.hm9-reveal.is-in{ opacity: 1; transform: none; }

/* Focus visible */
.hm9-btn:focus-visible,
.hm9-pill:focus-visible,
.hm9-scroll:focus-visible,
.hm9 a:focus-visible,
.hm9 summary:focus-visible{
  outline: 2px solid rgba(240,152,33,.65);
  outline-offset: 2px;
}

/* Responsive */
@media (max-width: 1100px){
  .hm9-trust{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hm9-products{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hm9-grid3{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hm9-chipGrid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hm9-statusGrid{ grid-template-columns: 1fr; }
  .hm9-offerGrid{ grid-template-columns: 1fr; }
}
@media (max-width: 640px){
  .hm9-shell{ padding: 0 12px; }
  .hm9-title{ font-size: 36px; }
  .hm9-products{ grid-template-columns: 1fr; }
  .hm9-grid3{ grid-template-columns: 1fr; }
  .hm9-trust{ grid-template-columns: 1fr; }
  .hm9-chipGrid{ grid-template-columns: 1fr; }
}




/* =========================================================
   HM10 — Centered section layout (below hero)
   - Keeps existing colors, font, font-size 
   - Only alignment + symmetry adjustments
   ========================================================= */

/* Center section headers + keep optional actions below the text */
.hm9-section .hm9-head{
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
  gap: 12px;
  margin-bottom: 18px;
}

.hm9-section .hm9-headText{
  max-width: 820px;
}

.hm9-section .hm9-headActions{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.hm9-section .hm9-head .hm9-h2,
.hm9-section .hm9-head .hm9-p{
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* Center product filter in section header */
.hm9-section .hm9-headActions .hm9-filter{
  justify-content: center;
}

/* Keep grids visually centered when they don't fill the whole row */
#why .hm9-grid3,
#offer .hm9-offerGrid,
#showcase .hm9-showWrap,
#status .hm9-statusGrid,
#faq .hm9-faq{
  margin-left: auto;
  margin-right: auto;
}

.hm9-grid3,
.hm9-offerGrid,
.hm9-statusGrid{
  justify-content: center;
}

/* Offer CTA row: centered (but keeps your same button styles/colors) */
#offer .hm9-ctaRow{
  justify-content: center;
}

/* Hero buttons: equal size + aligned */
.hm9-hero .hm9-ctaRow{
  justify-content: center;
}
.hm9-hero .hm9-ctaRow .hm9-btn{
  min-width: 164px;
}

/* Responsive: keep header/actions neat */
@media (max-width: 900px){
  .hm9-section .hm9-headText{ max-width: 100%; }
}
/* Loader: auto-hide fallback (works even if JS doesn't run) */
.am-loader[data-auto="1"]:not([data-js="1"]){
  /* CSS fallback ONLY if JS didn't run */
  animation: amLoaderAutoHide 800ms ease 2200ms forwards;
}
@keyframes amLoaderAutoHide{
  to{
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px);
  }
}

/* =========================================================
   HOME: uniform button sizing (global) + centered CTAs
   (keeps same font/colors; only size/alignment)
   ========================================================= */
:root{
  --am-btn-h: 46px;
  --am-btn-w: 176px;
  --am-btn-padX: 18px;
}

/* All home buttons */
.hm9-btn{
  height: var(--am-btn-h);
  min-height: var(--am-btn-h);
  width: var(--am-btn-w);
  max-width: 100%;
  padding: 0 var(--am-btn-padX);
  line-height: 1;
}

/* Ensure rows are truly full-width so centering works */
.hm9-ctaRow{ width: 100%; }

/* Center CTA rows in sections/cards */
.hm9-prodCta{ justify-content: center; width: 100%; }
#offer .hm9-ctaRow{ justify-content: center; }

/* Header / wrapper buttons (override if present) */
a.am-topbar__cta,
a.am-statusbar__link{
  height: var(--am-btn-h);
  min-height: var(--am-btn-h);
  min-width: var(--am-btn-w);
  padding: 0 var(--am-btn-padX);
  line-height: 1;
}

/* Mobile: slightly smaller fixed width to avoid overflow */
@media (max-width: 480px){
  :root{ --am-btn-w: 156px; }
}

/* =========================================================
   HOME (HM12): Typography scale for readability
   - Keeps SAME font family + colors
   - Only increases font sizes + line-height
   - Inspired by Aimex-like scale (H1/H2/body/button)
   ========================================================= */
:root{
  /* Fluid headline sizes */
  --hm9-fs-hero: clamp(40px, 4.6vw, 64px);
  --hm9-fs-h2:   clamp(28px, 2.8vw, 42px);

  /* Text */
  --hm9-fs-body: 16px;
  --hm9-fs-body-lg: 17px;
  --hm9-fs-small: 14px;
  --hm9-fs-micro: 13px;

  /* UI */
  --hm9-fs-btn: 15px;

  --hm9-lh-body: 1.65;
}

/* HERO */
.hm9-badge{ font-size: 14px; }
.hm9-kicker{ font-size: 14px; }
.hm9-title{ font-size: var(--hm9-fs-hero); line-height: 1.06; }
.hm9-sub{ font-size: var(--hm9-fs-body-lg); line-height: var(--hm9-lh-body); }

/* SECTION HEADERS */
.hm9-h2{ font-size: var(--hm9-fs-h2); line-height: 1.18; }
.hm9-p{ font-size: var(--hm9-fs-body); line-height: var(--hm9-lh-body); }

/* Pills / small UI text */
.hm9-pill{ font-size: var(--hm9-fs-micro); }
.hm9-miniKey,
.hm9-miniVal{ font-size: var(--hm9-fs-small); }

/* CARDS */
.hm9-cardTitle{ font-size: 18px; }
.hm9-cardBody{ font-size: 15.5px; line-height: var(--hm9-lh-body); }

/* PRODUCTS */
.hm9-prodName{ font-size: 20px; }
.hm9-prodMeta{ font-size: var(--hm9-fs-small); }
.hm9-prodDesc{ font-size: 15.5px; line-height: var(--hm9-lh-body); }
.hm9-tag{ font-size: 13px; }

/* OFFER LIST */
.hm9-offerItem{ font-size: 14.5px; line-height: 1.7; }

/* STATS */
.hm9-statVal{ font-size: 22px; }
.hm9-statLbl{ font-size: var(--hm9-fs-small); }

/* FAQ */
.hm9-faqItem summary{ font-size: var(--hm9-fs-body); }
.hm9-faqBody{ font-size: 15.5px; line-height: var(--hm9-lh-body); }

/* BUTTONS */
.hm9-btn{ font-size: var(--hm9-fs-btn); }

/* Responsive fine-tuning */
@media (max-width: 640px){
  :root{
    --hm9-fs-body: 15.5px;
    --hm9-fs-body-lg: 16px;
    --hm9-fs-btn: 14.5px;
    --hm9-fs-h2: clamp(24px, 6.2vw, 34px);
    --hm9-fs-hero: clamp(34px, 8vw, 48px);
  }

  .hm9-cardTitle{ font-size: 17px; }
  .hm9-cardBody,
  .hm9-prodDesc,
  .hm9-faqBody{ font-size: 15px; }
}

@media (min-width: 1100px){
  /* Slightly more comfortable reading width on big screens */
  .hm9-sub{ max-width: 880px; }
}

/* ======================================================================
   PRODUCT PAGE: FPSP (with typography tokens)
   Extracted from global and productpage css.txt (line 19+)
   ====================================================================== */

.fpsp-config{ display:none !important; }

/* Page container */
.fpsp{
  color: var(--fpsp-text);

  /* =========================================
     TYPOGRAPHY TOKENS (SCOPE: product page)
     - Promijeni ovdje i sve će se uskladit
     ========================================= */
  --fpsp-fs-base: 16px;           /* default body */
  --fpsp-lh-base: 1.7;

  --fpsp-fs-h2: 34px;
  --fpsp-lh-h2: 1.18;

  --fpsp-fs-p: 16px;
  --fpsp-lh-p: 1.7;

  --fpsp-fs-badge: 14px;

  --fpsp-fs-hero: 52px;
  --fpsp-lh-hero: 1.06;

  --fpsp-fs-sub: 17px;
  --fpsp-lh-sub: 1.65;

  --fpsp-fs-chip: 14px;

  --fpsp-fs-cardTitle: 18px;
  --fpsp-fs-purchaseTitle: 15px;

  --fpsp-fs-micro: 13px;
  --fpsp-fs-price: 28px;
  --fpsp-fs-selected: 18px;

  --fpsp-fs-planLabel: 18px;
  --fpsp-fs-planMeta: 14px;       /* duration + note */
  --fpsp-fs-planPrice: 18px;
  --fpsp-fs-popular: 12px;

  --fpsp-fs-btn: 15px;
  --fpsp-fs-note: 14px;

  --fpsp-fs-featureTitle: 17px;
  --fpsp-fs-li: 14px;

  --fpsp-fs-priceLabel: 19px;
  --fpsp-fs-priceBig: 24px;

  --fpsp-fs-faqSummary: 15px;
  --fpsp-fs-faqBody: 15px;

  font-size: var(--fpsp-fs-base);
  line-height: var(--fpsp-lh-base);
}
.fpsp-container{
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 18px 80px;
}

/* Sections */
.fpsp-section{
  margin-top: 46px;
}
.fpsp-sectionHeader{
  margin-bottom: 18px;
}
.fpsp-center{ text-align:center; }

.fpsp-h2{
  margin: 0;
  font-size: var(--fpsp-fs-h2);
  line-height: var(--fpsp-lh-h2);
  letter-spacing: .2px;
}
.fpsp-p{
  margin: 6px 0 0;
  color: var(--fpsp-muted);
  font-size: var(--fpsp-fs-p);
  line-height: var(--fpsp-lh-p);
}
.fpsp-accent{ color: var(--fpsp-accent); }

/* Hero layout */
.fpsp-hero{ margin-top: 6px; }
.fpsp-heroGrid{
  display: grid;
  grid-template-columns: 1.6fr .9fr;
  gap: 22px;
  align-items: start;
}
.fpsp-heroTop{ display:flex; align-items:center; gap:10px; margin-bottom: 10px; }

.fpsp-badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(240,152,33,.25);
  background: rgba(240,152,33,.10);
  color: var(--fpsp-text);
  font-weight: 800;
  font-size: var(--fpsp-fs-badge);
}

.fpsp-title{
  margin: 0;
  font-size: var(--fpsp-fs-hero);
  line-height: var(--fpsp-lh-hero);
  letter-spacing: .2px;
}
.fpsp-subtitle{
  margin: 10px 0 0;
  color: var(--fpsp-muted);
  font-size: var(--fpsp-fs-sub);
  line-height: var(--fpsp-lh-sub);
  max-width: 62ch;
}

.fpsp-variantTabs{
  margin-top: 16px;
  display: inline-flex;
  gap: 10px;
  flex-wrap: wrap;
}
.fpsp-tab{
  border: 1px solid var(--fpsp-border);
  background: rgba(255,255,255,.03);
  color: var(--fpsp-text);
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 900;
  font-size: 15px;
  cursor: pointer;
  transition: 140ms ease;
}
.fpsp-tab:hover{ transform: translateY(-1px); }
.fpsp-tab.is-active{
  border-color: rgba(240,152,33,.35);
  background: rgba(240,152,33,.12);
}
.fpsp-tab.is-disabled{
  opacity: .45;
  cursor: not-allowed;
  transform: none !important;
}

.fpsp-blob{
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(900px 380px at 0% 0%, rgba(240,152,33,.16), transparent 60%),
    rgba(255,255,255,.02);
  box-shadow: 0 30px 80px rgba(0,0,0,.38);
}

.fpsp-heroImageWrap{
  margin-top: 16px;
  padding: 14px;
}
.fpsp-heroImage{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

.fpsp-highlights{
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 10px;
}
.fpsp-chip{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.18);
  font-weight: 800;
  font-size: var(--fpsp-fs-chip);
  color: rgba(255,255,255,.86);
}

/* Sidebar cards */
.fpsp-sidebar{
  position: sticky;
  top: 140px; /* overridden by wrapper var if you use it */
}
.fpsp-card{
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.02);
  box-shadow: 0 30px 80px rgba(0,0,0,.38);
  padding: 18px;
}
.fpsp-card + .fpsp-card{ margin-top: 14px; }
.fpsp-cardTitle{
  font-weight: 1000;
  font-size: var(--fpsp-fs-cardTitle);
  margin-bottom: 12px;
}

/* Purchase header layout fix */
.fpsp-purchaseHeader{
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
}
.fpsp-purchaseTitle{
  font-weight: 1000;
  font-size: var(--fpsp-fs-purchaseTitle);
  color: rgba(255,255,255,.88);
}
.fpsp-purchaseMeta{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: start;
}
.fpsp-pair{
  display: grid;
  gap: 6px;
}
.fpsp-micro{
  font-size: var(--fpsp-fs-micro);
  color: var(--fpsp-muted);
  font-weight: 900;
  letter-spacing: .2px;
}
.fpsp-price{
  font-size: var(--fpsp-fs-price);
  font-weight: 1100;
  letter-spacing: .2px;
}
.fpsp-selected{
  font-size: var(--fpsp-fs-selected);
  font-weight: 1000;
}

/* Plan list + Popular fix (no overlap) */
.fpsp-planList{
  display: grid;
  gap: 10px;
  margin: 12px 0 14px;
}
.fpsp-planBtn{
  position: relative;
  width: 100%;
  text-align: left;
  border-radius: 16px;
  padding: 14px 14px 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  cursor: pointer;
  transition: 140ms ease;
}
.fpsp-planBtn:hover{ transform: translateY(-1px); }
.fpsp-planBtn.is-active{
  border-color: rgba(240,152,33,.55);
  background: rgba(240,152,33,.10);
  box-shadow: inset 0 0 0 1px rgba(240,152,33,.18);
}
.fpsp-planMeta{ display: grid; gap: 4px; }
.fpsp-planLabel{ font-weight: 1100; font-size: var(--fpsp-fs-planLabel); }
.fpsp-planDuration{ color: var(--fpsp-muted); font-weight: 900; font-size: var(--fpsp-fs-planMeta); }
.fpsp-planNote{ color: rgba(255,255,255,.76); font-weight: 800; font-size: var(--fpsp-fs-planMeta); }

.fpsp-planPrice{
  font-weight: 1100;
  font-size: var(--fpsp-fs-planPrice);
  align-self: start;
  padding-right: 0;
}

/* Popular pill is bottom-right, never over price */
.fpsp-popular{
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(240,152,33,.95);
  color: #0b0b0f;
  font-weight: 1100;
  font-size: var(--fpsp-fs-popular);
  letter-spacing: .4px;
}

/* Buttons + spacing under purchase */
.fpsp-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  width: 100%;
  padding: 14px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.08);
  font-weight: 1100;
  font-size: var(--fpsp-fs-btn);
  cursor: pointer;
  text-decoration:none;
  transition: 140ms ease;
}
.fpsp-btn--primary{
  background: linear-gradient(135deg, var(--fpsp-accent), #d97f12);
  color: #0b0b0f;
  box-shadow: 0 6px 0 rgba(140,80,8,.85);
  margin-bottom: 12px; /* FIX: spacing before note */
}
.fpsp-btn--primary:hover{ transform: translateY(-1px); }
.fpsp-btn--primary.is-disabled{
  opacity: .45;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none;
}

.fpsp-btn--ghost{
  background: rgba(255,255,255,.03);
  color: var(--fpsp-text);
}

.fpsp-note{
  color: var(--fpsp-muted);
  font-size: var(--fpsp-fs-note);
  font-weight: 800;
  line-height: 1.55;
  margin-top: 0; /* controlled by btn margin-bottom */
}

/* Requirements */
.fpsp-reqBlock{
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.16);
}
.fpsp-reqBlock + .fpsp-reqBlock{ margin-top: 10px; }
.fpsp-reqTitle{
  font-weight: 1100;
  font-size: 15px;
  margin-bottom: 10px;
}
.fpsp-reqItem{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 6px 0;
  font-weight: 900;
  font-size: 14px;
  color: rgba(255,255,255,.88);
}

/* Showcase */
.fpsp-showcaseWrap{
  padding: 14px;
}
.fpsp-embed iframe,
.fpsp-embed video{
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 16px;
  display:block;
}
.fpsp-chipGrid{
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 10px;
}

/* FEATURES GRID: 4 in a row */
.fpsp-grid2{
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 14px;
}
.fpsp-featureCard{
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.10);
  background:
    radial-gradient(700px 280px at 0% 0%, rgba(240,152,33,.14), transparent 60%),
    rgba(255,255,255,.02);
  box-shadow: 0 30px 80px rgba(0,0,0,.32);
  padding: 16px;
}
.fpsp-featureTitle{
  display:flex;
  align-items:center;
  gap: 10px;
  margin: 0 0 12px;
  font-size: var(--fpsp-fs-featureTitle);
  font-weight: 1100;
}
.fpsp-ul{ list-style:none; padding:0; margin:0; display:grid; gap: 8px; }
.fpsp-li{
  display:flex;
  gap:10px;
  align-items:flex-start;
  color: rgba(255,255,255,.86);
  font-weight: 800;
  font-size: var(--fpsp-fs-li);
  line-height: 1.55;
}

/* PRICING cards */
.fpsp-grid3{
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
}
.fpsp-priceCard{
  position: relative;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.02);
  box-shadow: 0 30px 80px rgba(0,0,0,.32);
  padding: 16px;
  overflow: hidden;
}
.fpsp-priceTop{
  display:flex;
  align-items:flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-right: 86px; /* FIX: space for POPULAR pill */
}
.fpsp-priceLabel{ font-weight: 1100; font-size: var(--fpsp-fs-priceLabel); }
.fpsp-priceDur{ color: var(--fpsp-muted); font-weight: 900; margin-top: 4px; font-size: var(--fpsp-fs-planMeta); }
.fpsp-priceBig{ font-weight: 1200; font-size: var(--fpsp-fs-priceBig); white-space: nowrap; }

.fpsp-priceCard .fpsp-popular{
  top: 14px;
  bottom: auto;
  right: 14px;
}

/* FAQ */
.fpsp-faq{
  display: grid;
  gap: 10px;
  max-width: 860px;
  margin: 0 auto;
}
.fpsp-faqItem{
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
  padding: 12px 14px;
}
.fpsp-faqItem summary{
  cursor: pointer;
  font-weight: 1100;
  font-size: var(--fpsp-fs-faqSummary);
  line-height: 1.35;
}
.fpsp-faqBody{
  margin-top: 10px;
  color: rgba(255,255,255,.84);
  font-weight: 800;
  line-height: 1.7;
  font-size: var(--fpsp-fs-faqBody);
}
.fpsp-footerCta{ display:flex; justify-content:center; margin-top: 14px; }
.fpsp-link{
  color: var(--fpsp-accent);
  font-weight: 1100;
  text-decoration:none;
  font-size: 15px;
}
.fpsp-link:hover{ text-decoration: underline; }

/* Responsive */
@media (max-width: 1100px){
  .fpsp-heroGrid{ grid-template-columns: 1fr; }
  .fpsp-sidebar{ position: static; }
  .fpsp-highlights{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .fpsp-chipGrid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .fpsp-grid2{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .fpsp-grid3{ grid-template-columns: 1fr; }
}
@media (max-width: 640px){
  /* keep the single-column layout and slightly shrink hero */
  .fpsp-title{ font-size: 36px; }
  .fpsp-purchaseMeta{ grid-template-columns: 1fr; }
  .fpsp-grid2{ grid-template-columns: 1fr; }
  .fpsp-highlights{ grid-template-columns: 1fr; }
  .fpsp-chipGrid{ grid-template-columns: 1fr; }
}

/* =========================================================
   MOBILE-ONLY OVERRIDES (no desktop changes)
   Paste at the very bottom of another_test.css
   ========================================================= */

/* Better mobile rendering + tap feel */
@media (max-width: 820px){
  html{
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  /* Scale down tokens for smaller screens (still readable) */
  .fpsp{
    --fpsp-fs-base: 15.5px;
    --fpsp-fs-h2: 28px;
    --fpsp-fs-p: 15.5px;

    --fpsp-fs-hero: 40px;
    --fpsp-fs-sub: 16px;

    --fpsp-fs-chip: 14px;

    --fpsp-fs-cardTitle: 17px;
    --fpsp-fs-purchaseTitle: 15px;

    --fpsp-fs-micro: 13px;
    --fpsp-fs-price: 26px;
    --fpsp-fs-selected: 17px;

    --fpsp-fs-planLabel: 17px;
    --fpsp-fs-planMeta: 14px;
    --fpsp-fs-planPrice: 17px;
    --fpsp-fs-popular: 11.5px;

    --fpsp-fs-btn: 15px;
    --fpsp-fs-note: 13.5px;

    --fpsp-fs-featureTitle: 16px;
    --fpsp-fs-li: 14px;

    --fpsp-fs-priceLabel: 18px;
    --fpsp-fs-priceBig: 22px;

    --fpsp-fs-faqSummary: 15px;
    --fpsp-fs-faqBody: 15px;
  }

  /* Safe-area friendly bottom padding (iOS) */
  .fpsp-container{
    padding: 14px 14px calc(84px + env(safe-area-inset-bottom));
  }

  /* Sections: tighter rhythm on mobile */
  .fpsp-section{ margin-top: 34px; }
  .fpsp-sectionHeader{ margin-bottom: 14px; }

  /* Hero: tighter + more native spacing */
  .fpsp-hero{ margin-top: 2px; }
  .fpsp-subtitle{ max-width: 100%; }

  /* Cards: slightly tighter + consistent padding */
  .fpsp-card{
    padding: 16px;
    border-radius: 20px;
  }
  .fpsp-blob{
    border-radius: 20px;
  }
  .fpsp-heroImageWrap{
    padding: 12px;
  }
  .fpsp-heroImage{
    border-radius: 14px;
  }

  /* Buttons: true mobile tap targets */
  .fpsp-btn,
  .fpsp-tab,
  .fpsp-planBtn{
    min-height: 46px;          /* 44px+ target */
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  /* Variant tabs: make them more "native" and easy to tap */
  .fpsp-variantTabs{
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .fpsp-tab{
    width: 100%;
    text-align: center;
    padding: 12px 12px;
    border-radius: 14px;
  }

  /* Purchase header: clearer on mobile */
  .fpsp-purchaseHeader{ gap: 10px; }
  .fpsp-purchaseMeta{ gap: 10px; }

  /* Plan buttons: prevent accidental overlaps on very tight widths */
  .fpsp-planBtn{
    border-radius: 16px;
    padding: 14px 14px 16px;
  }
  .fpsp-popular{
    height: 24px;
    right: 12px;
    bottom: 12px;
  }

  /* Primary purchase button spacing + safe area */
  .fpsp-btn--primary{
    margin-bottom: 10px;
    border-radius: 16px;
  }

  /* Showcase: keep it clean on mobile */
  .fpsp-showcaseWrap{ padding: 12px; }
  .fpsp-embed iframe,
  .fpsp-embed video{
    border-radius: 14px;
  }

  /* Accessibility: visible keyboard focus on mobile (when used) */
  .fpsp-btn:focus-visible,
  .fpsp-tab:focus-visible,
  .fpsp-planBtn:focus-visible,
  a.fpsp-link:focus-visible{
    outline: 2px solid rgba(240,152,33,.65);
    outline-offset: 2px;
  }
}

/* "Phone" layout tuning */
@media (max-width: 640px){
  /* Container slightly tighter */
  .fpsp-container{
    padding: 12px 12px calc(86px + env(safe-area-inset-bottom));
  }

  /* Tabs become 1 column if space is tight */
  .fpsp-variantTabs{
    grid-template-columns: 1fr;
  }

  /* Highlights: 2 columns (less vertical scrolling than 1) */
  .fpsp-highlights{
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 10px;
  }

  /* Feature cards: 2 columns on phones (native feel), 1 column on very small below */
  .fpsp-grid2{
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 12px;
  }

  /* Showcase chips: 2 columns */
  .fpsp-chipGrid{
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 10px;
  }

  /* Pricing cards: keep pill from crowding */
  .fpsp-priceTop{
    padding-right: 74px;
  }
}

/* Very small phones */
@media (max-width: 420px){
  /* Back to 1 column when screen is truly narrow */
  .fpsp-highlights{ grid-template-columns: 1fr; }
  .fpsp-grid2{ grid-template-columns: 1fr; }
  .fpsp-chipGrid{ grid-template-columns: 1fr; }

  /* Plan: reduce density */
  .fpsp-planLabel{ font-size: 16px; }
  .fpsp-planDuration,
  .fpsp-planNote{ font-size: 13px; }
}
