/* ==========================================================================
   Shopdisk.in — Global Stylesheet
   Every page loads this single file. Rules are scoped to a body class per
   page (or group of pages) so styles never leak across pages.
   ========================================================================== */

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

/* ---------- Utility classes (replace former inline style="" attributes) ---------- */
.max-w-640{ max-width: 640px; }
.max-w-620{ max-width: 620px; }
.footer-hr{ border-color: rgba(255,255,255,0.08); }


/* ==========================================================================
   HOME — index.html (body.page-home)
   ========================================================================== */
body.page-home{
  --bg-void: #05060a;
  --bg-panel: #0d0f16;
  --bg-panel-2: #12141d;
  --border-soft: rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.16);
  --text-primary: #f4f5f7;
  --text-muted: #9aa0ae;
  --accent-1: #7c5cff;
  --accent-2: #33d6c0;
  --accent-3: #ff5fa2;
  --accent-gold: #ffb454;
  background: var(--bg-void);
  color: var(--text-primary);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
  position: relative;
}

body.page-home::before{
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 15% 10%, rgba(124,92,255,0.16), transparent 40%),
    radial-gradient(circle at 85% 25%, rgba(51,214,192,0.12), transparent 45%),
    radial-gradient(circle at 50% 90%, rgba(255,95,162,0.10), transparent 45%);
  pointer-events: none;
}

body.page-home .section-pad{ padding: 100px 0; position: relative; z-index: 1; }

body.page-home::selection,
body.page-home *::selection{ background: var(--accent-1); color: #fff; }

/* ---------- NAVBAR ---------- */
body.page-home .navbar-glass{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10, 11, 17, 0.55);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--border-soft);
  transition: background 0.3s ease, padding 0.3s ease;
  padding: 14px 0;
}

body.page-home .brand-logo{
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, #fff, var(--accent-2) 60%, var(--accent-1));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body.page-home .brand-logo i{
  -webkit-text-fill-color: var(--accent-2);
  margin-right: 6px;
}

body.page-home .navbar-glass .nav-link{
  color: var(--text-muted) !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 16px !important;
  border-radius: 30px;
  transition: all 0.25s ease;
}

body.page-home .navbar-glass .nav-link:hover{
  color: var(--text-primary) !important;
  background: rgba(255,255,255,0.06);
}

body.page-home .btn-nav-cta{
  background: linear-gradient(135deg, var(--accent-1), var(--accent-3));
  color: #fff;
  font-weight: 600;
  padding: 8px 22px;
  border-radius: 30px;
  border: none;
  font-size: 0.9rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 20px rgba(124,92,255,0.35);
}
body.page-home .btn-nav-cta:hover{
  color:#fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(124,92,255,0.55);
}

body.page-home .navbar-toggler{
  border: 1px solid var(--border-soft);
  filter: invert(1) grayscale(1);
}

/* ---------- HERO ---------- */
body.page-home .hero{
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 140px;
  padding-bottom: 80px;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(124,92,255,0.35), transparent 60%),
    linear-gradient(180deg, #08090e 0%, #05060a 60%);
  overflow: hidden;
}

body.page-home .hero::after{
  content:"";
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 20%, transparent 75%);
  pointer-events: none;
}

body.page-home .hero-badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(124,92,255,0.12);
  border: 1px solid rgba(124,92,255,0.35);
  color: #cabfff;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 30px;
  animation: floatYHero 4s ease-in-out infinite;
}

body.page-home .hero-title{
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 24px 0 20px;
  color: var(--text-primary);
}

body.page-home .hero-title .grad-word{
  color: var(--text-primary);
  -webkit-text-fill-color: var(--text-primary);
  background: none;
  background-clip: border-box;
  animation: none;
}

body.page-home .hero-sub{
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 620px;
  line-height: 1.7;
}

body.page-home .hero-stats{
  display: flex;
  gap: 34px;
  margin-top: 40px;
  flex-wrap: wrap;
}
body.page-home .hero-stats .stat-num{
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
}
body.page-home .hero-stats .stat-label{
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

body.page-home .btn-hero-primary{
  background: linear-gradient(135deg, var(--accent-1), var(--accent-3));
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 15px 36px;
  border-radius: 14px;
  border: none;
  box-shadow: 0 10px 30px rgba(124,92,255,0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}
body.page-home .btn-hero-primary::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: translateX(-120%) skewX(-20deg);
  transition: transform 0.6s ease;
}
body.page-home .btn-hero-primary:hover::before{ transform: translateX(120%) skewX(-20deg); }
body.page-home .btn-hero-primary:hover{
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(124,92,255,0.55);
  color: #fff;
}

body.page-home .btn-hero-ghost{
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  font-weight: 600;
  padding: 15px 32px;
  border-radius: 14px;
  transition: all 0.3s ease;
}
body.page-home .btn-hero-ghost:hover{
  background: rgba(255,255,255,0.06);
  border-color: #fff;
  color: #fff;
}

body.page-home .hero-visual{
  position: relative;
  height: 600px;
}
body.page-home .float-card{
  position: absolute;
  width: 190px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.55);
  border: 1px solid var(--border-soft);
}
body.page-home .float-card img{ width: 100%; display: block; }

body.page-home .fc-1{ top: 0%; left: 0%; z-index: 3; animation: floatYHero 5s ease-in-out infinite; }
body.page-home .fc-2{ top: 4%; left: 56%; z-index: 2; transform: rotate(5deg); animation: floatYHero 6s ease-in-out infinite 0.5s; }
body.page-home .fc-3{ top: 56%; left: 22%; z-index: 1; transform: rotate(-7deg); animation: floatYHero 5.5s ease-in-out infinite 1s; }

@keyframes floatYHero{
  0%, 100%{ transform: translateY(0) rotate(var(--r, 0deg)); }
  50%{ transform: translateY(-18px) rotate(var(--r, 0deg)); }
}
body.page-home .fc-2{ --r: 5deg; }
body.page-home .fc-3{ --r: -7deg; }

/* ---------- SECTION HEADERS ---------- */
body.page-home .section-eyebrow{
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 14px;
}
body.page-home .section-title{
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
body.page-home .section-desc{
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 620px;
}

/* ---------- BOOK CARDS ---------- */
body.page-home #books{
  background: linear-gradient(180deg, transparent, rgba(124,92,255,0.04) 40%, transparent);
}

body.page-home .book-card{
  background: linear-gradient(165deg, var(--bg-panel), var(--bg-panel-2));
  border: 1px solid var(--border-soft);
  border-radius: 22px;
  padding: 28px;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(.2,.8,.2,1), border-color 0.4s ease, box-shadow 0.5s ease;
  transform-style: preserve-3d;
  perspective: 1000px;
}

body.page-home .book-card::before{
  content:"";
  position:absolute;
  top:-2px; left:-2px; right:-2px; height: 140px;
  background: radial-gradient(circle at 30% 0%, var(--glow-color, rgba(124,92,255,0.35)), transparent 70%);
  opacity: 0.6;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

body.page-home .book-card:hover{
  transform: translateY(-10px) rotateX(2deg);
  border-color: var(--border-strong);
  box-shadow: 0 25px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.03);
}

body.page-home .book-card:hover::before{ opacity: 1; }

body.page-home .book-card.card-1{ --glow-color: rgba(51,214,192,0.35); }
body.page-home .book-card.card-2{ --glow-color: rgba(124,92,255,0.35); }
body.page-home .book-card.card-3{ --glow-color: rgba(255,95,162,0.35); }

body.page-home .book-cover-wrap{
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 22px;
  background: #000;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

body.page-home .book-cover-wrap img{
  width: 100%;
  display: block;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(.2,.8,.2,1), filter 0.6s ease;
}

body.page-home .book-card:hover .book-cover-wrap img{
  transform: scale(1.08) rotate(-1deg);
  filter: brightness(1.05);
}

body.page-home .book-cover-wrap::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
}

body.page-home .book-badges{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

body.page-home .book-badge{
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 5px 12px;
  border-radius: 30px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-soft);
  color: var(--text-muted);
  white-space: nowrap;
}

body.page-home .book-title{
  font-size: 1.28rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

body.page-home .book-subtitle{
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.6;
  margin-bottom: 24px;
  min-height: 70px;
}

body.page-home .btn-buy{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 20px;
  border-radius: 12px;
  border: none;
  font-weight: 700;
  font-size: 0.98rem;
  color: #05060a;
  background: linear-gradient(135deg, var(--btn-color-1, #33d6c0), var(--btn-color-2, #7c5cff));
  text-decoration: none;
  position: relative;
  isolation: isolate;
  transition: transform 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

body.page-home .btn-buy::after{
  content:"";
  position:absolute; inset:-3px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--btn-color-1, #33d6c0), var(--btn-color-2, #7c5cff));
  z-index:-1;
  opacity: 0;
  filter: blur(14px);
  transition: opacity 0.35s ease;
}

body.page-home .btn-buy:hover{
  transform: translateY(-3px);
  color: #05060a;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  animation: pulseGlow 1.4s ease-in-out infinite;
}

body.page-home .btn-buy:hover::after{ opacity: 0.7; }

@keyframes pulseGlow{
  0%, 100%{ box-shadow: 0 10px 30px rgba(124,92,255,0.35); }
  50%{ box-shadow: 0 10px 42px rgba(124,92,255,0.7); }
}

body.page-home .card-1 .btn-buy{ --btn-color-1: #33d6c0; --btn-color-2: #22a6ff; }
body.page-home .card-2 .btn-buy{ --btn-color-1: #7c5cff; --btn-color-2: #ff5fa2; }
body.page-home .card-3 .btn-buy{ --btn-color-1: #ff5fa2; --btn-color-2: #ffb454; }

/* ---------- FEATURES ---------- */
body.page-home .feature-card{
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  padding: 32px 26px;
  height: 100%;
  transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}
body.page-home .feature-card:hover{
  transform: translateY(-8px);
  border-color: rgba(124,92,255,0.4);
  background: linear-gradient(165deg, var(--bg-panel), rgba(124,92,255,0.06));
}

body.page-home .feature-icon{
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(124,92,255,0.25), rgba(51,214,192,0.2));
  color: #fff;
  transition: transform 0.35s ease;
}
body.page-home .feature-card:hover .feature-icon{ transform: scale(1.1) rotate(-6deg); }

body.page-home .feature-title{
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}
body.page-home .feature-text{
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* ---------- CTA BAND ---------- */
body.page-home .cta-band{
  background: linear-gradient(135deg, rgba(124,92,255,0.16), rgba(255,95,162,0.12));
  border: 1px solid var(--border-soft);
  border-radius: 28px;
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
body.page-home .cta-band::before{
  content:"";
  position:absolute; inset:0;
  background: radial-gradient(circle at 50% 0%, rgba(255,255,255,0.08), transparent 60%);
}

/* ---------- FOOTER ---------- */
body.page-home footer{
  border-top: 1px solid var(--border-soft);
  padding: 50px 0 26px;
  position: relative; z-index: 1;
  background: #05060a;
}
body.page-home .footer-link{
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.25s ease;
}
body.page-home .footer-link:hover{ color: #fff; }

body.page-home .social-icon{
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-soft);
  color: var(--text-muted);
  transition: all 0.3s ease;
}
body.page-home .social-icon:hover{
  background: linear-gradient(135deg, var(--accent-1), var(--accent-3));
  color: #fff;
  border-color: transparent;
  transform: translateY(-4px);
}

body.page-home footer h6{
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}

body.page-home .footer-list{
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
body.page-home .footer-list a{
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.25s ease;
}
body.page-home .footer-list a:hover{ color: #fff; }
body.page-home .footer-list i{
  color: var(--accent-2);
  margin-right: 6px;
  width: 16px;
  text-align: center;
}

body.page-home .meta-disclaimer{
  background: rgba(255,255,255,0.03);
  border: 1px dashed var(--border-strong);
  border-radius: 14px;
  padding: 18px 22px;
  margin: 30px 0 24px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
body.page-home .meta-disclaimer i{
  color: var(--text-muted);
  font-size: 1.15rem;
  margin-top: 2px;
  flex-shrink: 0;
}
body.page-home .meta-disclaimer p{
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.75;
  margin: 0;
}

/* ---------- ANIMATE ON SCROLL ---------- */
body.page-home .reveal{
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
body.page-home .reveal.in-view{
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 991px){
  body.page-home .hero-visual{ display: none; }
  body.page-home .hero{ text-align: center; padding-top: 120px; }
  body.page-home .hero-stats{ justify-content: center; }
  body.page-home .hero-sub{ margin-left: auto; margin-right: auto; }
}


/* ==========================================================================
   SHARED SUBPAGE CHROME — about, contact, and legal pages (body.subpage)
   ========================================================================== */
body.subpage{
  --bg-void: #05060a;
  --bg-panel: #0d0f16;
  --bg-panel-2: #12141d;
  --border-soft: rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.16);
  --text-primary: #f4f5f7;
  --text-muted: #9aa0ae;
  --accent-1: #7c5cff;
  --accent-2: #33d6c0;
  --accent-3: #ff5fa2;
  --accent-gold: #ffb454;
  background: var(--bg-void);
  color: var(--text-primary);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
  position: relative;
}

body.subpage::selection,
body.subpage *::selection{ background: var(--accent-1); color: #fff; }

body.subpage .navbar-glass{
  position: sticky; top: 0; z-index: 1000;
  background: rgba(10, 11, 17, 0.6);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--border-soft);
  padding: 14px 0;
}
body.subpage .brand-logo{
  font-weight: 800; font-size: 1.1rem; letter-spacing: -0.01em;
  background: linear-gradient(120deg, #fff, var(--accent-2) 60%, var(--accent-1));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
body.subpage .brand-logo i{ -webkit-text-fill-color: var(--accent-2); margin-right: 6px; }
body.subpage .navbar-glass .nav-link{
  color: var(--text-muted) !important; font-weight: 500; font-size: 0.95rem;
  padding: 8px 16px !important; border-radius: 30px; transition: all 0.25s ease;
}
body.subpage .navbar-glass .nav-link:hover, body.subpage .navbar-glass .nav-link.active{
  color: var(--text-primary) !important; background: rgba(255,255,255,0.06);
}
body.subpage .navbar-toggler{ border: 1px solid var(--border-soft); filter: invert(1) grayscale(1); }

body.subpage .site-footer{ background: #05060a; border-top: 1px solid var(--border-soft); padding: 60px 0 26px; position: relative; z-index: 1; }
body.subpage .site-footer h6{ color: #fff; font-weight: 700; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 18px; }
body.subpage .footer-list{ list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
body.subpage .footer-list a{ color: var(--text-muted); text-decoration: none; font-size: 0.92rem; transition: color 0.25s ease; }
body.subpage .footer-list a:hover{ color: #fff; }
body.subpage .footer-list i{ color: var(--accent-2); margin-right: 6px; width: 16px; text-align: center; }
body.subpage .footer-tagline{ color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; max-width: 320px; }


/* ==========================================================================
   ABOUT — about.html (body.subpage-about)
   ========================================================================== */
body.subpage-about::before{
  content: "";
  position: fixed; inset: 0; z-index: 0;
  background:
    radial-gradient(circle at 15% 10%, rgba(124,92,255,0.16), transparent 40%),
    radial-gradient(circle at 85% 25%, rgba(51,214,192,0.12), transparent 45%),
    radial-gradient(circle at 50% 90%, rgba(255,95,162,0.10), transparent 45%);
  pointer-events: none;
}

body.subpage-about .section-pad{ padding: 90px 0; position: relative; z-index: 1; }
body.subpage-about .section-eyebrow{
  display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent-2); margin-bottom: 14px;
}
body.subpage-about .section-title{ font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 16px; }
body.subpage-about .section-desc{ color: var(--text-muted); font-size: 1.02rem; max-width: 620px; }

/* HERO */
body.subpage-about .about-hero{
  position: relative; overflow: hidden;
  padding: 100px 0 90px;
  background: radial-gradient(ellipse 80% 55% at 50% -10%, rgba(124,92,255,0.32), transparent 60%),
              linear-gradient(180deg, #08090e 0%, #05060a 75%);
  text-align: center;
}
body.subpage-about .about-hero::after{
  content:""; position:absolute; inset:0;
  background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
                     linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, black 20%, transparent 75%);
  pointer-events: none;
}
body.subpage-about .hero-badge{
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(124,92,255,0.12); border: 1px solid rgba(124,92,255,0.35);
  color: #cabfff; font-size: 0.85rem; font-weight: 600;
  padding: 8px 18px; border-radius: 30px;
  animation: floatYBadge 4s ease-in-out infinite;
}
@keyframes floatYBadge{ 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-10px);} }
body.subpage-about .about-hero h1{
  font-size: clamp(2.1rem, 5.5vw, 3.6rem); font-weight: 900; letter-spacing: -0.03em;
  line-height: 1.15; margin: 24px auto 20px; max-width: 820px; position: relative; z-index: 1;
}
body.subpage-about .about-hero h1 .grad-word{
  background: linear-gradient(120deg, var(--accent-2), var(--accent-1) 55%, var(--accent-3));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
body.subpage-about .about-hero p{
  color: var(--text-muted); font-size: 1.12rem; line-height: 1.7;
  max-width: 640px; margin: 0 auto; position: relative; z-index: 1;
}

/* MISSION */
body.subpage-about .mission-panel{
  background: linear-gradient(165deg, var(--bg-panel), var(--bg-panel-2));
  border: 1px solid var(--border-soft);
  border-radius: 26px;
  padding: 48px;
}
body.subpage-about .mission-panel i.quote-mark{ font-size: 2.4rem; color: var(--accent-1); opacity: 0.5; }
body.subpage-about .mission-panel p{ color: var(--text-muted); font-size: 1.08rem; line-height: 1.85; margin-top: 12px; }
body.subpage-about .mission-panel p strong{ color: var(--text-primary); }

body.subpage-about .stat-mini{ text-align: center; }
body.subpage-about .stat-mini .num{ font-size: 2rem; font-weight: 900; background: linear-gradient(120deg, var(--accent-2), var(--accent-1)); -webkit-background-clip: text; background-clip: text; color: transparent; }
body.subpage-about .stat-mini .lbl{ color: var(--text-muted); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; }

/* VALUES */
body.subpage-about .value-card{
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  padding: 34px 28px;
  height: 100%;
  transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}
body.subpage-about .value-card:hover{
  transform: translateY(-8px);
  border-color: rgba(124,92,255,0.4);
  background: linear-gradient(165deg, var(--bg-panel), rgba(124,92,255,0.07));
}
body.subpage-about .value-icon{
  width: 58px; height: 58px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 20px; color: #fff;
  background: linear-gradient(135deg, var(--v-color-1, #7c5cff), var(--v-color-2, #33d6c0));
  transition: transform 0.35s ease;
}
body.subpage-about .value-card:hover .value-icon{ transform: scale(1.1) rotate(-6deg); }
body.subpage-about .value-card h4{ font-size: 1.12rem; font-weight: 800; margin-bottom: 10px; }
body.subpage-about .value-card p{ color: var(--text-muted); font-size: 0.93rem; line-height: 1.65; margin: 0; }

body.subpage-about .vc-1 .value-icon{ --v-color-1: #33d6c0; --v-color-2: #22a6ff; }
body.subpage-about .vc-2 .value-icon{ --v-color-1: #7c5cff; --v-color-2: #ff5fa2; }
body.subpage-about .vc-3 .value-icon{ --v-color-1: #ff5fa2; --v-color-2: #ffb454; }

/* FLAGSHIP BOOKS */
body.subpage-about .mini-book-card{
  background: linear-gradient(165deg, var(--bg-panel), var(--bg-panel-2));
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  padding: 26px;
  height: 100%;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: transform 0.35s ease, border-color 0.35s ease;
}
body.subpage-about .mini-book-card:hover{ transform: translateY(-6px); border-color: var(--border-strong); }
body.subpage-about .mini-book-cover{
  width: 74px; flex-shrink: 0; border-radius: 10px; overflow: hidden;
  box-shadow: 0 10px 24px rgba(0,0,0,0.5);
}
body.subpage-about .mini-book-cover img{ width: 100%; display: block; aspect-ratio: 3/4; object-fit: cover; }
body.subpage-about .mini-book-card h5{ font-size: 1rem; font-weight: 800; margin-bottom: 6px; line-height: 1.3; }
body.subpage-about .mini-book-card p{ color: var(--text-muted); font-size: 0.85rem; line-height: 1.55; margin-bottom: 0; }

/* CTA BANNER */
body.subpage-about .cta-band{
  background: linear-gradient(135deg, rgba(124,92,255,0.16), rgba(255,95,162,0.12));
  border: 1px solid var(--border-soft);
  border-radius: 28px;
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
body.subpage-about .cta-band::before{
  content:""; position:absolute; inset:0;
  background: radial-gradient(circle at 50% 0%, rgba(255,255,255,0.08), transparent 60%);
}
body.subpage-about .btn-hero-primary{
  background: linear-gradient(135deg, var(--accent-1), var(--accent-3));
  color: #fff; font-weight: 700; font-size: 1.05rem;
  padding: 15px 36px; border-radius: 14px; border: none;
  box-shadow: 0 10px 30px rgba(124,92,255,0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none; display: inline-flex; align-items: center;
}
body.subpage-about .btn-hero-primary:hover{
  transform: translateY(-4px); color: #fff;
  box-shadow: 0 16px 40px rgba(124,92,255,0.55);
}

body.subpage-about .reveal{ opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
body.subpage-about .reveal.in-view{ opacity: 1; transform: translateY(0); }

@media (max-width: 576px){
  body.subpage-about .mission-panel{ padding: 32px 24px; }
  body.subpage-about .cta-band{ padding: 44px 24px; }
}


/* ==========================================================================
   CONTACT — contact.html (body.subpage-contact)
   ========================================================================== */
body.subpage-contact::before{
  content: "";
  position: fixed; inset: 0; z-index: 0;
  background:
    radial-gradient(circle at 15% 10%, rgba(124,92,255,0.16), transparent 40%),
    radial-gradient(circle at 85% 25%, rgba(51,214,192,0.12), transparent 45%),
    radial-gradient(circle at 50% 90%, rgba(255,95,162,0.10), transparent 45%);
  pointer-events: none;
}

body.subpage-contact .page-hero{
  position: relative; overflow: hidden;
  padding: 80px 0 50px;
  background: radial-gradient(ellipse 70% 60% at 50% -10%, rgba(124,92,255,0.28), transparent 60%),
              linear-gradient(180deg, #08090e 0%, #05060a 80%);
}
body.subpage-contact .page-hero::after{
  content:""; position:absolute; inset:0;
  background-image: linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
                     linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, black 20%, transparent 75%);
  pointer-events: none;
}
body.subpage-contact .page-eyebrow{
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(124,92,255,0.12); border: 1px solid rgba(124,92,255,0.35);
  color: #cabfff; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.03em;
  padding: 7px 16px; border-radius: 30px;
}
body.subpage-contact .page-title{
  font-size: clamp(2rem, 5vw, 3rem); font-weight: 900; letter-spacing: -0.02em;
  margin: 20px 0 14px; position: relative; z-index: 1;
}
body.subpage-contact .page-title .grad-word{
  background: linear-gradient(120deg, var(--accent-2), var(--accent-1) 60%, var(--accent-3));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
body.subpage-contact .page-sub{ color: var(--text-muted); max-width: 640px; font-size: 1.02rem; line-height: 1.7; position: relative; z-index: 1; }

body.subpage-contact .section-pad{ padding: 30px 0 100px; position: relative; z-index: 1; }

/* CONTACT INFO CARD */
body.subpage-contact .info-card{
  background: linear-gradient(165deg, var(--bg-panel), var(--bg-panel-2));
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  padding: 40px 34px;
  height: 100%;
}
body.subpage-contact .info-card h3{ font-size: 1.3rem; font-weight: 800; margin-bottom: 8px; }
body.subpage-contact .info-card > p.lead-text{ color: var(--text-muted); font-size: 0.95rem; margin-bottom: 30px; }

body.subpage-contact .info-row{
  display: flex; align-items: flex-start; gap: 16px;
  padding: 18px 0; border-bottom: 1px solid var(--border-soft);
}
body.subpage-contact .info-row:last-of-type{ border-bottom: none; }
body.subpage-contact .info-icon{
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem; color: #fff;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-3));
}
body.subpage-contact .info-row.ic-2 .info-icon{ background: linear-gradient(135deg, var(--accent-2), #22a6ff); }
body.subpage-contact .info-row.ic-3 .info-icon{ background: linear-gradient(135deg, var(--accent-gold), var(--accent-3)); }
body.subpage-contact .info-row h6{ font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 4px; font-weight: 700; }
body.subpage-contact .info-row a, body.subpage-contact .info-row .info-value{ color: var(--text-primary); font-weight: 600; text-decoration: none; font-size: 0.98rem; }
body.subpage-contact .info-row a:hover{ color: var(--accent-2); }
body.subpage-contact .info-row p{ color: var(--text-muted); font-size: 0.88rem; margin: 0; }

body.subpage-contact .faq-note{
  margin-top: 28px;
  background: rgba(124,92,255,0.08);
  border: 1px solid rgba(124,92,255,0.25);
  border-radius: 16px;
  padding: 20px 22px;
}
body.subpage-contact .faq-note h6{ display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 0.92rem; margin-bottom: 8px; color: #fff; }
body.subpage-contact .faq-note h6 i{ color: var(--accent-gold); }
body.subpage-contact .faq-note p{ color: var(--text-muted); font-size: 0.88rem; line-height: 1.65; margin: 0; }
body.subpage-contact .faq-note a{ color: var(--accent-2); text-decoration: none; font-weight: 600; }
body.subpage-contact .faq-note a:hover{ text-decoration: underline; }

/* FORM CARD */
body.subpage-contact .form-card{
  background: linear-gradient(165deg, var(--bg-panel), var(--bg-panel-2));
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  padding: 40px 34px;
  height: 100%;
}
body.subpage-contact .form-card h3{ font-size: 1.3rem; font-weight: 800; margin-bottom: 8px; }
body.subpage-contact .form-card > p{ color: var(--text-muted); font-size: 0.95rem; margin-bottom: 30px; }

body.subpage-contact .form-label{
  color: var(--text-primary); font-weight: 600; font-size: 0.88rem;
  text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 8px;
}
body.subpage-contact .form-control-dark{
  background: var(--bg-panel-2);
  border: 1px solid var(--border-soft);
  color: var(--text-primary);
  border-radius: 12px;
  padding: 13px 16px;
  font-size: 0.95rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
body.subpage-contact .form-control-dark::placeholder{ color: var(--text-muted); opacity: 0.7; }
body.subpage-contact .form-control-dark:focus{
  background: var(--bg-panel-2);
  border-color: var(--accent-1);
  color: var(--text-primary);
  box-shadow: 0 0 0 4px rgba(124,92,255,0.15);
  outline: none;
}
body.subpage-contact textarea.form-control-dark{ resize: vertical; min-height: 140px; }

body.subpage-contact .btn-submit{
  width: 100%;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-3));
  color: #fff; font-weight: 700; font-size: 1.02rem;
  padding: 15px 20px; border-radius: 14px; border: none;
  box-shadow: 0 10px 30px rgba(124,92,255,0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
body.subpage-contact .btn-submit:hover{
  transform: translateY(-3px);
  box-shadow: 0 14px 38px rgba(124,92,255,0.5);
  color: #fff;
}

body.subpage-contact .form-success{
  display: none;
  background: rgba(51,214,192,0.1);
  border: 1px solid rgba(51,214,192,0.35);
  border-radius: 14px;
  padding: 16px 20px;
  color: #a6f3e8;
  font-size: 0.92rem;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}
body.subpage-contact .form-success.show{ display: flex; }

@media (max-width: 576px){
  body.subpage-contact .info-card, body.subpage-contact .form-card{ padding: 28px 22px; }
}


/* ==========================================================================
   LEGAL PAGES — privacy, terms, refund, disclaimer (body.subpage-legal)
   ========================================================================== */
body.subpage-legal .page-hero{
  position: relative; overflow: hidden;
  padding: 80px 0 60px;
  background: linear-gradient(180deg, #08090e 0%, #05060a 80%);
}
body.subpage-legal .page-hero::after{
  content:""; position:absolute; inset:0;
  background-image: linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
                     linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, black 20%, transparent 75%);
  pointer-events: none;
}
body.subpage-legal .page-title{
  font-size: clamp(2rem, 5vw, 3rem); font-weight: 900; letter-spacing: -0.02em;
  margin: 20px 0 14px; position: relative; z-index: 1;
}
body.subpage-legal .page-sub{ color: var(--text-muted); max-width: 640px; font-size: 1.02rem; line-height: 1.7; position: relative; z-index: 1; }

body.subpage-legal .section-pad{ padding: 60px 0 100px; position: relative; z-index: 1; }

body.subpage-legal .toc-wrap{ display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
body.subpage-legal .toc-chip{
  font-size: 0.78rem; font-weight: 600; padding: 7px 15px; border-radius: 30px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border-soft);
  color: var(--text-muted); text-decoration: none; transition: all 0.25s ease;
}

body.subpage-legal .legal-panel{
  background: linear-gradient(165deg, var(--bg-panel), var(--bg-panel-2));
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  padding: 48px;
}
body.subpage-legal .legal-meta{
  color: var(--text-muted); font-size: 0.85rem; margin-bottom: 8px;
  display: flex; align-items: center; gap: 8px;
}
body.subpage-legal .legal-panel h2{
  font-size: 1.3rem; font-weight: 800; margin-top: 38px; margin-bottom: 14px; color: #fff;
  display: flex; align-items: center; gap: 10px; scroll-margin-top: 90px;
}
body.subpage-legal .legal-panel h2:first-of-type{ margin-top: 0; }
body.subpage-legal .legal-panel h2 i{
  font-size: 1rem; width: 34px; height: 34px;
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  color: var(--accent-2); background: rgba(51,214,192,0.12);
}
body.subpage-legal .legal-panel p, body.subpage-legal .legal-panel li{ color: var(--text-muted); line-height: 1.85; font-size: 0.98rem; }
body.subpage-legal .legal-panel ul{ padding-left: 1.3rem; margin-bottom: 1rem; }
body.subpage-legal .legal-panel li{ margin-bottom: 6px; }
body.subpage-legal .legal-panel strong{ color: var(--text-primary); }
body.subpage-legal .legal-panel a{ color: var(--accent-2); text-decoration: underline; text-decoration-color: rgba(51,214,192,0.4); }
body.subpage-legal .legal-divider{ height: 1px; background: var(--border-soft); margin: 40px 0; }

body.subpage-legal .highlight-box{
  background: rgba(255,180,84,0.08); border: 1px solid rgba(255,180,84,0.3);
  border-radius: 14px; padding: 18px 22px; margin: 18px 0;
  display: flex; align-items: flex-start; gap: 14px;
}
body.subpage-legal .highlight-box i{ color: var(--accent-gold); font-size: 1.3rem; margin-top: 2px; flex-shrink: 0; }
body.subpage-legal .highlight-box p{ margin: 0; color: var(--text-primary); font-size: 0.92rem; }

body.subpage-legal .contact-callout{
  background: rgba(124,92,255,0.08); border: 1px solid rgba(124,92,255,0.25);
  border-radius: 16px; padding: 22px 26px; margin-top: 36px;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
body.subpage-legal .contact-callout i{ font-size: 1.6rem; color: var(--accent-1); }
body.subpage-legal .contact-callout a{ color: #fff; font-weight: 700; text-decoration: none; }
body.subpage-legal .contact-callout a:hover{ color: var(--accent-2); }

@media (max-width: 576px){
  body.subpage-legal .legal-panel{ padding: 30px 22px; }
}

/* ---- Legal accent modifier: purple (privacy.html, terms.html) ---- */
body.legal-purple::before{
  content: "";
  position: fixed; inset: 0; z-index: 0;
  background:
    radial-gradient(circle at 15% 10%, rgba(124,92,255,0.14), transparent 40%),
    radial-gradient(circle at 85% 25%, rgba(51,214,192,0.10), transparent 45%),
    radial-gradient(circle at 50% 90%, rgba(255,95,162,0.08), transparent 45%);
  pointer-events: none;
}
body.legal-purple .page-hero{
  background: radial-gradient(ellipse 70% 60% at 50% -10%, rgba(124,92,255,0.28), transparent 60%),
              linear-gradient(180deg, #08090e 0%, #05060a 80%);
}
body.legal-purple .page-eyebrow{
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(124,92,255,0.12); border: 1px solid rgba(124,92,255,0.35);
  color: #cabfff; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.03em;
  padding: 7px 16px; border-radius: 30px;
}
body.legal-purple .page-title .grad-word{
  background: linear-gradient(120deg, var(--accent-2), var(--accent-1) 60%, var(--accent-3));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
body.legal-purple .toc-chip:hover{ background: rgba(124,92,255,0.15); color: #fff; border-color: rgba(124,92,255,0.4); }

/* ---- Legal accent modifier: teal (refund.html) ---- */
body.legal-teal::before{
  content: "";
  position: fixed; inset: 0; z-index: 0;
  background:
    radial-gradient(circle at 15% 10%, rgba(51,214,192,0.14), transparent 40%),
    radial-gradient(circle at 85% 25%, rgba(124,92,255,0.10), transparent 45%),
    radial-gradient(circle at 50% 90%, rgba(255,95,162,0.08), transparent 45%);
  pointer-events: none;
}
body.legal-teal .page-hero{
  background: radial-gradient(ellipse 70% 60% at 50% -10%, rgba(51,214,192,0.24), transparent 60%),
              linear-gradient(180deg, #08090e 0%, #05060a 80%);
}
body.legal-teal .page-eyebrow{
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(51,214,192,0.12); border: 1px solid rgba(51,214,192,0.35);
  color: #a6f3e8; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.03em;
  padding: 7px 16px; border-radius: 30px;
}
body.legal-teal .page-title .grad-word{
  background: linear-gradient(120deg, var(--accent-2), var(--accent-1) 60%, var(--accent-3));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
body.legal-teal .toc-chip:hover{ background: rgba(51,214,192,0.15); color: #fff; border-color: rgba(51,214,192,0.4); }
body.legal-teal .contact-callout{
  background: rgba(51,214,192,0.08); border: 1px solid rgba(51,214,192,0.25);
}
body.legal-teal .contact-callout i{ color: var(--accent-2); }
body.legal-teal .contact-callout a:hover{ color: var(--accent-2); }

/* refund-only: guarantee banner + numbered steps list */
body.legal-teal .guarantee-banner{
  background: linear-gradient(135deg, rgba(51,214,192,0.14), rgba(124,92,255,0.10));
  border: 1px solid rgba(51,214,192,0.3);
  border-radius: 22px;
  padding: 30px 34px;
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
body.legal-teal .guarantee-icon{
  width: 66px; height: 66px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent-2), var(--accent-1));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem; color: #05060a;
}
body.legal-teal .guarantee-banner h3{ font-size: 1.15rem; font-weight: 800; margin-bottom: 4px; }
body.legal-teal .guarantee-banner p{ color: var(--text-muted); font-size: 0.92rem; margin: 0; max-width: 520px; }

body.legal-teal .steps-list{ list-style: none; padding: 0; margin: 20px 0; counter-reset: step; }
body.legal-teal .steps-list li{
  counter-increment: step;
  display: flex; align-items: flex-start; gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-soft);
}
body.legal-teal .steps-list li:last-child{ border-bottom: none; }
body.legal-teal .steps-list li::before{
  content: counter(step);
  flex-shrink: 0;
  width: 32px; height: 32px; border-radius: 9px;
  background: linear-gradient(135deg, var(--accent-2), var(--accent-1));
  color: #05060a; font-weight: 800; font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
}

@media (max-width: 576px){
  body.legal-teal .guarantee-banner{ padding: 24px 20px; }
}

/* ---- Legal accent modifier: gold (disclaimer.html) ---- */
body.legal-gold::before{
  content: "";
  position: fixed; inset: 0; z-index: 0;
  background:
    radial-gradient(circle at 15% 10%, rgba(255,180,84,0.14), transparent 40%),
    radial-gradient(circle at 85% 25%, rgba(255,95,162,0.10), transparent 45%),
    radial-gradient(circle at 50% 90%, rgba(124,92,255,0.08), transparent 45%);
  pointer-events: none;
}
body.legal-gold .page-hero{
  background: radial-gradient(ellipse 70% 60% at 50% -10%, rgba(255,180,84,0.22), transparent 60%),
              linear-gradient(180deg, #08090e 0%, #05060a 80%);
}
body.legal-gold .page-eyebrow{
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,180,84,0.14); border: 1px solid rgba(255,180,84,0.35);
  color: #ffdca6; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.03em;
  padding: 7px 16px; border-radius: 30px;
}
body.legal-gold .page-title .grad-word{
  background: linear-gradient(120deg, var(--accent-gold), var(--accent-3) 60%, var(--accent-1));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
body.legal-gold .toc-chip:hover{ background: rgba(255,180,84,0.15); color: #fff; border-color: rgba(255,180,84,0.4); }
body.legal-gold .legal-panel h2 i{ color: var(--accent-gold); background: rgba(255,180,84,0.14); }
body.legal-gold .contact-callout{
  background: rgba(255,180,84,0.08); border: 1px solid rgba(255,180,84,0.25);
}
body.legal-gold .contact-callout i{ color: var(--accent-gold); }
body.legal-gold .contact-callout a:hover{ color: var(--accent-gold); }

/* disclaimer-only: warning callouts + FB/Meta platform notice */
body.legal-gold .warn-box{
  background: rgba(255,95,162,0.08); border: 1px solid rgba(255,95,162,0.3);
  border-radius: 16px; padding: 22px 26px; margin: 20px 0;
  display: flex; align-items: flex-start; gap: 16px;
}
body.legal-gold .warn-box i{ color: var(--accent-3); font-size: 1.5rem; margin-top: 2px; flex-shrink: 0; }
body.legal-gold .warn-box p{ margin: 0; color: var(--text-primary); font-size: 0.95rem; line-height: 1.7; }
body.legal-gold .warn-box strong{ color: #fff; }

body.legal-gold .fb-disclaimer{
  background: #08090e;
  border: 1px dashed var(--border-strong);
  border-radius: 16px;
  padding: 24px 26px;
  margin: 24px 0;
}
body.legal-gold .fb-disclaimer .fb-label{
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  color: #4267B2; background: rgba(66,103,178,0.15);
  padding: 5px 12px; border-radius: 30px; margin-bottom: 14px;
}
body.legal-gold .fb-disclaimer p{ color: var(--text-muted); font-size: 0.9rem; line-height: 1.75; margin: 0; }


/* ==========================================================================
   THANK-YOU PAGES — book1/book2/book3 (body.ty-page)
   ========================================================================== */
body.ty-page{
  --bg-void: #05060a;
  --bg-panel: #0d0f16;
  --bg-panel-2: #12141d;
  --border-soft: rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.16);
  --text-primary: #f4f5f7;
  --text-muted: #9aa0ae;
  background: var(--bg-void);
  color: var(--text-primary);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.ty-page::selection,
body.ty-page *::selection{ background: var(--accent-1); color: #fff; }

/* NAV */
body.ty-page .navbar-glass{
  position: sticky;
  top: 0; z-index: 1000;
  background: rgba(10, 11, 17, 0.6);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--border-soft);
  padding: 14px 0;
}
body.ty-page .brand-logo{
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, #fff, var(--accent-1) 60%, var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-decoration: none;
}
body.ty-page .brand-logo i{ -webkit-text-fill-color: var(--accent-1); margin-right: 6px; }

/* MAIN */
body.ty-page main{
  flex: 1;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
  padding: 70px 0;
}

body.ty-page .thankyou-card{
  background: linear-gradient(165deg, var(--bg-panel), var(--bg-panel-2));
  border: 1px solid var(--border-soft);
  border-radius: 28px;
  padding: 56px 44px;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  position: relative;
  overflow: hidden;
}
body.ty-page .thankyou-card::before{
  content:"";
  position:absolute; top:-40%; left:50%; translate: -50% 0;
  width: 600px; height: 400px;
  background: radial-gradient(circle, var(--accent-glow), transparent 65%);
  pointer-events: none;
}

/* Animated checkmark badge */
body.ty-page .check-badge{
  width: 110px; height: 110px;
  margin: 0 auto 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  font-size: 3rem;
  position: relative;
  animation: badgePop 0.7s cubic-bezier(.34,1.56,.64,1) both, badgePulse 2.4s ease-in-out 0.7s infinite;
}
body.ty-page .check-badge i{ animation: checkFade 0.5s ease 0.5s both; }

@keyframes badgePop{
  0%{ transform: scale(0); opacity: 0; }
  60%{ transform: scale(1.15); opacity: 1; }
  100%{ transform: scale(1); }
}
@keyframes checkFade{
  from{ opacity: 0; transform: scale(0.5); }
  to{ opacity: 1; transform: scale(1); }
}

body.ty-page .eyebrow-pill{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 7px 16px;
  border-radius: 30px;
  margin-bottom: 20px;
}

body.ty-page .ty-title{
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 18px;
}
body.ty-page .ty-title .grad-word{
  background: linear-gradient(120deg, var(--accent-1), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body.ty-page .ty-message{
  color: var(--text-muted);
  font-size: 1.08rem;
  line-height: 1.75;
  max-width: 580px;
  margin: 0 auto 36px;
}
body.ty-page .ty-message strong{ color: var(--text-primary); }

/* Download button */
body.ty-page .btn-download{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 42px;
  border-radius: 16px;
  border: none;
  font-weight: 800;
  font-size: 1.1rem;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  text-decoration: none;
  position: relative;
  isolation: isolate;
  box-shadow: 0 10px 34px var(--accent-glow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: downloadPulse 2.2s ease-in-out infinite;
}
body.ty-page .btn-download:hover{
  transform: translateY(-4px);
  box-shadow: 0 16px 44px var(--accent-glow);
}
body.ty-page .btn-download i{ font-size: 1.35rem; }

body.ty-page .file-meta{
  color: var(--text-muted);
  font-size: 0.82rem;
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* Divider */
body.ty-page .ty-divider{
  height: 1px;
  background: var(--border-soft);
  margin: 44px 0 36px;
}

/* Steps */
body.ty-page .steps-title{
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-1);
  margin-bottom: 24px;
}

body.ty-page .step-item{
  display: flex;
  align-items: flex-start;
  gap: 16px;
  text-align: left;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 20px;
  height: 100%;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

body.ty-page .step-num{
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
}

body.ty-page .step-body h5{
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 6px;
}
body.ty-page .step-body p{
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.55;
  margin-bottom: 0;
}

/* Return to store */
body.ty-page .btn-return{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  font-weight: 600;
  padding: 13px 30px;
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: 40px;
}
body.ty-page .btn-return:hover{
  background: rgba(255,255,255,0.06);
  border-color: #fff;
  color: #fff;
  transform: translateX(-3px);
}

body.ty-page footer{
  border-top: 1px solid var(--border-soft);
  padding: 24px 0;
  position: relative; z-index: 1;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

@media (max-width: 576px){
  body.ty-page .thankyou-card{ padding: 40px 22px; }
}

/* ---- Thank-you accent modifier: teal (thank-you-book1.html) ---- */
body.ty-teal{
  --accent-1: #33d6c0;
  --accent-2: #22a6ff;
  --accent-glow: rgba(51,214,192,0.4);
}
body.ty-teal::before{
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 20% 10%, rgba(51,214,192,0.18), transparent 45%),
    radial-gradient(circle at 85% 30%, rgba(34,166,255,0.14), transparent 45%),
    radial-gradient(circle at 50% 95%, rgba(124,92,255,0.10), transparent 45%);
  pointer-events: none;
}
body.ty-teal::selection, body.ty-teal *::selection{ color: #05060a; }
body.ty-teal .check-badge{ color: #05060a; box-shadow: 0 0 0 0 rgba(51,214,192,0.5); }
body.ty-teal .eyebrow-pill{ background: rgba(51,214,192,0.12); border: 1px solid rgba(51,214,192,0.35); color: #a6f3e8; }
body.ty-teal .btn-download{ color: #05060a; }
body.ty-teal .btn-download:hover{ color: #05060a; }
body.ty-teal .step-item:hover{ border-color: rgba(51,214,192,0.4); background: rgba(51,214,192,0.05); }
body.ty-teal .step-num{ color: #05060a; }
@keyframes badgePulse{
  0%, 100%{ box-shadow: 0 0 0 0 rgba(51,214,192,0.45); }
  50%{ box-shadow: 0 0 0 22px rgba(51,214,192,0); }
}
body.ty-teal .check-badge{ animation: badgePop 0.7s cubic-bezier(.34,1.56,.64,1) both, badgePulseTeal 2.4s ease-in-out 0.7s infinite; }
@keyframes badgePulseTeal{
  0%, 100%{ box-shadow: 0 0 0 0 rgba(51,214,192,0.45); }
  50%{ box-shadow: 0 0 0 22px rgba(51,214,192,0); }
}
body.ty-teal .btn-download{ animation: downloadPulseTeal 2.2s ease-in-out infinite; }
@keyframes downloadPulseTeal{
  0%, 100%{ box-shadow: 0 10px 34px var(--accent-glow); }
  50%{ box-shadow: 0 10px 34px var(--accent-glow), 0 0 0 12px rgba(51,214,192,0.12); }
}

/* ---- Thank-you accent modifier: purple (thank-you-book2.html) ---- */
body.ty-purple{
  --accent-1: #7c5cff;
  --accent-2: #ff5fa2;
  --accent-glow: rgba(124,92,255,0.4);
}
body.ty-purple::before{
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 20% 10%, rgba(124,92,255,0.2), transparent 45%),
    radial-gradient(circle at 85% 30%, rgba(255,95,162,0.14), transparent 45%),
    radial-gradient(circle at 50% 95%, rgba(51,214,192,0.08), transparent 45%);
  pointer-events: none;
}
body.ty-purple .check-badge{ color: #fff; box-shadow: 0 0 0 0 rgba(124,92,255,0.5); }
body.ty-purple .eyebrow-pill{ background: rgba(124,92,255,0.14); border: 1px solid rgba(124,92,255,0.35); color: #cabfff; }
body.ty-purple .btn-download{ color: #fff; }
body.ty-purple .btn-download:hover{ color: #fff; }
body.ty-purple .step-item:hover{ border-color: rgba(124,92,255,0.4); background: rgba(124,92,255,0.06); }
body.ty-purple .step-num{ color: #fff; }
body.ty-purple .check-badge{ animation: badgePop 0.7s cubic-bezier(.34,1.56,.64,1) both, badgePulsePurple 2.4s ease-in-out 0.7s infinite; }
@keyframes badgePulsePurple{
  0%, 100%{ box-shadow: 0 0 0 0 rgba(124,92,255,0.45); }
  50%{ box-shadow: 0 0 0 22px rgba(124,92,255,0); }
}
body.ty-purple .btn-download{ animation: downloadPulsePurple 2.2s ease-in-out infinite; }
@keyframes downloadPulsePurple{
  0%, 100%{ box-shadow: 0 10px 34px var(--accent-glow); }
  50%{ box-shadow: 0 10px 34px var(--accent-glow), 0 0 0 12px rgba(124,92,255,0.14); }
}

/* ---- Thank-you accent modifier: pink (thank-you-book3.html) ---- */
body.ty-pink{
  --accent-1: #ff5fa2;
  --accent-2: #ffb454;
  --accent-glow: rgba(255,95,162,0.4);
}
body.ty-pink::before{
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 20% 10%, rgba(255,95,162,0.2), transparent 45%),
    radial-gradient(circle at 85% 30%, rgba(255,180,84,0.14), transparent 45%),
    radial-gradient(circle at 50% 95%, rgba(124,92,255,0.08), transparent 45%);
  pointer-events: none;
}
body.ty-pink .check-badge{ color: #05060a; box-shadow: 0 0 0 0 rgba(255,95,162,0.5); }
body.ty-pink .eyebrow-pill{ background: rgba(255,95,162,0.14); border: 1px solid rgba(255,95,162,0.35); color: #ffc2dc; }
body.ty-pink .btn-download{ color: #05060a; }
body.ty-pink .btn-download:hover{ color: #05060a; }
body.ty-pink .step-item:hover{ border-color: rgba(255,95,162,0.4); background: rgba(255,95,162,0.06); }
body.ty-pink .step-num{ color: #05060a; }
body.ty-pink .check-badge{ animation: badgePop 0.7s cubic-bezier(.34,1.56,.64,1) both, badgePulsePink 2.4s ease-in-out 0.7s infinite; }
@keyframes badgePulsePink{
  0%, 100%{ box-shadow: 0 0 0 0 rgba(255,95,162,0.45); }
  50%{ box-shadow: 0 0 0 22px rgba(255,95,162,0); }
}
body.ty-pink .btn-download{ animation: downloadPulsePink 2.2s ease-in-out infinite; }
@keyframes downloadPulsePink{
  0%, 100%{ box-shadow: 0 10px 34px var(--accent-glow); }
  50%{ box-shadow: 0 10px 34px var(--accent-glow), 0 0 0 12px rgba(255,95,162,0.14); }
}
