/* ==========================================================================
   Design System & Variables — Premium Swiss Brutalism
   ========================================================================== */
:root {
    /* Color Palette - Stark Monochrome (High-End Architecture) */
    --bg-base: #050505;
    --bg-surface: #0a0a0a;
    --bg-surface-elevated: #111111;
    --bg-surface-hover: #1a1a1a;
    --bg-card: #0f0f0f;

    --text-primary: #ffffff;
    --text-secondary: #888888;
    --text-tertiary: #555555;

    /* Accents are just pure white or stark contrast, no cheap colors */
    --accent-primary: #ffffff;
    --accent-secondary: #dddddd;
    --accent-glow: transparent;

    --success: #ffffff;
    --warning: #e5c07b;
    --danger: #ffffff;
    --error: #ffffff;

    /* Hairline brutalist borders */
    --border-color: rgba(255, 255, 255, 0.12);
    --border-color-hover: rgba(255, 255, 255, 0.3);

    /* Typography - Massive, stark, expressive */
    --font-heading: 'Inter', 'Helvetica Neue', sans-serif;
    --font-body: 'Inter', 'Helvetica Neue', sans-serif;

    /* Shadows & Effects - NONE. Shadows look cheap. */
    --glass-bg: rgba(5, 5, 5, 0.9);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow-soft: none;
    --shadow-glow: none;

    /* Layout - Absolute sharp brutalism */
    --container-width: 1400px;
    --border-radius: 0px;
    --border-radius-lg: 0px;
    --border-radius-full: 0px;

    --transition: 0.2s ease-in-out;
}

/* ==========================================================================
   Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body.dark-theme {
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 80px 0;
}

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */
.text-gradient {
    background: linear-gradient(135deg, #ffffff, #888888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-accent {
    color: var(--text-secondary);
}

.text-green {
    color: var(--text-primary);
}

.section-header h2 {
    letter-spacing: -0.04em;
    font-weight: 800;
}

.section-header h2::before {
    display: none;
}

.mt-4 {
    margin-top: 1.5rem;
}

.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
}

/* ==========================================================================
   Components
   ========================================================================== */

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--border-radius-full);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1.1rem;
}

.btn-primary {
    background: var(--text-primary);
    color: var(--bg-base);
    box-shadow: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    font-size: 0.95rem;
    transition: all 0.2s cubic-bezier(0.85, 0, 0.15, 1);
}

.btn-primary:hover {
    transform: none;
    background: var(--text-secondary);
    box-shadow: none;
}

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

.btn-outline:hover {
    background: var(--bg-surface-elevated);
    border-color: var(--border-color-hover);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* Form Elements */
input[type="text"],
input[type="number"],
input[type="email"],
input[type="password"],
select,
textarea {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 12px 16px;
    border-radius: var(--border-radius);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
    outline: none;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.15);
}

/* Enhancing Placeholder Readability */
::placeholder {
    color: #9ca3af;
    /* zinc-400 */
    opacity: 1;
    /* Firefox overrides */
}

::-ms-input-placeholder {
    color: #9ca3af;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
    background-image: none;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
}

.logo i {
    font-size: 1.8rem;
    color: var(--accent-primary);
}

.search-bar-nav {
    flex: 1;
    max-width: 400px;
    position: relative;
    margin: 0 48px;
}

.search-bar-nav i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-tertiary);
    font-size: 1.2rem;
}

.search-bar-nav input {
    width: 100%;
    padding: 10px 16px 10px 48px;
    border-radius: var(--border-radius-full);
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-color);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-secondary);
}

.nav-link:hover {
    color: var(--text-primary);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    padding-top: 140px;
    padding-bottom: 80px;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px;
    background: transparent;
    border: 1px solid var(--border-color);
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 32px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
}

.hero-title {
    font-size: 5.5rem;
    /* Massive, brutalist size */
    letter-spacing: -0.04em;
    margin-bottom: 24px;
    line-height: 1.05;
    font-weight: 900;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
}

.stats-row {
    display: flex;
    gap: 48px;
    justify-content: center;
    border-top: 1px solid var(--border-color);
    padding-top: 40px;
    width: 100%;
}

.stat-item h3 {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.stat-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Background Shapes */
.bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 1;
    opacity: 0.15;
}

.shape-1 {
    display: none;
}

.shape-2 {
    display: none;
}

/* ==========================================================================
   Categories
   ========================================================================== */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2rem;
}

.view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-primary);
    font-weight: 600;
}

.view-all:hover {
    gap: 12px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 24px;
}

.category-card {
    background: transparent;
    border: 1px solid var(--border-color);
    padding: 40px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    transition: var(--transition);
}

.category-card i {
    font-size: 2.5rem;
    color: var(--text-primary);
    transition: var(--transition);
}

.category-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.category-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.category-card:hover {
    transform: none;
    background: var(--text-primary);
    border-color: var(--text-primary);
}

.category-card:hover * {
    color: var(--bg-base);
}

.category-card:hover i {
    transform: none;
}

/* ==========================================================================
   Product Grid & Cards (Homepage & General)
   ========================================================================== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 32px;
}

.product-card {
    background: transparent;
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: none;
    border-color: var(--text-primary);
    box-shadow: none;
}

/* === Paywall Blur System === */
.product-image.blurred img {
    filter: blur(18px) saturate(0.5);
    transform: scale(1.1);
}

.product-card:hover .product-image.blurred img {
    filter: blur(18px) saturate(0.5);
    transform: scale(1.1);
}

.blur-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
    gap: 8px;
}

.blur-overlay i {
    font-size: 1.8rem;
    color: #ffffff;
}

.blur-overlay span {
    font-size: 0.8rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.reveal-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    padding: 6px 14px;
    background: #ffffff;
    color: #050505;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 3;
}

/* Upload fee banner */
.fee-banner {
    padding: 16px 24px;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.fee-banner .fee-amount {
    font-size: 1.5rem;
    font-weight: 800;
    white-space: nowrap;
}

.fee-banner .fee-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Skeleton loading blocks */
.skeleton-block {
    background: var(--bg-surface-elevated);
    animation: skeleton-pulse 1.5s ease-in-out infinite;
}

@keyframes skeleton-pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

.product-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--bg-surface-elevated);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-badges {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    gap: 8px;
}

.product-badge {
    background: var(--bg-base);
    padding: 6px 12px;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-title {
    font-size: 1.15rem;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

.product-author {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 16px;
}

.product-author img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
}

.feature-tag {
    background: var(--bg-surface-elevated);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--text-tertiary);
}

.product-footer {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-container {
    display: flex;
    align-items: center;
    border-radius: var(--border-radius-lg);
    padding: 60px;
    position: relative;
    overflow: hidden;
    gap: 40px;
}

.cta-content {
    flex: 1;
    z-index: 2;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.cta-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 24px;
    max-width: 500px;
}

.features-list {
    margin-bottom: 32px;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 1.05rem;
    color: var(--text-primary);
}

.features-list i {
    color: var(--accent-primary);
    font-size: 1.25rem;
}

.cta-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.placeholder-graphic {
    width: 300px;
    height: 300px;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-color);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.glowing-icon {
    font-size: 100px;
    color: var(--text-secondary);
    filter: none;
}

.floating-card {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.floating-card i {
    font-size: 2rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: var(--bg-base);
    border-top: 1px solid var(--border-color);
    padding: 80px 0 24px;
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 16px;
    max-width: 300px;
    font-size: 0.95rem;
}

.footer-links h3 {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
}

.footer-links a {
    display: block;
    color: var(--text-primary);
    margin-bottom: 16px;
    font-weight: 500;
}

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

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
    text-align: left;
    /* Editorial alignment */
    color: var(--text-secondary);
    font-size: 0.85rem;
    display: flex;
    justify-content: space-between;
}

/* ==========================================================================
   Mobile Hamburger Menu
   ========================================================================== */
.hamburger-btn {
    display: none;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 1.5rem;
    padding: 8px 12px;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.hamburger-btn:hover {
    background: var(--bg-surface-elevated);
}

/* Responsive */
@media (max-width: 900px) {
    .hamburger-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hide-mobile {
        display: none !important;
    }

    .nav-container {
        flex-wrap: wrap;
        gap: 16px;
        justify-content: space-between;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        order: 3;
        gap: 12px;
        padding-top: 16px;
        border-top: 1px solid var(--border-color);
    }

    .nav-links.mobile-open {
        display: flex;
    }

    .nav-links .btn {
        width: 100%;
        text-align: center;
    }

    .hero-title {
        font-size: 3rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stats-row {
        flex-wrap: wrap;
    }

    .cta-container {
        flex-direction: column;
        padding: 40px 24px;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .category-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
}

/* Search Sidebar */
.search-sidebar {
    width: 250px;
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .search-sidebar {
        width: 100%;
        order: -1;
    }

    .mobile-filter-toggle {
        display: flex !important;
        align-items: center;
        gap: 8px;
        justify-content: center;
    }

    .filter-panel {
        display: none;
    }

    .filter-panel.mobile-open {
        display: block;
    }
}

/* ==========================================================================
    Animations — Premium Scroll, Reveal, Hover
    ========================================================================== */

/* ── Keyframes ────────────────────────────────────────────── */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

@keyframes subtlePulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.85;
    }
}

@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ── Page-Level Fade-In ───────────────────────────────────── */
main {
    animation: floatIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ── Scroll-Triggered Reveal System ───────────────────────── */
.scroll-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.scroll-revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ── Hero-Level Entrance Animations ───────────────────────── */
.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.animate-slide-up {
    opacity: 0;
    animation: slideUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ── Premium Card Hover Effects ───────────────────────────── */
.product-card {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-color-hover);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.category-card {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.category-card:hover {
    transform: translateY(-3px);
}

.category-card i {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.category-card:hover i {
    transform: translateY(-4px) scale(1.1);
}

/* ── Button Hover Micro-Animations ────────────────────────── */
.btn {
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
    background: var(--text-secondary);
}

.btn-outline:hover {
    transform: translateY(-1px);
}

.btn-glass:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* ── Link Hover Underline Effect ──────────────────────────── */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--text-primary);
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover::after {
    width: 100%;
}

/* ── View-All Link Arrow Animation ────────────────────────── */
.view-all {
    transition: gap 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        color 0.2s ease;
}

.view-all:hover {
    gap: 14px;
}

/* ── Navbar Scroll Enhancement ────────────────────────────── */
.navbar {
    transition: background 0.3s ease,
        backdrop-filter 0.3s ease,
        box-shadow 0.3s ease;
}

.navbar-scrolled {
    background: rgba(5, 5, 5, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* ── Skeleton Loading Enhancement ─────────────────────────── */
.skeleton-block {
    background: linear-gradient(90deg,
            var(--bg-surface-elevated) 0%,
            var(--bg-surface-hover) 40%,
            var(--bg-surface-elevated) 80%);
    background-size: 200% 100%;
    animation: shimmer 1.8s ease-in-out infinite;
}

/* ── Product Image Hover Zoom ─────────────────────────────── */
.product-image img {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.6s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.06);
}

/* ── Floating CTA Card Animation ──────────────────────────── */
.floating-card {
    animation: subtlePulse 3s ease-in-out infinite;
}

.glowing-icon {
    transition: transform 0.4s ease;
}

.placeholder-graphic:hover .glowing-icon {
    transform: scale(1.05);
}

/* ── Feature Tag Hover ────────────────────────────────────── */
.feature-tag {
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.feature-tag:hover {
    background: var(--bg-surface-hover);
}

/* ── Footer Link Hover ────────────────────────────────────── */
.footer-links a {
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-links a:hover {
    color: var(--text-secondary);
    padding-left: 4px;
}

/* ── Thumbnail Hover ──────────────────────────────────────── */
.thumbnail {
    transition: border-color 0.2s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Badge Shimmer ────────────────────────────────────────── */
.badge {
    transition: background 0.3s ease, border-color 0.3s ease;
}

.badge:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--border-color-hover);
}

/* ── Product Badge Hover ──────────────────────────────────── */
.product-badge {
    transition: background 0.2s ease;
}

/* ── Reveal Badge Pulse ───────────────────────────────────── */
.reveal-badge {
    animation: subtlePulse 2.5s ease-in-out infinite;
}

/* ── Blur Overlay Transition ──────────────────────────────── */
.blur-overlay {
    transition: background 0.3s ease;
}

.product-card:hover .blur-overlay {
    background: rgba(0, 0, 0, 0.6);
}

/* ==========================================================================
    Responsive Fixes — Pricing, How It Works, Dashboard
    ========================================================================== */
@media (max-width: 900px) {

    /* Pricing grid */
    main .container>div[style*="grid-template-columns: repeat(3"] {
        grid-template-columns: 1fr !important;
    }

    /* How It Works step grids */
    main section>div[style*="grid-template-columns: repeat(4"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Dashboard sidebar */
    main>div[style*="display: flex"][style*="gap: 32px"] {
        flex-direction: column !important;
    }

    main>div>div[style*="width: 250px"] {
        width: 100% !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
    }

    /* About page 2-col sections */
    main section[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }

    /* Stats at a glance */
    main section div[style*="grid-template-columns: repeat(3, 1fr)"] {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
}

@media (max-width: 600px) {

    /* How It Works step grids on small screens */
    main section>div[style*="grid-template-columns: repeat(4"] {
        grid-template-columns: 1fr !important;
    }

    /* Trust badges */
    main>div[style*="grid-template-columns: repeat(3, 1fr)"] {
        grid-template-columns: 1fr !important;
    }
}

/* ── Reduce motion for accessibility ──────────────────────── */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .scroll-reveal {
        opacity: 1;
        transform: none;
    }
}