/* ==========================================================================
   FIRST DROP - Premium Design System
   Refined, editorial quality — sophisticated sports brand aesthetic
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Variables
   -------------------------------------------------------------------------- */
:root {
    /* Backgrounds - Warm & Rich */
    --bg-primary: #FDFCFA;
    --bg-secondary: #F7F6F3;
    --bg-surface: #FFFFFF;
    --bg-muted: #F0EFEC;
    --bg-dark: #0F1211;
    --bg-ink: #0F1211;

    /* Text - Clear Hierarchy */
    --text-primary: #0F1211;
    --text-secondary: #4A4A4A;
    --text-muted: #6B6B6B;
    --text-inverse: #FDFCFA;

    /* Accent Colors */
    --accent: #2D6A6A;
    --accent-hover: #245555;
    --accent-light: rgba(45, 106, 106, 0.08);
    --accent-warm: #C4A574;

    /* Legacy accent variables (mapped to palette) */
    --accent-peach: var(--bg-muted);
    --accent-pink: var(--bg-muted);
    --bg-elevated: var(--bg-secondary);

    /* Action colors */
    --action-primary-bg: var(--bg-dark);
    --action-primary-hover: #1a1f1d;
    --action-primary-text: var(--text-inverse);
    --action-secondary-bg: transparent;
    --action-secondary-hover: var(--bg-muted);
    --action-secondary-text: var(--text-primary);

    /* Legacy accent variables */
    --accent-volt: var(--bg-muted);
    --accent-hot: var(--accent-warm);
    --accent-ice: var(--text-muted);

    /* Borders - Subtle */
    --border-subtle: rgba(15, 18, 17, 0.06);
    --border-active: rgba(15, 18, 17, 0.12);
    --border-light: rgba(15, 18, 17, 0.06);
    --border-default: rgba(15, 18, 17, 0.1);
    --border-dark: rgba(253, 252, 250, 0.12);
    --border-bold: var(--bg-dark);

    /* Trends - Neutral */
    --trend-up-bg: var(--bg-muted);
    --trend-up-text: var(--text-primary);
    --trend-down-bg: var(--bg-muted);
    --trend-down-text: var(--text-primary);
    --trend-neutral-bg: var(--bg-muted);
    --trend-neutral-text: var(--text-secondary);

    /* Urgency */
    --urgency-hot: var(--accent-warm);
    --urgency-new: var(--text-secondary);
    --urgency-live: var(--accent);

    /* Shadows - Subtle & Layered */
    --shadow-sm: 0 1px 2px rgba(15, 18, 17, 0.04);
    --shadow-md: 0 4px 16px rgba(15, 18, 17, 0.06);
    --shadow-lg: 0 12px 32px rgba(15, 18, 17, 0.08);
    --shadow-brutal: none;
    --shadow-input-focus: 0 0 0 2px rgba(45, 106, 106, 0.15);

    /* Border Radius - Sharp & Premium */
    --radius-sm: 2px;
    --radius-md: 4px;
    --radius-lg: 6px;
    --radius-xl: 8px;
    --radius-pill: 100px;

    /* Spacing - Generous */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 24px;
    --space-6: 32px;
    --space-7: 48px;
    --space-8: 64px;
    --space-9: 100px;
    --space-10: 120px;

    /* Typography - Editorial */
    --font-display: 'Instrument Serif', Georgia, serif;
    --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Instrument Serif', Georgia, serif;
    --font-mono: 'JetBrains Mono', 'SF Mono', monospace;

    /* Transitions */
    --transition-base: 0.2s ease;
    --transition-snap: 0.15s ease;
    --transition-bounce: 0.2s ease;
    --transition-smooth: 0.3s ease;
    --transition-fast: 0.1s ease;

    /* Z-index Scale */
    --z-dropdown: 50;
    --z-sticky: 100;
    --z-modal: 200;
    --z-toast: 300;
}

/* --------------------------------------------------------------------------
   Reset & Base
   -------------------------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
.text-display {
    font-family: var(--font-display);
    font-size: clamp(48px, 8vw, 80px);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 0.95;
    color: var(--text-primary);
}

.text-display-sm {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1;
    color: var(--text-primary);
}

.text-title {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--text-primary);
}

.text-title-sm {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.3;
    color: var(--text-primary);
}

.text-body {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-secondary);
}

.text-body-lg {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-secondary);
}

.text-small {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-secondary);
}

.text-xs {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--text-muted);
}

.text-label {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--action-primary-bg);
}

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

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

.text-center {
    text-align: center;
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-5);
    position: relative;
    z-index: 1;
}

.container-sm {
    max-width: 680px;
}

.container-lg {
    max-width: 1400px;
}

.section {
    padding: var(--space-9) 0;
}

.section-sm {
    padding: var(--space-7) 0;
}

.main {
    min-height: calc(100vh - 200px);
    position: relative;
    z-index: 1;
}

/* Grid */
.grid {
    display: grid;
    gap: var(--space-5);
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .grid-4, .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .grid-4, .grid-3, .grid-2 {
        grid-template-columns: 1fr;
    }
}

/* Flex */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.gap-2 {
    gap: var(--space-2);
}

.gap-3 {
    gap: var(--space-3);
}

.gap-4 {
    gap: var(--space-4);
}

.gap-5 {
    gap: var(--space-5);
}

.gap-6 {
    gap: var(--space-6);
}

/* --------------------------------------------------------------------------
   Navigation / Header
   -------------------------------------------------------------------------- */
.header {
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
    background: rgba(253, 252, 250, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-7);
}

.logo {
    font-family: var(--font-sans);
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: var(--text-primary);
    text-decoration: none;
    display: inline-flex;
    align-items: baseline;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    transition: opacity var(--transition-base);
}

.logo:hover {
    opacity: 0.6;
    background: transparent;
    box-shadow: none;
    transform: none;
}

.logo:active {
    opacity: 0.5;
    box-shadow: none;
    transform: none;
}

.logo-first {
    font-weight: 700;
    letter-spacing: -0.01em;
}

.logo-drop {
    font-weight: 400;
    color: var(--text-secondary);
}

.nav {
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.nav-link {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 0;
    transition: color var(--transition-base);
}

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

.nav-link.active {
    background: transparent;
    color: var(--text-primary);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    border-radius: var(--radius-md);
    transition: background var(--transition-fast);
}

.mobile-toggle:hover {
    background: var(--bg-secondary);
}

.mobile-toggle svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    .nav-right {
        display: none;
    }
    .mobile-toggle {
        display: flex;
    }
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-subtle);
    padding: var(--space-5);
    z-index: var(--z-sticky);
    flex-direction: column;
    gap: var(--space-2);
}

.mobile-menu.open {
    display: flex;
}

.mobile-link {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-secondary);
    padding: var(--space-4);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.mobile-link:hover {
    background: var(--bg-secondary);
    color: var(--action-primary-bg);
}

/* --------------------------------------------------------------------------
   Buttons - Minimal Style
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0;
    text-transform: none;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
    box-shadow: none;
}

/* Sizes */
.btn-sm {
    font-size: 13px;
    padding: 8px 16px;
}

.btn-md {
    font-size: 14px;
    padding: 12px 24px;
}

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

.btn-xl {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
    padding: 18px 32px;
}

/* Primary - Dark, premium button */
.btn-primary {
    background: var(--bg-dark);
    color: var(--text-inverse);
    box-shadow: none;
}

.btn-primary:hover {
    background: #1a1f1d;
    transform: none;
    box-shadow: none;
}

.btn-primary:active {
    background: #252a28;
    transform: none;
    box-shadow: none;
}

.btn-primary:focus-visible {
    outline: 2px solid var(--bg-dark);
    outline-offset: 2px;
}

/* Secondary - Subtle grey */
.btn-secondary {
    background: var(--bg-muted);
    color: var(--text-primary);
    box-shadow: none;
}

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

.btn-secondary:active {
    background: var(--border-default);
    transform: none;
    box-shadow: none;
}

.btn-secondary:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Ghost - Text only */
.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: none;
}

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

.btn-ghost:active {
    background: var(--bg-muted);
}

.btn-ghost:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

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

.btn-outline:hover {
    background: var(--bg-secondary);
    border-color: var(--border-default);
    color: var(--text-primary);
    box-shadow: none;
}

.btn-outline:active {
    background: var(--bg-muted);
}

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

/* Text button - minimal, muted */
.btn-text-muted {
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 400;
    color: var(--text-muted);
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: color var(--transition-base);
}

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

.btn-text-muted:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Text button - accent color */
.btn-text {
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 500;
    color: var(--accent);
    background: transparent;
    border: none;
    padding: var(--space-2) var(--space-3);
    cursor: pointer;
    transition: color var(--transition-base), background var(--transition-base);
    border-radius: var(--radius-sm);
    white-space: nowrap;
}

.btn-text:hover {
    color: var(--accent-hover);
    background: var(--accent-light);
}

.btn-text:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Dashboard footer */
.dashboard-footer {
    margin-top: var(--space-8);
    padding-top: var(--space-6);
    border-top: 1px solid var(--border-subtle);
    text-align: center;
}

/* Legacy brutalist classes mapped to premium dark style */
.btn-brutalist {
    background: var(--bg-dark);
    color: var(--text-inverse);
    border-radius: var(--radius-sm);
    box-shadow: none;
}

.btn-brutalist:hover {
    background: #1a1f1d;
    box-shadow: none;
    transform: none;
}

.btn-brutalist:active {
    background: #252a28;
    box-shadow: none;
    transform: none;
}

.btn-brutalist-coral {
    background: var(--accent);
    color: var(--text-inverse);
    border-radius: var(--radius-sm);
    box-shadow: none;
}

.btn-brutalist-coral:hover {
    background: var(--accent-hover);
    box-shadow: none;
    transform: none;
}

.btn-brutalist-coral:active {
    background: var(--accent-hover);
    box-shadow: none;
    transform: none;
}

.btn-brutalist-coral:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.btn-brutalist-dark {
    background: var(--bg-ink);
    color: var(--text-inverse);
    border-radius: var(--radius-sm);
    box-shadow: none;
}

.btn-brutalist-dark:hover {
    background: #2A2A2A;
    box-shadow: none;
    transform: none;
}

.btn-brutalist-dark:active {
    background: #333333;
    box-shadow: none;
    transform: none;
}

/* States */
.btn:disabled,
.btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.btn-block {
    width: 100%;
}

/* --------------------------------------------------------------------------
   Forms - Soft & Rounded
   -------------------------------------------------------------------------- */
.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.form-label {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--action-primary-bg);
}

.form-input {
    font-family: var(--font-sans);
    font-size: 16px;
    padding: var(--space-4) var(--space-5);
    background: var(--bg-surface);
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
    color: var(--text-primary);
    outline: none;
    transition: all var(--transition-smooth);
    width: 100%;
}

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

.form-input:focus {
    border-color: var(--action-primary-bg);
    background: var(--bg-secondary);
    box-shadow: var(--shadow-input-focus);
}

.form-input-lg {
    padding: var(--space-5) var(--space-6);
    font-size: 17px;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23888888' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right var(--space-5) center;
    padding-right: var(--space-9);
}

.form-helper {
    font-size: 13px;
    color: var(--text-muted);
}

/* Inline Form */
.form-inline {
    display: flex;
    gap: var(--space-3);
}

.form-inline .form-input {
    flex: 1;
}

@media (max-width: 480px) {
    .form-inline {
        flex-direction: column;
    }
    .form-inline .btn {
        width: 100%;
    }
}

/* --------------------------------------------------------------------------
   Cards - Soft Shadows & Rounded
   -------------------------------------------------------------------------- */
.card {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: none;
    transition: border-color var(--transition-base);
    text-decoration: none;
    color: inherit;
    display: block;
}

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

.card-image {
    position: relative;
    aspect-ratio: 1;
    background: var(--bg-secondary);
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card:hover .card-image img {
    transform: none;
}

.card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-muted);
    position: relative;
}

.card-placeholder svg {
    width: 56px;
    height: 56px;
    color: var(--text-muted);
    opacity: 0.4;
}

.card-content {
    padding: var(--space-5);
}

.card-brand {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--action-primary-bg);
    margin-bottom: var(--space-2);
}

.card-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: var(--space-3);
}

.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

/* Card Horizontal */
.card-horizontal {
    display: grid;
    grid-template-columns: 180px 1fr;
}

.card-horizontal .card-image {
    aspect-ratio: auto;
    height: 100%;
    min-height: 160px;
}

@media (max-width: 600px) {
    .card-horizontal {
        grid-template-columns: 1fr;
    }
    .card-horizontal .card-image {
        aspect-ratio: 16/10;
    }
}

/* --------------------------------------------------------------------------
   Badges / Pills - Soft & Colorful
   -------------------------------------------------------------------------- */
.badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    white-space: nowrap;
}

.badge-default {
    background: var(--bg-elevated);
    color: var(--text-secondary);
}

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

.badge-trend-up {
    background: var(--trend-up-bg);
    color: var(--trend-up-text);
}

.badge-trend-down {
    background: var(--trend-down-bg);
    color: var(--trend-down-text);
}

.badge-trend-neutral {
    background: var(--trend-neutral-bg);
    color: var(--trend-neutral-text);
}

/* Trend Pill (positioned) */
.trend-pill {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 13px;
    font-weight: 500;
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-pill);
    z-index: 2;
}

.trend-pill.trend-up {
    background: var(--trend-up-bg);
    color: var(--trend-up-text);
}

.trend-pill.trend-down {
    background: var(--trend-down-bg);
    color: var(--trend-down-text);
}

.trend-pill.trend-neutral {
    background: var(--trend-neutral-bg);
    color: var(--trend-neutral-text);
}

.trend-pill.trend-no-data {
    background: var(--bg-elevated);
    color: var(--text-muted);
}

.trend-arrow {
    font-size: 12px;
}

/* Certification Badge */
.cert-badge {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 6px 12px;
    background: var(--bg-surface);
    border-radius: var(--radius-pill);
    color: var(--text-secondary);
    text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Specs - Soft Tags
   -------------------------------------------------------------------------- */
.specs {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
}

.specs-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.spec {
    background: var(--bg-primary);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 80px;
}

.spec-label {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.spec-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.spec-value.empty {
    color: var(--text-muted);
    font-weight: 400;
}

/* --------------------------------------------------------------------------
   Stats - Editorial Style
   -------------------------------------------------------------------------- */
.stats-row {
    display: flex;
    justify-content: flex-start;
    gap: 48px;
    padding: 0 0 var(--space-9);
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: var(--space-9);
}

.stat {
    text-align: left;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    min-width: auto;
}

.stat:hover {
    transform: none;
    border-color: transparent;
    box-shadow: none;
}

/* Remove all colored variants */
.stat:nth-child(1),
.stat:nth-child(2),
.stat:nth-child(3) {
    background: transparent;
    box-shadow: none;
}

.stat:nth-child(1):hover,
.stat:nth-child(2):hover,
.stat:nth-child(3):hover {
    box-shadow: none;
}

.stat-value {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 400;
    font-style: italic;
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 6px;
    color: var(--text-primary);
}

/* All stat values same color */
.stat:nth-child(1) .stat-value,
.stat:nth-child(2) .stat-value,
.stat:nth-child(3) .stat-value {
    color: var(--text-primary);
}

.stat-label {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    opacity: 1;
}

@media (max-width: 600px) {
    .stats-row {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 32px;
        padding-bottom: var(--space-7);
        margin-bottom: var(--space-7);
    }
    .stat {
        min-width: auto;
        max-width: none;
        padding: 0;
    }
    .stat-value {
        font-size: 28px;
    }
}

/* --------------------------------------------------------------------------
   Hero Section - Editorial Premium Style
   -------------------------------------------------------------------------- */
.hero {
    text-align: left;
    padding: var(--space-7) 0 var(--space-6);
    position: relative;
    max-width: 720px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    background: transparent;
    padding: 0;
    border-radius: 0;
    margin-bottom: var(--space-5);
    box-shadow: none;
}

.hero-badge::before {
    display: none;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(48px, 8vw, 64px);
    font-weight: 400;
    font-style: italic;
    letter-spacing: -0.02em;
    line-height: 1.05;
    color: var(--text-primary);
    text-transform: none;
    margin-bottom: var(--space-5);
}

/* Accent color for emphasis */
.hero-title .text-hot {
    font-style: normal;
    color: var(--accent-warm);
}

/* Muted accent for punctuation */
.hero-title .text-muted {
    color: var(--text-muted);
}

.hero-subtitle {
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 400;
    color: var(--text-secondary);
    max-width: 420px;
    margin: 0;
    line-height: 1.6;
    letter-spacing: 0;
}

@media (max-width: 768px) {
    .hero {
        padding: var(--space-6) 0 var(--space-5);
    }
    .hero-title {
        font-size: clamp(40px, 10vw, 56px);
        letter-spacing: -0.02em;
        line-height: 1.05;
    }
    .hero-subtitle {
        font-size: 15px;
        max-width: 360px;
    }
}

/* Dark Hero - Full-bleed dramatic treatment for logged-out users */
.hero-dark {
    background: var(--bg-dark);
    margin-top: -1px; /* overlap header border */
    padding-bottom: var(--space-9);
    position: relative;
    overflow: hidden;
}

/* Background image with dark overlay */
.hero-dark::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, rgba(15, 18, 17, 0.7) 0%, rgba(15, 18, 17, 0.85) 100%),
        url('https://images.labnocturne.com/i/01KEX16HA5M7BK828DS7EXBK1Y.jpg');
    background-size: cover;
    background-position: center 30%;
    pointer-events: none;
}

.hero-dark-content {
    padding-top: var(--space-10);
}

.hero-dark .hero-title {
    font-size: clamp(56px, 10vw, 80px);
    color: var(--text-inverse);
}

.hero-dark .hero-title .text-hot {
    color: var(--accent-warm);
}

.text-muted-dark {
    color: rgba(253, 252, 250, 0.3);
}

.hero-dark .hero-subtitle {
    font-size: 18px;
    color: rgba(253, 252, 250, 0.6);
    max-width: 480px;
}

/* Hero CTA button */
.btn-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 0.01em;
    padding: 14px 32px;
    border-radius: 8px;
    background: var(--accent-warm);
    color: var(--bg-dark);
    text-decoration: none;
    margin-top: var(--space-6);
    border: none;
    cursor: pointer;
    transition: opacity 0.15s ease;
}

.btn-hero:hover {
    opacity: 0.9;
}

/* Full-viewport hero for logged-out */
.hero-dark-fullvh {
    min-height: 100svh;
    padding-bottom: 0;
}

.hero-dark-layout {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100svh;
    padding-bottom: var(--space-9);
}

/* Dark stats row */
.stats-row-dark {
    border: none;
}

.stats-row-dark .stat-value,
.stats-row-dark .stat:nth-child(1) .stat-value,
.stats-row-dark .stat:nth-child(2) .stat-value,
.stats-row-dark .stat:nth-child(3) .stat-value {
    color: var(--text-inverse);
    font-size: 40px;
}

.stats-row-dark .stat-label {
    color: rgba(253, 252, 250, 0.5);
}

@media (max-width: 768px) {
    .hero-dark-fullvh {
        padding-bottom: 0;
    }
    .hero-dark-layout {
        padding-bottom: var(--space-7);
    }
    .hero-dark-content {
        padding-top: var(--space-8);
    }
    /* Stack stats vertically on mobile */
    .hero-dark-fullvh .stats-row-dark {
        flex-direction: column;
        gap: var(--space-5);
    }
    .stats-row-dark .stat-value,
    .stats-row-dark .stat:nth-child(1) .stat-value,
    .stats-row-dark .stat:nth-child(2) .stat-value,
    .stats-row-dark .stat:nth-child(3) .stat-value {
        font-size: 48px;
    }
}

/* Logged-in hero variant - different background image */
.hero-dark-loggedin::before {
    background:
        linear-gradient(to bottom, rgba(15, 18, 17, 0.7) 0%, rgba(15, 18, 17, 0.85) 100%),
        url('https://d3k7b35jgtixgb.cloudfront.net/0/1/k/01KEX4C8CK8PWA9Q8DCK3RHVWQ.png');
    background-size: cover;
    background-position: center 30%;
}

/* Section after dark hero - tighter top padding */
.section-after-hero {
    padding-top: var(--space-8);
}

/* --------------------------------------------------------------------------
   Section Headers - Editorial Style
   -------------------------------------------------------------------------- */
.section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: var(--space-7);
    gap: var(--space-4);
    flex-wrap: wrap;
}

.section-title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 400;
    font-style: italic;
    letter-spacing: -0.02em;
    text-transform: none;
    color: var(--text-primary);
}

.section-link {
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color var(--transition-base);
}

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

.section-link svg {
    width: 14px;
    height: 14px;
}

.section-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    text-align: left;
    margin-bottom: var(--space-4);
    display: block;
}

.section-label::before,
.section-label::after {
    display: none;
}

/* --------------------------------------------------------------------------
   Footer - Premium Editorial
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   Mega Footer - Full-width brand typography with overlaid links
   -------------------------------------------------------------------------- */
.mega-footer {
    background: var(--bg-dark);
    color: var(--text-inverse);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

/* Mega brand text - background layer, pushed to bottom */
.mega-brand-text {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: clamp(100px, 20vw, 360px);
    line-height: 1;
    letter-spacing: -0.02em;
    color: rgba(253, 252, 250, 0.06);
    white-space: nowrap;
    user-select: none;
    position: absolute;
    bottom: -0.15em;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}

/* Links - overlaid on top */
.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    position: relative;
    z-index: 1;
    padding: 48px var(--space-7);
    width: 100%;
    max-width: 1200px;
}

.footer-link-large {
    font-family: var(--font-display);
    font-size: clamp(24px, 3.5vw, 36px);
    font-weight: 400;
    font-style: italic;
    letter-spacing: -0.01em;
    line-height: 1.3;
    text-decoration: none;
    color: var(--text-inverse);
    transition: color var(--transition-base);
}

.footer-link-large:hover {
    color: var(--accent-warm);
}

@media (max-width: 768px) {
    .mega-footer {
        min-height: 160px;
    }

    .footer-links {
        padding: 32px 24px;
    }

    .footer-link-large {
        font-size: clamp(20px, 5vw, 28px);
    }

    .mega-brand-text {
        font-size: clamp(80px, 22vw, 200px);
    }
}

@media (max-width: 480px) {
    .mega-brand-text {
        font-size: 24vw;
    }
}

/* --------------------------------------------------------------------------
   Panels - Soft Containers
   -------------------------------------------------------------------------- */
.panel {
    background: var(--bg-surface);
    border: none;
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    box-shadow: var(--shadow-sm);
}

.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-5);
}

.panel-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
}

/* --------------------------------------------------------------------------
   Lists
   -------------------------------------------------------------------------- */
.list {
    display: flex;
    flex-direction: column;
}

.list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4) 0;
    border-bottom: 1px solid var(--border-subtle);
    gap: var(--space-4);
}

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

.list-item-content {
    flex: 1;
    min-width: 0;
}

.list-item-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

a.list-item-title {
    transition: opacity var(--transition-fast);
}

a.list-item-title:hover {
    opacity: 0.7;
}

.list-item-meta {
    font-size: 13px;
    color: var(--text-muted);
}

.list-item-toggle {
    cursor: pointer;
    transition: background var(--transition-fast);
    margin: 0 calc(var(--space-4) * -1);
    padding: var(--space-4);
    border-radius: var(--radius-md);
    border-bottom: none;
}

.list-item-toggle:hover {
    background: var(--bg-muted);
}

.list-item-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.list-item-disabled:hover {
    background: transparent;
}

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

.panel-footer {
    padding: var(--space-4);
    padding-top: var(--space-5);
}

/* --------------------------------------------------------------------------
   Empty States
   -------------------------------------------------------------------------- */
.empty-state {
    text-align: center;
    padding: var(--space-9) var(--space-5);
}

.empty-state-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-5);
    color: var(--action-primary-bg);
    opacity: 0.3;
}

.empty-state-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-2);
}

.empty-state-text {
    font-size: 14px;
    color: var(--text-muted);
    max-width: 320px;
    margin: 0 auto var(--space-5);
}

/* --------------------------------------------------------------------------
   Alerts / Messages
   -------------------------------------------------------------------------- */
.alert {
    padding: var(--space-4) var(--space-5);
    border-radius: var(--radius-lg);
    font-size: 14px;
    font-weight: 500;
}

.alert-success {
    background: var(--trend-up-bg);
    color: var(--trend-up-text);
}

.alert-error {
    background: var(--trend-down-bg);
    color: var(--trend-down-text);
}

.alert-info {
    background: var(--bg-elevated);
    color: var(--text-secondary);
}

.alert-warning {
    background: var(--bg-muted);
    color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   Loading States
   -------------------------------------------------------------------------- */
.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-7);
}

.spinner {
    width: 28px;
    height: 28px;
    border: 3px solid var(--bg-elevated);
    border-top-color: var(--action-primary-bg);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* HTMX Loading */
.htmx-request .htmx-indicator {
    opacity: 1;
}

.htmx-indicator {
    opacity: 0;
    transition: opacity 0.2s;
}

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */
/* Spacing */
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: var(--space-2); }
.mt-4 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-5); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }

.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: var(--space-2); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-5 { margin-bottom: var(--space-5); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }

.pt-0 { padding-top: 0; }
.pt-4 { padding-top: var(--space-4); }
.pt-6 { padding-top: var(--space-6); }

.pb-0 { padding-bottom: 0; }
.pb-4 { padding-bottom: var(--space-4); }
.pb-6 { padding-bottom: var(--space-6); }

.p-4 { padding: var(--space-4); }
.p-5 { padding: var(--space-5); }
.p-6 { padding: var(--space-6); }

/* Display */
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }

/* Width */
.w-full { width: 100%; }

/* Visibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* --------------------------------------------------------------------------
   Animations
   -------------------------------------------------------------------------- */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-fade-up {
    animation: fadeUp 0.8s ease-out backwards;
}

.animate-fade-in {
    animation: fadeIn 0.4s ease-out backwards;
}

/* Stagger delays */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* Reduced motion preference */
@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;
    }
}

/* --------------------------------------------------------------------------
   Scrollbar - Soft
   -------------------------------------------------------------------------- */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-default);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Card Grid
   -------------------------------------------------------------------------- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-5);
}

@media (max-width: 1024px) {
    .card-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .card-grid {
        grid-template-columns: 1fr;
    }
}

.card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.card-label {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--action-primary-bg);
    margin-bottom: var(--space-1);
}

.card-specs {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-top: var(--space-3);
}

.card-trend-pill {
    position: absolute;
    top: var(--space-3);
    right: var(--space-3);
}

.card-certs {
    position: absolute;
    bottom: var(--space-3);
    left: var(--space-3);
    display: flex;
    gap: var(--space-1);
}

.card-footer {
    padding: var(--space-3) var(--space-5);
    background: var(--bg-primary);
    border-top: 1px solid var(--border-subtle);
}

/* --------------------------------------------------------------------------
   Page Headers
   -------------------------------------------------------------------------- */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.page-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 6vw, 48px);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

.page-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    margin-top: var(--space-2);
}

.page-filters {
    display: flex;
    gap: var(--space-3);
    flex-wrap: wrap;
}

.section-subtitle {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: var(--space-5);
}

/* --------------------------------------------------------------------------
   Form Components
   -------------------------------------------------------------------------- */
.input,
.select {
    font-family: var(--font-sans);
    font-size: 15px;
    padding: var(--space-4) var(--space-5);
    background: var(--bg-surface);
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
    color: var(--text-primary);
    outline: none;
    transition: all var(--transition-smooth);
}

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

.input:focus,
.select:focus {
    border-color: var(--action-primary-bg);
    background: var(--bg-secondary);
    box-shadow: var(--shadow-input-focus);
}

.select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23888888' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right var(--space-5) center;
    padding-right: var(--space-9);
    min-width: 160px;
}

.input-group {
    position: relative;
    flex: 1;
}

.input-icon {
    position: absolute;
    left: var(--space-5);
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: var(--text-muted);
}

.input-group .input {
    padding-left: 48px;
}

.form-note {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 13px;
    color: var(--text-muted);
    margin-top: var(--space-4);
}

.form-note svg {
    width: 16px;
    height: 16px;
    color: var(--trend-up-text);
}

.form-centered {
    justify-content: center;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
    margin-bottom: var(--space-5);
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

.form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-4);
}

.form-hint {
    font-size: 13px;
    color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Button Variants
   -------------------------------------------------------------------------- */
.btn-full {
    width: 100%;
}

.btn-danger {
    color: var(--trend-down-text);
}

.btn-danger:hover {
    background: var(--trend-down-bg);
}

.btn-icon {
    width: 18px;
    height: 18px;
    margin-left: var(--space-1);
}

.btn svg {
    width: 16px;
    height: 16px;
}

/* --------------------------------------------------------------------------
   Hero Actions
   -------------------------------------------------------------------------- */
.hero-actions {
    display: flex;
    justify-content: center;
    gap: var(--space-3);
    margin-top: var(--space-6);
}

.hero-signup {
    max-width: 520px;
    margin: var(--space-6) auto 0;
    background: var(--bg-surface);
    padding: var(--space-2);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--action-primary-bg);
    border-radius: 50%;
}

/* --------------------------------------------------------------------------
   Features Grid
   -------------------------------------------------------------------------- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    text-align: center;
    box-shadow: none;
    transition: border-color var(--transition-base);
}

.feature-card:hover {
    transform: none;
    border-color: var(--border-default);
    box-shadow: none;
}

.feature-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto var(--space-4);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    color: var(--action-primary-bg);
}

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

.feature-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-2);
}

.feature-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Brand Tags
   -------------------------------------------------------------------------- */
.brand-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.brand-tag {
    font-size: 14px;
    font-weight: 500;
    padding: var(--space-3) var(--space-5);
    background: var(--bg-secondary);
    border-radius: var(--radius-pill);
    color: var(--text-secondary);
    transition: background var(--transition-base), color var(--transition-base);
}

.brand-tag:hover {
    background: var(--bg-muted);
    color: var(--text-primary);
    transform: none;
}

/* --------------------------------------------------------------------------
   CTA Section
   -------------------------------------------------------------------------- */
.cta-section {
    text-align: center;
    padding: var(--space-9) var(--space-5);
    background: linear-gradient(135deg, var(--accent-peach) 0%, var(--accent-pink) 100%);
    border-radius: var(--radius-lg);
    margin-top: var(--space-8);
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 5vw, 40px);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin-bottom: var(--space-3);
}

.cta-text {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: var(--space-6);
}

/* --------------------------------------------------------------------------
   Detail Pages
   -------------------------------------------------------------------------- */
.detail-page {
    max-width: 1000px;
    margin: 0 auto;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: var(--space-5);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-pill);
    transition: all var(--transition-smooth);
}

.back-link:hover {
    background: var(--bg-secondary);
    color: var(--action-primary-bg);
}

.back-link svg {
    width: 16px;
    height: 16px;
}

/* Breadcrumbs */
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 14px;
    font-weight: 500;
}

.breadcrumbs a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.breadcrumbs a:hover {
    color: var(--action-primary-bg);
}

.breadcrumb-sep {
    color: var(--text-muted);
}

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

.detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-7);
}

@media (max-width: 768px) {
    .detail-layout {
        grid-template-columns: 1fr;
    }
}

.detail-image {
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 1;
}

.detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-info {
    padding: var(--space-4) 0;
}

.detail-brand {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--action-primary-bg);
    margin-bottom: var(--space-2);
}

.detail-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 6vw, 44px);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin-bottom: var(--space-2);
}

.detail-meta {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: var(--space-6);
}

.detail-actions {
    margin-top: var(--space-6);
}

.related-section {
    margin-top: var(--space-9);
}

/* --------------------------------------------------------------------------
   Specs Grid (Detail Page)
   -------------------------------------------------------------------------- */
.specs-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    margin-bottom: var(--space-6);
}

.spec-item {
    background: var(--bg-primary);
    padding: var(--space-4);
    border-radius: var(--radius-md);
    min-width: 100px;
}

.spec-item .spec-label {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.spec-item .spec-value {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
}

/* --------------------------------------------------------------------------
   Certifications Section
   -------------------------------------------------------------------------- */
.certifications-section {
    margin-bottom: var(--space-6);
}

.cert-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.cert-item {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-4);
    background: var(--bg-primary);
    border-radius: var(--radius-md);
}

.cert-badge-lg {
    font-size: 12px;
    font-weight: 700;
    padding: var(--space-2) var(--space-4);
    background: var(--bg-surface);
    border-radius: var(--radius-pill);
    color: var(--action-primary-bg);
}

.cert-info {
    flex: 1;
}

.cert-name {
    font-weight: 600;
    color: var(--text-primary);
    display: block;
}

.cert-date {
    font-size: 13px;
    color: var(--text-muted);
}

.cert-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    font-size: 13px;
    color: var(--action-primary-bg);
    transition: opacity var(--transition-fast);
}

.cert-link:hover {
    opacity: 0.7;
}

/* --------------------------------------------------------------------------
   Videos Section
   -------------------------------------------------------------------------- */
.videos-section {
    margin-bottom: var(--space-6);
}

.video-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.video-card {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.video-embed {
    aspect-ratio: 16/9;
}

.video-embed iframe {
    width: 100%;
    height: 100%;
}

.video-info {
    padding: var(--space-4);
}

.video-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-1);
}

.video-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    font-size: 13px;
    color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Changelog
   -------------------------------------------------------------------------- */
.changelog-item .list-item-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.changelog-meta {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.changelog-detail {
    font-size: 13px;
    color: var(--text-muted);
}

.changelog-old {
    text-decoration: line-through;
}

.changelog-new {
    color: var(--accent);
}

/* Badge variants for changelog */
.badge-success { background: rgba(45, 106, 106, 0.1); color: var(--accent); }
.badge-info { background: var(--bg-muted); color: var(--text-secondary); }
.badge-danger { background: rgba(180, 80, 80, 0.1); color: #8B4444; }
.badge-warning { background: var(--bg-muted); color: var(--text-secondary); }

/* --------------------------------------------------------------------------
   Dashboard
   -------------------------------------------------------------------------- */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5);
    margin-bottom: var(--space-5);
}

@media (max-width: 768px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

.panel-content {
    /* Content follows panel-header which has margin-bottom */
}

.panel-text {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: var(--space-4);
}

.link {
    font-size: 14px;
    font-weight: 600;
    color: var(--action-primary-bg);
    transition: opacity var(--transition-fast);
}

.link:hover {
    opacity: 0.7;
}

.stats-inline {
    display: flex;
    gap: var(--space-6);
}

.stat-inline {
    display: flex;
    flex-direction: column;
}

.stat-value-lg {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 400;
    font-style: italic;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    line-height: 1;
}

@media (max-width: 480px) {
    .stats-inline {
        gap: var(--space-5);
    }
    .stat-value-lg {
        font-size: 28px;
    }
}

/* --------------------------------------------------------------------------
   Login Page
   -------------------------------------------------------------------------- */
.login-section {
    max-width: 480px;
    margin: 0 auto;
    padding: var(--space-9) var(--space-5);
}

.login-panel {
    background: var(--bg-surface);
    border: none;
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    box-shadow: var(--shadow-sm);
}

.login-header {
    text-align: center;
    margin-bottom: var(--space-6);
}

.login-title {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin-bottom: var(--space-2);
}

.login-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
}

.login-note {
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
    margin-top: var(--space-5);
}

.login-benefits {
    margin-top: var(--space-7);
    text-align: center;
}

.benefits-title {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: var(--space-4);
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.benefit-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    font-size: 14px;
    color: var(--text-secondary);
}

.benefit-item svg {
    color: var(--accent);
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

/* Magic Link Sent Success State */
.login-success {
    text-align: center;
    padding: var(--space-6) 0;
}

.login-success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: var(--accent-light);
    border-radius: 50%;
    margin-bottom: var(--space-5);
}

.login-success-icon svg {
    color: var(--accent);
}

.login-success-title {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-2);
}

.login-success-text {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: var(--space-2);
}

.login-success-text strong {
    color: var(--text-primary);
    font-weight: 500;
}

.login-success-hint {
    font-size: 14px;
    color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Settings Page
   -------------------------------------------------------------------------- */
.narrow {
    max-width: 700px;
    margin: 0 auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
    margin-bottom: var(--space-5);
}

@media (max-width: 480px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

.pricing-card {
    padding: var(--space-6);
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    text-align: center;
}

.pricing-card-featured {
    background: var(--bg-surface);
    border: 3px solid var(--action-primary-bg);
    position: relative;
    box-shadow: var(--shadow-md);
}

.pricing-badge {
    position: absolute;
    top: calc(var(--space-4) * -1);
    left: 50%;
    transform: translateX(-50%);
    font-size: 11px;
    font-weight: 700;
    padding: var(--space-2) var(--space-4);
    background: var(--action-primary-bg);
    color: white;
    border-radius: var(--radius-pill);
    white-space: nowrap;
}

.pricing-price {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 600;
    color: var(--text-primary);
}

.pricing-period {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-muted);
}

.pricing-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: var(--space-4);
}

.features-list {
    margin-top: var(--space-5);
}

.features-heading {
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: var(--space-3);
}

.feature-check {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: var(--space-2);
}

.feature-check svg {
    color: var(--trend-up-text);
    flex-shrink: 0;
}

.toggle-list {
    display: flex;
    flex-direction: column;
    margin-bottom: var(--space-5);
}

.toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: background var(--transition-fast);
}

.toggle-row:hover {
    background: var(--bg-primary);
}

.toggle-row.disabled {
    opacity: 0.5;
}

.toggle-content {
    flex: 1;
}

.toggle-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.toggle-desc {
    font-size: 13px;
    color: var(--text-muted);
}

.checkbox {
    width: 22px;
    height: 22px;
    accent-color: var(--action-primary-bg);
}

.info-list {
    display: flex;
    flex-direction: column;
}

.info-item {
    padding: var(--space-4);
    border-radius: var(--radius-md);
}

.info-item:nth-child(odd) {
    background: var(--bg-primary);
}

.info-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.info-value {
    color: var(--text-primary);
    font-weight: 500;
}

/* --------------------------------------------------------------------------
   Success States
   -------------------------------------------------------------------------- */
.signup-success {
    text-align: center;
    padding: var(--space-6);
}

.success-icon {
    width: 72px;
    height: 72px;
    background: var(--trend-up-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-4);
}

.success-icon svg {
    width: 36px;
    height: 36px;
    color: var(--trend-up-text);
}

.success-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-2);
}

.success-text {
    font-size: 14px;
    color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   Alert Link
   -------------------------------------------------------------------------- */
.alert-link {
    color: inherit;
    text-decoration: underline;
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   Sparkline
   -------------------------------------------------------------------------- */
.sparkline {
    width: 100%;
    height: 30px;
}

.sparkline-line {
    fill: none;
    stroke: var(--action-primary-bg);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.card-sparkline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4) var(--space-5);
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-subtle);
}

.card-sparkline .sparkline {
    width: 60%;
    max-width: 120px;
}

.card-sparkline .trend-pill {
    position: static;
}

.trend-card {
    transition: border-color var(--transition-base);
}

.trend-card:hover {
    border-color: var(--border-active);
}

.trend-card .card-content {
    padding: var(--space-4) var(--space-5);
}

.trend-card .card-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: -0.01em;
    margin-bottom: var(--space-1);
}

.stat-views {
    font-size: 13px;
    color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Empty States
   -------------------------------------------------------------------------- */
.empty-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-4);
    color: var(--action-primary-bg);
    opacity: 0.3;
}

.empty-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-2);
}

.empty-text {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: var(--space-5);
}

/* --------------------------------------------------------------------------
   Load More
   -------------------------------------------------------------------------- */
.load-more {
    grid-column: 1 / -1;
    padding: var(--space-6);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --------------------------------------------------------------------------
   Premium Card Grid (Homepage)
   -------------------------------------------------------------------------- */
.card-grid-premium {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-5);
}

@media (max-width: 1024px) {
    .card-grid-premium {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-4);
    }
}

@media (max-width: 768px) {
    .card-grid-premium {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-4);
    }
}

@media (max-width: 480px) {
    .card-grid-premium {
        grid-template-columns: 1fr;
        gap: var(--space-5);
    }
}

/* Premium Card - Editorial Style */
.card-premium {
    position: relative;
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: visible;
    transition: none;
    box-shadow: none;
}

.card-premium:hover {
    border-color: transparent;
    transform: none;
    box-shadow: none;
}

.card-premium:active {
    transform: none;
    box-shadow: none;
}

.card-premium-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.card-premium-image {
    position: relative;
    aspect-ratio: 4/5;
    background: var(--bg-muted);
    overflow: hidden;
    margin-bottom: var(--space-4);
}

.card-premium-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity var(--transition-smooth);
}

.card-premium:hover .card-premium-image img {
    opacity: 0.9;
    transform: none;
}

/* Status Badge - Refined Premium */
.card-badge {
    position: absolute;
    top: var(--space-3);
    left: var(--space-3);
    z-index: 3;
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--bg-primary);
    color: var(--text-secondary);
    border: none;
    border-radius: var(--radius-sm);
    box-shadow: none;
    transition: color var(--transition-base),
                background var(--transition-base),
                border-color var(--transition-base),
                box-shadow var(--transition-base);
}

.card-premium:hover .card-badge {
    transform: none;
}

/* "Just In" Badge - Premium warmth */
.card-badge-hot {
    color: var(--accent-warm);
    background: var(--bg-primary);
    border-bottom: 1.5px solid rgba(196, 165, 116, 0.4);
    animation: none;
}

.card-badge-hot::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    background: var(--accent-warm);
    border-radius: 50%;
    flex-shrink: 0;
    transition: box-shadow var(--transition-base);
}

.card-premium:hover .card-badge-hot {
    border-bottom-color: rgba(196, 165, 116, 0.6);
}

.card-premium:hover .card-badge-hot::before {
    box-shadow: 0 0 6px rgba(196, 165, 116, 0.5);
}

/* "New" Badge - Subtle refinement */
.card-badge-new {
    color: var(--text-secondary);
    background: var(--bg-primary);
    border: 1px solid var(--border-active);
    animation: none;
}

.card-premium:hover .card-badge-new {
    border-color: var(--text-tertiary);
}

/* Accessibility: Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .card-badge,
    .card-badge-hot,
    .card-badge-new,
    .card-badge-hot::before {
        transition: none !important;
    }
}

.card-premium-content {
    padding: 0;
    background: transparent;
    position: relative;
}

.card-premium-header {
    margin-bottom: 0;
}

.card-premium-brand {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    background: transparent;
    padding: 0;
    margin-bottom: 4px;
}

/* Remove alternating colors */
.card-premium:nth-child(3n+2) .card-premium-brand,
.card-premium:nth-child(3n+3) .card-premium-brand {
    color: var(--text-muted);
    background: transparent;
    box-shadow: none;
}

.card-premium-model {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 400;
    font-style: italic;
    letter-spacing: -0.01em;
    line-height: 1.3;
    color: var(--text-primary);
}

.card-premium-date {
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 400;
    color: var(--text-muted);
    margin-top: 6px;
    display: block;
}

.card-premium-date::before {
    display: none;
}

/* Premium Card Specs Grid */
.card-premium-specs {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.card-premium-specs-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    width: 100%;
}

.card-premium-spec {
    background: var(--bg-primary);
    padding: var(--space-3);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 70px;
}

.card-premium-spec-label {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.card-premium-spec-value {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
}

.card-premium-spec-value.empty {
    color: var(--text-muted);
    font-weight: 400;
}

/* Section Link - Minimal Style */
.section-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    transition: color var(--transition-base);
}

.section-link:hover {
    color: var(--text-primary);
    background: transparent;
    box-shadow: none;
    transform: none;
}

.section-link:active {
    box-shadow: none;
    transform: none;
}

.section-link svg {
    width: 14px;
    height: 14px;
    transition: none;
}

.section-link:hover svg {
    transform: none;
}

/* --------------------------------------------------------------------------
   Paddles Page - Minimal Selects & Spacing
   -------------------------------------------------------------------------- */
.paddles-header {
    margin-bottom: var(--space-8);
}

.select-brutalist {
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    padding: 10px 36px 10px 14px;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    cursor: pointer;
    box-shadow: none;
    transition: border-color var(--transition-base);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%238A8A8A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    min-width: 140px;
}

.select-brutalist:hover {
    background-color: var(--bg-surface);
    border-color: var(--border-default);
    box-shadow: none;
    transform: none;
}

.select-brutalist:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: var(--shadow-input-focus);
}

.select-brutalist:active {
    transform: none;
    box-shadow: none;
}

/* Card Footer - Date and Trend inline */
.card-premium-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    margin-top: var(--space-2);
}

.card-premium-footer .card-premium-date {
    margin-top: 0;
}

/* Inline Trend Badge - Meaningful Colors */
.card-trend-inline {
    font-family: var(--font-sans);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-sm);
}

.card-trend-inline.trend-up {
    color: var(--trend-up-text);
    background: var(--trend-up-bg);
}

.card-trend-inline.trend-down {
    color: var(--trend-down-text);
    background: var(--trend-down-bg);
}

/* --------------------------------------------------------------------------
   Brands Page - Simplified Clean Design
   -------------------------------------------------------------------------- */
.brands-header {
    margin-bottom: var(--space-6);
}

.brands-section {
    margin-bottom: var(--space-7);
}

.brands-section-label {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: var(--space-4);
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-3);
}

/* Empty State - Actionable */
.brands-empty-state {
    text-align: center;
    padding: var(--space-6);
    color: var(--text-muted);
}

.brands-empty-cta {
    margin-bottom: var(--space-5);
}

.brands-empty-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 var(--space-2);
}

.brands-empty-hint {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

/* Brands Section Header - Search & Show All */
.brands-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.brands-search-wrapper {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.brands-search {
    width: 220px;
}

.brands-search .input {
    padding-left: 36px;
}

.brands-search .input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

.brand-card.hidden {
    display: none;
}

.brands-no-results {
    display: none;
    text-align: center;
    padding: var(--space-6);
    color: var(--text-muted);
    font-size: 14px;
}

.brands-no-results.visible {
    display: block;
}

@media (max-width: 640px) {
    .brands-section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .brands-search-wrapper {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .brands-search {
        width: 100%;
    }
}

/* --------------------------------------------------------------------------
   Brand Card - Unified Simple Design
   -------------------------------------------------------------------------- */
.brand-card {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--bg-surface);
    border: 2px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition: all var(--transition-snap);
}

.brand-card:hover {
    border-color: var(--border-default);
    box-shadow: none;
    transform: none;
}

.brand-card-link {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    padding: var(--space-4) var(--space-5);
    text-decoration: none;
    color: inherit;
    min-width: 0;
}

.brand-card-main {
    min-width: 0;
}

.brand-card-name {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.brand-card-meta {
    font-size: 13px;
    color: var(--text-muted);
}

.brand-card-trend {
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 500;
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.brand-card-trend.trend-up {
    background: var(--trend-up-bg);
    color: var(--trend-up-text);
}

.brand-card-trend.trend-down {
    background: var(--trend-down-bg);
    color: var(--trend-down-text);
}

/* Follow/Unfollow Action Button */
.brand-card-action {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-right: var(--space-3);
    border-radius: var(--radius-sm);
    border: 2px solid var(--border-subtle);
    background: var(--bg-surface);
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--transition-snap);
    flex-shrink: 0;
}

.brand-card-action:hover {
    background: var(--bg-ink);
    border-color: var(--bg-ink);
    color: var(--text-inverse);
}

/* Following state - shows checkmark */
.brand-card-action-following {
    background: var(--accent-volt);
    border-color: var(--bg-ink);
    color: var(--bg-ink);
}

.brand-card-action-following:hover {
    background: var(--trend-down-bg);
    border-color: var(--trend-down-bg);
    color: var(--trend-down-text);
}

/* --------------------------------------------------------------------------
   Your Brands Section - Premium Featured Treatment
   The brands you follow deserve special recognition
   -------------------------------------------------------------------------- */
.your-brands-section {
    margin-bottom: var(--space-9);
    padding-bottom: var(--space-8);
    border-bottom: 1px solid var(--border-subtle);
}

.your-brands-header {
    display: flex;
    align-items: baseline;
    gap: var(--space-3);
    margin-bottom: var(--space-6);
}

.your-brands-label {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 400;
    font-style: italic;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.your-brands-count {
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    background: var(--bg-muted);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-pill);
}

.your-brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--space-4);
}

.your-brand-card {
    position: relative;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    animation: brandCardReveal 0.5s ease-out backwards;
}

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

.your-brand-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.your-brand-card:hover::before {
    opacity: 1;
}

.your-brand-card:hover {
    border-color: var(--border-active);
    box-shadow: var(--shadow-md);
}

.your-brand-card-link {
    display: flex;
    flex-direction: column;
    padding: var(--space-6);
    text-decoration: none;
    color: inherit;
    min-height: 140px;
}

.your-brand-card-content {
    flex: 1;
}

.your-brand-card-name {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 400;
    color: var(--text-primary);
    margin: 0 0 var(--space-4) 0;
    letter-spacing: -0.01em;
    line-height: 1.1;
}

.your-brand-card-stats {
    display: flex;
    gap: var(--space-6);
}

.your-brand-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.your-brand-stat-value {
    font-family: var(--font-display);
    font-size: 24px;
    font-style: italic;
    color: var(--text-primary);
    line-height: 1;
}

.your-brand-stat-label {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.your-brand-trend {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 500;
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-sm);
}

.your-brand-trend.trend-up {
    background: rgba(45, 106, 106, 0.1);
    color: var(--accent);
}

.your-brand-trend.trend-down {
    background: var(--bg-muted);
    color: var(--text-muted);
}

.your-brand-action {
    position: absolute;
    bottom: var(--space-4);
    right: var(--space-4);
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-subtle);
    background: var(--bg-surface);
    color: var(--text-muted);
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-snap);
}

.your-brand-action:hover {
    background: rgba(200, 80, 80, 0.08);
    border-color: rgba(200, 80, 80, 0.2);
    color: #c85050;
}

.your-brand-action svg {
    color: var(--accent);
}

.your-brand-action:hover svg {
    color: #c85050;
}

@media (max-width: 600px) {
    .your-brands-label {
        font-size: 24px;
    }

    .your-brands-grid {
        grid-template-columns: 1fr;
    }

    .your-brand-card-name {
        font-size: 22px;
    }

    .your-brand-stat-value {
        font-size: 20px;
    }
}

/* --------------------------------------------------------------------------
   Fade Animations
   -------------------------------------------------------------------------- */
.fade-up {
    animation: fadeUp 0.8s ease-out backwards;
}

/* --------------------------------------------------------------------------
   Paddle Detail Page - Premium Editorial Design
   -------------------------------------------------------------------------- */
.detail-page-brutalist {
    max-width: 1100px;
    margin: 0 auto;
    padding: var(--space-7) 0 var(--space-10);
}

/* Header Row - Breadcrumbs + Follow Button */
.detail-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
    flex-wrap: wrap;
}

.detail-header-left {
    flex: 1;
    min-width: 0;
}

.detail-header-right {
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .detail-header-row {
        flex-direction: row;
        align-items: center;
    }

    .detail-header-desktop {
        display: none;
    }
}

/* Brand row with inline follow button */
.detail-brand-row {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-3);
}

.detail-brand-row .detail-brand-brutalist {
    margin-bottom: 0;
    text-decoration: none;
}

.detail-brand-row .detail-brand-brutalist:hover {
    color: var(--text-primary);
}

.detail-actions-inline {
    display: none;
    align-items: center;
    gap: var(--space-2);
}

.detail-actions-inline .btn-sm {
    font-size: 11px;
    padding: 4px 10px;
    letter-spacing: 0.05em;
}

.detail-actions-inline .follow-inline-active {
    color: var(--accent);
}

.detail-actions-inline .main-inline-active {
    color: var(--accent);
}

@media (max-width: 600px) {
    .detail-actions-inline {
        display: flex;
    }
}

/* Back Link - Minimal Style */
.back-link-brutalist {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0;
    background: transparent;
    border-radius: 0;
    margin-bottom: var(--space-6);
    border: none;
    transition: color var(--transition-base);
}

.back-link-brutalist:hover {
    color: var(--text-primary);
    border-color: transparent;
    box-shadow: none;
    transform: none;
}

.back-link-brutalist:active {
    transform: none;
    box-shadow: none;
}

.back-link-brutalist svg {
    width: 16px;
    height: 16px;
    transition: none;
}

.back-link-brutalist:hover svg {
    transform: none;
}

/* Main Detail Card - Clean Editorial Container */
.detail-card-brutalist {
    background: transparent;
    border-radius: 0;
    overflow: visible;
    border: none;
    box-shadow: none;
}

.detail-layout-brutalist {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: var(--space-8);
    align-items: start;
}

@media (max-width: 900px) {
    .detail-layout-brutalist {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }
}

/* Image Section - Editorial Presentation */
.detail-image-brutalist {
    position: relative;
    background: var(--bg-muted);
    overflow: hidden;
    aspect-ratio: 4/5;
}

.detail-image-brutalist img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity var(--transition-smooth);
}

.detail-card-brutalist:hover .detail-image-brutalist img {
    opacity: 0.95;
    transform: none;
}

/* Remove accent stripe */
.detail-image-brutalist::before {
    display: none;
}

/* Info Section */
.detail-info-brutalist {
    padding: var(--space-4) 0;
    display: flex;
    flex-direction: column;
    background: transparent;
}

@media (max-width: 900px) {
    .detail-info-brutalist {
        padding: 0;
    }
}

/* Brand Label - Editorial */
.detail-brand-brutalist {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    background: transparent;
    padding: 0;
    margin-bottom: var(--space-3);
    width: auto;
}

/* Title - Editorial Serif */
.detail-title-brutalist {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 400;
    font-style: italic;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: var(--space-3);
}

/* Meta Date - Simple */
.detail-meta-brutalist {
    display: block;
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 400;
    color: var(--text-muted);
    margin-bottom: var(--space-7);
    padding-bottom: var(--space-7);
    border-bottom: 1px solid var(--border-subtle);
}

.meta-dot {
    display: none;
}

/* Specs Grid - Editorial */
.specs-grid-brutalist {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
    margin-bottom: var(--space-7);
    padding-bottom: var(--space-7);
    border-bottom: 1px solid var(--border-subtle);
}

@media (max-width: 600px) {
    .specs-grid-brutalist {
        grid-template-columns: repeat(2, 1fr);
    }
}

.spec-item-brutalist {
    background: transparent;
    padding: 0;
    border-radius: 0;
    min-width: auto;
    flex: none;
    border: none;
    transition: none;
}

.spec-item-brutalist:hover {
    border-color: transparent;
    transform: none;
}

/* All specs same style */
.spec-item-brutalist:nth-child(3n+2),
.spec-item-brutalist:nth-child(3n+3) {
    background: transparent;
    box-shadow: none;
}

.spec-item-brutalist:nth-child(3n+2):hover,
.spec-item-brutalist:nth-child(3n+3):hover {
    box-shadow: none;
}

/* Remove special spin highlighting */
.spec-item-spin {
    background: transparent !important;
    border: none !important;
}

.spec-item-spin:hover {
    box-shadow: none !important;
}

.spec-item-spin .spec-value-brutalist {
    color: var(--text-primary);
}

.spec-item-spin .spec-label-brutalist {
    color: var(--text-muted);
    opacity: 1;
}

.spec-label-brutalist {
    display: block;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.spec-value-brutalist {
    display: block;
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 400;
    font-style: italic;
    color: var(--text-primary);
}

/* Certifications Section - Minimal */
.certifications-section-brutalist {
    margin-bottom: 40px;
}

.section-label-brutalist {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 400;
    font-style: italic;
    letter-spacing: -0.01em;
    text-transform: none;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.cert-list-brutalist {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cert-item-brutalist {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    background: transparent;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid var(--border-subtle);
    transition: none;
}

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

.cert-item-brutalist:hover {
    border-color: var(--border-subtle);
    transform: none;
}

.cert-item-brutalist:focus-within {
    border-color: transparent;
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.cert-badge-brutalist {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 400;
    font-style: italic;
    letter-spacing: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: var(--text-primary);
    border: none;
    min-width: 48px;
}

/* All cert badges same neutral style */
.cert-badge-brutalist.cert-usap,
.cert-badge-brutalist.cert-upaa {
    background: transparent;
    color: var(--text-primary);
    border: none;
}

.cert-info-brutalist {
    flex: 1;
    min-width: 0;
}

.cert-name-brutalist {
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    display: block;
    margin-bottom: 2px;
}

.cert-date-brutalist {
    font-size: 13px;
    color: var(--text-muted);
}

.badge-brutalist {
    display: inline-block;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-sm);
    margin-top: var(--space-1);
}

.badge-warning-brutalist {
    background: var(--bg-muted);
    color: var(--text-secondary);
    border: 1px solid var(--border-light);
}

.cert-link-brutalist {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    color: var(--accent);
    text-decoration: none;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    transition: color var(--transition-base);
}

.cert-link-brutalist:hover {
    color: var(--accent-hover);
    box-shadow: none;
    transform: none;
}

.cert-link-brutalist:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Videos Section - Bold Clean Style */
.videos-section-brutalist {
    margin-bottom: var(--space-6);
}

.video-list-brutalist {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.video-card-brutalist {
    background: transparent;
    border-radius: 0;
    overflow: hidden;
    border: none;
    transition: none;
}

.video-card-brutalist:hover {
    border-color: transparent;
    box-shadow: none;
    transform: none;
}

.video-card-brutalist:focus-within {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}

.video-embed-brutalist {
    aspect-ratio: 16/9;
    background: var(--bg-ink);
}

.video-embed-brutalist iframe {
    width: 100%;
    height: 100%;
}

.video-info-brutalist {
    padding: var(--space-4) 0;
}

.video-title-brutalist {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 400;
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: var(--space-2);
    line-height: 1.3;
}

.video-meta-brutalist {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    font-size: 13px;
    color: var(--text-muted);
}

.video-meta-brutalist > span:not(:last-child)::after {
    content: "·";
    margin: 0 8px;
    color: var(--text-muted);
    opacity: 0.5;
}

.video-channel-brutalist {
    font-weight: 400;
    color: var(--text-secondary);
}

.video-views-brutalist,
.video-duration-brutalist {
    display: inline;
    font-weight: 400;
}

.video-duration-brutalist {
    font-feature-settings: "tnum";
}

/* Standalone Videos Card - Below Main Detail Card */
.videos-card-brutalist {
    margin-top: var(--space-8);
    padding-top: var(--space-8);
    background: transparent;
    border-radius: 0;
    padding-left: 0;
    padding-right: 0;
    border: none;
    border-top: 1px solid var(--border-subtle);
    box-shadow: none;
}

.videos-card-header {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-6);
    padding-bottom: 0;
    border-bottom: none;
}

.videos-icon {
    display: none;
}

.videos-card-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 400;
    font-style: italic;
    color: var(--text-primary);
    margin: 0;
    flex: 1;
}

.videos-count {
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0;
    color: var(--text-muted);
    background: transparent;
    padding: 0;
    border-radius: 0;
}

/* Videos Grid - Responsive Layout */
.videos-grid-brutalist {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-4);
}

@media (max-width: 700px) {
    .videos-grid-brutalist {
        grid-template-columns: 1fr;
    }

    .videos-card-brutalist {
        padding-top: var(--space-6);
        margin-top: var(--space-6);
    }

    .videos-card-title {
        font-size: 18px;
    }
}

/* Detail Actions - CTA Button Area */
.detail-actions-brutalist {
    margin-top: auto;
    padding-top: var(--space-6);
}

.detail-actions-brutalist .btn-lg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-6);
    font-size: 14px;
    font-weight: 500;
    text-transform: none;
}

.detail-actions-brutalist .btn-icon {
    width: 18px;
    height: 18px;
}

/* Related Section - Editorial Style */
.related-section-brutalist {
    margin-top: var(--space-8);
    padding-top: var(--space-8);
    border-top: 1px solid var(--border-subtle);
}

.section-header-brutalist {
    margin-bottom: var(--space-6);
}

.section-title-brutalist {
    font-family: var(--font-display);
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 400;
    font-style: italic;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    display: block;
}

.section-title-brutalist::before {
    display: none;
}

/* Related Grid - Smaller Cards */
.related-grid {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
    .related-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-3);
    }

    .related-grid .card-premium-image {
        aspect-ratio: 1/1;
        margin-bottom: var(--space-2);
    }

    .related-grid .card-premium-content {
        padding: 0;
    }

    .related-grid .card-premium-brand {
        font-size: 9px;
        margin-bottom: 2px;
    }

    .related-grid .card-premium-model {
        font-size: 13px;
        line-height: 1.3;
    }
}

/* --------------------------------------------------------------------------
   Vibe Check Section
   -------------------------------------------------------------------------- */
.vibe-check-section {
    margin-top: var(--space-8);
    padding-top: var(--space-8);
    border-top: 1px solid var(--border-subtle);
}

.vibe-check {
    max-width: 640px;
}

.vibe-check-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 400;
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: var(--space-2);
}

.vibe-check-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: var(--space-5);
}

/* Consensus Display - When >5 votes */
.vibe-consensus {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
    margin-bottom: var(--space-5);
}

.vibe-consensus-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    display: block;
    margin-bottom: var(--space-3);
}

.vibe-consensus-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
}

.vibe-consensus-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.vibe-consensus-icon {
    width: 20px;
    height: 20px;
    color: var(--accent);
    flex-shrink: 0;
}

.vibe-consensus-icon svg {
    width: 100%;
    height: 100%;
}

.vibe-consensus-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.vibe-consensus-count {
    font-size: 12px;
    color: var(--text-muted);
    background: var(--bg-muted);
    padding: 2px 8px;
    border-radius: var(--radius-pill);
}

/* Voting Grid */
.vibe-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

@media (max-width: 768px) {
    .vibe-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .vibe-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Vibe Button */
.vibe-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-2);
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition:
        background-color 0.2s cubic-bezier(0.25, 1, 0.5, 1),
        border-color 0.2s cubic-bezier(0.25, 1, 0.5, 1),
        transform 0.15s cubic-bezier(0.25, 1, 0.5, 1),
        box-shadow 0.2s cubic-bezier(0.25, 1, 0.5, 1);
    min-height: 72px;
    position: relative;
}

.vibe-btn:hover {
    border-color: var(--accent);
    background: var(--accent-light);
}

.vibe-btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Active/click state - subtle press feedback */
.vibe-btn:active {
    transform: scale(0.97);
}

/* Selected State */
.vibe-btn-selected {
    background: var(--accent-light);
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(45, 106, 106, 0.12);
}

.vibe-btn-selected:hover {
    background: rgba(45, 106, 106, 0.15);
}

.vibe-btn-icon {
    width: 24px;
    height: 24px;
    color: var(--text-secondary);
    transition:
        color 0.2s cubic-bezier(0.25, 1, 0.5, 1),
        transform 0.25s cubic-bezier(0.25, 1, 0.5, 1);
    flex-shrink: 0;
}

.vibe-btn-icon svg {
    width: 100%;
    height: 100%;
}

.vibe-btn-selected .vibe-btn-icon {
    color: var(--accent);
    transform: scale(1.15);
}

.vibe-btn:hover .vibe-btn-icon {
    color: var(--accent);
}

.vibe-btn-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.2s cubic-bezier(0.25, 1, 0.5, 1);
    text-align: center;
    line-height: 1.2;
}

.vibe-btn-selected .vibe-btn-label {
    color: var(--accent);
    font-weight: 600;
}

.vibe-btn:hover .vibe-btn-label {
    color: var(--accent);
}

/* Selection Counter */
.vibe-selection-count {
    font-size: 13px;
    color: var(--text-muted);
}

/* HTMX Loading State */
.vibe-btn.htmx-request {
    opacity: 0.6;
    pointer-events: none;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .vibe-btn,
    .vibe-btn-icon {
        transition: none;
    }
    .vibe-btn:active {
        transform: none;
    }
    .vibe-btn-selected .vibe-btn-icon {
        transform: none;
    }
}

/* --------------------------------------------------------------------------
   Toast Notifications
   -------------------------------------------------------------------------- */
.toast-container {
    position: fixed;
    bottom: var(--space-5);
    right: var(--space-5);
    z-index: var(--z-toast);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    pointer-events: none;
}

.toast {
    background: var(--bg-dark);
    color: var(--text-inverse);
    padding: var(--space-3) var(--space-5);
    border-radius: var(--radius-lg);
    font-size: 14px;
    font-weight: 500;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transform: translateY(10px);
    transition: all var(--transition-base);
    max-width: 320px;
    pointer-events: auto;
}

.toast-visible {
    opacity: 1;
    transform: translateY(0);
}

.toast-success {
    background: var(--accent);
}

.toast-error {
    background: #c53030;
}

.toast-warning {
    background: #b7791f;
}

@media (max-width: 480px) {
    .toast-container {
        left: var(--space-4);
        right: var(--space-4);
        bottom: var(--space-4);
    }

    .toast {
        max-width: none;
    }
}

/* --------------------------------------------------------------------------
   Main Paddle Feature
   -------------------------------------------------------------------------- */

/* Header actions container */
.header-actions {
    display: flex;
    gap: var(--space-3);
    align-items: center;
}

/* Active main button state */
.btn-main-active {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-main-active:hover {
    background: var(--accent-light);
    border-color: var(--accent);
    color: var(--accent);
}

.btn-main-active svg {
    fill: var(--accent);
}

/* Main paddle display in settings */
.main-paddle-display {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-4);
}

.main-paddle-image {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-secondary);
}

.main-paddle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-paddle-image .card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-paddle-image .card-placeholder svg {
    width: 24px;
    height: 24px;
    color: var(--text-muted);
}

.main-paddle-info {
    flex: 1;
    min-width: 0;
}

.main-paddle-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--text-primary);
}

.main-paddle-link:hover .main-paddle-model {
    color: var(--accent);
}

.main-paddle-brand {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.main-paddle-model {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
}

.main-paddle-meta {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: var(--space-1);
}

/* Paddle history timeline */
.paddle-timeline {
    position: relative;
    padding-left: var(--space-6);
}

.paddle-timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-default);
}

.timeline-item {
    position: relative;
    padding-bottom: var(--space-5);
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: calc(-1 * var(--space-6) + 0px);
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
}

.timeline-marker svg {
    color: var(--accent);
}

.timeline-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-default);
}

.timeline-item-current .timeline-dot {
    background: var(--accent);
}

.timeline-content {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.timeline-item-current .timeline-content {
    border-color: var(--accent);
}

.timeline-paddle {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-4);
}

.timeline-paddle-image {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-secondary);
}

.timeline-paddle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.timeline-paddle-image .card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-paddle-image .card-placeholder svg {
    width: 20px;
    height: 20px;
    color: var(--text-muted);
}

.timeline-paddle-info {
    flex: 1;
    min-width: 0;
}

.timeline-paddle-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--text-primary);
}

.timeline-paddle-link:hover .timeline-paddle-model {
    color: var(--accent);
}

.timeline-paddle-brand {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.timeline-paddle-model {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
}

.timeline-dates {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-top: var(--space-1);
    font-size: 13px;
    color: var(--text-muted);
}

.timeline-date-separator {
    color: var(--text-muted);
}

@media (max-width: 480px) {
    .header-actions {
        flex-direction: column;
        gap: var(--space-2);
    }

    .main-paddle-display {
        flex-wrap: wrap;
    }

    .main-paddle-display .btn {
        width: 100%;
        margin-top: var(--space-2);
    }

    .paddle-timeline {
        padding-left: var(--space-5);
    }

    .timeline-marker {
        left: calc(-1 * var(--space-5) + 0px);
    }

    .timeline-paddle {
        flex-wrap: wrap;
    }
}

/* --------------------------------------------------------------------------
   Affiliate Card - Inline variant for paddle detail
   -------------------------------------------------------------------------- */
.affiliate-inline {
    margin-top: var(--space-5);
    padding-top: var(--space-5);
    border-top: 1px solid var(--border-subtle);
}

.affiliate-inline-row {
    display: flex;
    align-items: flex-end;
    gap: var(--space-4);
}

.affiliate-inline-code {
    flex: 1;
    min-width: 0;
}

.affiliate-inline-label {
    display: block;
    font-size: 11px;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--space-2);
}

.affiliate-inline-code-box {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    background: var(--bg-muted);
    border-radius: var(--radius-md);
    padding: var(--space-2) var(--space-3);
}

.affiliate-inline-code-box code {
    font-family: var(--font-mono);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.02em;
    flex: 1;
}

.affiliate-copy-btn-inline {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-1) var(--space-2);
    background: transparent;
    border: 1px solid var(--border-default);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-size: 0.75rem;
    cursor: pointer;
    transition: background 150ms ease, color 150ms ease, border-color 150ms ease;
    white-space: nowrap;
}

.affiliate-copy-btn-inline:hover {
    background: var(--bg-surface);
    color: var(--text-primary);
    border-color: var(--border-active);
}

.affiliate-copy-btn-inline.copied {
    border-color: var(--accent);
    color: var(--accent);
}

.affiliate-copy-btn-inline svg {
    flex-shrink: 0;
}

.affiliate-shop-btn-inline {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-5);
    background: var(--action-primary-bg);
    color: var(--action-primary-text);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 150ms ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.affiliate-shop-btn-inline:hover {
    background: var(--action-primary-hover);
}

.affiliate-inline-disclaimer {
    margin-top: var(--space-3);
    font-size: 11px;
    color: var(--text-muted);
}

/* Responsive: Stack on mobile */
@media (max-width: 480px) {
    .affiliate-inline-row {
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-3);
    }

    .affiliate-shop-btn-inline {
        justify-content: center;
    }
}

/* Affiliate Teaser - For logged-out users */
.affiliate-teaser {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
}

.affiliate-teaser-content {
    flex: 1;
    min-width: 0;
}

.affiliate-teaser-label {
    display: block;
    font-size: 11px;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-1);
}

.affiliate-teaser-text {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

@media (max-width: 480px) {
    .affiliate-teaser {
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-3);
    }
}

/* Vibe Check Teaser - For logged-out users */
.vibe-btn-disabled {
    opacity: 0.5;
    cursor: default;
    pointer-events: none;
}

.vibe-check-cta {
    margin-top: var(--space-4);
}

/* --------------------------------------------------------------------------
   Print
   -------------------------------------------------------------------------- */
@media print {
    body::before,
    body::after,
    .header,
    .mega-footer,
    .btn {
        display: none !important;
    }
    body {
        background: white;
        color: black;
    }
}
