/* ════════════════════════════════════════════════════════════════
   WP MOZ — MAIN STYLESHEET  (assets/css/main.css)
   Imports tokens.css then defines all global shared styles:
   reset, typography, utilities, navbar, footer, buttons,
   badges, scroll-reveal, cursor, particles, sticky CTA.

   HOW TO ADD PAGE-SPECIFIC STYLES:
   → Create  assets/css/page-[name].css
   → Enqueue it conditionally in functions.php using
     is_page_template('page-templates/template-[name].php')
════════════════════════════════════════════════════════════════ */

@import url("tokens.css");
/* ════════════════════════════════════════
   WP MOZ — SHARED STYLESHEET
   Used by: index.html, wpmoz-plugins.html
════════════════════════════════════════ */

/* ─── DESIGN TOKENS ─── */
:root {
  --orange: #f97316;
  --orange-light: #fb923c;
  --orange-cream: #fed7aa;
  --orange-soft: #fff7ed;
  --green: #22c55e;
  --green-light: #4ade80;
  --green-cream: #bbf7d0;
  --green-soft: #f0fdf4;
  --blue: #3b82f6;
  --blue-soft: #eff6ff;
  --blue-cream: #bfdbfe;
  --purple: #8b5cf6;
  --purple-soft: #f5f3ff;
  --bg: #fefcf8;
  --bg2: #f9f6f0;
  --surface: #ffffff;
  --surface2: rgba(255, 255, 255, 0.75);
  --border: rgba(0, 0, 0, 0.07);
  --border2: rgba(249, 115, 22, 0.2);
  --text: #1a1208;
  --text2: #6b5e4e;
  --text3: #9c8e80;
  --radius: 18px;
  --radius-sm: 10px;
  --radius-lg: 28px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.1);
  --shadow-orange: 0 8px 32px rgba(249, 115, 22, 0.25);
  --shadow-green: 0 8px 32px rgba(34, 197, 94, 0.2);
  --font-display: "Syne", sans-serif;
  --font-body: "DM Sans", sans-serif;
  --font-mono: "JetBrains Mono", monospace;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --nav-h: 72px;
}

/* ─── DARK MODE TOKENS ─── */
[data-dark] {
  --bg: #0f0c07;
  --bg2: #151009;
  --surface: #1c1710;
  --surface2: rgba(28, 23, 16, 0.85);
  --border: rgba(255, 255, 255, 0.08);
  --border2: rgba(249, 115, 22, 0.3);
  --text: #f5edd8;
  --text2: #b5a898;
  --text3: #7a6e60;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.4);
  --orange-soft: rgba(249, 115, 22, 0.08);
  --orange-cream: rgba(249, 115, 22, 0.2);
  --green-soft: rgba(34, 197, 94, 0.07);
  --green-cream: rgba(34, 197, 94, 0.18);
  --blue-soft: rgba(59, 130, 246, 0.08);
  --blue-cream: rgba(59, 130, 246, 0.2);
  --purple-soft: rgba(139, 92, 246, 0.08);
}

/* ─── RESET ─── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  transition:
    background 0.4s,
    color 0.4s;
}
img {
  max-width: 100%;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}

/* ─── UTILITIES ─── */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}
.section {
  padding: 100px 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--orange);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  background: var(--orange-soft);
  border: 1px solid var(--orange-cream);
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 17px;
  color: var(--text2);
  max-width: 600px;
  line-height: 1.75;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.15);
  opacity: 0;
  transition: opacity 0.2s;
}
.btn:hover::after {
  opacity: 1;
}
.btn-orange {
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: #fff;
  box-shadow: var(--shadow-orange);
}
.btn-orange:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(249, 115, 22, 0.4);
}
.btn-green {
  background: linear-gradient(135deg, var(--green), var(--green-light));
  color: #fff;
  box-shadow: var(--shadow-green);
}
.btn-green:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(34, 197, 94, 0.35);
}
.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border: 1.5px solid var(--border);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* ─── BADGES ─── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  font-family: var(--font-mono);
}
.badge-orange {
  background: var(--orange-soft);
  color: var(--orange);
  border: 1px solid var(--orange-cream);
}
.badge-green {
  background: var(--green-soft);
  color: var(--green);
  border: 1px solid var(--green-cream);
}
.badge-blue {
  background: var(--blue-soft);
  color: var(--blue);
  border: 1px solid var(--blue-cream);
}
.badge-purple {
  background: var(--purple-soft);
  color: var(--purple);
  border: 1px solid rgba(139, 92, 246, 0.25);
}

/* ─── SCROLL REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1,
.rd1 {
  transition-delay: 0.1s;
}
.reveal-delay-2,
.rd2 {
  transition-delay: 0.18s;
}
.reveal-delay-3,
.rd3 {
  transition-delay: 0.26s;
}
.rd4 {
  transition-delay: 0.34s;
}
.rd5 {
  transition-delay: 0.42s;
}
.rd6 {
  transition-delay: 0.5s;
}

/* ─── CURSOR ─── */
#cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--orange);
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: multiply;
  transition:
    transform 0.15s,
    width 0.2s,
    height 0.2s,
    opacity 0.2s;
  transform: translate(-50%, -50%);
  opacity: 0.7;
  top: 0;
  left: 0;
}
[data-dark] #cursor {
  mix-blend-mode: screen;
}

/* ─── NAVBAR ─── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: var(--transition);
}
#navbar.scrolled {
  background: var(--surface2);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--orange), #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}
.nav-logo span {
  -webkit-text-fill-color: var(--green);
  color: var(--green);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text2);
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 100%;
  height: 2px;
  background: var(--orange);
  transition: right 0.3s;
}
.nav-links a:hover {
  color: var(--orange);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  right: 0;
}
.nav-links a.active {
  color: var(--orange);
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.dark-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: var(--transition);
  color: var(--text);
}
.dark-toggle:hover {
  border-color: var(--orange);
  transform: rotate(20deg);
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
  display: block;
}

/* ─── MOBILE MENU ─── */
#mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
#mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}
#mobile-menu a {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
  transition: color 0.2s;
}
#mobile-menu a:hover {
  color: var(--orange);
}
.mobile-close {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 26px;
  cursor: pointer;
  color: var(--text);
  background: none;
  border: none;
}

/* ─── FOOTER ─── */
footer {
  background: #0a0804;
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--orange), #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 14px;
}
.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.45);
  max-width: 260px;
}
.footer-social {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}
.footer-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
  color: rgba(255, 255, 255, 0.55);
}
.footer-social-btn:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-3px);
}
.footer-col h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  margin-bottom: 18px;
}
.footer-col ul li {
  margin-bottom: 9px;
}
.footer-col ul li a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.2s;
}
.footer-col ul li a:hover {
  color: var(--orange);
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-bottom: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}
.footer-contact-item .fc-icon {
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 1px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom p,
.footer-bottom a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.28);
}
.footer-bottom a {
  color: var(--orange);
}

/* ─── STICKY CTA ─── */
#sticky-cta {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
}
.sc-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.sc-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-lg);
  border: none;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: #fff;
}
.sc-btn:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-orange);
}
.sc-label {
  background: var(--surface);
  border-radius: 100px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition);
  pointer-events: none;
  position: absolute;
  right: 68px;
  white-space: nowrap;
}
.sc-btn:hover ~ .sc-label {
  opacity: 1;
  transform: translateX(0);
}

/* ─── BACK TO TOP ─── */
#back-top {
  position: fixed;
  bottom: 96px;
  right: 30px;
  z-index: 998;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 17px;
  transition: var(--transition);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(10px);
}
#back-top.visible {
  opacity: 1;
  transform: translateY(0);
}
#back-top:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-2px);
}

/* ─── CTA BANNER ─── */
#cta-banner {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0f0c07 0%, #1a1208 50%, #0a1a0a 100%);
}
.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}
.cta-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 18px;
}
.h-orange {
  background: linear-gradient(135deg, var(--orange), #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.h-green {
  background: linear-gradient(135deg, var(--green), var(--green-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cta-sub {
  color: rgba(255, 255, 255, 0.6);
  font-size: 17px;
  margin-bottom: 44px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.75;
}
.cta-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-trust {
  display: flex;
  align-items: center;
  gap: 28px;
  justify-content: center;
  margin-top: 44px;
  flex-wrap: wrap;
}
.cta-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  font-weight: 500;
}

/* ─── PARTICLES ─── */
#particles-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}
@media (max-width: 768px) {
  .hero-badge {
    margin-top: 30px !important;
  }

  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  #sticky-cta {
    bottom: 18px;
    right: 18px;
  }
  #back-top {
    bottom: 80px;
    right: 18px;
  }
  .section {
    padding: 70px 0;
  }
}
@media (max-width: 480px) {
  .reveal.visible {
    overflow-x: scroll;
  }
  .cta-btns {
    flex-direction: column;
    align-items: center;
  }
  .cta-trust {
    flex-direction: column;
    gap: 12px;
  }
}

.d-none {
  display: none !important;
}

.mb-5 {
  margin-bottom: 10px;
}

/* ─── LAUNCH NOTICE BAR ─── */
#launch-notice {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  background: #110a00;
  border-bottom: 1px solid rgba(249, 115, 22, 0.3);
  padding: 10px 20px;
  overflow: hidden;
  transition:
    transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.35s ease;
}
#launch-notice.ln-hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

/* canvas sits behind everything */
#ln-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.ln-inner {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.ln-icon {
  font-size: 16px;
  flex-shrink: 0;
  animation: lnBounce 2s ease-in-out infinite;
}
@keyframes lnBounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}
.ln-text {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
  text-align: center;
}
.ln-text strong {
  color: var(--orange);
  font-weight: 700;
}
.ln-close {
  position: absolute;
  right: 0;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition:
    color 0.2s,
    background 0.2s;
  line-height: 1;
  flex-shrink: 0;
}
.ln-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

/* Push navbar down when notice bar is visible */
body.ln-visible #navbar {
  top: var(--ln-h, 41px);
}
body.ln-visible {
  --ln-h: 41px;
}

@media (max-width: 600px) {
  .ln-text {
    font-size: 12px;
  }
  body.ln-visible {
    --ln-h: 53px;
  }
}

/* ─── PURPLE BUTTON (templates page accent) ─── */
.btn-purple {
  background: linear-gradient(135deg, var(--purple), #7c3aed);
  color: #fff;
  box-shadow: 0 8px 32px rgba(139, 92, 246, 0.3);
}
.btn-purple:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(139, 92, 246, 0.45);
}

/* ─── PURPLE / BLUE CTA GRADIENT TEXT ─── */
.h-purple {
  background: linear-gradient(135deg, var(--purple), #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.h-blue {
  background: linear-gradient(135deg, var(--blue), #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/*
 * WP Moz — page-templates.css
 * ─────────────────────────────────────────────────────────────
 * Page-specific styles for template-templates.php.
 * Enqueue conditionally in functions.php:
 *
 *   wp_enqueue_style(
 *       'wpmoz-page-templates',
 *       get_template_directory_uri() . '/assets/css/page-templates.css',
 *       ['wpmoz-main'],
 *       WPMOZ_VERSION
 *   );
 *   // Wrap in: is_page_template('page-templates/template-templates.php')
 *
 * Global styles (navbar, footer, buttons, tokens, page-hero,
 * filter-bar, products-grid, featured-showcase, pricing-table,
 * why-grid, testimonials) are already provided by main.css and
 * page-plugins.css — only OVERRIDES and NEW components live here.
 * ─────────────────────────────────────────────────────────────
 */

/* ══════════════════════════════════════════════════════════
   1. HERO — purple/blue colour-shift overrides
══════════════════════════════════════════════════════════ */

/* Tint the hero background towards purple */
.tpl-hero {
  background:
    radial-gradient(
      ellipse 70% 70% at 70% 20%,
      rgba(139, 92, 246, 0.09) 0%,
      transparent 70%
    ),
    radial-gradient(
      ellipse 50% 50% at 20% 90%,
      rgba(59, 130, 246, 0.07) 0%,
      transparent 60%
    ),
    var(--bg);
}

/* Swap orb colours */
.tpl-orb1 {
  background: rgba(139, 92, 246, 0.12);
}
.tpl-orb2 {
  background: rgba(59, 130, 246, 0.08);
}

/* Eyebrow dot — blue pulse instead of green */
.tpl-dot {
  background: var(--blue) !important;
  animation: tplPulse 2s infinite;
}
@keyframes tplPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.5);
  }
  50% {
    box-shadow: 0 0 0 6px transparent;
  }
}

/* Hero title highlight — purple gradient */
.tpl-hl {
  background: linear-gradient(
    135deg,
    var(--purple),
    #a78bfa,
    #818cf8
  ) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

/* Search bar focus ring — purple */
.tpl-search:focus-within {
  border-color: var(--purple) !important;
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.12) !important;
}
.tpl-search button {
  background: linear-gradient(135deg, var(--purple), #7c3aed) !important;
}

/* ══════════════════════════════════════════════════════════
   2. HERO PREVIEW STACK (decorative card mockups)
══════════════════════════════════════════════════════════ */

/* The container sits to the right of hero-content on large screens */
.tpl-hero .container {
  display: flex;
  align-items: center;
  gap: 60px;
}
.tpl-hero .hero-content {
  flex: 1 1 540px;
}
.tpl-hero-preview {
  flex: 0 0 340px;
  position: relative;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Individual mockup cards */
.tpl-prev-card {
  position: absolute;
  width: 220px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

/* Staggered positioning */
.tpc1 {
  top: 0;
  right: 0;
  z-index: 3;
  animation: tpcFloat 6s ease-in-out infinite;
}
.tpc2 {
  top: 60px;
  left: 0;
  z-index: 2;
  animation: tpcFloat 7s 2s ease-in-out infinite reverse;
}
.tpc3 {
  bottom: 0;
  right: 20px;
  z-index: 1;
  animation: tpcFloat 8s 4s ease-in-out infinite;
}

@keyframes tpcFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(1deg);
  }
}

/* Mini browser bar */
.tpc-bar {
  height: 8px;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--purple), #a78bfa);
  margin-bottom: 10px;
}
.tpc-bar-blue {
  background: linear-gradient(135deg, var(--blue), #60a5fa);
}
.tpc-bar-green {
  background: linear-gradient(135deg, var(--green), var(--green-light));
}

/* Line skeletons */
.tpc-lines {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 10px;
}
.tpc-lines span {
  display: block;
  height: 6px;
  border-radius: 100px;
  background: var(--border);
  width: 100%;
}

/* Image placeholder */
.tpc-img {
  height: 72px;
  border-radius: var(--radius-sm);
  background: linear-gradient(
    135deg,
    var(--purple-soft),
    rgba(139, 92, 246, 0.12)
  );
}
.tpc-img-blue {
  background: linear-gradient(
    135deg,
    var(--blue-soft),
    rgba(59, 130, 246, 0.12)
  );
}
.tpc-img-green {
  background: linear-gradient(
    135deg,
    var(--green-soft),
    rgba(34, 197, 94, 0.12)
  );
}

/* Hide preview stack on smaller screens */
@media (max-width: 1024px) {
  .tpl-hero .container {
    flex-direction: column;
    gap: 20px;
  }
  .tpl-hero-preview {
    display: none;
  }
}

/* ══════════════════════════════════════════════════════════
   3. SECTION LABEL — purple accent
══════════════════════════════════════════════════════════ */
.tpl-section-label {
  color: var(--purple) !important;
  background: var(--purple-soft) !important;
  border-color: rgba(139, 92, 246, 0.25) !important;
}

/* ══════════════════════════════════════════════════════════
   4. FEATURED SHOWCASE — purple accent card
══════════════════════════════════════════════════════════ */
.tpl-featured-section {
  background: var(--bg2);
}

.tpl-showcase-card {
  border-color: rgba(139, 92, 246, 0.15) !important;
}

.tpl-showcase-icon {
  background: linear-gradient(135deg, var(--purple), #7c3aed) !important;
  box-shadow: 0 8px 32px rgba(139, 92, 246, 0.3) !important;
}

/* ── Template browser mockup ── */
.tpl-mockup {
  background: #0d0b14 !important; /* dark purple-ish */
  padding: 0 !important;
  overflow: hidden !important;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
}

.tpl-mock-browser {
  font-family: var(--font-body);
}

/* Browser chrome */
.tmb-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: #1a1625;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.tmb-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.tmb-url {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 100px;
  padding: 3px 10px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.35);
  margin-left: 6px;
  font-family: var(--font-mono);
}

/* Hero strip */
.tmb-hero-strip {
  height: 56px;
  background: linear-gradient(
    135deg,
    rgba(139, 92, 246, 0.35),
    rgba(59, 130, 246, 0.25)
  );
}

/* Content skeleton */
.tmb-content {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tmb-line {
  height: 6px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.08);
}
.tmb-btn {
  width: 72px;
  height: 20px;
  border-radius: 100px;
  background: linear-gradient(
    135deg,
    rgba(139, 92, 246, 0.5),
    rgba(99, 102, 241, 0.4)
  );
  margin-top: 4px;
}

/* ══════════════════════════════════════════════════════════
   5. PRICING TABLE — purple highlight column
══════════════════════════════════════════════════════════ */
.tpl-pricing-section {
  background: var(--bg);
}
.tpl-col-highlighted {
  background: linear-gradient(
    135deg,
    rgba(139, 92, 246, 0.08),
    rgba(139, 92, 246, 0.04)
  ) !important;
  border-bottom-color: var(--purple) !important;
}
.tpl-col-price {
  color: var(--purple) !important;
}

/* ══════════════════════════════════════════════════════════
   6. WHY CARDS — purple hover glow
══════════════════════════════════════════════════════════ */
.tpl-why-section {
  background: var(--bg2);
}
.tpl-why-card::before {
  background: radial-gradient(
    ellipse at top left,
    rgba(139, 92, 246, 0.07),
    transparent 70%
  ) !important;
}
.tpl-why-card:hover {
  border-color: rgba(139, 92, 246, 0.28) !important;
}

/* ══════════════════════════════════════════════════════════
   7. PRODUCT CARDS — purple-tinted featured ribbon & badge
   (overrides the orange defaults from page-plugins.css)
══════════════════════════════════════════════════════════ */

/* Swap the filter-tab active pill to purple on this page */
body.tpl-page .ftab.active {
  background: linear-gradient(135deg, var(--purple), #7c3aed) !important;
  box-shadow: 0 8px 32px rgba(139, 92, 246, 0.3) !important;
}

/* Price badge accent */
body.tpl-page .pc-price-badge {
  color: var(--purple);
  border-color: rgba(139, 92, 246, 0.25);
}

/* Card hover border */
body.tpl-page .product-card:hover {
  border-color: rgba(139, 92, 246, 0.22);
}

/* Featured ribbon */
body.tpl-page .featured-ribbon {
  background: linear-gradient(135deg, var(--purple), #7c3aed);
}

/* Search-tag hover */
body.tpl-page .search-tag:hover {
  border-color: var(--purple);
  color: var(--purple);
}

/* Sort-select focus */
body.tpl-page .sort-select:focus {
  border-color: var(--purple);
}

.hero-badge {
  margin-top: 15px;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  width: auto;
}

.woocommerce .products ul::after,
.woocommerce .products ul::before,
.woocommerce ul.products::after,
.woocommerce ul.products::before {
  display: none;
}

.woocommerce-shop #main {
  padding-top: 20px;
  margin: 0 50px;
}

.woocommerce-shop aside#secondary {
  display: none;
}
