@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --ps-white: #ffffff;
    --ps-bg: #ffffff;
    --ps-bg-alt: #f8f9fb;
    --ps-bg-card: #f3f4f8;
    --ps-bg-dark: #0f172a;
    --ps-text: #111827;
    --ps-text-secondary: #4b5563;
    --ps-text-muted: #6b7280;
    --ps-primary: #1a56db;
    --ps-primary-light: #3b82f6;
    --ps-primary-dark: #1e40af;
    --ps-primary-bg: rgba(26, 86, 219, 0.06);
    --ps-green: #059669;
    --ps-green-bg: rgba(5, 150, 105, 0.08);
    --ps-red: #dc2626;
    --ps-red-bg: rgba(220, 38, 38, 0.08);
    --ps-purple: #7c3aed;
    --ps-purple-bg: rgba(124, 58, 237, 0.08);
    --ps-border: #e5e7eb;
    --ps-border-light: #f0f1f3;
    --ps-shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
    --ps-shadow-md: 0 4px 12px rgba(0,0,0,0.06);
    --ps-shadow-lg: 0 8px 30px rgba(0,0,0,0.08);
    --ps-font: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --ps-font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    --ps-radius-sm: 8px;
    --ps-radius-md: 12px;
    --ps-radius-lg: 16px;
    --ps-radius-xl: 20px;
    --ps-radius-full: 100px;
    --ps-ease: cubic-bezier(0.16, 1, 0.3, 1);
    --ps-transition: 0.3s var(--ps-ease);
    --ps-outer-spacing: 2rem;
}

/* --------------------------------------------------------------------------
   2. Global Reset & Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    background-color: var(--ps-bg);
    color: var(--ps-text);
    font-family: var(--ps-font);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    line-height: 1.65;
    margin: 0;
    padding-top: 88px !important;
    letter-spacing: -0.015em;
}

::selection { background: var(--ps-primary); color: #fff; }
img { max-width: 100%; height: auto; }
a { color: var(--ps-primary); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--ps-primary-dark); }

.has-text-muted, .has-muted-color { color: var(--ps-text-muted) !important; }

/* --------------------------------------------------------------------------
   3. Cards
   -------------------------------------------------------------------------- */
.ps-card {
    background: var(--ps-bg-card);
    border: 1px solid var(--ps-border-light);
    border-radius: var(--ps-radius-xl);
    padding: 2rem;
    transition: transform var(--ps-transition), box-shadow var(--ps-transition);
}
.ps-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ps-shadow-lg);
}
.ps-card-flat {
    background: var(--ps-bg-card);
    border: 1px solid var(--ps-border-light);
    border-radius: var(--ps-radius-xl);
    padding: 2rem;
}
/* Legacy compat */
.glass-card { background: var(--ps-bg-card); border: 1px solid var(--ps-border-light); border-radius: var(--ps-radius-xl); padding: 2rem; transition: transform var(--ps-transition), box-shadow var(--ps-transition); }
.glass-card::before { display: none; }
.glass-card:hover { transform: translateY(-4px); box-shadow: var(--ps-shadow-lg); border-color: var(--ps-border); }
.glass-card-static { background: var(--ps-bg-card); border: 1px solid var(--ps-border-light); border-radius: var(--ps-radius-xl); padding: 2rem; }

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.ps-btn, a.ps-btn {
    display: inline-flex !important; align-items: center !important; gap: 0.5rem !important;
    padding: 0.75rem 1.5rem !important; border-radius: var(--ps-radius-full) !important;
    font-weight: 600 !important; font-size: 0.9rem !important; text-decoration: none !important;
    cursor: pointer !important; border: none !important; transition: all 0.3s ease !important;
    font-family: var(--ps-font) !important; line-height: 1.4 !important;
    background: var(--ps-primary) !important; color: #fff !important;
    box-shadow: 0 2px 8px rgba(26,86,219,0.2) !important;
}
.ps-btn:hover, a.ps-btn:hover {
    background: var(--ps-primary-dark) !important; transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(26,86,219,0.3) !important; color: #fff !important;
}
.ps-btn--outline, a.ps-btn--outline, .ps-btn--ghost, a.ps-btn--ghost, .ps-btn.ps-btn--ghost, .ps-btn.ps-btn--outline {
    background: transparent !important; color: var(--ps-text) !important;
    border: 1.5px solid var(--ps-border) !important; box-shadow: none !important;
}
.ps-btn--outline:hover, a.ps-btn--outline:hover, .ps-btn--ghost:hover, a.ps-btn--ghost:hover {
    border-color: var(--ps-primary) !important; color: var(--ps-primary) !important;
    background: var(--ps-primary-bg) !important; box-shadow: none !important; transform: translateY(-2px) !important;
}
.ps-btn--sm, a.ps-btn--sm { padding: 0.5rem 1rem !important; font-size: 0.8rem !important; }
.ps-btn--white, a.ps-btn--white { background: #fff !important; color: var(--ps-primary) !important; border: 1.5px solid #fff !important; box-shadow: none !important; }
.ps-btn--white:hover, a.ps-btn--white:hover { background: rgba(255,255,255,0.9) !important; }

/* WP button compat */
.wp-element-button, .wp-block-button__link { background: var(--ps-primary) !important; color: #fff !important; border-radius: var(--ps-radius-full) !important; padding: 0.75rem 1.5rem !important; font-weight: 600 !important; text-decoration: none !important; transition: all 0.3s ease !important; }
.wp-element-button:hover, .wp-block-button__link:hover { background: var(--ps-primary-dark) !important; }
.btn-primary, a.btn-primary { background: var(--ps-primary) !important; color: #fff !important; border-radius: var(--ps-radius-md) !important; padding: 0.85rem 2rem !important; font-weight: 700 !important; display: inline-flex !important; text-decoration: none !important; transition: all 0.3s ease !important; }
.btn-outline, a.btn-outline { background: transparent !important; color: var(--ps-text) !important; border: 1.5px solid var(--ps-border) !important; border-radius: var(--ps-radius-md) !important; padding: 0.85rem 2rem !important; font-weight: 600 !important; text-decoration: none !important; transition: all 0.3s ease !important; }

/* --------------------------------------------------------------------------
   5. Header
   -------------------------------------------------------------------------- */
header.site-header {
    position: fixed !important; top: 0 !important; left: 0 !important; right: 0 !important;
    width: 100% !important; z-index: 9999 !important;
    background: rgba(255,255,255,0.95) !important;
    backdrop-filter: blur(12px) !important; -webkit-backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid var(--ps-border) !important;
    transition: all 0.3s ease !important;
}
header.site-header.is-scrolled { box-shadow: var(--ps-shadow-md) !important; }
body.admin-bar header.site-header { top: 32px !important; }
@media screen and (max-width: 782px) { body.admin-bar header.site-header { top: 46px !important; } }

.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0.875rem 2rem; max-width: 1600px; margin: 0 auto;
}
.header-brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.header-brand img { width: 80px !important; height: 80px !important; min-width: 80px !important; min-height: 80px !important; border-radius: 14px; transition: transform 0.3s ease; filter: drop-shadow(0 4px 16px rgba(0,0,0,0.12)); }
.header-brand-name { font-size: 1.45rem; font-weight: 800; color: var(--ps-text); letter-spacing: -0.04em; }
.site-header .header-brand img, .site-footer .header-brand img { width: 80px !important; height: 80px !important; max-width: 80px !important; max-height: 80px !important; min-width: 80px !important; min-height: 80px !important; filter: drop-shadow(0 4px 16px rgba(0,0,0,0.12)) !important; background: none !important; border: none !important; padding: 0 !important; }

.header-nav { display: flex; align-items: center; gap: 0.25rem; }
.header-nav a { color: var(--ps-text-secondary); text-decoration: none; font-size: 0.88rem; font-weight: 500; padding: 0.4rem 0.85rem; border-radius: var(--ps-radius-sm); transition: all 0.2s ease; }
.header-nav a:hover { color: var(--ps-text); background: var(--ps-bg-alt); }
.header-nav a.is-active { color: var(--ps-primary); text-decoration: underline; text-underline-offset: 4px; }

.header-right { display: flex; align-items: center; gap: 0.75rem; }
.header-signin { color: var(--ps-text-secondary); text-decoration: none; font-size: 0.88rem; font-weight: 500; padding: 0.4rem 0.85rem; transition: color 0.2s ease; }
.header-signin:hover { color: var(--ps-text); }
.header-cta { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.5rem 1.15rem; border-radius: var(--ps-radius-full); background: var(--ps-primary); color: #fff; font-size: 0.82rem; font-weight: 600; text-decoration: none; transition: all 0.3s ease; white-space: nowrap; }
.header-cta:hover { background: var(--ps-primary-dark); transform: translateY(-1px); color: #fff; }

/* Hamburger */
.mobile-menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; z-index: 10003; }
.mobile-menu-toggle span { display: block; width: 22px; height: 2px; background: var(--ps-text); margin: 5px 0; transition: all 0.3s ease; border-radius: 2px; }
.mobile-menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Nav */
.mobile-nav-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(255,255,255,0.98); backdrop-filter: blur(20px); z-index: 10002; flex-direction: column; align-items: center; justify-content: flex-start; padding: 80px 2rem 50px; opacity: 0; transition: opacity 0.4s ease; pointer-events: none; overflow-y: auto; }
.mobile-nav-overlay.active { display: flex; opacity: 1; pointer-events: all; }
.mobile-nav-primary, .mobile-nav-secondary { display: flex; flex-direction: column; align-items: center; gap: 0.25rem; width: 100%; margin-bottom: 1.25rem; }
.mobile-nav-overlay a { color: var(--ps-text); text-decoration: none; font-size: 1.1rem; font-weight: 600; padding: 0.6rem 1.5rem; border-radius: var(--ps-radius-md); transition: all 0.2s ease; width: 90%; max-width: 320px; text-align: center; }
.mobile-nav-overlay a:hover { background: var(--ps-bg-alt); color: var(--ps-primary); }
.mobile-nav-secondary a { font-size: 0.95rem; font-weight: 500; color: var(--ps-text-muted); }

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.ps-hero { position: relative; padding: 5rem var(--ps-outer-spacing, 2rem) 4rem; overflow: hidden; }
.ps-hero__inner { max-width: 1600px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.ps-hero__content { max-width: 560px; }
.ps-hero__title { font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.08; margin: 0 0 1.5rem; color: var(--ps-text); }
.ps-hero__line { display: block; }
.ps-hero__line--accent { color: var(--ps-primary) !important; -webkit-text-fill-color: var(--ps-primary) !important; background: none !important; animation: none !important; }
.ps-hero__sub { font-size: 1.05rem; color: var(--ps-text-muted); line-height: 1.7; margin: 0 0 2rem; }
.ps-hero__cta { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.ps-hero__image { position: relative; }
.ps-hero__image img { width: 100%; border-radius: var(--ps-radius-xl); box-shadow: var(--ps-shadow-lg); }
.ps-hero__badge { position: absolute; bottom: -10px; right: 20px; background: #fff; border-radius: var(--ps-radius-lg); padding: 0.75rem 1.25rem; box-shadow: var(--ps-shadow-lg); border: 1px solid var(--ps-border-light); }
.ps-hero__badge-value { font-size: 1.5rem; font-weight: 800; color: var(--ps-primary); }
.ps-hero__badge-label { font-size: 0.7rem; color: var(--ps-text-muted); display: block; }

/* Fullwidth hero variant (for legal/single pages) */
.ps-hero--full { text-align: left; padding: 4rem 2rem 3rem; }
.ps-hero--full .ps-hero__content { max-width: 700px; }
.ps-hero--center { text-align: center; }
.ps-hero--center .ps-hero__content { max-width: 720px; margin: 0 auto; }
.ps-hero--center .ps-hero__cta { justify-content: center; }

/* --------------------------------------------------------------------------
   7. Sections
   -------------------------------------------------------------------------- */
.ps-section { padding: clamp(4rem, 8vw, 6rem) var(--ps-outer-spacing, 2rem); }
.ps-section__inner { max-width: 1600px; margin: 0 auto; }
.ps-section__header { text-align: center; margin-bottom: 3rem; }
.ps-section__title { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; color: var(--ps-text); margin: 0 0 0.75rem; }
.ps-section__sub { font-size: 1rem; color: var(--ps-text-muted); max-width: 520px; margin: 0 auto; line-height: 1.65; }
.ps-overline { display: inline-block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ps-primary); margin-bottom: 0.75rem; }
.gradient-text { color: var(--ps-primary) !important; -webkit-text-fill-color: var(--ps-primary) !important; background: none !important; animation: none !important; }
.section-label { display: inline-flex; align-items: center; gap:0.5rem; background: var(--ps-primary-bg); border:1px solid rgba(26,86,219,0.12); color: var(--ps-primary); padding:0.35rem 0.9rem; border-radius: var(--ps-radius-full); font-size:0.78rem; font-weight:600; text-transform:uppercase; letter-spacing:0.05em; margin-bottom:1.25rem; }

/* --------------------------------------------------------------------------
   8. Feature Icon
   -------------------------------------------------------------------------- */
.ps-icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; margin-bottom: 1rem; flex-shrink: 0; }
.ps-icon--blue { background: var(--ps-primary-bg); color: var(--ps-primary); }
.ps-icon--green { background: var(--ps-green-bg); color: var(--ps-green); }
.ps-icon--red { background: var(--ps-red-bg); color: var(--ps-red); }
.ps-icon--purple { background: var(--ps-purple-bg); color: var(--ps-purple); }
.feature-icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; margin-bottom: 1rem; }
.feature-icon.emerald { background: var(--ps-green-bg); color: var(--ps-green); }
.feature-icon.indigo { background: var(--ps-primary-bg); color: var(--ps-primary); }

/* --------------------------------------------------------------------------
   9. Products Grid
   -------------------------------------------------------------------------- */
.ps-products-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.ps-product-card { background: var(--ps-bg-card); border: 1px solid var(--ps-border-light); border-radius: var(--ps-radius-xl); padding: 1.75rem; transition: all var(--ps-transition); position: relative; overflow: hidden; }
.ps-product-card:hover { box-shadow: var(--ps-shadow-lg); transform: translateY(-3px); }
.ps-product-card__header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; }
.ps-product-card__logo { width: 40px; height: 40px; border-radius: 10px; object-fit: contain; }
.ps-product-card__logo-wrap { width: 44px; height: 44px; border-radius: 12px; overflow: hidden; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--ps-bg-alt); }
.ps-product-card__logo-wrap img { width: 100%; height: 100%; object-fit: contain; }
.ps-product-card__name { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; margin: 0; color: var(--ps-text); }
.ps-product-card__desc { font-size: 0.88rem; color: var(--ps-text-muted); line-height: 1.6; margin: 0 0 1rem; }
.ps-product-card__image { width: 100%; border-radius: var(--ps-radius-md); margin: 0.75rem 0; }
.ps-product-card__link { color: var(--ps-primary); font-weight: 600; font-size: 0.88rem; text-decoration: none; display: inline-flex; align-items: center; gap: 0.3rem; }
.ps-product-card__link:hover { gap: 0.5rem; }
.ps-product-card--highlight { background: linear-gradient(135deg, #1a56db 0%, #3b82f6 100%); color: #fff; border-color: transparent; }
.ps-product-card--highlight .ps-product-card__name, .ps-product-card--highlight .ps-product-card__desc { color: rgba(255,255,255,0.9); }
.ps-product-card--highlight .ps-product-card__link { color: #fff; }

.ps-badge { display: inline-block; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; padding: 0.2rem 0.55rem; border-radius: var(--ps-radius-full); background: var(--ps-primary-bg); color: var(--ps-primary); }
.ps-badge--green { background: var(--ps-green-bg); color: var(--ps-green); }
.ps-badge--purple { background: var(--ps-purple-bg); color: var(--ps-purple); }

/* --------------------------------------------------------------------------
   10. Stats Bar
   -------------------------------------------------------------------------- */
.ps-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; padding: 3rem 0; }
.ps-stat__value { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 800; color: var(--ps-primary); letter-spacing: -0.03em; }
.ps-stat__label { font-size: 0.8rem; color: var(--ps-text-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 0.25rem; }

/* --------------------------------------------------------------------------
   11. CTA Banner
   -------------------------------------------------------------------------- */
.ps-cta-banner { background: linear-gradient(135deg, #1a56db 0%, #2563eb 100%); border-radius: var(--ps-radius-xl); padding: clamp(3rem, 6vw, 4.5rem) 2rem; text-align: center; color: #fff; position: relative; overflow: hidden; }
.ps-cta-banner__title { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 800; letter-spacing: -0.03em; margin: 0 0 0.75rem; color: #fff; }
.ps-cta-banner__sub { font-size: 1rem; opacity: 0.85; margin: 0 0 2rem; max-width: 500px; margin-left: auto; margin-right: auto; }
.ps-cta-banner__actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   12. Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--ps-bg); border-top: 1px solid var(--ps-border); }
.footer-inner { max-width: 1600px; margin: 0 auto; padding: 2.5rem 2rem; }

/* Simple footer */
.footer-simple { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-simple .footer-brand-col { display: flex; align-items: center; gap: 0.5rem; }
.footer-simple .footer-nav { display: flex; gap: 1.5rem; }
.footer-simple .footer-nav a { color: var(--ps-text-muted); font-size: 0.85rem; text-decoration: none; transition: color 0.2s ease; }
.footer-simple .footer-nav a:hover, .footer-simple .footer-nav a.is-active { color: var(--ps-primary); }
.footer-copyright { color: var(--ps-text-muted); font-size: 0.78rem; }

/* Full footer */
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr; gap: 3rem; margin-bottom: 2rem; }
.footer-brand-text { color: var(--ps-text-muted); font-size: 0.88rem; line-height: 1.65; margin-top: 0.75rem; max-width: 300px; }
.footer-heading { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ps-text); margin-bottom: 1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { color: var(--ps-text-muted); text-decoration: none; font-size: 0.88rem; transition: color 0.2s ease; }
.footer-links a:hover { color: var(--ps-primary); }
.footer-bottom { border-top: 1px solid var(--ps-border); padding-top: 1.5rem; display: flex; align-items: center; justify-content: space-between; }
.footer-social { display: flex; gap: 0.5rem; }
.footer-social a { color: var(--ps-text-muted); transition: color 0.2s ease; }
.footer-social a:hover { color: var(--ps-primary); }

/* --------------------------------------------------------------------------
   13. Contact Page
   -------------------------------------------------------------------------- */
.ps-contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 2.5rem; max-width: 1440px; margin: 0 auto; }
.ps-contact-cards { display: flex; flex-direction: column; gap: 1.25rem; }
.ps-contact-card { background: var(--ps-bg-card); border: 1px solid var(--ps-border-light); border-radius: var(--ps-radius-lg); padding: 1.5rem; }
.ps-contact-card--dark { background: linear-gradient(135deg, #1e293b, #0f172a); color: #fff; border-color: transparent; }
.ps-contact-card--dark h3, .ps-contact-card--dark p { color: rgba(255,255,255,0.9); }
.ps-contact-card h3 { font-size: 1rem; font-weight: 700; margin: 0.75rem 0 0.4rem; }
.ps-contact-card p { font-size: 0.85rem; color: var(--ps-text-muted); line-height: 1.6; margin: 0 0 0.75rem; }
.ps-contact-card__link { font-size: 0.85rem; font-weight: 600; color: var(--ps-primary); display: inline-flex; align-items: center; gap: 0.3rem; }

/* --------------------------------------------------------------------------
   14. Legal Pages (Privacy, Terms, Refund)
   -------------------------------------------------------------------------- */
.ps-legal-layout { display: grid; grid-template-columns: 220px 1fr; gap: 3rem; max-width: 1440px; margin: 0 auto; align-items: start; }
.ps-legal-sidebar { position: sticky; top: 100px; }
.ps-legal-sidebar__label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ps-text-muted); margin-bottom: 0.75rem; }
.ps-legal-sidebar__nav { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.ps-legal-sidebar__nav li { margin-bottom: 0.25rem; }
.ps-legal-sidebar__nav a { color: var(--ps-text-muted); text-decoration: none; font-size: 0.85rem; padding: 0.3rem 0.75rem; display: block; border-left: 2px solid transparent; border-radius: 0; transition: all 0.2s ease; }
.ps-legal-sidebar__nav a:hover, .ps-legal-sidebar__nav a.is-active { color: var(--ps-primary); border-left-color: var(--ps-primary); background: var(--ps-primary-bg); }
.ps-legal-section { margin-bottom: 3rem; }
.ps-legal-section__title { display: flex; align-items: center; gap: 0.75rem; font-size: 1.4rem; font-weight: 800; margin: 0 0 1.25rem; }
.ps-legal-section__number { width: 36px; height: 36px; border-radius: 50%; background: var(--ps-primary-bg); color: var(--ps-primary); display: flex; align-items: center; justify-content: center; font-size: 0.85rem; font-weight: 700; flex-shrink: 0; }
.ps-legal-section p { font-size: 0.95rem; color: var(--ps-text-secondary); line-height: 1.8; margin-bottom: 1rem; }
.ps-legal-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }

/* Callout cards */
.ps-callout { border-radius: var(--ps-radius-lg); padding: 1.5rem; margin-bottom: 1rem; }
.ps-callout--green { background: var(--ps-green-bg); border-left: 3px solid var(--ps-green); }
.ps-callout--red { background: var(--ps-red-bg); border-left: 3px solid var(--ps-red); }
.ps-callout--blue { background: var(--ps-primary-bg); border-left: 3px solid var(--ps-primary); }
.ps-callout__title { font-size: 0.88rem; font-weight: 700; margin: 0 0 0.5rem; }
.ps-callout--green .ps-callout__title { color: var(--ps-green); }
.ps-callout--red .ps-callout__title { color: var(--ps-red); }
.ps-callout p { font-size: 0.85rem; color: var(--ps-text-secondary); margin: 0; line-height: 1.6; }

/* Process steps */
.ps-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.ps-step { background: var(--ps-bg-card); border: 1px solid var(--ps-border-light); border-radius: var(--ps-radius-lg); padding: 1.75rem; position: relative; }
.ps-step__number { position: absolute; top: 1rem; right: 1rem; font-size: 2.5rem; font-weight: 900; color: var(--ps-border); }
.ps-step__title { font-size: 0.95rem; font-weight: 700; margin: 0.75rem 0 0.4rem; }
.ps-step__desc { font-size: 0.82rem; color: var(--ps-text-muted); line-height: 1.6; margin: 0; }

/* Sidebar help card */
.ps-help-card { background: var(--ps-primary); border-radius: var(--ps-radius-lg); padding: 1.5rem; color: #fff; margin-bottom: 1rem; }
.ps-help-card h4 { font-size: 1.1rem; font-weight: 700; margin: 0 0 0.5rem; }
.ps-help-card p { font-size: 0.85rem; opacity: 0.85; margin: 0 0 1rem; line-height: 1.6; }

/* Quick FAQ */
.ps-faq-card { background: var(--ps-bg-card); border: 1px solid var(--ps-border-light); border-radius: var(--ps-radius-lg); padding: 1.5rem; }
.ps-faq-card h4 { font-size: 0.95rem; font-weight: 700; margin: 0 0 0.75rem; }
.ps-faq-card dt { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ps-text-muted); margin-top: 0.75rem; }
.ps-faq-card dd { font-size: 0.85rem; color: var(--ps-text-secondary); margin: 0.2rem 0 0; }

/* --------------------------------------------------------------------------
   15. Pricing
   -------------------------------------------------------------------------- */
.ps-pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.ps-pricing-card { background: var(--ps-bg-card); border: 1px solid var(--ps-border-light); border-radius: var(--ps-radius-xl); padding: 2rem; text-align: left; position: relative; transition: all var(--ps-transition); }
.ps-pricing-card:hover { box-shadow: var(--ps-shadow-lg); }
.ps-pricing-card--featured { border-color: var(--ps-primary); box-shadow: 0 0 0 1px var(--ps-primary); }
.ps-pricing-card__label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ps-text-muted); margin-bottom: 0.5rem; }
.ps-pricing-card__price { font-size: 2.25rem; font-weight: 800; color: var(--ps-text); letter-spacing: -0.03em; }
.ps-pricing-card__period { font-size: 0.85rem; color: var(--ps-text-muted); font-weight: 400; }
.ps-pricing-card__features { list-style: none; padding: 0; margin: 1.5rem 0; }
.ps-pricing-card__features li { font-size: 0.88rem; color: var(--ps-text-secondary); padding: 0.35rem 0; display: flex; align-items: center; gap: 0.5rem; }
.ps-pricing-card__features li::before { content: '✓'; color: var(--ps-primary); font-weight: 700; }

/* --------------------------------------------------------------------------
   16. Blog
   -------------------------------------------------------------------------- */
.ps-search-bar { display: flex; align-items: center; gap: 0.5rem; background: var(--ps-bg-card); border: 1px solid var(--ps-border); border-radius: var(--ps-radius-full); padding: 0.6rem 1.25rem; max-width: 320px; }
.ps-search-bar input { border: none; background: none; outline: none; font-family: var(--ps-font); font-size: 0.88rem; color: var(--ps-text); width: 100%; }
.ps-filter-pills { display: flex; gap: 0.5rem; flex-wrap: wrap; margin: 1.5rem 0 2.5rem; }
.ps-pill { padding: 0.4rem 1rem; border-radius: var(--ps-radius-full); font-size: 0.82rem; font-weight: 500; border: 1px solid var(--ps-border); background: transparent; color: var(--ps-text-secondary); cursor: pointer; transition: all 0.2s ease; }
.ps-pill:hover { border-color: var(--ps-primary); color: var(--ps-primary); }
.ps-pill--active { background: var(--ps-primary); color: #fff; border-color: var(--ps-primary); }
.ps-blog-featured { display: grid; grid-template-columns: 1.5fr 1fr; gap: 1.25rem; margin-bottom: 3rem; }
.ps-blog-featured__main { position: relative; border-radius: var(--ps-radius-xl); overflow: hidden; min-height: 350px; }
.ps-blog-featured__main img { width: 100%; height: 100%; object-fit: cover; }
.ps-blog-featured__overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 2rem; background: linear-gradient(transparent, rgba(0,0,0,0.8)); color: #fff; }
.ps-blog-featured__side { display: flex; flex-direction: column; gap: 1.25rem; }
.ps-blog-card { background: var(--ps-bg-card); border: 1px solid var(--ps-border-light); border-radius: var(--ps-radius-lg); overflow: hidden; transition: all var(--ps-transition); }
.ps-blog-card:hover { box-shadow: var(--ps-shadow-md); transform: translateY(-2px); }
.ps-blog-card__image { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.ps-blog-card__body { padding: 1.25rem; }
.ps-blog-card__category { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ps-primary); margin-bottom: 0.4rem; }
.ps-blog-card__title { font-size: 1rem; font-weight: 700; margin: 0 0 0.4rem; line-height: 1.3; }
.ps-blog-card__excerpt { font-size: 0.82rem; color: var(--ps-text-muted); line-height: 1.6; margin: 0 0 0.75rem; }
.ps-blog-card__meta { display: flex; align-items: center; gap: 0.75rem; font-size: 0.75rem; color: var(--ps-text-muted); }
.ps-blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }

/* Newsletter */
.ps-newsletter { background: linear-gradient(135deg, #111827, #1e293b); border-radius: var(--ps-radius-xl); padding: 3rem; color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.ps-newsletter__title { font-size: 1.5rem; font-weight: 800; margin: 0 0 0.4rem; }
.ps-newsletter__sub { font-size: 0.88rem; opacity: 0.7; margin: 0; }
.ps-newsletter__form { display: flex; gap: 0.5rem; }
.ps-newsletter__input { padding: 0.65rem 1.25rem; border-radius: var(--ps-radius-full); border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.1); color: #fff; font-size: 0.88rem; min-width: 250px; outline: none; font-family: var(--ps-font); }

/* WP blog compat */
.wp-block-query .glass-card, .wp-block-query .ps-card { height: 100%; display: flex; flex-direction: column; }
.wp-block-post-featured-image { border-radius: var(--ps-radius-md); overflow: hidden; margin-bottom: 0.75rem; }
.wp-block-post-featured-image img { transition: transform 0.4s ease; }
.glass-card:hover .wp-block-post-featured-image img { transform: scale(1.03); }
.wp-block-post-title a { color: var(--ps-text); text-decoration: none; transition: color 0.2s ease; }
.wp-block-post-title a:hover { color: var(--ps-primary); }
.wp-block-post-excerpt { color: var(--ps-text-muted); font-size: 0.9rem; }
.wp-block-post-date { color: var(--ps-text-muted); font-size: 0.78rem; }
.wp-block-read-more { color: var(--ps-primary) !important; text-decoration: none !important; font-weight: 600; font-size: 0.88rem; display: inline-flex; align-items: center; gap: 0.3rem; }
.wp-block-read-more:hover { gap: 0.5rem; }
.wp-block-query-pagination a, .wp-block-query-pagination span { color: var(--ps-text-muted); padding: 0.4rem 0.85rem; border-radius: var(--ps-radius-sm); font-size: 0.88rem; transition: all 0.2s ease; }
.wp-block-query-pagination a:hover { background: var(--ps-bg-alt); color: var(--ps-text); }

/* --------------------------------------------------------------------------
   17. Single Post
   -------------------------------------------------------------------------- */
.single-post-container { max-width: 880px; margin: 2.5rem auto 5rem; padding: 0 1.5rem; }
.single-post-container p { font-size: 1.05rem; line-height: 1.85; color: var(--ps-text-secondary); margin-bottom: 1.25rem; }
.single-post-container h2, .single-post-container h3 { color: var(--ps-text); margin-top: 2.5rem; margin-bottom: 0.75rem; }
.single-post-container blockquote { border-left: 3px solid var(--ps-primary); padding: 1.5rem; margin: 2rem 0; background: var(--ps-bg-alt); border-radius: 0 var(--ps-radius-md) var(--ps-radius-md) 0; font-style: italic; color: var(--ps-text-secondary); }
.single-post-container code { background: var(--ps-bg-card); padding: 0.15rem 0.4rem; border-radius: 4px; font-family: var(--ps-font-mono); font-size: 0.875em; color: var(--ps-primary); }
.single-post-container pre { background: #1e293b !important; color: #e2e8f0; border-radius: var(--ps-radius-md); padding: 1.25rem; overflow-x: auto; border: 1px solid var(--ps-border); }
.author-byline { background: var(--ps-bg-card); padding: 1.5rem; border-radius: var(--ps-radius-lg); margin: 2.5rem 0; display: flex; align-items: center; gap: 1rem; border: 1px solid var(--ps-border-light); }
.author-avatar img { border-radius: 50%; border: 2px solid var(--ps-primary); }
.wp-block-post-navigation-link { color: var(--ps-text-muted); transition: color 0.2s ease; }
.wp-block-post-navigation-link:hover { color: var(--ps-primary); }
.toc-container { background: var(--ps-bg-card); border: 1px solid var(--ps-border-light); border-radius: var(--ps-radius-lg); padding: 1.5rem; margin-bottom: 2rem; }
.toc-container h3 { font-size: 0.95rem; margin: 0 0 0.75rem; color: var(--ps-text); }
.toc-container ul { list-style: none; padding: 0; margin: 0; }
.toc-container li { margin-bottom: 0.35rem; }
.toc-container a { color: var(--ps-text-muted); text-decoration: none; font-size: 0.85rem; padding: 0.25rem 0.75rem; border-left: 2px solid transparent; display: block; transition: all 0.2s ease; }
.toc-container a:hover { color: var(--ps-primary); border-left-color: var(--ps-primary); }

/* Author info badge for single post hero */
.ps-author-badge { display: inline-flex; align-items: center; gap: 0.75rem; background: var(--ps-bg-card); border: 1px solid var(--ps-border-light); border-radius: var(--ps-radius-full); padding: 0.4rem 1rem 0.4rem 0.4rem; }
.ps-author-badge img { width: 32px; height: 32px; border-radius: 50%; }
.ps-author-badge__name { font-size: 0.82rem; font-weight: 600; }
.ps-author-badge__role { font-size: 0.72rem; color: var(--ps-text-muted); }

/* --------------------------------------------------------------------------
   18. Team Section
   -------------------------------------------------------------------------- */
.ps-team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.ps-team-member { text-align: center; }
.ps-team-member__photo { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--ps-radius-lg); margin-bottom: 0.75rem; }
.ps-team-member__name { font-size: 0.95rem; font-weight: 700; margin: 0; }
.ps-team-member__role { font-size: 0.8rem; color: var(--ps-text-muted); margin: 0.15rem 0 0; }

/* --------------------------------------------------------------------------
   19. Checkout & Trust
   -------------------------------------------------------------------------- */
.checkout-loading { text-align: center; padding: 3rem; }
.trust-badges { display: flex; align-items: center; justify-content: center; gap: 2rem; margin-top: 2.5rem; flex-wrap: wrap; }
.trust-badge { display: flex; align-items: center; gap: 0.5rem; color: var(--ps-text-muted); font-size: 0.85rem; font-weight: 500; }
.trust-badge svg { width: 20px; height: 20px; color: var(--ps-primary); }

/* --------------------------------------------------------------------------
   20. Animations
   -------------------------------------------------------------------------- */
.ps-reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1); will-change: opacity, transform; }
.ps-reveal--d1 { transition-delay: 0.1s; }
.ps-reveal--d2 { transition-delay: 0.2s; }
.ps-reveal--d3 { transition-delay: 0.3s; }
.ps-reveal--d4 { transition-delay: 0.4s; }
.ps-reveal.is-visible { opacity: 1; transform: translateY(0); }
.animate-reveal { animation: reveal-up 0.5s cubic-bezier(0.16,1,0.3,1) both; }
@keyframes reveal-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
@media (prefers-reduced-motion: reduce) { .ps-reveal { opacity: 1; transform: none; transition: none; } }

/* Checklist items */
.ps-checklist { list-style: none; padding: 0; margin: 0; }
.ps-checklist li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.88rem; color: var(--ps-text-secondary); padding: 0.3rem 0; }
.ps-checklist li::before { content: '✓'; color: var(--ps-primary); font-weight: 700; font-size: 0.85rem; }

/* --------------------------------------------------------------------------
   21. WP Block Overrides
   -------------------------------------------------------------------------- */
.wp-block-navigation__responsive-container-open, .wp-block-navigation__responsive-container-close, .wp-block-navigation__responsive-dialog { display: none !important; }
.site-footer .wp-block-navigation, footer .wp-block-navigation { display: none !important; }
.wp-block-separator { border-color: var(--ps-border) !important; opacity: 1; }
.wp-block-columns { gap: 1.5rem; }
.wp-block-buttons { gap: 0.75rem; }
.bg-grid-pattern { position: relative; }
.bg-grid-pattern::before, .bg-grid-pattern::after { display: none; }

/* Nuclear WP overrides */
.wp-site-blocks a.ps-btn, body a.ps-btn { background: var(--ps-primary) !important; color: #fff !important; border-radius: var(--ps-radius-full) !important; }
.wp-site-blocks a.ps-btn--ghost, body a.ps-btn--ghost, .wp-site-blocks a.ps-btn--outline, body a.ps-btn--outline { background: transparent !important; color: var(--ps-text) !important; border: 1.5px solid var(--ps-border) !important; }
.wp-site-blocks .ps-hero__line--accent, body .ps-hero__line--accent { -webkit-text-fill-color: var(--ps-primary) !important; color: var(--ps-primary) !important; background: none !important; }

/* --------------------------------------------------------------------------
   22. Responsive
   -------------------------------------------------------------------------- */
@media screen and (max-width: 768px) {
    .header-nav, .header-right { display: none; }
    .mobile-menu-toggle { display: block; }
    .header-inner { padding: 0.75rem 1.25rem; }
    :root { --ps-outer-spacing: 1.25rem; }
    .ps-section, .ps-hero { padding-left: var(--ps-outer-spacing) !important; padding-right: var(--ps-outer-spacing) !important; }
    .header-brand-name { font-size: 1rem; }
    body { padding-top: 72px !important; }
    .site-header .header-brand img, .site-footer .header-brand img { width: 44px !important; height: 44px !important; max-width: 44px !important; max-height: 44px !important; }
    .ps-hero__inner { grid-template-columns: 1fr; text-align: center; }
    .ps-hero__content { max-width: 100%; }
    .ps-hero__image { order: -1; max-width: 400px; margin: 0 auto; }
    .ps-hero__cta { justify-content: center; }
    .ps-products-grid { grid-template-columns: 1fr; }
    .ps-stats { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
    .ps-contact-grid { grid-template-columns: 1fr; }
    .ps-legal-layout { grid-template-columns: 1fr; }
    .ps-legal-sidebar { position: static; }
    .ps-legal-two-col { grid-template-columns: 1fr; }
    .ps-pricing { grid-template-columns: 1fr; }
    .ps-steps { grid-template-columns: 1fr; }
    .ps-blog-featured { grid-template-columns: 1fr; }
    .ps-blog-grid { grid-template-columns: 1fr; }
    .ps-team-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .footer-simple { flex-direction: column; text-align: center; }
    .footer-simple .footer-nav { flex-wrap: wrap; justify-content: center; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
    .glass-card, .glass-card-static { padding: 1.25rem; }
    .wp-block-post-template { grid-template-columns: 1fr !important; }
    .wp-block-columns { flex-direction: column !important; }
    .wp-block-column { flex-basis: 100% !important; }
    .single-post-container { padding: 0 1rem; margin: 1.5rem auto 3rem; }
    .trust-badges { flex-direction: column; gap: 0.75rem; }
    .ps-newsletter { flex-direction: column; text-align: center; }
    .ps-newsletter__form { flex-direction: column; width: 100%; }
    .ps-newsletter__input { min-width: 0; }
    /* Fix inline grid layouts used in templates */
    .ps-section__inner [style*="grid-template-columns:1fr 1fr"],
    .ps-section__inner [style*="grid-template-columns:1fr 1.2fr"],
    .ps-section__inner [style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
}
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .header-nav a { padding: 0.4rem 0.6rem; font-size: 0.82rem; }
    .ps-team-grid { grid-template-columns: repeat(2, 1fr); }
    .ps-pricing { grid-template-columns: 1fr 1fr; }
    .wp-block-post-template { grid-template-columns: repeat(2, 1fr) !important; }
}
@media screen and (min-width: 1025px) {
    .mobile-menu-toggle, .mobile-nav-overlay { display: none !important; }
}

/* --------------------------------------------------------------------------
   23. Accessibility & Speed (Utility)
   -------------------------------------------------------------------------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.lazy-load { opacity: 0; transition: opacity 0.5s ease; }
.lazy-load.loaded { opacity: 1; }
:focus-visible { outline: 2px solid var(--ps-primary); outline-offset: 4px; }

/* --------------------------------------------------------------------------
   24. Shop & Premium Animations
   -------------------------------------------------------------------------- */

/* Shop Grid & Cards */
.ps-shop-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); 
    gap: 2rem; 
}

.ps-shop-card {
    background: var(--ps-bg-card);
    border: 1px solid var(--ps-border-light);
    border-radius: var(--ps-radius-xl);
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.ps-shop-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 4px;
    background: transparent;
    transition: background 0.3s ease;
}

.ps-shop-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    border-color: var(--ps-primary-light);
}

.ps-shop-card--featured {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #fff;
    border-color: transparent;
}

.ps-shop-card--featured .ps-shop-card__name { color: #fff; }
.ps-shop-card--featured .ps-shop-card__desc { color: rgba(255,255,255,0.7); }
.ps-shop-card--featured .ps-shop-card__price { color: #fff; }

.ps-shop-card__badge-row { display: flex; gap: 0.5rem; margin-bottom: 1.5rem; }
.ps-badge { font-size: 0.75rem; font-weight: 700; padding: 0.25rem 0.65rem; border-radius: 100px; text-transform: uppercase; letter-spacing: 0.05em; }
.ps-badge--saas { background: #eff6ff; color: #1d4ed8; }
.ps-badge--plugin { background: #fdf2f8; color: #be185d; }
.ps-badge--green { background: #f0fdf4; color: #15803d; }
.ps-badge--purple { background: #f5f3ff; color: #6d28d9; }

.ps-shop-card__logo-area { margin-bottom: 1.5rem; display: flex; align-items: center; justify-content: flex-start; height: 56px; }
.ps-shop-card__logo { max-height: 56px; width: auto; object-fit: contain; }

.ps-shop-card__name { font-size: 1.35rem; font-weight: 800; margin: 0 0 0.75rem; color: var(--ps-text); letter-spacing: -0.02em; }
.ps-shop-card__desc { font-size: 0.95rem; color: var(--ps-text-secondary); line-height: 1.6; margin: 0 0 1.5rem; flex-grow: 1; }

.ps-shop-card__pricing { margin-bottom: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--ps-border-light); }
.ps-shop-card--featured .ps-shop-card__pricing { border-top-color: rgba(255,255,255,0.1); }
.ps-shop-card__price { font-size: 1.5rem; font-weight: 800; color: var(--ps-text); }
.ps-shop-card__period { font-size: 0.88rem; font-weight: 500; color: var(--ps-text-muted); }

.ps-shop-card__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }

/* Filter Pills */
.ps-filter-pills { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.ps-pill {
    padding: 0.6rem 1.25rem;
    border-radius: 100px;
    background: var(--ps-bg-card);
    border: 1px solid var(--ps-border-light);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--ps-text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}
.ps-pill:hover { border-color: var(--ps-primary); color: var(--ps-primary); }
.ps-pill--active { background: var(--ps-primary); color: #fff; border-color: var(--ps-primary); }

/* Animations */
@keyframes psFadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.ps-stagger-1 { transition-delay: 0.1s; }
.ps-stagger-2 { transition-delay: 0.2s; }
.ps-stagger-3 { transition-delay: 0.3s; }
.ps-stagger-4 { transition-delay: 0.4s; }
.ps-stagger-5 { transition-delay: 0.5s; }
.ps-stagger-6 { transition-delay: 0.6s; }

/* Premium Shine Effect */
.ps-btn-shine {
    position: relative;
    overflow: hidden;
}
.ps-btn-shine::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: linear-gradient(
        to right,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.3) 50%,
        rgba(255,255,255,0) 100%
    );
    transform: rotate(30deg);
    transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
    pointer-events: none;
    z-index: 1;
}
.ps-btn-shine:hover::after {
    transform: translate(50%, 50%) rotate(30deg);
}

/* Shimmer Badge */
.ps-shimmer-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #475569;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

/* Gradient Shift Animation */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.ps-gradient-shift {
    background: linear-gradient(-45deg, #3b82f6, #8b5cf6, #3b82f6, #2dd4bf);
    background-size: 400% 400%;
    animation: gradientShift 10s ease infinite;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Responsive Tablete/Mobile */
@media screen and (max-width: 768px) {
    .ps-shop-grid { grid-template-columns: 1fr; }
    .ps-shop-card__actions { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   25. Dashboard & Account
   -------------------------------------------------------------------------- */
.ps-dashboard {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 2.5rem;
    align-items: start;
    margin-top: 2.5rem;
}

.ps-dashboard-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: sticky;
    top: 110px;
}

.ps-dashboard-nav__btn {
    text-align: left;
    padding: 0.85rem 1.25rem;
    border-radius: var(--ps-radius-lg);
    background: transparent;
    border: none;
    color: var(--ps-text-secondary);
    font-family: var(--ps-font);
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s var(--ps-ease);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ps-dashboard-nav__btn:hover {
    background: var(--ps-bg-alt);
    color: var(--ps-primary);
}

.ps-dashboard-nav__btn.active {
    background: var(--ps-primary);
    color: #fff;
    box-shadow: 0 10px 15px -3px rgba(26, 86, 219, 0.2);
}

.ps-tab-pane {
    display: none;
    animation: psFadeUp 0.4s var(--ps-ease) both;
}

.ps-tab-pane.active {
    display: block;
}

@keyframes psFadeUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Service Cards */
.ps-service-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    background: #fff;
    border: 1px solid var(--ps-border);
    border-radius: var(--ps-radius-xl);
    margin-bottom: 1rem;
    transition: all 0.3s var(--ps-ease);
}

.ps-service-card:hover {
    border-color: var(--ps-primary);
    box-shadow: var(--ps-shadow-md);
    transform: translateY(-2px);
}

.ps-service-info {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.ps-service-icon {
    width: 52px;
    height: 52px;
    background: var(--ps-bg-alt);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: var(--ps-shadow-sm);
}

.ps-service-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ps-text);
    margin: 0 0 0.25rem;
}

.ps-service-meta {
    font-size: 0.85rem;
    color: var(--ps-text-muted);
    font-weight: 500;
}

/* Status Badges */
.ps-status {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: 100px;
    text-transform: uppercase;
}
.ps-status--active { background: #dcfce7; color: #166534; }
.ps-status--trialing { background: #e0f2fe; color: #075985; }
.ps-status--pastdue { background: #fee2e2; color: #991b1b; }

/* License Display */
.ps-license-box {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--ps-bg-alt);
    border: 1px solid var(--ps-border);
    border-radius: var(--ps-radius-md);
}
.ps-license-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--ps-text-muted);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    display: block;
}
.ps-license-key-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.ps-license-key {
    font-family: var(--ps-font-mono);
    font-size: 0.88rem;
    color: var(--ps-text);
    word-break: break-all;
}
.ps-copy-btn {
    background: none;
    border: none;
    color: var(--ps-primary);
    font-weight: 700;
    font-size: 0.75rem;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    flex-shrink: 0;
}

@media (max-width: 992px) {
    .ps-dashboard {
        grid-template-columns: 1fr;
    }
    .ps-dashboard-nav {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 0.5rem;
        position: sticky;
        top: 72px;
        background: #fff;
        z-index: 10;
        margin-bottom: 1.5rem;
        border-bottom: 1px solid var(--ps-border);
    }
    .ps-dashboard-nav__btn {
        white-space: nowrap;
        padding: 0.65rem 1rem;
        border-radius: 0;
        border-bottom: 2px solid transparent;
    }
    .ps-dashboard-nav__btn.active {
        background: transparent;
        color: var(--ps-primary);
        box-shadow: none;
        border-bottom-color: var(--ps-primary);
    }
}

/* --------------------------------------------------------------------------
   26. Split-Screen Auth (Login / Register)
   -------------------------------------------------------------------------- */
.ps-auth-split {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    min-height: 100vh;
    background: #fff;
}

.ps-auth-visual {
    position: relative;
    background: var(--ps-bg-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 4rem;
}

.ps-auth-visual::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.15), transparent 70%);
    z-index: 1;
}

.ps-auth-visual img {
    width: 80%;
    height: auto;
    object-fit: contain;
    z-index: 2;
    filter: drop-shadow(0 25px 50px rgba(0,0,0,0.5));
    animation: psFloat 6s ease-in-out infinite;
}

@keyframes psFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.ps-auth-content {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem;
    background: #fff;
}

.ps-auth-box {
    width: 100%;
    max-width: 440px;
}

.ps-auth-header {
    margin-bottom: 2.5rem;
}

.ps-auth-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--ps-text);
    letter-spacing: -0.03em;
    margin-bottom: 0.75rem;
}

.ps-auth-sub {
    color: var(--ps-text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Form Styling */
.ps-form-group {
    margin-bottom: 1.5rem;
}

.ps-label {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--ps-text);
    margin-bottom: 0.5rem;
}

.ps-input {
    width: 100%;
    padding: 0.85rem 1.25rem;
    background: var(--ps-bg-alt);
    border: 1px solid var(--ps-border);
    border-radius: var(--ps-radius-lg);
    font-family: var(--ps-font);
    font-size: 0.95rem;
    transition: all 0.2s var(--ps-ease);
}

.ps-input:focus {
    border-color: var(--ps-primary);
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 4px rgba(26, 86, 219, 0.1);
}

.ps-auth-footer {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.88rem;
    color: var(--ps-text-secondary);
}

.ps-auth-footer a {
    color: var(--ps-primary);
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 992px) {
    .ps-auth-split {
        grid-template-columns: 1fr;
    }
    .ps-auth-visual {
        display: none;
    }
    .ps-auth-content {
        padding: 2.5rem;
        min-height: 100vh;
    }
}

/* Auth Visibility Utilities */
.ps-logged-in-only {
    display: none !important;
}
.ps-is-logged-in .ps-logged-in-only {
    display: inline-flex !important;
}
.ps-is-logged-in .ps-logged-out-only {
    display: none !important;
}

/* Premium Dashboard - Sidebar Flow */
.account-dashboard {
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: calc(100vh - 120px);
    background: var(--ps-bg-alt);
    margin: 2rem auto;
    max-width: 1600px;
    border-radius: var(--ps-radius-xl);
    overflow: hidden;
    border: 1px solid var(--ps-border-light);
    box-shadow: var(--ps-shadow-lg);
}

.account-sidebar {
    background: var(--ps-white);
    border-right: 1px solid var(--ps-border-light);
    padding: 2.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.account-sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.account-nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: var(--ps-radius-md);
    color: var(--ps-text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.account-nav-item:hover {
    background: var(--ps-bg-alt);
    color: var(--ps-text);
}

.account-nav-item.is-active {
    background: var(--ps-primary-bg);
    color: var(--ps-primary);
}

.account-main {
    padding: 3rem;
    background: var(--ps-bg-alt);
    overflow-y: auto;
}

.account-section-title {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 2rem;
    color: var(--ps-text);
}

.account-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.account-stat-card {
    background: var(--ps-bg);
    padding: 1.5rem;
    border-radius: var(--ps-radius-lg);
    border: 1px solid var(--ps-border-light);
    box-shadow: var(--ps-shadow-sm);
}

.account-stat-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ps-text-muted);
    margin-bottom: 0.5rem;
    display: block;
}

.account-stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--ps-text);
}

/* White-Label Billing Table */
.billing-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--ps-bg);
    border-radius: var(--ps-radius-lg);
    overflow: hidden;
    border: 1px solid var(--ps-border-light);
}

.billing-table th {
    background: var(--ps-bg-alt);
    padding: 1rem 1.5rem;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--ps-text-muted);
    border-bottom: 1px solid var(--ps-border-light);
}

.billing-table td {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--ps-border-light);
    font-size: 0.95rem;
}

@media screen and (max-width: 1024px) {
    .account-dashboard {
        grid-template-columns: 1fr;
    }
    .account-sidebar {
        border-right: none;
        border-bottom: 1px solid var(--ps-border-light);
        flex-direction: row;
        overflow-x: auto;
        padding: 1rem;
    }
    .account-sidebar-nav {
        flex-direction: row;
    }
    .account-main {
        padding: 1.5rem;
    }
}



