:root {
            --bg: #06070c;
            --bg-elevated: #0c0e16;
            --bg-card: #11131c;
            --bg-card-hover: #161925;
            --border: rgba(255, 255, 255, 0.055);
            --border-strong: rgba(255, 255, 255, 0.1);
            --text: #f4f5f8;
            --text-secondary: #9ca1b4;
            --text-muted: #5f6578;
            --primary: #8b5cf6;
            --primary-hover: #7c4fed;
            --primary-soft: rgba(139, 92, 246, 0.1);
            --accent: #34d399;
            --accent-soft: rgba(52, 211, 153, 0.1);
            --gradient: linear-gradient(135deg, #8b5cf6 0%, #6366f1 55%, #34d399 100%);
            --radius: 12px;
            --radius-lg: 16px;
            --radius-xl: 20px;
            --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
            --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
            --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.55);
        }

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

        body {
            font-family: 'Inter', system-ui, -apple-system, sans-serif;
            background: var(--bg);
            color: var(--text);
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
        }

        .bg-glow {
            position: fixed;
            inset: 0;
            pointer-events: none;
            z-index: 0;
            background:
                radial-gradient(ellipse 80% 50% at 50% -15%, rgba(139, 92, 246, 0.14), transparent),
                radial-gradient(ellipse 40% 30% at 85% 70%, rgba(52, 211, 153, 0.05), transparent);
        }

        nav {
            position: fixed;
            top: 0; left: 0; right: 0;
            z-index: 100;
            height: 68px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 2.5rem;
            background: rgba(6, 7, 12, 0.8);
            backdrop-filter: blur(24px) saturate(1.4);
            border-bottom: 1px solid var(--border);
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 0.6rem;
            text-decoration: none;
            color: var(--text);
        }

        .logo-icon {
            width: 32px;
            height: 32px;
            border-radius: 9px;
            background: var(--gradient);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.95rem;
            font-weight: 700;
            color: white;
            box-shadow: 0 2px 10px rgba(139, 92, 246, 0.35);
        }

        .logo-text {
            font-family: 'Plus Jakarta Sans', sans-serif;
            font-weight: 700;
            font-size: 1.15rem;
            letter-spacing: -0.025em;
        }

        .nav-links {
            display: flex;
            gap: 2rem;
            list-style: none;
        }

        .nav-links a {
            color: var(--text-secondary);
            text-decoration: none;
            font-size: 0.9rem;
            font-weight: 500;
            transition: color 0.2s;
        }

        .nav-links a:hover { color: var(--text); }

        .nav-actions {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .cart-btn {
            position: relative;
            background: transparent;
            border: 1px solid var(--border);
            border-radius: 10px;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            color: var(--text-secondary);
            transition: all 0.2s;
        }

        .cart-btn:hover {
            border-color: var(--border-strong);
            color: var(--text);
            background: rgba(255,255,255,0.04);
        }

        .cart-count {
            position: absolute;
            top: -6px;
            right: -6px;
            background: var(--primary);
            color: white;
            font-size: 0.65rem;
            font-weight: 700;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .cart-count.hidden { display: none; }

        /* ===== CART SIDEBAR ===== */
        .cart-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.55);
            backdrop-filter: blur(6px);
            z-index: 200;
            opacity: 0;
            visibility: hidden;
            transition: all 0.25s ease;
        }

        .cart-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .cart-sidebar {
            position: fixed;
            top: 0;
            right: 0;
            width: 100%;
            max-width: 400px;
            height: 100%;
            background: var(--bg-card);
            border-left: 1px solid var(--border-strong);
            z-index: 201;
            display: flex;
            flex-direction: column;
            transform: translateX(100%);
            transition: transform 0.28s ease;
            box-shadow: -12px 0 40px rgba(0, 0, 0, 0.4);
        }

        .cart-overlay.active .cart-sidebar {
            transform: translateX(0);
        }

        .cart-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 1.25rem 1.35rem;
            border-bottom: 1px solid var(--border);
        }

        .cart-header h3 {
            font-family: 'Plus Jakarta Sans', sans-serif;
            font-size: 1.1rem;
            font-weight: 700;
            letter-spacing: -0.02em;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .cart-header h3 span {
            font-size: 0.8rem;
            font-weight: 500;
            color: var(--text-muted);
        }

        .cart-close {
            width: 34px;
            height: 34px;
            border-radius: 10px;
            border: none;
            background: rgba(255,255,255,0.05);
            color: var(--text-muted);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.15s;
        }

        .cart-close:hover {
            background: rgba(255,255,255,0.1);
            color: var(--text);
        }

        .cart-body {
            flex: 1;
            overflow-y: auto;
            padding: 1rem 1.35rem;
        }

        .cart-empty {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            height: 100%;
            text-align: center;
            color: var(--text-muted);
            gap: 0.75rem;
            padding: 2rem;
        }

        .cart-empty svg {
            width: 48px;
            height: 48px;
            opacity: 0.4;
            margin-bottom: 0.25rem;
        }

        .cart-empty p {
            font-size: 0.95rem;
            color: var(--text-secondary);
        }

        .cart-empty span {
            font-size: 0.85rem;
        }

        .cart-item {
            display: flex;
            gap: 0.9rem;
            padding: 1rem 0;
            border-bottom: 1px solid var(--border);
        }

        .cart-item:last-child {
            border-bottom: none;
        }

        .cart-item-icon {
            width: 48px;
            height: 48px;
            border-radius: 12px;
            background: var(--primary-soft);
            border: 1px solid rgba(139, 92, 246, 0.15);
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .cart-item-icon svg {
            width: 22px;
            height: 22px;
            color: #a78bfa;
        }

        .cart-item-info {
            flex: 1;
            min-width: 0;
        }

        .cart-item-info h4 {
            font-size: 0.925rem;
            font-weight: 600;
            margin-bottom: 0.2rem;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .cart-item-license {
            font-size: 0.75rem;
            color: var(--text-muted);
            margin-bottom: 0.35rem;
        }

        .cart-item-price {
            font-family: 'Plus Jakarta Sans', sans-serif;
            font-size: 0.95rem;
            font-weight: 700;
            color: var(--text);
        }

        .cart-item-remove {
            width: 32px;
            height: 32px;
            border-radius: 8px;
            border: none;
            background: transparent;
            color: var(--text-muted);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            transition: all 0.15s;
            align-self: flex-start;
        }

        .cart-item-remove:hover {
            background: rgba(239, 68, 68, 0.12);
            color: #f87171;
        }

        .cart-footer {
            padding: 1.15rem 1.35rem 1.4rem;
            border-top: 1px solid var(--border);
            background: var(--bg-elevated);
        }

        .cart-total {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 1rem;
        }

        .cart-total-label {
            font-size: 0.9rem;
            color: var(--text-secondary);
            font-weight: 500;
        }

        .cart-total-value {
            font-family: 'Plus Jakarta Sans', sans-serif;
            font-size: 1.35rem;
            font-weight: 700;
            letter-spacing: -0.02em;
        }

        .cart-footer .btn {
            width: 100%;
            padding: 0.85rem;
        }

        .cart-footer .btn + .btn {
            margin-top: 0.55rem;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.4rem;
            padding: 0.6rem 1.2rem;
            border-radius: 10px;
            font-weight: 600;
            font-size: 0.875rem;
            text-decoration: none;
            transition: all 0.2s ease;
            cursor: pointer;
            border: none;
            font-family: inherit;
            white-space: nowrap;
        }

        .btn-primary {
            background: var(--primary);
            color: white;
            box-shadow: 0 2px 12px rgba(139, 92, 246, 0.3);
        }

        .btn-primary:hover {
            background: var(--primary-hover);
            transform: translateY(-1px);
            box-shadow: 0 4px 18px rgba(139, 92, 246, 0.4);
        }

        .btn-secondary {
            background: transparent;
            color: var(--text);
            border: 1px solid var(--border-strong);
        }

        .btn-secondary:hover {
            background: rgba(255, 255, 255, 0.04);
            border-color: rgba(255, 255, 255, 0.15);
        }

        .btn-ghost {
            background: transparent;
            color: var(--text-secondary);
            border: none;
            padding: 0.55rem 0.85rem;
        }

        .btn-ghost:hover {
            color: var(--text);
            background: rgba(255, 255, 255, 0.05);
        }

        .btn-sm {
            padding: 0.45rem 0.95rem;
            font-size: 0.825rem;
        }

        .btn-accent {
            background: var(--accent);
            color: #0a0b14;
            box-shadow: 0 2px 12px rgba(52, 211, 153, 0.25);
        }

        .btn-accent:hover {
            background: #2bc48a;
            transform: translateY(-1px);
        }

        .hero {
            position: relative;
            z-index: 1;
            padding: 9.5rem 2rem 5rem;
            text-align: center;
            max-width: 820px;
            margin: 0 auto;
        }

        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.45rem;
            padding: 0.35rem 0.85rem;
            background: var(--primary-soft);
            border: 1px solid rgba(139, 92, 246, 0.2);
            border-radius: 100px;
            font-size: 0.775rem;
            font-weight: 500;
            color: #c4b5fd;
            margin-bottom: 1.6rem;
        }

        .hero h1 {
            font-family: 'Plus Jakarta Sans', sans-serif;
            font-size: clamp(2.3rem, 5.2vw, 3.4rem);
            font-weight: 800;
            line-height: 1.12;
            letter-spacing: -0.035em;
            margin-bottom: 1.15rem;
        }

        .hero h1 span {
            background: var(--gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .hero-desc {
            font-size: 1.1rem;
            color: var(--text-secondary);
            max-width: 500px;
            margin: 0 auto 2rem;
            line-height: 1.7;
        }

        .hero-buttons {
            display: flex;
            gap: 0.75rem;
            justify-content: center;
            flex-wrap: wrap;
        }

        .stats-bar {
            position: relative;
            z-index: 1;
            max-width: 860px;
            margin: 0 auto 4.5rem;
            padding: 0 2rem;
        }

        .stats-inner {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            background: var(--bg-elevated);
            border: 1px solid var(--border);
            border-radius: var(--radius-lg);
            overflow: hidden;
        }

        .stat-item {
            padding: 1.4rem 1rem;
            text-align: center;
            border-right: 1px solid var(--border);
            color: inherit;
            text-decoration: none;
            transition: background 0.2s ease;
        }

        a.stat-item:hover { background: var(--bg-card-hover); }
        a.stat-item:hover .stat-value { color: #c4b5fd; }

        .stat-item:last-child { border-right: none; }

        .stat-value {
            font-family: 'Plus Jakarta Sans', sans-serif;
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 0.15rem;
            letter-spacing: -0.02em;
        }

        .stat-label {
            font-size: 0.775rem;
            color: var(--text-muted);
            font-weight: 500;
        }

        section {
            position: relative;
            z-index: 1;
            padding: 4.5rem 2rem;
            max-width: 1100px;
            margin: 0 auto;
        }

        .section-header {
            text-align: center;
            margin-bottom: 2.75rem;
        }

        .section-label {
            display: inline-block;
            font-size: 0.7rem;
            font-weight: 600;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            color: var(--primary);
            margin-bottom: 0.65rem;
        }

        .section-header h2 {
            font-family: 'Plus Jakarta Sans', sans-serif;
            font-size: 1.75rem;
            font-weight: 700;
            letter-spacing: -0.025em;
            margin-bottom: 0.5rem;
        }

        .section-header p {
            color: var(--text-secondary);
            font-size: 1rem;
            max-width: 420px;
            margin: 0 auto;
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 1.1rem;
        }

        .feature-card {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 1.5rem 1.3rem;
            transition: all 0.25s ease;
        }

        .feature-card:hover {
            background: var(--bg-card-hover);
            border-color: rgba(139, 92, 246, 0.25);
            transform: translateY(-2px);
        }

        .feature-icon {
            width: 40px;
            height: 40px;
            border-radius: 10px;
            background: var(--primary-soft);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1rem;
            color: #c4b5fd;
        }

        .feature-icon svg { width: 18px; height: 18px; }

        .feature-card h3 {
            font-size: 0.95rem;
            font-weight: 600;
            margin-bottom: 0.35rem;
        }

        .feature-card p {
            font-size: 0.85rem;
            color: var(--text-secondary);
            line-height: 1.55;
        }

        .plugins-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1.35rem;
        }

        .catalog-more {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.8rem;
            margin-top: 2rem;
        }

        .catalog-more-btn {
            display: inline-flex;
            align-items: center;
            gap: 0.55rem;
            padding: 0.8rem 1.6rem;
        }

        .catalog-more-btn svg { transition: transform 0.2s ease; }
        .catalog-more-btn:hover svg { transform: translateX(3px); }

        .catalog-free-link {
            font-size: 0.82rem;
            font-weight: 600;
            color: #6ee7b7;
        }

        .catalog-count {
            font-size: 0.8rem;
            color: var(--text-muted);
        }

        .catalog-filters {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 0.75rem;
            margin-bottom: 1.5rem;
        }

        .catalog-search {
            flex: 1 1 260px;
            display: flex;
            align-items: center;
            gap: 0.55rem;
            padding: 0.62rem 0.85rem;
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 10px;
            color: var(--text-muted);
            cursor: text;
        }

        .catalog-search:focus-within { border-color: rgba(139, 92, 246, 0.4); }

        .catalog-search input {
            flex: 1;
            min-width: 0;
            background: none;
            border: 0;
            outline: none;
            color: var(--text);
            font: inherit;
            font-size: 0.85rem;
        }

        .catalog-type {
            display: flex;
            gap: 0.25rem;
            padding: 0.25rem;
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 10px;
        }

        .filter-chip {
            border: 0;
            background: transparent;
            color: var(--text-secondary);
            font: inherit;
            font-size: 0.8rem;
            font-weight: 600;
            padding: 0.45rem 0.85rem;
            border-radius: 7px;
            cursor: pointer;
            transition: background 0.2s ease, color 0.2s ease;
        }

        .filter-chip:hover { color: var(--text); }
        .filter-chip.active { background: var(--primary-soft); color: #c4b5fd; }

        .catalog-filters select {
            background: var(--bg-card);
            border: 1px solid var(--border);
            color: var(--text);
            border-radius: 10px;
            padding: 0.62rem 0.7rem;
            font: inherit;
            font-size: 0.8rem;
        }

        .plugin-card {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: var(--radius-lg);
            overflow: hidden;
            display: flex;
            flex-direction: column;
            transition: all 0.25s ease;
            cursor: pointer;
        }

        .plugin-card:hover {
            border-color: rgba(139, 92, 246, 0.3);
            transform: translateY(-3px);
            box-shadow: var(--shadow);
        }

        .plugin-header {
            height: 130px;
            background: linear-gradient(145deg, #151722 0%, #12141e 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            border-bottom: 1px solid var(--border);
        }

        .plugin-header svg {
            width: 44px;
            height: 44px;
            color: #8b5cf6;
            opacity: 0.8;
        }

        .plugin-tag {
            position: absolute;
            top: 12px;
            right: 12px;
            font-size: 0.675rem;
            font-weight: 600;
            padding: 0.22rem 0.55rem;
            border-radius: 6px;
            letter-spacing: 0.02em;
        }

        .tag-popular {
            background: var(--accent-soft);
            color: #6ee7b7;
            border: 1px solid rgba(52, 211, 153, 0.2);
        }

        .tag-new {
            background: var(--primary-soft);
            color: #c4b5fd;
            border: 1px solid rgba(139, 92, 246, 0.2);
        }

        .tag-free {
            background: var(--accent-soft);
            color: #6ee7b7;
            border: 1px solid rgba(52, 211, 153, 0.25);
        }

        .plugin-body {
            padding: 1.3rem 1.3rem 1.15rem;
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        .plugin-version {
            font-size: 0.725rem;
            color: var(--text-muted);
            font-weight: 500;
            margin-bottom: 0.5rem;
        }

        .plugin-body h3 {
            font-family: 'Plus Jakarta Sans', sans-serif;
            font-size: 1.05rem;
            font-weight: 700;
            margin-bottom: 0.4rem;
            letter-spacing: -0.015em;
        }

        .plugin-body p {
            font-size: 0.85rem;
            color: var(--text-secondary);
            line-height: 1.55;
            margin-bottom: 1.15rem;
            flex: 1;
        }

        .plugin-footer {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding-top: 0.95rem;
            border-top: 1px solid var(--border);
        }

        .plugin-price {
            font-family: 'Plus Jakarta Sans', sans-serif;
            font-size: 1.2rem;
            font-weight: 700;
            color: var(--text);
            letter-spacing: -0.02em;
        }

        .plugin-price span {
            font-size: 0.75rem;
            font-weight: 500;
            color: var(--text-muted);
        }

        .plugin-price.is-free { color: #6ee7b7; }

        .trust-section { padding-top: 1.5rem; padding-bottom: 1.5rem; }

        .trust-bar {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 2.75rem;
            flex-wrap: wrap;
            padding: 1.35rem 2rem;
            background: var(--bg-elevated);
            border: 1px solid var(--border);
            border-radius: var(--radius);
        }

        .trust-item {
            display: flex;
            align-items: center;
            gap: 0.55rem;
            color: var(--text-secondary);
            font-size: 0.85rem;
            font-weight: 500;
        }

        .trust-item svg {
            width: 17px;
            height: 17px;
            color: var(--accent);
            flex-shrink: 0;
        }

        .cta-box {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: var(--radius-xl);
            padding: 3.25rem 2.5rem;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .cta-box::before {
            content: '';
            position: absolute;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 50%;
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.45), transparent);
        }

        .cta-box h2 {
            font-family: 'Plus Jakarta Sans', sans-serif;
            font-size: 1.6rem;
            font-weight: 700;
            margin-bottom: 0.6rem;
            letter-spacing: -0.025em;
        }

        .cta-box p {
            color: var(--text-secondary);
            margin-bottom: 1.5rem;
            font-size: 1rem;
        }

        footer {
            position: relative;
            z-index: 1;
            border-top: 1px solid var(--border);
            padding: 3.25rem 2rem 1.75rem;
            margin-top: 1.5rem;
        }

        .footer-inner {
            max-width: 1100px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1.6fr 1fr 1fr 1fr;
            gap: 2.5rem;
            margin-bottom: 2.5rem;
        }

        .footer-brand .logo { margin-bottom: 0.9rem; }

        .footer-brand p {
            color: var(--text-muted);
            font-size: 0.875rem;
            line-height: 1.6;
            max-width: 240px;
        }

        .footer-col h4 {
            font-size: 0.8rem;
            font-weight: 600;
            color: var(--text);
            margin-bottom: 1rem;
        }

        .footer-col a {
            display: block;
            color: var(--text-muted);
            text-decoration: none;
            font-size: 0.85rem;
            margin-bottom: 0.55rem;
            transition: color 0.2s;
        }

        .footer-col a:hover { color: var(--text-secondary); }

        .footer-bottom {
            max-width: 1100px;
            margin: 0 auto;
            padding-top: 1.5rem;
            border-top: 1px solid var(--border);
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.8rem;
            color: var(--text-muted);
        }

        /* ===== PRODUCT DETAIL MODAL ===== */
        .product-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.7);
            backdrop-filter: blur(12px);
            z-index: 200;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 1.5rem;
            opacity: 0;
            visibility: hidden;
            transition: all 0.25s ease;
        }

        .product-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .product-modal {
            background: var(--bg-card);
            border: 1px solid var(--border-strong);
            border-radius: 20px;
            width: 100%;
            max-width: 780px;
            max-height: 90vh;
            overflow-y: auto;
            position: relative;
            transform: translateY(16px) scale(0.97);
            transition: all 0.25s ease;
            box-shadow: var(--shadow-lg);
            display: grid;
            grid-template-columns: 1fr 1.15fr;
        }

        .product-overlay.active .product-modal {
            transform: translateY(0) scale(1);
        }

        .product-close {
            position: absolute;
            top: 1rem;
            right: 1rem;
            width: 34px;
            height: 34px;
            border-radius: 10px;
            border: none;
            background: rgba(255,255,255,0.06);
            color: var(--text-muted);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 10;
            transition: all 0.15s;
        }

        .product-close:hover {
            background: rgba(255,255,255,0.1);
            color: var(--text);
        }

        .product-visual {
            background: linear-gradient(160deg, #151722 0%, #0e1018 100%);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 2.5rem 1.5rem;
            position: relative;
            border-right: 1px solid var(--border);
            min-height: 340px;
        }

        .product-visual-icon {
            width: 96px;
            height: 96px;
            border-radius: 24px;
            background: var(--primary-soft);
            border: 1px solid rgba(139, 92, 246, 0.2);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1.5rem;
        }

        .product-visual-icon svg {
            width: 48px;
            height: 48px;
            color: #a78bfa;
        }

        .product-visual-tag {
            font-size: 0.7rem;
            font-weight: 600;
            padding: 0.3rem 0.7rem;
            border-radius: 6px;
            letter-spacing: 0.02em;
        }

        .product-info {
            padding: 2rem 2rem 1.75rem;
            display: flex;
            flex-direction: column;
        }

        .product-info-header {
            margin-bottom: 1.25rem;
        }

        .product-info-header .version {
            font-size: 0.75rem;
            color: var(--text-muted);
            font-weight: 500;
            margin-bottom: 0.4rem;
        }

        .product-info-header h2 {
            font-family: 'Plus Jakarta Sans', sans-serif;
            font-size: 1.5rem;
            font-weight: 700;
            letter-spacing: -0.025em;
            margin-bottom: 0.5rem;
        }

        .product-info-header .short {
            color: var(--text-secondary);
            font-size: 0.925rem;
            line-height: 1.55;
        }

        .product-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-bottom: 1.1rem;
        }

        .meta-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.35rem;
            font-size: 0.75rem;
            font-weight: 500;
            padding: 0.3rem 0.65rem;
            border-radius: 6px;
            background: var(--bg-elevated);
            border: 1px solid var(--border);
            color: var(--text-secondary);
        }

        .meta-badge svg {
            width: 13px;
            height: 13px;
        }

        /* License selector */
        .license-selector {
            margin-bottom: 1.25rem;
        }

        .license-selector-label {
            font-size: 0.75rem;
            font-weight: 600;
            color: var(--text-muted);
            margin-bottom: 0.55rem;
            letter-spacing: 0.02em;
            text-transform: uppercase;
        }

        .license-options {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0.6rem;
        }

        .license-option {
            display: flex;
            flex-direction: column;
            gap: 0.15rem;
            padding: 0.85rem 0.9rem;
            border-radius: 10px;
            border: 1px solid var(--border);
            background: var(--bg-elevated);
            cursor: pointer;
            transition: all 0.18s ease;
            position: relative;
        }

        .license-option:hover {
            border-color: rgba(139, 92, 246, 0.35);
            background: var(--bg-card-hover);
        }

        .license-option.selected {
            border-color: var(--primary);
            background: var(--primary-soft);
            box-shadow: 0 0 0 1px var(--primary);
        }

        .license-option-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 0.4rem;
        }

        .license-option-name {
            font-size: 0.875rem;
            font-weight: 600;
            color: var(--text);
        }

        .license-option.selected .license-option-name {
            color: #c4b5fd;
        }

        .license-option-check {
            width: 16px;
            height: 16px;
            border-radius: 50%;
            border: 1.5px solid var(--border-strong);
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            transition: all 0.15s;
        }

        .license-option.selected .license-option-check {
            border-color: var(--primary);
            background: var(--primary);
        }

        .license-option.selected .license-option-check svg {
            display: block;
        }

        .license-option-check svg {
            width: 10px;
            height: 10px;
            color: white;
            display: none;
        }

        .license-option-price {
            font-size: 0.8rem;
            color: var(--text-secondary);
            font-weight: 500;
        }

        .license-option.selected .license-option-price {
            color: #a78bfa;
        }

        .license-option-desc {
            font-size: 0.7rem;
            color: var(--text-muted);
            margin-top: 0.15rem;
        }

        .product-description {
            margin-bottom: 1.5rem;
            flex: 1;
        }

        .product-description h4 {
            font-size: 0.8rem;
            font-weight: 600;
            color: var(--text);
            margin-bottom: 0.5rem;
            letter-spacing: 0.02em;
        }

        .product-description p {
            font-size: 0.875rem;
            color: var(--text-secondary);
            line-height: 1.65;
            margin-bottom: 0.85rem;
        }

        .product-description ul {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 0.4rem;
        }

        .product-description li {
            font-size: 0.85rem;
            color: var(--text-secondary);
            display: flex;
            align-items: flex-start;
            gap: 0.5rem;
        }

        .product-description li::before {
            content: '';
            width: 5px;
            height: 5px;
            border-radius: 50%;
            background: var(--primary);
            margin-top: 0.45rem;
            flex-shrink: 0;
        }

        .product-pricing {
            background: var(--bg-elevated);
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 1.1rem 1.2rem;
            margin-bottom: 1.2rem;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 1rem;
        }

        .pricing-left {
            display: flex;
            flex-direction: column;
            gap: 0.15rem;
        }

        .pricing-label {
            font-size: 0.7rem;
            color: var(--text-muted);
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 0.04em;
        }

        .pricing-value {
            font-family: 'Plus Jakarta Sans', sans-serif;
            font-size: 1.65rem;
            font-weight: 700;
            color: var(--text);
            letter-spacing: -0.03em;
            display: flex;
            align-items: baseline;
            gap: 0.35rem;
        }

        .pricing-value span {
            font-size: 0.85rem;
            font-weight: 500;
            color: var(--text-muted);
        }

        .pricing-type-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.3rem;
            font-size: 0.75rem;
            font-weight: 600;
            color: var(--accent);
            background: var(--accent-soft);
            border: 1px solid rgba(52, 211, 153, 0.2);
            padding: 0.3rem 0.65rem;
            border-radius: 6px;
            white-space: nowrap;
        }

        .pricing-type-badge svg {
            width: 13px;
            height: 13px;
        }

        .product-actions {
            display: flex;
            gap: 0.65rem;
        }

        .product-actions .btn {
            flex: 1;
            padding: 0.8rem 1rem;
        }

        /* AUTH MODAL (compact) */
        .modal-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.65);
            backdrop-filter: blur(10px);
            z-index: 210;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 1.25rem;
            opacity: 0;
            visibility: hidden;
            transition: all 0.22s ease;
        }

        .modal-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .auth-modal {
            background: var(--bg-card);
            border: 1px solid var(--border-strong);
            border-radius: 18px;
            width: 100%;
            max-width: 400px;
            padding: 2rem;
            position: relative;
            transform: translateY(10px) scale(0.97);
            transition: all 0.22s ease;
            box-shadow: var(--shadow-lg);
        }

        .modal-overlay.active .auth-modal {
            transform: translateY(0) scale(1);
        }

        .modal-close {
            position: absolute;
            top: 1rem;
            right: 1rem;
            width: 30px;
            height: 30px;
            border-radius: 8px;
            border: none;
            background: transparent;
            color: var(--text-muted);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.15s;
        }

        .modal-close:hover {
            background: rgba(255, 255, 255, 0.06);
            color: var(--text);
        }

        .auth-header {
            text-align: center;
            margin-bottom: 1.5rem;
        }

        .auth-header .logo {
            justify-content: center;
            margin-bottom: 1.1rem;
        }

        .auth-header h2 {
            font-family: 'Plus Jakarta Sans', sans-serif;
            font-size: 1.3rem;
            font-weight: 700;
            margin-bottom: 0.3rem;
        }

        .auth-header p {
            color: var(--text-secondary);
            font-size: 0.875rem;
        }

        .auth-tabs {
            display: flex;
            background: var(--bg);
            border-radius: 10px;
            padding: 3px;
            margin-bottom: 1.35rem;
            border: 1px solid var(--border);
        }

        .auth-tab {
            flex: 1;
            padding: 0.5rem;
            border: none;
            background: transparent;
            color: var(--text-muted);
            font-size: 0.85rem;
            font-weight: 600;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.18s;
            font-family: inherit;
        }

        .auth-tab.active {
            background: var(--bg-card);
            color: var(--text);
            box-shadow: var(--shadow-sm);
        }

        .social-buttons {
            display: flex;
            flex-direction: column;
            gap: 0.6rem;
            margin-bottom: 1.25rem;
        }

        .btn-social {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.65rem;
            width: 100%;
            padding: 0.7rem 1rem;
            border-radius: 10px;
            font-weight: 600;
            font-size: 0.875rem;
            cursor: pointer;
            transition: all 0.18s;
            border: 1px solid var(--border);
            background: var(--bg-elevated);
            color: var(--text);
            font-family: inherit;
        }

        .btn-social:hover {
            background: var(--bg-card-hover);
            border-color: var(--border-strong);
        }

        .btn-social svg {
            width: 18px;
            height: 18px;
            flex-shrink: 0;
        }

        .btn-discord {
            background: #5865F2;
            border-color: #5865F2;
            color: white;
        }

        .btn-discord:hover {
            background: #4752c4;
            border-color: #4752c4;
        }

        .auth-divider {
            display: flex;
            align-items: center;
            gap: 0.9rem;
            margin-bottom: 1.25rem;
            color: var(--text-muted);
            font-size: 0.775rem;
        }

        .auth-divider::before,
        .auth-divider::after {
            content: '';
            flex: 1;
            height: 1px;
            background: var(--border);
        }

        .auth-form { display: none; }
        .auth-form.active { display: block; }

        .form-group { margin-bottom: 0.9rem; }

        .form-group label {
            display: block;
            font-size: 0.8rem;
            font-weight: 500;
            color: var(--text-secondary);
            margin-bottom: 0.35rem;
        }

        .form-group input {
            width: 100%;
            padding: 0.7rem 0.9rem;
            background: var(--bg);
            border: 1px solid var(--border);
            border-radius: 10px;
            color: var(--text);
            font-size: 0.9rem;
            font-family: inherit;
            transition: all 0.18s;
            outline: none;
        }

        .form-group input::placeholder { color: var(--text-muted); }

        .form-group input:focus {
            border-color: rgba(139, 92, 246, 0.45);
            box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
        }

        .form-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 1.15rem;
            font-size: 0.8rem;
        }

        .form-check {
            display: flex;
            align-items: center;
            gap: 0.4rem;
            color: var(--text-secondary);
            cursor: pointer;
        }

        .form-check input {
            width: 14px;
            height: 14px;
            accent-color: var(--primary);
            cursor: pointer;
        }

        .form-link {
            color: var(--primary);
            text-decoration: none;
            font-weight: 500;
        }

        .form-link:hover { text-decoration: underline; }

        .btn-submit {
            width: 100%;
            padding: 0.75rem;
            margin-bottom: 0.9rem;
        }

        .auth-footer {
            text-align: center;
            font-size: 0.825rem;
            color: var(--text-muted);
        }

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

        .auth-footer a:hover { text-decoration: underline; }

        /* ===== TERMS MODAL ===== */
        .terms-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.7);
            backdrop-filter: blur(10px);
            z-index: 220;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 1.5rem;
            opacity: 0;
            visibility: hidden;
            transition: all 0.25s ease;
        }

        .terms-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .terms-modal {
            background: var(--bg-card);
            border: 1px solid var(--border-strong);
            border-radius: 18px;
            width: 100%;
            max-width: 680px;
            max-height: 85vh;
            display: flex;
            flex-direction: column;
            transform: translateY(12px) scale(0.97);
            transition: all 0.25s ease;
            box-shadow: var(--shadow-lg);
        }

        .terms-overlay.active .terms-modal {
            transform: translateY(0) scale(1);
        }

        .terms-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 1.35rem 1.5rem;
            border-bottom: 1px solid var(--border);
            flex-shrink: 0;
        }

        .terms-header h2 {
            font-family: 'Plus Jakarta Sans', sans-serif;
            font-size: 1.2rem;
            font-weight: 700;
            letter-spacing: -0.02em;
        }

        .terms-header .modal-close {
            position: static;
        }

        .terms-body {
            padding: 1.5rem 1.5rem 2rem;
            overflow-y: auto;
            flex: 1;
        }

        .terms-body h3 {
            font-family: 'Plus Jakarta Sans', sans-serif;
            font-size: 1rem;
            font-weight: 700;
            margin: 1.5rem 0 0.6rem;
            color: var(--text);
        }

        .terms-body h3:first-child {
            margin-top: 0;
        }

        .terms-body p {
            font-size: 0.875rem;
            color: var(--text-secondary);
            line-height: 1.7;
            margin-bottom: 0.75rem;
        }

        .terms-body ul {
            margin: 0.5rem 0 0.85rem 1.15rem;
            color: var(--text-secondary);
            font-size: 0.875rem;
            line-height: 1.7;
        }

        .terms-body li {
            margin-bottom: 0.35rem;
        }

        .terms-body strong {
            color: var(--text);
            font-weight: 600;
        }

        .terms-updated {
            font-size: 0.8rem;
            color: var(--text-muted);
            margin-bottom: 1.25rem;
            padding-bottom: 1rem;
            border-bottom: 1px solid var(--border);
        }

        .terms-footer {
            padding: 1rem 1.5rem 1.25rem;
            border-top: 1px solid var(--border);
            display: flex;
            justify-content: flex-end;
            flex-shrink: 0;
        }

        /* ===== COOKIE BANNER ===== */
        .cookie-banner {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            z-index: 250;
            padding: 1rem 1.25rem 1.25rem;
            background: var(--bg-card);
            border-top: 1px solid var(--border-strong);
            box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.35);
            transform: translateY(110%);
            opacity: 0;
            transition: all 0.35s ease;
        }

        .cookie-banner.show {
            transform: translateY(0);
            opacity: 1;
        }

        .cookie-inner {
            max-width: 1100px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            gap: 1.5rem;
            flex-wrap: wrap;
        }

        .cookie-icon {
            width: 44px;
            height: 44px;
            border-radius: 12px;
            background: var(--primary-soft);
            border: 1px solid rgba(139, 92, 246, 0.2);
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            color: #c4b5fd;
        }

        .cookie-icon svg {
            width: 22px;
            height: 22px;
        }

        .cookie-text {
            flex: 1;
            min-width: 220px;
        }

        .cookie-text h4 {
            font-family: 'Plus Jakarta Sans', sans-serif;
            font-size: 0.95rem;
            font-weight: 700;
            margin-bottom: 0.25rem;
            letter-spacing: -0.01em;
        }

        .cookie-text p {
            font-size: 0.825rem;
            color: var(--text-secondary);
            line-height: 1.55;
        }

        .cookie-text a {
            color: var(--primary);
            text-decoration: none;
            font-weight: 500;
        }

        .cookie-text a:hover {
            text-decoration: underline;
        }

        .cookie-actions {
            display: flex;
            gap: 0.6rem;
            flex-shrink: 0;
            flex-wrap: wrap;
        }

        .cookie-actions .btn {
            padding: 0.6rem 1.15rem;
            font-size: 0.85rem;
        }

        @media (max-width: 640px) {
            .cookie-inner {
                flex-direction: column;
                align-items: stretch;
                text-align: center;
            }
            .cookie-icon { margin: 0 auto; }
            .cookie-actions { justify-content: center; }
            .cookie-actions .btn { flex: 1; }
        }

        /* ===== APP VIEWS (checkout, client, admin) ===== */
        .app-view {
            display: none;
            position: fixed;
            inset: 0;
            z-index: 180;
            background: var(--bg);
            overflow-y: auto;
        }

        .app-view.active {
            display: block;
        }

        .app-topbar {
            position: sticky;
            top: 0;
            z-index: 10;
            height: 64px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 1.5rem;
            background: rgba(6, 7, 12, 0.9);
            backdrop-filter: blur(16px);
            border-bottom: 1px solid var(--border);
        }

        .app-topbar-left {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .app-topbar h2 {
            font-family: 'Plus Jakarta Sans', sans-serif;
            font-size: 1.1rem;
            font-weight: 700;
        }

        .app-content {
            max-width: 1100px;
            margin: 0 auto;
            padding: 2rem 1.5rem 3rem;
        }

        .app-content.wide {
            max-width: 1200px;
        }

        /* Checkout */
        .checkout-grid {
            display: grid;
            grid-template-columns: 1.2fr 0.9fr;
            gap: 1.5rem;
        }

        .checkout-card {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: var(--radius-lg);
            padding: 1.5rem;
        }

        .checkout-card h3 {
            font-family: 'Plus Jakarta Sans', sans-serif;
            font-size: 1rem;
            font-weight: 700;
            margin-bottom: 1.15rem;
        }

        .checkout-item {
            font-size: 0.85rem;
            color: var(--text-secondary);
            margin-bottom: 0.3rem;
        }

        .pix-qr {
            width: 190px;
            height: 190px;
            display: block;
            margin: 0.6rem 0 0.8rem;
            padding: 8px;
            background: #fff;
            border-radius: 10px;
        }

        .pix-code {
            display: block;
            word-break: break-all;
            background: var(--bg-elevated);
            border: 1px solid var(--border);
            border-radius: 8px;
            padding: 0.6rem;
            font-size: 0.72rem;
            margin-bottom: 0.6rem;
        }

        .checkout-item {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            padding: 0.85rem 0;
            border-bottom: 1px solid var(--border);
            gap: 1rem;
        }

        .checkout-item:last-child { border-bottom: none; }

        .checkout-item-name {
            font-weight: 600;
            font-size: 0.925rem;
        }

        .checkout-item-meta {
            font-size: 0.8rem;
            color: var(--text-muted);
            margin-top: 0.15rem;
        }

        .checkout-item-price {
            font-weight: 700;
            font-family: 'Plus Jakarta Sans', sans-serif;
            white-space: nowrap;
        }

        .checkout-total-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 1rem;
            padding-top: 1rem;
            border-top: 1px solid var(--border);
        }

        .checkout-total-row strong {
            font-family: 'Plus Jakarta Sans', sans-serif;
            font-size: 1.25rem;
        }

        .pay-methods {
            display: flex;
            flex-direction: column;
            gap: 0.6rem;
            margin-bottom: 1.25rem;
        }

        .pay-method {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.85rem 1rem;
            border: 1px solid var(--border);
            border-radius: 10px;
            cursor: pointer;
            transition: all 0.15s;
            background: var(--bg-elevated);
        }

        .pay-method:hover { border-color: rgba(139, 92, 246, 0.35); }
        .pay-method.selected {
            border-color: var(--primary);
            background: var(--primary-soft);
        }

        .pay-method input { accent-color: var(--primary); }

        /* Dashboard cards */
        .dash-stats {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 1rem;
            margin-bottom: 1.75rem;
        }

        .dash-stat {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 1.2rem 1.15rem;
        }

        .dash-stat-label {
            font-size: 0.75rem;
            color: var(--text-muted);
            font-weight: 500;
            margin-bottom: 0.35rem;
        }

        .dash-stat-value {
            font-family: 'Plus Jakarta Sans', sans-serif;
            font-size: 1.5rem;
            font-weight: 700;
            letter-spacing: -0.02em;
        }

        .dash-stat-sub {
            font-size: 0.75rem;
            color: var(--accent);
            margin-top: 0.25rem;
        }

        .dash-section {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: var(--radius-lg);
            margin-bottom: 1.5rem;
            overflow: hidden;
        }

        .dash-section-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 1.1rem 1.35rem;
            border-bottom: 1px solid var(--border);
        }

        .dash-section-header h3 {
            font-family: 'Plus Jakarta Sans', sans-serif;
            font-size: 1rem;
            font-weight: 700;
        }

        .dash-section-body {
            padding: 1.15rem 1.35rem;
        }

        .order-row, .admin-plugin-row {
            display: grid;
            gap: 0.75rem;
            align-items: center;
            padding: 0.9rem 0;
            border-bottom: 1px solid var(--border);
            font-size: 0.875rem;
        }

        .order-row {
            grid-template-columns: 1.2fr 0.8fr 0.7fr 0.6fr;
        }

        .admin-plugin-row {
            grid-template-columns: 1.4fr 0.6fr 0.55fr 0.55fr 0.9fr;
        }

        .order-row:last-child, .admin-plugin-row:last-child {
            border-bottom: none;
        }

        .order-row-header, .admin-plugin-header {
            font-size: 0.7rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.04em;
            color: var(--text-muted);
            padding-bottom: 0.65rem;
            border-bottom: 1px solid var(--border);
            margin-bottom: 0.15rem;
        }

        .badge-soft {
            display: inline-flex;
            padding: 0.2rem 0.5rem;
            border-radius: 6px;
            font-size: 0.7rem;
            font-weight: 600;
        }

        .badge-green {
            background: var(--accent-soft);
            color: #6ee7b7;
            border: 1px solid rgba(52, 211, 153, 0.2);
        }

        .badge-purple {
            background: var(--primary-soft);
            color: #c4b5fd;
            border: 1px solid rgba(139, 92, 246, 0.2);
        }

        .badge-gray {
            background: rgba(255,255,255,0.05);
            color: var(--text-muted);
            border: 1px solid var(--border);
        }

        .row-actions {
            display: flex;
            gap: 0.4rem;
        }

        .btn-icon {
            width: 32px;
            height: 32px;
            border-radius: 8px;
            border: 1px solid var(--border);
            background: var(--bg-elevated);
            color: var(--text-secondary);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.15s;
        }

        .btn-icon:hover {
            border-color: var(--border-strong);
            color: var(--text);
        }

        .btn-icon.danger:hover {
            border-color: rgba(239, 68, 68, 0.4);
            color: #f87171;
            background: rgba(239, 68, 68, 0.1);
        }

        /* Admin form */
        .admin-form-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0.9rem;
        }

        .admin-form-grid .full {
            grid-column: 1 / -1;
        }

        .admin-form-grid label {
            display: block;
            font-size: 0.8rem;
            font-weight: 500;
            color: var(--text-secondary);
            margin-bottom: 0.3rem;
        }

        .admin-form-grid input,
        .admin-form-grid textarea,
        .admin-form-grid select {
            width: 100%;
            padding: 0.65rem 0.85rem;
            background: var(--bg);
            border: 1px solid var(--border);
            border-radius: 10px;
            color: var(--text);
            font-size: 0.9rem;
            font-family: inherit;
            outline: none;
            transition: border-color 0.15s;
        }

        .admin-form-grid input:focus,
        .admin-form-grid textarea:focus,
        .admin-form-grid select:focus {
            border-color: rgba(139, 92, 246, 0.45);
        }

        .admin-form-grid textarea {
            min-height: 90px;
            resize: vertical;
        }

        .admin-tabs {
            display: flex;
            gap: 0.35rem;
            margin-bottom: 1.5rem;
            background: var(--bg-elevated);
            padding: 4px;
            border-radius: 10px;
            border: 1px solid var(--border);
            width: fit-content;
        }

        .admin-tab {
            padding: 0.5rem 1rem;
            border: none;
            background: transparent;
            color: var(--text-muted);
            font-size: 0.85rem;
            font-weight: 600;
            border-radius: 8px;
            cursor: pointer;
            font-family: inherit;
            transition: all 0.15s;
        }

        .admin-tab.active {
            background: var(--bg-card);
            color: var(--text);
            box-shadow: var(--shadow-sm);
        }

        .admin-panel { display: none; }
        .admin-panel.active { display: block; }

        .empty-state {
            text-align: center;
            padding: 2.5rem 1rem;
            color: var(--text-muted);
            font-size: 0.9rem;
        }

        @media (max-width: 900px) {
            .checkout-grid { grid-template-columns: 1fr; }
            .dash-stats { grid-template-columns: repeat(2, 1fr); }
            .order-row, .admin-plugin-row {
                grid-template-columns: 1fr;
                gap: 0.35rem;
            }
            .order-row-header, .admin-plugin-header { display: none; }
            .admin-form-grid { grid-template-columns: 1fr; }
        }

        /* Toast */
        .toast {
            position: fixed;
            bottom: 1.5rem;
            left: 50%;
            transform: translateX(-50%) translateY(80px);
            background: var(--bg-card);
            border: 1px solid var(--border-strong);
            border-radius: 12px;
            padding: 0.85rem 1.25rem;
            display: flex;
            align-items: center;
            gap: 0.65rem;
            font-size: 0.9rem;
            font-weight: 500;
            box-shadow: var(--shadow);
            z-index: 300;
            opacity: 0;
            transition: all 0.3s ease;
        }

        .toast.show {
            transform: translateX(-50%) translateY(0);
            opacity: 1;
        }

        .toast svg {
            width: 18px;
            height: 18px;
            color: var(--accent);
            flex-shrink: 0;
        }

        @media (max-width: 1024px) {
            .features-grid { grid-template-columns: repeat(2, 1fr); }
            .plugins-grid { grid-template-columns: repeat(2, 1fr); }
            .footer-inner { grid-template-columns: 1fr 1fr; }
        }

        @media (max-width: 768px) {
            nav { padding: 0 1.15rem; }
            .nav-links { display: none; }
            .nav-name { display: none; }
            .nav-user { gap: 0.35rem; }
            .logo-text { font-size: 1rem; white-space: nowrap; }
            .nav-user .btn[data-action="open-client"],
            .nav-user .btn[data-action="open-admin"] { display: none; }
            .hero { padding: 7.5rem 1.25rem 3.5rem; }
            .stats-inner { grid-template-columns: repeat(2, 1fr); }
            .stat-item:nth-child(2) { border-right: none; }
            .stat-item:nth-child(1),
            .stat-item:nth-child(2) { border-bottom: 1px solid var(--border); }
            .features-grid,
            .plugins-grid { grid-template-columns: 1fr; }
            .footer-inner { grid-template-columns: 1fr; gap: 1.75rem; }
            .footer-bottom { flex-direction: column; gap: 0.6rem; text-align: center; }
            .trust-bar { gap: 1.25rem; }
            .product-modal {
                grid-template-columns: 1fr;
                max-height: 92vh;
            }
            .product-visual {
                min-height: 180px;
                border-right: none;
                border-bottom: 1px solid var(--border);
                padding: 1.75rem 1.25rem;
            }
            .product-visual-icon {
                width: 72px;
                height: 72px;
                border-radius: 18px;
                margin-bottom: 1rem;
            }
            .product-visual-icon svg {
                width: 36px;
                height: 36px;
            }
            .product-info {
                padding: 1.5rem 1.25rem 1.35rem;
            }
            .auth-modal { padding: 1.6rem 1.3rem; }
            .catalog-filters { flex-direction: column; align-items: stretch; }
            .catalog-type { justify-content: center; }
            .catalog-filters select { width: 100%; }
        }

/* Utilitários do app integrado */
.hidden { display: none !important; }
.nav-user { display: flex; align-items: center; gap: 0.5rem; min-width: 0; }
.nav-user .avatar,
.avatar-placeholder {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    border-radius: 50%;
}
.nav-user .avatar { object-fit: cover; border: 1px solid var(--border-strong); background: var(--bg-elevated); cursor: pointer; }
.avatar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-soft);
    color: #c4b5fd;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
}
.nav-name {
    font-size: 0.875rem;
    font-weight: 500;
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.form-error { display: none; color: #f87171; font-size: 0.85rem; margin-bottom: 0.75rem; }
.form-error.show { display: block; }
.client-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; margin: 0 0 1.25rem; }
.license-row { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; padding: 0.75rem 0; border-bottom: 1px solid var(--border); }
.license-row code { background: var(--bg-elevated); padding: 0.25rem 0.5rem; border-radius: 6px; font-size: 0.8rem; }
.cookie-banner[hidden] { display: none; }
.admin-dialog { border: 1px solid var(--border-strong); border-radius: 16px; background: var(--bg-card); color: var(--text); padding: 1.5rem; max-width: 640px; width: calc(100% - 2rem); }
.admin-form { display: grid; gap: 0.75rem; }
.admin-field { display: grid; gap: 0.3rem; font-size: 0.85rem; }
.admin-actions { display: flex; gap: 0.5rem; margin-top: 0.75rem; }
.admin-row { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr auto auto; gap: 0.5rem; align-items: center; padding: 0.5rem 0; border-bottom: 1px solid var(--border); }
.admin-shell { max-width: 1200px; margin: 0 auto; padding: 2rem 1.25rem; }
.admin-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 1.5rem; margin-bottom: 1rem; }
.admin-nav { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.75rem; }
.admin-nav button { background: var(--bg-elevated); border: 1px solid var(--border-strong); color: var(--text); border-radius: 8px; padding: 0.45rem 0.8rem; cursor: pointer; }

/* Estado dos provedores sociais */
.provider-note { display: none; font-size: 0.8rem; line-height: 1.5; color: #fbbf24; text-align: center; margin-bottom: 0.75rem; }
.provider-note.show { display: block; }
.btn-social:disabled { opacity: 0.45; cursor: not-allowed; }
