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

:root {
    --bg-color: #000000;
    --bg-darker: #050505;
    --bg-card: #0c0c0c;
    --bg-card-hover: #141414;
    --bg-nav: rgba(0, 0, 0, 0.85);
    --text-primary: #ffffff;
    --text-secondary: #888888;
    --text-muted: #555555;
    
    /* Category Accent Colors */
    --accent-motion: #a855f7; /* Violet/Purple */
    --accent-space: #3b82f6;  /* Blue */
    --accent-drive: #10b981;  /* Acid Green */
    --accent-tone: #f59e0b;   /* Amber */
    --accent-default: #ffffff;

    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.2);
    --font-primary: 'IBM Plex Sans', sans-serif;
    --transition-fast: 0.15s ease;
    --transition-medium: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --max-width: 1280px;
    --header-height: 80px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
    background: #222;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #333;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: var(--bg-nav);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: background-color var(--transition-medium);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    height: 100%;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #ffffff;
}

.brand-logo-img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid rgba(0, 243, 255, 0.4);
    box-shadow: 0 0 12px rgba(0, 243, 255, 0.25);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
    flex-shrink: 0;
}

.logo:hover .brand-logo-img {
    transform: scale(1.06);
    border-color: rgba(0, 243, 255, 0.7);
    box-shadow: 0 0 16px rgba(0, 243, 255, 0.45);
}

.logo-brand-text {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-primary);
    white-space: nowrap;
}

.logo-dsp-tag {
    font-size: 10px;
    font-weight: 800;
    color: #00f3ff;
    background: rgba(0, 243, 255, 0.12);
    border: 1px solid rgba(0, 243, 255, 0.35);
    padding: 1px 6px;
    border-radius: 4px;
    letter-spacing: 0.12em;
    vertical-align: middle;
    text-shadow: 0 0 8px rgba(0, 243, 255, 0.4);
}

.separator-logo-img {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid rgba(168, 85, 247, 0.45);
    box-shadow: 0 0 16px rgba(168, 85, 247, 0.35);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.separator-logo:hover .separator-logo-img {
    transform: scale(1.08);
    box-shadow: 0 0 22px rgba(168, 85, 247, 0.6);
}

.footer-brand-img {
    width: 24px;
    height: 24px;
    border-radius: 6px;
}

.logo-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent-motion);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-motion);
    transition: background-color var(--transition-fast), box-shadow var(--transition-fast);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.cart-toggle {
    background: transparent;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    position: relative;
    width: 36px;
    height: 36px;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    transform-origin: center center;
    transition: transform var(--transition-fast), color var(--transition-fast);
}

.cart-toggle:hover {
    transform: scale(1.08);
}

.nav-account-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: var(--text-primary);
    cursor: pointer;
    position: relative;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    outline: none;
    flex-shrink: 0;
    text-decoration: none;
    transition: filter var(--transition-fast), box-shadow var(--transition-fast);
}

.nav-account-btn:hover {
    filter: brightness(1.2);
}

.nav-account-btn svg {
    display: block;
    margin: auto;
    pointer-events: none;
}

.cart-icon {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    display: block;
    margin: auto;
    transform-origin: center center;
}

.cart-count {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #ffffff;
    color: #000;
    font-size: 10px;
    font-weight: 700;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.4);
}

/* SPA Pages Router Container */
.spa-page {
    display: none;
    min-height: 100vh;
    padding-top: var(--header-height);
}

.spa-page.active {
    display: block;
}

/* Hero / Home Section */
.hero {
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: radial-gradient(circle at 70% 50%, rgba(30, 30, 30, 0.2) 0%, rgba(0, 0, 0, 1) 70%);
}

.hero-container {
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
    padding: 60px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 520px;
}

.hero-tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-motion);
    margin-bottom: 20px;
}

.hero-title {
    font-size: 56px;
    margin-bottom: 24px;
    line-height: 1.05;
}

.hero-description {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: 1px solid transparent;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.btn-primary {
    background-color: var(--text-primary);
    color: var(--bg-color);
}

.btn-primary:hover {
    background-color: #dddddd;
}

.btn-secondary {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
}

.btn-secondary:hover {
    border-color: var(--text-primary);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
    transition: transform var(--transition-medium);
}

.hero-visual:hover .hero-img {
    transform: scale(1.02) translateY(-5px);
}

/* Category Quick Entrance on Home */
.home-categories {
    padding: 60px 40px 100px 40px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.home-categories-title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 30px;
    text-align: center;
}

.category-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.category-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.category-box:hover {
    transform: translateY(-4px);
}

.category-box.box-drive:hover { border-color: var(--accent-drive); }
.category-box.box-space:hover { border-color: var(--accent-space); }
.category-box.box-motion:hover { border-color: var(--accent-motion); }

.category-box-name {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.category-box-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Catalog Layout */
.catalog-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 40px;
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 40px;
}

.catalog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.catalog-sidebar .filter-label {
    padding-left: 16px;
}

.catalog-sidebar .formats-text,
.catalog-sidebar p {
    padding-left: 16px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.filter-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.filter-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 10px 16px;
    border-radius: 20px;
    font-family: var(--font-primary);
    font-size: 12px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-btn:hover {
    color: var(--text-primary);
    border-color: var(--border-hover);
}

.filter-btn.active {
    color: var(--text-primary);
    background: var(--bg-card-hover);
    border-color: var(--text-primary);
}

.filter-btn.active.filter-motion { border-color: var(--accent-motion); }
.filter-btn.active.filter-space { border-color: var(--accent-space); }
.filter-btn.active.filter-drive { border-color: var(--accent-drive); }
.filter-btn.active.filter-tone { border-color: var(--accent-tone); }

.plugins-list-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.catalog-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all var(--transition-medium);
}

.catalog-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.catalog-card-visual {
    position: relative;
    padding-top: 60%;
    background-color: #060606;
    overflow: hidden;
}

.catalog-card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-medium);
}

.catalog-card-img.catalog-card-img-contain,
.catalog-card-img[src*="industrial_distortion.png"],
.catalog-card-img[src*="industrial_fuzz.png"],
.catalog-card-img[src*="industrial_overdrive.png"] {
    object-fit: contain;
    transform: scale(1.10);
}

.catalog-card:hover .catalog-card-img {
    transform: scale(1.03);
}

.catalog-card:hover .catalog-card-img.catalog-card-img-contain,
.catalog-card:hover .catalog-card-img[src*="industrial_distortion.png"],
.catalog-card:hover .catalog-card-img[src*="industrial_fuzz.png"],
.catalog-card:hover .catalog-card-img[src*="industrial_overdrive.png"] {
    transform: scale(1.15);
}

.catalog-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.catalog-card-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 8px;
}

.catalog-card-title {
    font-size: 18px;
    font-weight: 600;
}

.catalog-card-price {
    font-size: 16px;
    font-weight: 600;
}

.catalog-card-desc {
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-secondary);
    margin-bottom: 16px;
    flex-grow: 1;
}

.catalog-card-spec-row {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.catalog-card-actions {
    display: flex;
    gap: 12px;
}

.catalog-card-actions .btn {
    flex: 1;
    padding: 10px;
    font-size: 11px;
}

.card-qty-picker {
    display: none; /* Toggled by JS to display: flex */
    flex: 1;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    height: 35px;
    padding: 0 14px;
    box-sizing: border-box;
}

.card-qty-picker .qty-btn {
    background: none;
    border: none;
    color: var(--text-primary);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.card-qty-picker .qty-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.card-qty-picker .card-qty-val {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-primary);
    min-width: 24px;
    text-align: center;
}


.bundle-discount-badge {
    background-color: var(--accent-motion);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 8px;
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-bundle-wrapper {
    position: relative;
    display: inline-flex;
}

.hero-bundle-badge-container {
    position: absolute;
    top: -24px;
    right: -25px;
    width: 48px;
    height: 48px;
    z-index: 5;
    pointer-events: none;
    animation: sticker-pulse 2.2s infinite alternate ease-in-out;
}

@keyframes sticker-pulse {
    0% {
        transform: scale(0.92) rotate(-6deg);
        filter: drop-shadow(0 2px 4px rgba(168, 85, 247, 0.35));
    }
    100% {
        transform: scale(1.08) rotate(6deg);
        filter: drop-shadow(0 6px 14px rgba(168, 85, 247, 0.75));
    }
}

/* Product Detail Views */
.product-detail-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 40px;
}

.product-breadcrumbs {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.product-breadcrumbs a {
    color: var(--text-muted);
}

.product-breadcrumbs a:hover {
    color: var(--text-primary);
}

.product-hero {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

/* Product Page Image Stage with Floor Shadow & Depth */
.product-hero .hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0 35px 0;
}

/* Ambient glow aura behind the image to create depth on dark backgrounds */
.product-hero .hero-visual::before {
    content: '';
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 85%;
    max-width: 480px;
    height: 85%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.015) 50%, transparent 75%);
    filter: blur(35px);
    pointer-events: none;
    z-index: 0;
}

/* Floor contact shadow under the plugin */
.product-hero .hero-visual::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 82%;
    max-width: 440px;
    height: 34px;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.98) 0%, rgba(0, 0, 0, 0.75) 45%, transparent 75%);
    filter: blur(12px);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    transition: all var(--transition-medium);
}

.product-hero .hero-visual:hover::after {
    width: 88%;
    height: 40px;
    filter: blur(16px);
    opacity: 0.85;
    transform: translateX(-50%) translateY(4px);
}

.product-hero .hero-img {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 12px;
    box-shadow: 
        0 15px 35px -5px rgba(0, 0, 0, 0.85),
        0 30px 60px -10px rgba(0, 0, 0, 0.95),
        0 45px 90px -15px rgba(0, 0, 0, 0.98);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.product-hero .hero-visual:hover .hero-img {
    transform: scale(1.02) translateY(-6px);
    box-shadow: 
        0 20px 45px -5px rgba(0, 0, 0, 0.9),
        0 40px 80px -10px rgba(0, 0, 0, 0.98),
        0 60px 110px -15px rgba(0, 0, 0, 1);
}

.compatibility-pill {
    display: inline-block;
    padding: 6px 12px;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.product-title {
    font-size: 48px;
    margin-bottom: 16px;
}

.product-tagline {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.compatibility-row-simple {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 30px;
    display: flex;
    gap: 16px;
}

.product-details-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 80px;
}

/* Technical Specification Tables */
.spec-table-container {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
}

.spec-table-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
}

.spec-table tr {
    border-bottom: 1px solid var(--border-color);
}

.spec-table tr:last-child {
    border-bottom: none;
}

.spec-table th,
.spec-table td {
    padding: 16px 0;
    font-size: 13px;
    text-align: left;
}

.spec-table th {
    color: var(--text-muted);
    font-weight: 600;
    width: 180px;
}

.spec-table td {
    color: var(--text-primary);
    line-height: 1.6;
}

/* Dynamic DSP Interface Demo */
.dsp-demo-container {
    background-color: #050505;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.dsp-demo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dsp-demo-title-section {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dsp-demo-title-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
}

.dsp-demo-plugin-name {
    font-size: 24px;
    font-weight: 600;
}

/* Knob Sliders in Engineering Styling */
.dsp-knobs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    background-color: #0b0b0b;
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: 6px;
}

.knob-control {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.knob-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
}

.knob-input-wrapper {
    width: 100%;
    padding: 0 10px;
}

/* VST Style Parameter Slider */
.vst-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 4px;
    background: #1a1a1a;
    border-radius: 2px;
    outline: none;
    margin: 10px 0;
}

.vst-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 24px;
    background: #ffffff;
    border: 1px solid #000;
    border-radius: 2px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
    transition: background-color var(--transition-fast);
}

.vst-slider:active::-webkit-slider-thumb {
    background: #cccccc;
}

/* Thumb accents for categories */
.slider-motion::-webkit-slider-thumb { background: var(--accent-motion); }
.slider-space::-webkit-slider-thumb { background: var(--accent-space); }
.slider-drive::-webkit-slider-thumb { background: var(--accent-drive); }
.slider-tone::-webkit-slider-thumb { background: var(--accent-tone); }

.knob-value {
    font-size: 11px;
    font-family: monospace;
    color: var(--text-muted);
}

/* Dynamic Preset Picker */
.presets-sub-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.preset-chip {
    background-color: #121212;
    border: 1px solid var(--border-color);
    padding: 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.preset-chip:hover {
    color: #fff;
    border-color: var(--border-hover);
}

.preset-chip.active {
    color: #000;
    background-color: #fff;
    border-color: #fff;
}

/* User Account & Simulation */
.account-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 40px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

.account-profile-box {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: fit-content;
}

.profile-avatar-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.profile-avatar {
    width: 48px;
    height: 48px;
    background-color: #1a1a1a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border: 1px solid var(--border-color);
}

.profile-details {
    display: flex;
    flex-direction: column;
}

.profile-name {
    font-size: 16px;
    font-weight: 600;
}

.profile-email {
    font-size: 12px;
    color: var(--text-secondary);
}

.sim-control-panel {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sim-title {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.sim-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    cursor: pointer;
    color: var(--text-secondary);
}

.sim-checkbox-label input {
    cursor: pointer;
}

.account-main-panel {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.license-row-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.license-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.license-item-details {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.license-item-name {
    font-weight: 600;
    font-size: 16px;
}

.license-item-key {
    font-family: monospace;
    font-size: 12px;
    color: var(--text-secondary);
}

.license-item-status {
    font-size: 11px;
    color: var(--text-muted);
}

.license-item-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.license-item-actions .btn {
    padding: 8px 16px;
    font-size: 11px;
}

/* Dry/Wet toggle switch update */
.toggle-bypass-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

/* Cart Side Drawer */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-medium), visibility var(--transition-medium);
}

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

.cart-drawer {
    position: fixed;
    top: 0;
    right: -450px;
    width: 450px;
    height: 100vh;
    background-color: #080808;
    border-left: 1px solid var(--border-color);
    z-index: 2001;
    display: flex;
    flex-direction: column;
    transition: right var(--transition-medium);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8);
}

@media (max-width: 500px) {
    .cart-drawer {
        width: 100vw;
        right: -100vw;
    }
}

.cart-overlay.open .cart-drawer {
    right: 0;
}

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

.cart-header h2 {
    font-size: 20px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.cart-close {
    background: transparent;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-items {
    flex-grow: 1;
    overflow-y: auto;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.cart-empty {
    text-align: center;
    color: var(--text-secondary);
    margin: auto;
    font-size: 14px;
}

.cart-item {
    display: flex;
    gap: 16px;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    padding-bottom: 16px;
}

.cart-item-img {
    width: 70px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
    background-color: #000;
}

.cart-item-details {
    flex-grow: 1;
}

.cart-item-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.cart-item-price {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 500;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.qty-btn {
    background-color: #121212;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    cursor: pointer;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: border-color var(--transition-fast);
}

.qty-btn:hover {
    border-color: var(--text-primary);
}

.qty-val {
    font-size: 12px;
    font-weight: 600;
    min-width: 14px;
    text-align: center;
}

.cart-item-remove {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px;
    transition: color var(--transition-fast);
}

.cart-item-remove:hover {
    color: #ff4545;
}

.cart-footer {
    padding: 30px;
    border-top: 1px solid var(--border-color);
    background-color: #060606;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 24px;
    font-size: 16px;
    font-weight: 600;
}

.cart-summary-row .total-price {
    color: var(--text-primary);
    font-size: 20px;
}

.checkout-btn {
    width: 100%;
    padding: 16px;
    font-size: 14px;
    letter-spacing: 0.08em;
    background-color: #ffffff;
    color: #000;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    transition: all var(--transition-fast);
}

.checkout-btn:hover {
    background-color: #dddddd;
    transform: translateY(-2px);
}

/* Newsletter Section */
.newsletter {
    background-color: var(--bg-card);
    border-top: 1px solid var(--border-color);
    padding: 100px 40px;
    text-align: center;
}

.newsletter-container {
    max-width: 500px;
    margin: 0 auto;
}

.newsletter h2 {
    font-size: 32px;
    margin-bottom: 16px;
}

.newsletter p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    gap: 12px;
}

.newsletter-input {
    flex-grow: 1;
    background-color: #050505;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    padding: 14px 24px;
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 14px;
    outline: none;
    transition: border-color var(--transition-fast);
}

.newsletter-input:focus {
    border-color: var(--border-hover);
}

.newsletter-form .btn {
    padding: 14px 32px;
}

/* Footer */
footer {
    border-top: 1px solid var(--border-color);
    padding: 60px 40px;
    background-color: var(--bg-color);
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.copyright {
    font-size: 12px;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    list-style: none;
    gap: 24px;
    font-size: 12px;
    color: var(--text-secondary);
}

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

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    font-size: 24px;
    padding: 8px;
}

/* Bypass Switch */
.bypass-switch {
    display: flex;
    background-color: #121212;
    border: 1px solid var(--border-color);
    padding: 4px;
    border-radius: 30px;
    position: relative;
    width: 220px;
}

.bypass-btn {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-family: var(--font-primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 10px 0;
    cursor: pointer;
    border-radius: 20px;
    z-index: 2;
    transition: color var(--transition-fast);
}

.bypass-btn.active {
    color: #000;
}

.bypass-bg {
    position: absolute;
    top: 4px;
    left: 4px;
    width: calc(50% - 4px);
    height: calc(100% - 8px);
    background-color: #fff;
    border-radius: 20px;
    z-index: 1;
    transition: transform 0.25s cubic-bezier(0.25, 0.8, 0.25, 1), background-color 0.25s;
}

.bypass-switch.bypass-on .bypass-bg {
    transform: translateX(100%);
}

.bypass-switch.bypass-on .bypass-btn:nth-child(2) {
    color: #000;
}
.bypass-switch.bypass-on .bypass-btn:nth-child(1) {
    color: var(--text-secondary);
}

/* Waveform Visualizer simulation */
.waveform {
    height: 80px;
    display: flex;
    align-items: center;
    gap: 4px;
    width: 100%;
}

.waveform-bar {
    flex: 1;
    height: 100%;
    background-color: #222;
    border-radius: 2px;
    transition: background-color var(--transition-fast), height var(--transition-fast);
}

.waveform.playing .waveform-bar {
    background-color: var(--text-secondary);
    animation: barPulse 1.2s infinite ease-in-out alternate;
}

.waveform.playing.active-processed .waveform-bar {
    background-color: var(--accent-motion);
    box-shadow: 0 0 2px var(--accent-motion);
}

/* Waveform modifiers based on category */
.waveform.playing.active-processed.space-active .waveform-bar {
    background-color: var(--accent-space);
    box-shadow: 0 0 2px var(--accent-space);
}

.waveform.playing.active-processed.drive-active .waveform-bar {
    background-color: var(--accent-drive);
    box-shadow: 0 0 2px var(--accent-drive);
}

.waveform.playing.active-processed.tone-active .waveform-bar {
    background-color: var(--accent-tone);
    box-shadow: 0 0 2px var(--accent-tone);
}

/* Stagger animations for visualizer bars */
.waveform-bar:nth-child(even) { animation-delay: 0.15s; }
.waveform-bar:nth-child(3n) { animation-delay: 0.3s; }
.waveform-bar:nth-child(5n) { animation-delay: 0.45s; }

@keyframes barPulse {
    0% { transform: scaleY(0.2); }
    100% { transform: scaleY(0.85); }
}

/* Custom Alert Banner */
.demo-alert-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255, 69, 69, 0.9);
    color: #fff;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: none;
    z-index: 3000;
    box-shadow: 0 5px 15px rgba(255, 69, 69, 0.4);
    pointer-events: none;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .hero-container,
    .product-hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-title {
        font-size: 44px;
    }
    
    .catalog-container,
    .account-container {
        grid-template-columns: 1fr;
    }
    
    .plugins-list-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .category-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .plugins-list-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .dsp-knobs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .presets-sub-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Logo Separator Styling */
.logo-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: var(--max-width);
    margin: 60px auto;
    padding: 0 40px;
}
.separator-line {
    flex-grow: 1;
    height: 1px;
    background: var(--border-color);
}
.separator-logo {
    margin: 0 24px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Language Switcher Dropdown Styling */
.lang-switcher-dropdown {
    position: relative;
    display: inline-block;
}

.lang-dropdown-trigger {
    display: inline-flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 6px 12px;
    color: var(--text-secondary);
    font-family: var(--font-primary);
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.lang-dropdown-trigger:hover,
.lang-dropdown-trigger.active {
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.08);
}

.lang-dropdown-trigger.active .chevron-icon {
    transform: rotate(180deg);
}

.lang-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 130px;
    background-color: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 1000;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.lang-dropdown-menu.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.lang-dropdown-item {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-family: var(--font-primary);
    font-size: 11px;
    font-weight: 600;
    padding: 8px 12px;
    text-align: left;
    cursor: pointer;
    border-radius: 8px;
    transition: all var(--transition-fast);
    width: 100%;
}

.lang-dropdown-item:hover {
    color: var(--text-primary);
    background-color: rgba(255, 255, 255, 0.05);
}

.lang-dropdown-item.active {
    color: #000;
    background-color: #fff;
}

/* Newsletter Section transition and hide styles */
.newsletter {
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 500px;
    overflow: hidden;
}

.newsletter.hidden-newsletter {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    border-top: none;
    border-bottom: none;
    opacity: 0;
    margin: 0;
}

/* Trial Gating Modal Styling */
.trial-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.trial-modal-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.trial-modal-content {
    background-color: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    max-width: 450px;
    width: 90%;
    padding: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-align: center;
}

.trial-modal-overlay.show .trial-modal-content {
    transform: translateY(0);
}

.trial-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 24px;
    cursor: pointer;
    transition: color var(--transition-fast);
    line-height: 1;
}

.trial-modal-close:hover {
    color: var(--text-primary);
}

.trial-modal-content h3 {
    font-size: 22px;
    margin-bottom: 12px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.trial-modal-content p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 28px;
}

.trial-sub-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.trial-input {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 14px 20px;
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 13px;
    transition: border-color var(--transition-fast);
    outline: none;
    width: 100%;
    box-sizing: border-box;
}

.trial-input:focus {
    border-color: rgba(255, 255, 255, 0.3);
}

/* Password Input Wrapper & Visibility Toggle */
.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.password-input-wrapper input.trial-input {
    padding-right: 44px !important;
}

.password-toggle-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    padding: 6px;
    margin: 0;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    line-height: 1;
    z-index: 2;
    transition: color var(--transition-fast), background-color var(--transition-fast), transform var(--transition-fast);
}

.password-toggle-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.08);
}

.password-toggle-btn:active {
    transform: translateY(-50%) scale(0.92);
}

.password-toggle-btn:focus-visible {
    outline: 2px solid var(--accent-motion);
    outline-offset: 1px;
}

/* Hide Microsoft Edge native password reveal button to avoid duplicate icons */
input::-ms-reveal,
input::-ms-clear {
    display: none;
}

.trial-sub-form .btn {
    width: 100%;
}

/* Guest Checkout Modal Vertical Centering */
#checkout-email-modal .trial-modal-content {
    padding: 38px 36px 28px;
}

#checkout-email-modal .checkout-modal-btn-wrapper {
    margin-top: 16px;
    margin-bottom: 0;
    width: 100%;
    display: flex;
}

/* Footer social media and payment styles */
.footer-right-column {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
}

.footer-socials {
    display: flex;
    gap: 16px;
    margin-top: 8px;
}

.social-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.social-icon:hover {
    transform: translateY(-3px) scale(1.1);
}

.social-icon[aria-label="YouTube"]:hover {
    background-color: #ff0000;
    border-color: #ff0000;
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.4);
}

.social-icon[aria-label="SoundCloud"]:hover {
    background-color: #ff5500;
    border-color: #ff5500;
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 85, 0, 0.4);
}

.social-icon[aria-label="Discord"]:hover {
    background-color: #5865f2;
    border-color: #5865f2;
    color: #fff;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.4);
}

.footer-payments {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 8px;
}

.payment-badge {
    opacity: 0.9;
    transition: all var(--transition-fast);
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
    display: block;
    width: 38px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
    user-select: none;
    -webkit-user-drag: none;
}

.payment-badge:hover {
    opacity: 1;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6), 0 0 10px rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .footer-right-column {
        align-items: center;
    }
}

.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 280px);
    padding: 40px 20px;
}

.auth-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 36px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.avatar-preset-item:hover, .avatar-change-item:hover {
    transform: scale(1.15);
}

/* Account Dropdown Menu Styling */
.account-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 200px;
    background: rgba(15, 23, 42, 0.9); /* Premium dark background */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 12px;
    display: none;
    flex-direction: column;
    z-index: 1001;
    transform: translateY(-10px);
    opacity: 0;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.account-dropdown-menu.open {
    display: flex;
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.account-dropdown-menu .dropdown-item {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    text-align: left;
    padding: 10px 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition-fast);
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Specific styling for Sign In button (Secondary) */
.account-dropdown-menu .dropdown-item.dropdown-signin {
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: transparent;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.account-dropdown-menu .dropdown-item.dropdown-signin:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-primary);
    transform: translateY(-1px);
}

/* Specific styling for Register/Create Account button (Primary) */
.account-dropdown-menu .dropdown-item.dropdown-register {
    background: var(--text-primary);
    color: var(--bg-color);
    border: 1px solid transparent;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.05);
}

.account-dropdown-menu .dropdown-item.dropdown-register:hover {
    background: #dddddd;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(255, 255, 255, 0.15);
}

/* License activations slots dashboard */
.activation-slot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 13px;
    transition: all var(--transition-fast);
}

.activation-slot.active {
    border-color: rgba(16, 185, 129, 0.3);
    background: rgba(16, 185, 129, 0.02);
}

.activation-slot.empty {
    border-style: dashed;
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
}

.slot-icon {
    font-size: 16px;
    margin-right: 6px;
}

.slot-name {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-right: 8px;
}

.btn-primary-mini, .btn-secondary-mini {
    padding: 4px 10px;
    font-size: 11px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.btn-primary-mini {
    background: var(--text-primary);
    color: var(--bg-color);
    border: 1px solid transparent;
}

.btn-primary-mini:hover {
    background: #dddddd;
    transform: translateY(-1px);
}

.btn-secondary-mini {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-secondary);
}

.btn-secondary-mini:hover {
    border-color: #ff5555;
    color: #ff5555;
    background: rgba(255, 85, 85, 0.05);
}

/* Code snippet copy button styling */
.copy-code {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 8px 0;
    cursor: pointer;
    color: #00f3ff;
    background: rgba(0, 243, 255, 0.08);
    border: 1px solid rgba(0, 243, 255, 0.25);
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: 600;
    font-family: var(--font-mono, monospace);
    word-break: break-all;
    transition: all var(--transition-fast, 0.2s ease);
    user-select: all;
    box-sizing: border-box;
    text-decoration: none !important;
}

.copy-code:hover {
    background: rgba(0, 243, 255, 0.15);
    border-color: rgba(0, 243, 255, 0.45);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.15);
}

.copy-code.copied {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.5);
    color: #34d399;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.2);
}

.copy-code .code-text {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}

.copy-code .copy-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: 8px;
    color: inherit;
    transition: transform 0.2s ease;
}

.copy-code:hover .copy-icon-btn {
    transform: scale(1.12);
}

.copy-code .copy-svg {
    display: inline-block;
}

.copy-code .check-svg {
    display: none;
}

.copy-code.copied .copy-svg {
    display: none;
}

.copy-code.copied .check-svg {
    display: inline-block;
    color: #34d399;
    animation: popCheck 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popCheck {
    0% { transform: scale(0.5); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.copied-btn {
    border-color: rgba(16, 185, 129, 0.4) !important;
    color: #34d399 !important;
}

/* ------------------------------------------------------------- */
/* Toast Notification System */
/* ------------------------------------------------------------- */
.toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
    max-width: 420px;
    width: calc(100% - 48px);
}

.toast-item {
    pointer-events: auto;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 13px 16px;
    background: rgba(18, 18, 22, 0.94);
    border: 1px solid var(--border-color, rgba(255, 255, 255, 0.1));
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: var(--text-primary, #fff);
    font-size: 13px;
    line-height: 1.45;
    animation: toastSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transition: all 0.25s ease;
}

.toast-item.toast-hiding {
    animation: toastSlideOut 0.25s cubic-bezier(0.7, 0, 0.84, 0) forwards;
}

.toast-item.toast-success {
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.18);
}

.toast-item.toast-success .toast-icon {
    color: #34d399;
}

.toast-item.toast-error {
    border-color: rgba(239, 68, 68, 0.45);
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.2);
}

.toast-item.toast-error .toast-icon {
    color: #f87171;
}

.toast-item.toast-warning {
    border-color: rgba(245, 158, 11, 0.45);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.2);
}

.toast-item.toast-warning .toast-icon {
    color: #fbbf24;
}

.toast-item.toast-info {
    border-color: rgba(0, 243, 255, 0.35);
    box-shadow: 0 8px 24px rgba(0, 243, 255, 0.15);
}

.toast-item.toast-info .toast-icon {
    color: #00f3ff;
}

.toast-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}

.toast-content {
    flex: 1;
    word-break: break-word;
}

.toast-close {
    background: none;
    border: none;
    color: var(--text-secondary, #888);
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    padding: 0;
    margin-left: 6px;
    flex-shrink: 0;
    transition: color 0.15s ease;
}

.toast-close:hover {
    color: #fff;
}

@keyframes toastSlideIn {
    from {
        opacity: 0;
        transform: translateY(-12px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes toastSlideOut {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    to {
        opacity: 0;
        transform: translateY(-10px) scale(0.96);
    }
}

/* ------------------------------------------------------------- */
/* Modal Error Banners & Input Error Highlighting */
/* ------------------------------------------------------------- */
.modal-error-banner {
    display: none;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.35);
    border-radius: 8px;
    padding: 10px 14px;
    color: #fca5a5;
    font-size: 12px;
    line-height: 1.4;
    animation: shakeError 0.35s ease;
    margin-top: 6px;
    box-sizing: border-box;
}

.modal-error-banner.show {
    display: block;
}

.input-field-error {
    border-color: rgba(239, 68, 68, 0.7) !important;
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.25) !important;
    animation: shakeError 0.35s ease;
}

@keyframes shakeError {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-4px); }
    40%, 80% { transform: translateX(4px); }
}

/* ------------------------------------------------------------- */
/* Installer Download Buttons & License Downloads */
/* ------------------------------------------------------------- */
.license-download-btn,
.btn-download-installer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 7px 12px;
    font-family: var(--font-primary);
    font-size: 11.5px;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    transition: all var(--transition-fast);
    cursor: pointer;
    box-sizing: border-box;
}

.license-download-btn:hover,
.btn-download-installer:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.license-download-btn.btn-win:hover,
.btn-download-installer.btn-win:hover {
    border-color: rgba(0, 243, 255, 0.4);
    box-shadow: 0 0 12px rgba(0, 243, 255, 0.15);
    color: #00f3ff;
}

.license-download-btn.btn-mac:hover,
.btn-download-installer.btn-mac:hover {
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

/* ------------------------------------------------------------- */
/* Owned Plugin Status State */
/* ------------------------------------------------------------- */
.btn-owned,
button.btn-owned {
    background: rgba(16, 185, 129, 0.12) !important;
    border: 1px solid rgba(16, 185, 129, 0.35) !important;
    color: #34d399 !important;
    font-weight: 600 !important;
    cursor: default !important;
    pointer-events: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
}

/* ------------------------------------------------------------- */
/* ------------------------------------------------------------- */
/* Order Success (Thank You) Modal */
/* ------------------------------------------------------------- */
.order-success-content {
    max-height: 88vh;
    overflow-y: auto;
    padding: 32px 32px 16px 32px;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 243, 255, 0.35) rgba(255, 255, 255, 0.04);
}

.order-success-content::-webkit-scrollbar {
    width: 6px;
}

.order-success-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 4px;
}

.order-success-content::-webkit-scrollbar-thumb {
    background: rgba(0, 243, 255, 0.3);
    border-radius: 4px;
}

.order-success-header {
    text-align: center;
    margin-bottom: 20px;
}

.order-success-badge {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px auto;
    border-radius: 50%;
    background: rgba(0, 243, 255, 0.1);
    border: 1px solid rgba(0, 243, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.25);
    animation: pulseBadge 2s infinite ease-in-out;
}

@keyframes pulseBadge {
    0%, 100% { transform: scale(1); box-shadow: 0 0 20px rgba(0, 243, 255, 0.25); }
    50% { transform: scale(1.06); box-shadow: 0 0 30px rgba(0, 243, 255, 0.45); }
}

.order-success-items-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
    max-height: 380px;
    overflow-y: auto;
    padding-right: 6px;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 243, 255, 0.4) rgba(255, 255, 255, 0.04);
}

.order-success-items-list::-webkit-scrollbar {
    width: 6px;
}

.order-success-items-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 4px;
}

.order-success-items-list::-webkit-scrollbar-thumb {
    background: rgba(0, 243, 255, 0.35);
    border-radius: 4px;
}

.order-success-items-list::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 243, 255, 0.65);
}

.order-success-item-card {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 14px 18px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: border-color var(--transition-fast), background var(--transition-fast), transform var(--transition-fast);
}

.order-success-item-card:hover {
    border-color: rgba(0, 243, 255, 0.35);
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-1px);
}

.order-success-item-img {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
    flex-shrink: 0;
}

.order-success-item-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    flex: 1;
    min-width: 0;
    text-align: left;
}

.order-success-item-title {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.order-success-item-card .license-key-container {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: monospace;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--border-color);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    max-width: 100%;
    box-sizing: border-box;
}

.order-success-downloads {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
}

@media (max-width: 620px) {
    .order-success-item-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 16px;
        gap: 12px;
    }
    .order-success-item-info {
        align-items: center;
        text-align: center;
    }
    .order-success-downloads {
        justify-content: center;
        width: 100%;
    }
}

.card-owned-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.03em;
    padding: 2px 7px;
    border-radius: 5px;
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.4);
    margin-left: 8px;
    vertical-align: middle;
}

.product-owned-badge {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 3px 10px;
    border-radius: 20px;
    background: rgba(16, 185, 129, 0.14);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.45);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.15);
    margin-left: 10px;
    vertical-align: middle;
}

.order-tip-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(234, 179, 8, 0.08);
    border: 1px solid rgba(234, 179, 8, 0.25);
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 12px;
    line-height: 1.5;
    color: #fef08a;
    text-align: left;
    margin-bottom: 0;
}

.order-tip-icon {
    font-size: 18px;
    line-height: 1;
    flex-shrink: 0;
}

.order-success-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0 16px 0;
    margin: 0;
}

.order-tip-text {
    flex: 1;
}

