/* ===== Shop Plans Hub, pure HTML/CSS (built from the OT Toolkit hub layout) ===== */
/* Brand tokens taken from @shop.plans: anvil orange, shop-floor bone, ink charcoal. */

:root {
  --orange-500: #D4612A;   /* logo / highlight */
  --orange-600: #B8501F;
  --orange-700: #9A4119;
  --orange-50:  #FBEDE4;
  --orange-200: #F3C6AB;
  --orange-soft: #F7CFB6; /* light words on orange, like the IG quote posts */
  --bone-50:  #F2EEE7;     /* page background (post background) */
  --bone-100: #E8E2D8;
  --bone-200: #DAD2C5;
  --white: #FFFFFF;
  --ink-900: #16181D;
  --ink-800: #24272E;
  --ink-600: #4B5059;
  --ink-400: #7A7F88;
  --ink-300: #A9A49B;
  --shadow-xl: 0 20px 25px -5px rgba(22,24,29,.08), 0 8px 10px -6px rgba(22,24,29,.04);
  --shadow-2xl: 0 25px 50px -12px rgba(22,24,29,.18);
  --display: 'Anton', 'Impact', 'Arial Narrow', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--bone-50);
  color: var(--ink-600);
  min-height: 100vh;
  overflow-x: clip;
}

em.hl { font-style: normal; color: var(--orange-500); }

/* ---- View toggling via hidden radios ---- */
.view-toggle { position: absolute; opacity: 0; pointer-events: none; }

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.25rem 1.5rem;
  position: relative;
}

.view {
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeIn .5s ease-out forwards;
}

.lang-view { display: none; }

#view-home:checked ~ .page .home-view { display: flex; }

#view-en:checked ~ .page .home-view,
#view-it:checked ~ .page .home-view,
#view-fr:checked ~ .page .home-view,
#view-de:checked ~ .page .home-view { display: none; }

#view-en:checked ~ .page .lang-en,
#view-it:checked ~ .page .lang-it,
#view-fr:checked ~ .page .lang-fr,
#view-de:checked ~ .page .lang-de { display: flex; animation: fadeIn .4s ease-out forwards; }

@keyframes fadeIn {
  0%   { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}

.home-inner {
  width: 100%;
  max-width: 48rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: .5rem;
}

/* ---- Brand intro ---- */
.brand-intro {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 2.5rem;
}

.brand-logo {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 9999px;
  box-shadow: 0 0 0 1px var(--bone-200), var(--shadow-xl);
  margin-bottom: 1.25rem;
}

.brand-handle {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 600;
  font-size: .8125rem;
  letter-spacing: .02em;
  color: var(--orange-600);
  margin-bottom: 1rem;
}
.brand-handle svg { width: 1rem; height: 1rem; }

.home-headline {
  font-family: var(--display);
  font-weight: 400;
  font-size: 2.35rem;
  color: var(--ink-900);
  letter-spacing: .005em;
  line-height: 1.02;
  text-transform: uppercase;
  max-width: 30rem;
  margin-bottom: 1rem;
}
.home-subhead {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-400);
  line-height: 1.6;
  max-width: 32rem;
}

/* ---- Social proof widget ---- */
.social-proof {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  margin-top: 1.75rem;
}
.sp-avatars { display: flex; }
.sp-avatars img {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  object-fit: cover;
  border: 3px solid var(--bone-50);
  margin-left: -.6rem;
  box-shadow: 0 1px 3px rgba(0,0,0,.14);
}
.sp-avatars img:first-child { margin-left: 0; }
.sp-info { display: flex; flex-direction: column; align-items: center; gap: .15rem; margin-top: .35rem; }
.sp-rating { display: inline-flex; align-items: center; gap: .5rem; }
.sp-score {
  font-family: var(--display);
  font-size: 1.35rem;
  color: var(--ink-900);
  letter-spacing: .01em;
}
.sp-stars { display: inline-flex; gap: .1rem; color: #F5A524; }
.sp-stars svg { width: 1.35rem; height: 1.35rem; }
.sp-count { font-size: .9rem; color: var(--ink-400); font-weight: 500; }

@media (min-width: 768px) {
  .brand-logo { width: 6.5rem; height: 6.5rem; margin-bottom: 1.5rem; }
  .home-headline { font-size: 3.1rem; max-width: 36rem; }
}

/* ---- Language prompt ---- */
.lang-prompt {
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-400);
  margin-bottom: 1rem;
  text-align: center;
}

.card-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ---- Language card ---- */
.lang-card {
  cursor: pointer;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.125rem 1.25rem;
  background: var(--white);
  border-radius: 18px;
  border: 1.5px solid var(--bone-100);
  box-shadow: var(--shadow-xl);
  transition: all .25s ease;
}
.lang-card:hover {
  border-color: var(--orange-200);
  transform: translateY(-3px);
  box-shadow: var(--shadow-2xl);
}
.lang-card:active { transform: scale(.98); }

.lang-card .left { display: flex; align-items: center; gap: 1.15rem; }

.flag {
  position: relative;
  width: 3.25rem; height: 3.25rem;
  border-radius: 9999px;
  overflow: hidden;
  border: 1px solid var(--bone-100);
  box-shadow: 0 1px 2px rgba(0,0,0,.06);
  flex-shrink: 0;
}
.flag img { width: 100%; height: 100%; object-fit: cover; }

.lang-text { display: flex; flex-direction: column; gap: .15rem; }

.lang-name {
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -.02em;
  color: var(--ink-900);
  line-height: 1.2;
}
.lang-tag {
  font-weight: 500;
  font-size: .8125rem;
  color: var(--ink-400);
  line-height: 1.35;
}

.chev {
  width: 2.25rem; height: 2.25rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 9999px;
  background: var(--bone-50);
  color: var(--ink-400);
  transition: all .25s ease;
  flex-shrink: 0;
}
.lang-card:hover .chev { background: var(--orange-500); color: var(--white); }
.chev svg { width: 1.125rem; height: 1.125rem; }

/* ================= ORANGE BAND (the brand highlight, middle of the page) ================= */
.shop-band {
  align-self: center;
  width: 100vw;
  margin: 4rem 0 0;
  background: var(--orange-500);
  color: var(--white);
  padding: 3.25rem 1.5rem 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.shop-band::before,
.shop-band::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 10px;
  background: repeating-linear-gradient(-45deg, var(--ink-900) 0 14px, var(--orange-500) 14px 28px);
  opacity: .9;
}
.shop-band::before { top: 0; }
.shop-band::after { bottom: 0; }
.band-quote {
  font-family: var(--display);
  font-size: 3.25rem;
  line-height: .6;
  color: var(--orange-soft);
  margin-bottom: .75rem;
}
.band-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: 2.1rem;
  line-height: 1.04;
  text-transform: uppercase;
  max-width: 34rem;
}
.band-title span { color: var(--orange-soft); display: block; }
.band-points {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .6rem;
  margin-top: 1.75rem;
}
.band-points li {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem .9rem;
  border-radius: 999px;
  background: rgba(22,24,29,.16);
  font-weight: 600;
  font-size: .875rem;
}
.band-points svg { width: 1rem; height: 1rem; }

@media (min-width: 768px) {
  .shop-band { padding: 4rem 2rem 3.75rem; }
  .band-title { font-size: 2.9rem; }
}

/* ================= LANGUAGE / CONTENT VIEW ================= */
.back-row {
  width: 100%;
  max-width: 48rem;
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--ink-400);
  font-weight: 500;
  font-size: 1rem;
  padding: .5rem;
  margin-left: -.5rem;
  border-radius: .75rem;
  cursor: pointer;
  transition: all .2s ease;
}
.back-btn:hover { color: var(--ink-900); background: var(--bone-100); }
.back-btn svg { width: 1.5rem; height: 1.5rem; }

.content-main {
  width: 100%;
  max-width: 48rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-logo { width: 3.5rem; height: 3.5rem; border-radius: 999px; box-shadow: 0 0 0 1px var(--bone-200); margin-bottom: 1.25rem; }
.hero h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 2rem;
  color: var(--ink-900);
  line-height: 1.04;
  text-transform: uppercase;
  max-width: 32rem;
  margin-bottom: 1rem;
}
.hero p {
  font-size: 15px;
  color: var(--ink-400);
  font-weight: 500;
  line-height: 1.6;
  max-width: 36rem;
  margin: 0 auto;
}

.product-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  padding: 1rem 0 1.5rem;
}

/* ---- Product card (mockup on top, full-width CTA below) ---- */
.product-card {
  width: 100%;
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  border: 2px solid transparent;
  text-decoration: none;
  transition: all .3s ease;
}
.product-card:hover {
  border-color: var(--orange-200);
  box-shadow: var(--shadow-2xl);
  transform: translateY(-4px);
}
.product-card:active { transform: scale(.98); }

.product-media {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bone-100);
  background-image: linear-gradient(rgba(22,24,29,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(22,24,29,.045) 1px, transparent 1px);
  background-size: 22px 22px;
  height: 16rem;
  padding: 1rem;
}
.product-media img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
@media (min-width: 720px) { .product-media { height: 19rem; } }

.product-body { display: flex; flex-direction: column; gap: .8rem; padding: 1.35rem 1.4rem 1.5rem; flex: 1; }
.product-tag {
  align-self: flex-start;
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--orange-700);
  background: var(--orange-50);
  padding: .3rem .65rem;
  border-radius: 999px;
}
.product-text { display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.product-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.45rem;
  color: var(--ink-900);
  line-height: 1.08;
  letter-spacing: .01em;
  text-transform: uppercase;
}
.product-desc {
  font-weight: 500;
  font-size: .9rem;
  color: var(--ink-400);
  line-height: 1.5;
}

.product-btn {
  margin-top: .25rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .95rem 1rem;
  border-radius: 14px;
  background: var(--orange-500);
  color: var(--white);
  font-weight: 700;
  font-size: .975rem;
  letter-spacing: .01em;
  transition: background .3s ease;
}
.product-card:hover .product-btn { background: var(--orange-600); }
.product-btn svg { width: 1.1rem; height: 1.1rem; }

@media (min-width: 720px) {
  .product-list { grid-template-columns: repeat(2, 1fr); }
}

/* ---- Help / contact block ---- */
.help-block {
  width: 100%;
  margin-top: 3.5rem;
  padding-top: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .5rem;
}
.help-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.9rem;
  color: var(--ink-900);
  line-height: 1.1;
  text-transform: uppercase;
}
.help-sub {
  color: var(--ink-400);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.6;
  max-width: 26rem;
  margin-bottom: 1rem;
}
.help-btn {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  padding: .75rem 1.5rem;
  background: transparent;
  border: 1.5px solid var(--bone-200);
  border-radius: 999px;
  color: var(--ink-800);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all .25s ease;
}
.help-btn:hover {
  border-color: var(--orange-500);
  color: var(--orange-600);
  background: var(--orange-50);
  transform: translateY(-2px);
}
.help-btn svg { width: 1.25rem; height: 1.25rem; }
.help-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
.help-btn--ig { border-color: #dd2a7b; color: #dd2a7b; }
.help-btn--ig:hover { border-color: #dd2a7b; color: #dd2a7b; background: rgba(221,42,123,.07); }

/* ================= FOOTER ================= */
.footer {
  margin-top: 7rem;
  width: auto;
  align-self: stretch;
  margin-left: -1.25rem;
  margin-right: -1.25rem;
  margin-bottom: -1.5rem;
  padding: 4rem 1.5rem 3rem;
  background: var(--ink-900);
  color: #C9C4BB;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.footer-logo { width: 4.25rem; height: 4.25rem; border-radius: 999px; margin-bottom: 1rem; }
.footer-brand {
  font-family: var(--display);
  font-size: 1.6rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 2.5rem;
}

.footer-cols {
  width: 100%;
  max-width: 40rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-heading {
  font-weight: 700;
  font-size: .8125rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer-list,
.footer-secure { display: flex; flex-direction: column; align-items: center; gap: .75rem; }

.footer-line {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 600;
  font-size: .9375rem;
  color: #E6E1D8;
  text-decoration: none;
  transition: color .2s ease;
}
a.footer-line:hover { color: var(--orange-200); }
.footer-line svg { width: 1.125rem; height: 1.125rem; color: var(--orange-500); flex-shrink: 0; }
.footer-line--muted { font-weight: 500; font-size: .8125rem; color: #8F8A82; margin-top: .25rem; }
.footer-line--muted svg { color: #8F8A82; }
.footer-line--accent { color: var(--orange-200); }

.footer-seals {
  width: auto;
  max-width: 100%;
  height: 8rem;
  object-fit: contain;
  margin-top: .25rem;
  border-radius: 12px;
}

.footer-bottom { width: 100%; max-width: 20rem; padding-top: 1.75rem; border-top: 1px solid #2E3138; }
.footer-bottom p { font-size: .75rem; color: #8F8A82; font-weight: 500; }

@media (min-width: 768px) {
  .footer-cols { max-width: 46rem; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
  .footer-seals { height: 10rem; }
}

/* Top accent strip: hazard stripe in brand colors */
.gradient-bar {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 6px;
  background: repeating-linear-gradient(-45deg, var(--orange-500) 0 12px, var(--ink-900) 12px 24px);
  z-index: 100;
}

/* ================= FLOATING SUPPORT BUTTON ================= */
.support-fab {
  position: fixed;
  right: 1.25rem;
  bottom: 1.5rem;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 999px;
  background: var(--orange-500);
  color: var(--white);
  box-shadow: var(--shadow-2xl);
  animation: fab-float 3s ease-in-out infinite;
  transition: transform .25s ease, background .25s ease;
}
.support-fab:hover { background: var(--orange-600); transform: scale(1.08); }
.support-fab svg { width: 1.6rem; height: 1.6rem; }

@keyframes fab-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (min-width: 768px) {
  .support-fab { right: 2rem; bottom: 2rem; width: 3.75rem; height: 3.75rem; }
}

/* ================= RESPONSIVE ================= */
@media (min-width: 768px) {
  .home-inner { margin-top: 2.5rem; }
  .lang-name { font-size: 1.25rem; }
  .lang-tag { font-size: .875rem; }
  .product-desc { font-size: .9375rem; }
  .page { padding: 2rem 2rem 1.5rem; }
  .footer { margin-left: -2rem; margin-right: -2rem; }
  .hero h2 { font-size: 2.75rem; max-width: 38rem; }
}

/* ================= WHO CREATES THE PLANS ================= */
.who-section {
  width: 100%;
  margin-top: 4.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.who-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: 2rem;
  color: var(--ink-900);
  line-height: 1.05;
  text-transform: uppercase;
  max-width: 30rem;
  margin-bottom: .75rem;
}
.who-subtitle {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-400);
  line-height: 1.6;
  max-width: 32rem;
  margin-bottom: 2rem;
}

.trust-strip { width: 100%; display: flex; justify-content: center; margin-top: 2.5rem; }
.trust-strip .social-proof { margin-top: 0; }
.who-media { width: 100%; max-width: 34rem; margin-bottom: 2rem; }
.who-media img {
  width: 100%;
  height: auto;
  border-radius: 1.75rem;
  border: 4px solid var(--white);
  box-shadow: var(--shadow-2xl);
  object-fit: cover;
}
.who-text {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 40rem;
  color: var(--ink-600);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.65;
}
.who-text strong { color: var(--ink-900); font-weight: 700; }

@media (min-width: 768px) {
  .who-text { font-size: 1.125rem; }
  .who-title { font-size: 2.5rem; }
}

/* ================= 30-DAY GUARANTEE ================= */
.guarantee-section { width: 100%; margin-top: 6rem; margin-bottom: 3rem; }
.guarantee-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.75rem;
}
.guarantee-media { width: 100%; max-width: 12rem; flex-shrink: 0; display: flex; justify-content: center; }
.guarantee-media img { width: 100%; height: auto; object-fit: contain; filter: drop-shadow(0 8px 18px rgba(0,0,0,.14)); }
.guarantee-badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: var(--orange-50);
  color: var(--orange-700);
  padding: .4rem 1rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: .6875rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.guarantee-badge svg { width: 1rem; height: 1rem; }
.guarantee-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: 2rem;
  color: var(--ink-900);
  line-height: 1.05;
  text-transform: uppercase;
  margin-bottom: .5rem;
}
.guarantee-subtitle { font-weight: 700; font-size: 1.1875rem; color: var(--orange-600); margin-bottom: 1.5rem; }
.guarantee-text {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  color: var(--ink-600);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.65;
}
.guarantee-text strong { color: var(--orange-700); font-weight: 700; }

@media (min-width: 768px) {
  .guarantee-card { flex-direction: row; align-items: center; text-align: left; gap: 3rem; }
  .guarantee-media { width: 33%; max-width: 16rem; }
  .guarantee-subtitle { font-size: 1.375rem; }
  .guarantee-text { font-size: 1.125rem; }
}
