/*
Theme Name: PriceIn Custom
Theme URI: https://pricein.io
Description: Custom digital product store — no WooCommerce. Razorpay + Stripe + PayPal. Lightweight, fast, high-converting SaaS UI.
Version: 2.0.0
Author: PriceIn Team
Author URI: https://pricein.io
Requires at least: 6.3
Requires PHP: 8.1
License: GPL-2.0-or-later
Text Domain: pricein
*/

/* ═══════════════════════════════════════════
   DESIGN TOKENS
═══════════════════════════════════════════ */
:root {
  --ink:        #0A0A0F;
  --ink2:       #111118;
  --ink3:       #1A1A26;
  --plate:      #22222E;
  --plate2:     #2A2A38;
  --line:       rgba(255,255,255,0.07);
  --line2:      rgba(255,255,255,0.12);
  --volt:       #6EE7B7;    /* mint-green accent */
  --volt2:      #34D399;
  --ember:      #FB923C;    /* warm CTA accent */
  --ember2:     #F97316;
  --sky:        #38BDF8;
  --text:       #EEEEF5;
  --text2:      #8888A8;
  --text3:      #55556A;
  --success:    #4ADE80;
  --danger:     #F87171;
  --r:          8px;
  --r2:         16px;
  --r3:         24px;
  --nav-h:      66px;
  --max-w:      1180px;
  --font-d:     'Cabinet Grotesk', sans-serif;
  --font-b:     'Instrument Sans', sans-serif;
}

/* ═══════════════════════════════════════════
   RESET
═══════════════════════════════════════════ */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-b);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4,h5,h6 { font-family: var(--font-d); line-height: 1.1; letter-spacing: -0.03em; color: var(--text); }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input,textarea,select { font-family: inherit; }
ul { list-style: none; }

/* ═══════════════════════════════════════════
   UTILITY
═══════════════════════════════════════════ */
.container   { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.section-pad { padding: 5.5rem 1.5rem; }
.s-dark      { background: var(--ink); }
.s-alt       { background: var(--ink2); }
.text-center { text-align: center; }
.sr-only     { position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0); }

.tag {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--volt); margin-bottom: .8rem;
}
.tag::before { content: ''; width: 20px; height: 1px; background: var(--volt); }

.section-h { font-size: clamp(2rem,4vw,3.2rem); font-weight: 800; margin-bottom: .75rem; }
.section-p { font-size: 1.05rem; color: var(--text2); max-width: 500px; margin: 0 auto 3.5rem; line-height: 1.75; }

/* ═══════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .7rem 1.6rem; border-radius: var(--r);
  font-size: .9rem; font-weight: 700; letter-spacing: .01em;
  transition: all .2s; white-space: nowrap; cursor: pointer;
  font-family: var(--font-b);
}
.btn-volt {
  background: var(--volt); color: var(--ink);
  box-shadow: 0 0 24px rgba(110,231,183,0.25);
}
.btn-volt:hover { background: var(--volt2); transform: translateY(-2px); box-shadow: 0 6px 28px rgba(110,231,183,0.35); }
.btn-ember {
  background: var(--ember); color: #fff;
  box-shadow: 0 0 24px rgba(251,146,60,0.3);
}
.btn-ember:hover { background: var(--ember2); transform: translateY(-2px); box-shadow: 0 6px 28px rgba(251,146,60,0.4); }
.btn-ghost { border: 1px solid var(--line2); color: var(--text2); background: transparent; }
.btn-ghost:hover { border-color: var(--volt); color: var(--volt); background: rgba(110,231,183,0.05); }
.btn-lg  { padding: .9rem 2.2rem; font-size: 1rem; border-radius: var(--r2); }
.btn-xl  { padding: 1.05rem 2.6rem; font-size: 1.05rem; border-radius: var(--r2); }
.btn-full { width: 100%; }
.btn-loading { opacity: .7; pointer-events: none; }

/* ═══════════════════════════════════════════
   NAV
═══════════════════════════════════════════ */
#pi-nav {
  position: fixed; inset: 0 0 auto;
  height: var(--nav-h); z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem;
  backdrop-filter: blur(20px) saturate(1.4);
  background: rgba(10,10,15,0.8);
  border-bottom: 1px solid var(--line);
  transition: background .3s;
}
#pi-nav.scrolled { background: rgba(10,10,15,0.96); }
.nav-logo {
  font-family: var(--font-d); font-size: 1.5rem; font-weight: 800;
  background: linear-gradient(120deg, var(--volt) 0%, var(--sky) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { font-size: .88rem; font-weight: 500; color: var(--text2); transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-right { display: flex; align-items: center; gap: .75rem; }
.nav-burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--text2); border-radius: 2px; transition: all .3s; }

/* Mobile Nav */
#pi-mobile-nav {
  position: fixed; inset: 0; z-index: 199;
  background: rgba(10,10,15,.97); backdrop-filter: blur(24px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2rem; opacity: 0; pointer-events: none; transition: opacity .3s;
}
#pi-mobile-nav.open { opacity: 1; pointer-events: all; }
#pi-mobile-nav a { font-family: var(--font-d); font-size: 2rem; font-weight: 800; color: var(--text2); }
#pi-mobile-nav a:hover { color: var(--text); }

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.pi-hero {
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 8rem 1.5rem 5rem;
  position: relative; overflow: hidden;
}
.hero-noise {
  position: absolute; inset: 0; z-index: 0; opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}
.hero-grid-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image: linear-gradient(var(--line) 1px,transparent 1px), linear-gradient(90deg,var(--line) 1px,transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 0%, transparent 70%);
}
.hero-glow {
  position: absolute; z-index: 0; border-radius: 50%; filter: blur(100px); pointer-events: none;
}
.hg1 { width: 600px; height: 400px; background: rgba(110,231,183,.12); top: -100px; left: -100px; animation: hg1 10s ease-in-out infinite; }
.hg2 { width: 500px; height: 400px; background: rgba(56,189,248,.08); top: 0; right: -100px; animation: hg2 12s ease-in-out infinite; }
.hg3 { width: 300px; height: 300px; background: rgba(251,146,60,.07); bottom: 0; left: 40%; animation: hg3 8s ease-in-out infinite; }
@keyframes hg1 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(40px,30px)} }
@keyframes hg2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-30px,20px)} }
@keyframes hg3 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(20px,-20px)} }
.hero-inner { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; }
.hero-pill {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .35rem 1rem; border-radius: 100px;
  border: 1px solid rgba(110,231,183,.25); background: rgba(110,231,183,.08);
  font-size: .75rem; font-weight: 700; color: var(--volt);
  margin-bottom: 2rem; letter-spacing: .06em;
  animation: fadeUp .5s ease both;
}
.pill-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--volt); animation: blink 2s infinite; }
@keyframes blink { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.3;transform:scale(1.6)} }
.hero-h1 {
  font-size: clamp(3rem,7vw,5.8rem); font-weight: 800;
  line-height: 1.0; margin-bottom: 1.5rem;
  animation: fadeUp .5s ease .1s both;
}
.hero-h1 em { font-style: normal; color: var(--volt); }
.hero-sub {
  font-size: 1.15rem; color: var(--text2);
  max-width: 480px; margin: 0 auto 2.8rem;
  font-weight: 400; line-height: 1.75;
  animation: fadeUp .5s ease .2s both;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; animation: fadeUp .5s ease .3s both; }
.hero-proof {
  display: flex; align-items: center; justify-content: center;
  gap: 2rem; flex-wrap: wrap;
  margin-top: 4.5rem; padding-top: 3rem; border-top: 1px solid var(--line);
  animation: fadeUp .5s ease .4s both;
}
.proof-item { text-align: center; }
.proof-num { font-family: var(--font-d); font-size: 1.9rem; font-weight: 800; }
.proof-label { font-size: .72rem; color: var(--text3); text-transform: uppercase; letter-spacing: .1em; margin-top: .15rem; }
@keyframes fadeUp { from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:translateY(0)} }

/* ═══════════════════════════════════════════
   MARQUEE STRIP
═══════════════════════════════════════════ */
.pi-marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 1rem 0; background: var(--ink2); }
.marquee-track { display: flex; gap: 3rem; animation: marquee 20s linear infinite; width: max-content; }
.marquee-item { font-size: .8rem; font-weight: 600; color: var(--text3); white-space: nowrap; display: flex; align-items: center; gap: .75rem; }
.marquee-item::after { content: '✦'; color: var(--volt); font-size: .7rem; }
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ═══════════════════════════════════════════
   PRODUCT GRID
═══════════════════════════════════════════ */
.filter-row { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center; margin-bottom: 2.5rem; }
.filter-btn {
  padding: .4rem 1.1rem; border-radius: 100px; font-size: .82rem; font-weight: 600;
  border: 1px solid var(--line); color: var(--text2); background: transparent; cursor: pointer; transition: all .2s;
}
.filter-btn.active, .filter-btn:hover { border-color: var(--volt); color: var(--volt); background: rgba(110,231,183,.08); }
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px,1fr)); gap: 1.5rem; }
.prod-card {
  background: var(--ink3); border: 1px solid var(--line);
  border-radius: var(--r3); overflow: hidden;
  transition: all .35s cubic-bezier(.34,1.56,.64,1);
  cursor: pointer; position: relative;
}
.prod-card:hover { border-color: rgba(110,231,183,.3); transform: translateY(-6px); box-shadow: 0 24px 60px rgba(0,0,0,.5), 0 0 40px rgba(110,231,183,.06); }
.prod-badge { position: absolute; top: .9rem; right: .9rem; z-index: 2; padding: .22rem .7rem; border-radius: 100px; font-size: .65rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.badge-new  { background: rgba(110,231,183,.15); color: var(--volt);  border: 1px solid rgba(110,231,183,.3); }
.badge-hot  { background: rgba(251,146,60,.15);  color: var(--ember); border: 1px solid rgba(251,146,60,.3); }
.badge-sale { background: rgba(56,189,248,.15);  color: var(--sky);   border: 1px solid rgba(56,189,248,.3); }
.prod-thumb {
  width: 100%; height: 210px; object-fit: cover;
  background: linear-gradient(135deg, var(--ink3) 0%, var(--plate) 100%);
  display: flex; align-items: center; justify-content: center; font-size: 4rem;
  transition: transform .4s ease;
}
.prod-card:hover .prod-thumb { transform: scale(1.03); }
.prod-thumb img { width: 100%; height: 210px; object-fit: cover; }
.prod-body { padding: 1.4rem; }
.prod-cat { font-size: .68rem; font-weight: 700; color: var(--volt); text-transform: uppercase; letter-spacing: .12em; margin-bottom: .4rem; }
.prod-title { font-family: var(--font-d); font-size: 1.05rem; font-weight: 700; margin-bottom: .5rem; line-height: 1.3; }
.prod-desc { font-size: .84rem; color: var(--text2); margin-bottom: .9rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.prod-tags { display: flex; flex-wrap: wrap; gap: .3rem; margin-bottom: 1.1rem; }
.prod-tag { font-size: .67rem; padding: .18rem .55rem; background: var(--plate); border-radius: 5px; color: var(--text3); }
.prod-foot { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: .9rem; }
.prod-price-orig { font-size: .78rem; color: var(--text3); text-decoration: line-through; display: block; }
.prod-price-now  { font-family: var(--font-d); font-size: 1.4rem; font-weight: 800; }
.prod-rating { font-size: .78rem; color: #FACC15; display: flex; align-items: center; gap: .25rem; }
.prod-rating span { color: var(--text3); }

/* ═══════════════════════════════════════════
   SINGLE PRODUCT PAGE
═══════════════════════════════════════════ */
.single-product-wrap { padding-top: calc(var(--nav-h) + 3rem); padding-bottom: 5rem; }
.single-product-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3.5rem; align-items: start; }
.spg-gallery { position: sticky; top: calc(var(--nav-h) + 1.5rem); }
.gallery-main { border-radius: var(--r3); overflow: hidden; background: var(--ink3); aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; font-size: 7rem; border: 1px solid var(--line); margin-bottom: 1rem; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: .6rem; }
.gallery-thumb { width: 70px; height: 52px; border-radius: var(--r); border: 2px solid transparent; cursor: pointer; overflow: hidden; background: var(--ink3); transition: border-color .2s; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.gallery-thumb.active { border-color: var(--volt); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.spg-info {}
.sp-cat { font-size: .72rem; font-weight: 700; color: var(--volt); text-transform: uppercase; letter-spacing: .12em; margin-bottom: .5rem; }
.sp-title { font-size: clamp(1.6rem,3vw,2.4rem); font-weight: 800; margin-bottom: .75rem; }
.sp-subtitle { font-size: 1rem; color: var(--text2); margin-bottom: 1.5rem; line-height: 1.7; }
.sp-rating { display: flex; align-items: center; gap: .6rem; margin-bottom: 1.5rem; }
.sp-stars { color: #FACC15; font-size: 1rem; letter-spacing: .05em; }
.sp-rcount { font-size: .84rem; color: var(--text3); }
.sp-features { margin-bottom: 1.75rem; }
.sp-features-title { font-size: .78rem; font-weight: 700; color: var(--text3); text-transform: uppercase; letter-spacing: .1em; margin-bottom: .85rem; }
.sp-feature { display: flex; align-items: flex-start; gap: .65rem; font-size: .9rem; color: var(--text2); margin-bottom: .55rem; }
.sp-feature-check { width: 18px; height: 18px; border-radius: 50%; background: rgba(110,231,183,.12); border: 1px solid rgba(110,231,183,.3); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; color: var(--volt); font-size: .6rem; }
.sp-pricing { background: var(--ink3); border: 1px solid var(--line2); border-radius: var(--r2); padding: 1.5rem; margin-bottom: 1.25rem; }
.sp-price-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; }
.sp-price-orig { font-size: .9rem; color: var(--text3); text-decoration: line-through; }
.sp-price-big { font-family: var(--font-d); font-size: 2.5rem; font-weight: 800; }
.sp-price-save { font-size: .78rem; color: var(--volt); background: rgba(110,231,183,.1); border: 1px solid rgba(110,231,183,.2); padding: .2rem .6rem; border-radius: 100px; font-weight: 700; }
.sp-buy-btn { width: 100%; padding: 1.1rem; border-radius: var(--r2); background: var(--ember); color: #fff; font-family: var(--font-d); font-size: 1.1rem; font-weight: 800; border: none; cursor: pointer; transition: all .25s; display: flex; align-items: center; justify-content: center; gap: .6rem; }
.sp-buy-btn:hover { background: var(--ember2); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(251,146,60,.4); }
.sp-guarantee { display: flex; align-items: center; justify-content: center; gap: .5rem; margin-top: .75rem; font-size: .78rem; color: var(--text3); }
.sp-trust { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.25rem; }
.sp-trust-item { display: flex; align-items: center; gap: .4rem; font-size: .78rem; color: var(--text3); }
.sp-tabs { border-top: 1px solid var(--line); margin-top: 2rem; padding-top: 2rem; }
.sp-tab-nav { display: flex; gap: .25rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.sp-tab-btn { padding: .55rem 1.1rem; font-size: .85rem; font-weight: 600; color: var(--text2); border-bottom: 2px solid transparent; cursor: pointer; transition: all .2s; background: none; border-top: none; border-left: none; border-right: none; }
.sp-tab-btn.active { color: var(--volt); border-bottom-color: var(--volt); }
.sp-tab-content { display: none; color: var(--text2); font-size: .9rem; line-height: 1.75; }
.sp-tab-content.active { display: block; }

/* ═══════════════════════════════════════════
   CHECKOUT MODAL
═══════════════════════════════════════════ */
.pi-overlay {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(0,0,0,.8); backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem; opacity: 0; pointer-events: none; transition: opacity .3s;
}
.pi-overlay.open { opacity: 1; pointer-events: all; }
.pi-modal {
  background: var(--ink2); border: 1px solid var(--line2);
  border-radius: var(--r3); width: 100%; max-width: 480px;
  overflow: hidden; transform: translateY(20px) scale(.97); transition: all .3s;
}
.pi-overlay.open .pi-modal { transform: translateY(0) scale(1); }
.modal-hdr { padding: 1.4rem 1.75rem; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.modal-hdr-title { font-family: var(--font-d); font-size: 1.1rem; font-weight: 700; }
.modal-close { width: 32px; height: 32px; border-radius: 50%; background: var(--plate); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--text2); font-size: 1rem; cursor: pointer; transition: all .2s; }
.modal-close:hover { background: var(--plate2); color: var(--text); }
.modal-body { padding: 1.75rem; }
.ck-product-row { display: flex; align-items: center; gap: 1rem; padding: 1rem; background: var(--ink3); border-radius: var(--r2); border: 1px solid var(--line); margin-bottom: 1.5rem; }
.ck-prod-icon { width: 52px; height: 52px; border-radius: var(--r); background: rgba(110,231,183,.1); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; flex-shrink: 0; }
.ck-prod-name { font-weight: 600; font-size: .9rem; line-height: 1.3; }
.ck-prod-sub  { font-size: .75rem; color: var(--text3); margin-top: .15rem; }
.ck-prod-price { font-family: var(--font-d); font-size: 1.2rem; font-weight: 800; margin-left: auto; flex-shrink: 0; }
.form-group { margin-bottom: 1rem; }
.form-label { display: block; font-size: .8rem; font-weight: 600; color: var(--text2); margin-bottom: .35rem; }
.form-input {
  width: 100%; padding: .7rem 1rem;
  background: var(--ink3); border: 1px solid var(--line2);
  border-radius: var(--r); color: var(--text);
  font-family: var(--font-b); font-size: .9rem; outline: none; transition: border-color .2s;
}
.form-input:focus { border-color: var(--volt); }
.form-input::placeholder { color: var(--text3); }
.coupon-row { display: flex; gap: .5rem; margin-bottom: 1rem; }
.coupon-row .form-input { flex: 1; margin: 0; }
.coupon-btn { padding: .7rem 1rem; border-radius: var(--r); font-size: .82rem; font-weight: 600; border: 1px solid var(--line2); color: var(--text2); cursor: pointer; background: var(--ink3); transition: all .2s; white-space: nowrap; }
.coupon-btn:hover { border-color: var(--volt); color: var(--volt); }
.pay-methods { display: grid; grid-template-columns: repeat(3,1fr); gap: .5rem; margin-bottom: 1.25rem; }
.pay-method { padding: .6rem .4rem; border: 1px solid var(--line); border-radius: var(--r); cursor: pointer; text-align: center; transition: all .2s; background: var(--ink3); font-size: .78rem; font-weight: 600; color: var(--text2); }
.pay-method.active, .pay-method:hover { border-color: var(--volt); color: var(--volt); background: rgba(110,231,183,.07); }
.pay-now-btn { width: 100%; padding: 1rem; border-radius: var(--r2); background: linear-gradient(135deg, var(--ember) 0%, #EF4444 100%); color: #fff; font-family: var(--font-d); font-size: 1rem; font-weight: 800; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: .6rem; transition: all .25s; margin-top: .5rem; }
.pay-now-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 28px rgba(251,146,60,.45); }
.ck-secure { display: flex; align-items: center; justify-content: center; gap: .4rem; margin-top: .7rem; font-size: .73rem; color: var(--text3); }
.ck-summary { background: var(--ink3); border: 1px solid var(--line); border-radius: var(--r); padding: .85rem 1rem; margin-bottom: 1.25rem; display: flex; align-items: center; justify-content: space-between; }
.ck-summary-label { font-size: .8rem; color: var(--text2); }
.ck-summary-price { font-family: var(--font-d); font-weight: 700; font-size: 1rem; }
.discount-line { display: flex; align-items: center; justify-content: space-between; font-size: .8rem; color: var(--success); margin-bottom: .5rem; }

/* Processing & Success States */
.ck-processing { text-align: center; padding: 2.5rem 1rem; }
.spin { width: 56px; height: 56px; border-radius: 50%; border: 3px solid var(--line2); border-top-color: var(--volt); animation: spin 1s linear infinite; margin: 0 auto 1.5rem; }
@keyframes spin { to{transform:rotate(360deg)} }
.ck-success { text-align: center; padding: 2rem 1rem; }
.success-ring { width: 72px; height: 72px; border-radius: 50%; background: rgba(74,222,128,.1); border: 2px solid rgba(74,222,128,.4); display: flex; align-items: center; justify-content: center; font-size: 2rem; margin: 0 auto 1.5rem; animation: pop .4s cubic-bezier(.34,1.56,.64,1) both; }
@keyframes pop { from{transform:scale(0)} to{transform:scale(1)} }

/* ═══════════════════════════════════════════
   AUTH MODAL
═══════════════════════════════════════════ */
.auth-tabs { display: flex; border-bottom: 1px solid var(--line); margin-bottom: 1.5rem; }
.auth-tab { flex: 1; padding: .7rem; text-align: center; font-size: .88rem; font-weight: 600; color: var(--text2); cursor: pointer; border-bottom: 2px solid transparent; transition: all .2s; }
.auth-tab.active { color: var(--volt); border-bottom-color: var(--volt); }
.divider { display: flex; align-items: center; gap: .75rem; margin: 1rem 0; color: var(--text3); font-size: .8rem; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }

/* ═══════════════════════════════════════════
   USER DASHBOARD
═══════════════════════════════════════════ */
.dashboard-wrap { padding: calc(var(--nav-h) + 3rem) 1.5rem 4rem; max-width: var(--max-w); margin: 0 auto; }
.dashboard-grid { display: grid; grid-template-columns: 240px 1fr; gap: 2rem; }
.dash-sidebar { background: var(--ink3); border: 1px solid var(--line); border-radius: var(--r3); padding: 1.4rem; height: fit-content; position: sticky; top: calc(var(--nav-h) + 1.5rem); }
.dash-avatar { width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, var(--volt), var(--sky)); display: flex; align-items: center; justify-content: center; font-family: var(--font-d); font-size: 1.1rem; font-weight: 800; color: var(--ink); margin-bottom: .75rem; }
.dash-name { font-weight: 700; font-size: .95rem; margin-bottom: .15rem; }
.dash-email { font-size: .75rem; color: var(--text3); margin-bottom: 1.25rem; }
.dash-nav-item { display: flex; align-items: center; gap: .65rem; padding: .6rem .85rem; border-radius: var(--r); font-size: .87rem; color: var(--text2); cursor: pointer; transition: all .2s; margin-bottom: .2rem; }
.dash-nav-item.active, .dash-nav-item:hover { background: rgba(110,231,183,.08); color: var(--volt); }
.dash-content { background: var(--ink3); border: 1px solid var(--line); border-radius: var(--r3); padding: 2rem; }
.dash-stat-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(140px,1fr)); gap: 1rem; margin-bottom: 2rem; }
.dash-stat { background: var(--plate); border: 1px solid var(--line); border-radius: var(--r2); padding: 1.1rem; text-align: center; }
.dash-stat-num { font-family: var(--font-d); font-size: 1.8rem; font-weight: 800; color: var(--volt); }
.dash-stat-label { font-size: .7rem; color: var(--text3); text-transform: uppercase; letter-spacing: .08em; margin-top: .25rem; }
.download-card { background: var(--plate); border: 1px solid var(--line); border-radius: var(--r2); padding: 1.1rem 1.25rem; display: flex; align-items: center; gap: 1rem; margin-bottom: .75rem; transition: border-color .2s; }
.download-card:hover { border-color: rgba(110,231,183,.25); }
.dl-icon { width: 44px; height: 44px; border-radius: var(--r); background: rgba(110,231,183,.1); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.dl-name { font-weight: 600; font-size: .9rem; margin-bottom: .15rem; }
.dl-meta { font-size: .75rem; color: var(--text3); }
.dl-btn { margin-left: auto; flex-shrink: 0; padding: .45rem 1rem; border-radius: var(--r); font-size: .8rem; font-weight: 600; background: rgba(110,231,183,.1); border: 1px solid rgba(110,231,183,.25); color: var(--volt); cursor: pointer; transition: all .2s; }
.dl-btn:hover { background: rgba(110,231,183,.18); }

/* ═══════════════════════════════════════════
   FEATURES SECTION
═══════════════════════════════════════════ */
.feat-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(260px,1fr)); gap: 1.25rem; }
.feat-card { background: var(--ink3); border: 1px solid var(--line); border-radius: var(--r3); padding: 1.75rem; position: relative; overflow: hidden; transition: all .3s; }
.feat-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--volt), var(--sky)); opacity: 0; transition: opacity .3s; }
.feat-card:hover { border-color: rgba(110,231,183,.2); transform: translateY(-3px); }
.feat-card:hover::before { opacity: 1; }
.feat-icon { width: 44px; height: 44px; border-radius: var(--r); background: rgba(110,231,183,.1); border: 1px solid rgba(110,231,183,.2); display: flex; align-items: center; justify-content: center; font-size: 1.25rem; margin-bottom: 1.1rem; }
.feat-title { font-family: var(--font-d); font-size: .95rem; font-weight: 700; margin-bottom: .4rem; }
.feat-desc { font-size: .84rem; color: var(--text2); line-height: 1.65; }

/* ═══════════════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════════════ */
.testi-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(290px,1fr)); gap: 1.25rem; }
.testi-card { background: var(--ink3); border: 1px solid var(--line); border-radius: var(--r3); padding: 1.6rem; }
.testi-stars { color: #FACC15; margin-bottom: .9rem; letter-spacing: .08em; }
.testi-text { font-size: .88rem; color: var(--text2); line-height: 1.75; margin-bottom: 1.1rem; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: .7rem; }
.testi-av { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--volt), var(--sky)); display: flex; align-items: center; justify-content: center; font-family: var(--font-d); font-size: .85rem; font-weight: 700; color: var(--ink); flex-shrink: 0; }
.testi-name { font-weight: 600; font-size: .88rem; }
.testi-role { font-size: .74rem; color: var(--text3); }

/* ═══════════════════════════════════════════
   PRICING
═══════════════════════════════════════════ */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(270px,1fr)); gap: 1.5rem; max-width: 900px; margin: 0 auto; }
.price-card { background: var(--ink3); border: 1px solid var(--line); border-radius: var(--r3); padding: 2rem; position: relative; transition: all .3s; }
.price-card.hot { border-color: rgba(110,231,183,.35); background: linear-gradient(140deg, rgba(110,231,183,.06) 0%, var(--ink3) 100%); }
.price-pop { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); padding: .25rem 1rem; border-radius: 100px; background: var(--volt); color: var(--ink); font-size: .7rem; font-weight: 800; white-space: nowrap; }
.price-name { font-family: var(--font-d); font-size: 1.1rem; font-weight: 700; margin-bottom: .2rem; }
.price-tag  { font-size: .78rem; color: var(--text3); margin-bottom: 1.4rem; }
.price-amt  { font-family: var(--font-d); font-size: 2.6rem; font-weight: 800; margin-bottom: .2rem; }
.price-amt sup { font-size: 1rem; vertical-align: super; }
.price-amt sub { font-size: .9rem; font-weight: 400; color: var(--text3); }
.price-period { font-size: .78rem; color: var(--text3); margin-bottom: 1.5rem; }
.price-list { display: flex; flex-direction: column; gap: .6rem; margin-bottom: 2rem; }
.price-list li { display: flex; align-items: center; gap: .55rem; font-size: .86rem; color: var(--text2); }
.pl-yes { width: 16px; height: 16px; border-radius: 50%; background: rgba(110,231,183,.12); border: 1px solid rgba(110,231,183,.3); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--volt); font-size: .55rem; }
.pl-no  { width: 16px; height: 16px; border-radius: 50%; background: rgba(255,255,255,.04); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--text3); font-size: .55rem; }

/* ═══════════════════════════════════════════
   CTA BLOCK
═══════════════════════════════════════════ */
.cta-box { background: linear-gradient(135deg,rgba(110,231,183,.08) 0%,rgba(56,189,248,.05) 100%); border: 1px solid rgba(110,231,183,.18); border-radius: var(--r3); padding: 4.5rem 2rem; text-align: center; position: relative; overflow: hidden; max-width: 760px; margin: 0 auto; }
.cta-box::before { content:''; position:absolute; top:-100px; left:50%; transform:translateX(-50%); width:400px; height:400px; background:var(--volt); border-radius:50%; filter:blur(100px); opacity:.07; }
.cta-box h2 { font-size: clamp(1.9rem,3.5vw,3rem); font-weight: 800; margin-bottom: .85rem; }
.cta-box p { color: var(--text2); margin-bottom: 2.5rem; max-width: 400px; margin-left: auto; margin-right: auto; }

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
#pi-footer { background: var(--ink2); border-top: 1px solid var(--line); padding: 4rem 1.5rem 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-logo { font-family: var(--font-d); font-size: 1.5rem; font-weight: 800; background: linear-gradient(120deg,var(--volt),var(--sky)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; display: inline-block; margin-bottom: .5rem; }
.footer-desc { font-size: .84rem; color: var(--text3); line-height: 1.7; margin-bottom: 1.25rem; }
.footer-socials { display: flex; gap: .5rem; }
.social-btn { width: 34px; height: 34px; border-radius: 50%; background: var(--ink3); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-size: .85rem; color: var(--text2); transition: all .2s; }
.social-btn:hover { border-color: var(--volt); color: var(--volt); }
.footer-col-h { font-family: var(--font-d); font-size: .72rem; font-weight: 700; color: var(--text3); text-transform: uppercase; letter-spacing: .14em; margin-bottom: .9rem; }
.footer-col-links { display: flex; flex-direction: column; gap: .55rem; }
.footer-col-links a { font-size: .84rem; color: var(--text3); transition: color .2s; }
.footer-col-links a:hover { color: var(--text); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 2rem; border-top: 1px solid var(--line); font-size: .78rem; color: var(--text3); flex-wrap: wrap; gap: 1rem; }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { color: var(--text3); transition: color .2s; }
.footer-bottom-links a:hover { color: var(--text); }

/* ═══════════════════════════════════════════
   TOAST
═══════════════════════════════════════════ */
#pi-toast { position: fixed; bottom: 2rem; right: 2rem; z-index: 600; background: var(--plate2); border: 1px solid var(--line2); border-radius: var(--r2); padding: .9rem 1.4rem; display: flex; align-items: center; gap: .7rem; font-size: .88rem; box-shadow: 0 20px 50px rgba(0,0,0,.5); transform: translateY(20px); opacity: 0; transition: all .3s; pointer-events: none; max-width: 320px; }
#pi-toast.show { transform: translateY(0); opacity: 1; }
.toast-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.toast-dot.green { background: var(--success); }
.toast-dot.red   { background: var(--danger); }

/* ═══════════════════════════════════════════
   SCROLL REVEAL
═══════════════════════════════════════════ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════════════════
   MISC
═══════════════════════════════════════════ */
.admin-bar-offset { padding-top: calc(var(--nav-h) + 32px); }
.page-wrap { padding-top: var(--nav-h); }
.woocommerce-notices-wrapper { display: none; } /* hide WC notices */

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media(max-width:960px) {
  .single-product-grid { grid-template-columns: 1fr; }
  .spg-gallery { position: static; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .dash-sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
}
@media(max-width:768px) {
  .nav-links, .nav-right { display: none; }
  .nav-burger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media(max-width:540px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-proof { gap: 1.5rem; }
  .products-grid { grid-template-columns: 1fr; }
}
