/* ========================================
   PRODUCT VAULT V2 - THEME SYSTEM
   ======================================== */

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

html {
    height: 100%;
    overflow: hidden; /* Prevent html from scrolling - only body scrolls */
}

body {
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto; /* Body is the only scrollable element */
    max-width: 100vw;
    padding-top: 70px; /* Space for fixed header */
}

/* ========== DARK MODE (Default) ========== */
:root {
    /* Typography */
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Backgrounds */
    --bg: #030303;
    --bg-card: #0a0a0a;
    --bg-elevated: #111111;
    --bg-surface: #0a0a0a;
    --bg-header: rgba(3, 3, 3, 0.85);
    --bg-input: #0a0a0a;

    /* Borders */
    --border: #1f1f1f;
    --border-hover: #2a2a2a;
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-input: rgba(255, 255, 255, 0.1);

    /* Text */
    --text: #fafafa;
    --text-secondary: #d4d4d8;
    --text-muted: #a1a1aa;
    --text-subtle: #71717a;

    /* Accent */
    --accent: #ccff00;
    --accent-hover: #b3e600;
    --accent-dim: rgba(204, 255, 0, 0.1);
    --accent-glow: rgba(204, 255, 0, 0.2);

    /* Tier Colors */
    --creator-color: #71717a;
    --partner-color: #3b82f6;
    --elite-color: #f59e0b;

    /* Status */
    --success: #22c55e;
    --success-bg: rgba(34, 197, 94, 0.1);
    --error: #ef4444;
    --error-bg: rgba(239, 68, 68, 0.1);
    --warning: #f59e0b;
    --warning-bg: rgba(245, 158, 11, 0.1);

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.5);
    --shadow-card: 0 0 0 1px rgba(0,0,0,1), 0 20px 40px -10px rgba(0,0,0,0.6);
    --shadow-primary: 0 0 40px -10px rgba(204, 255, 0, 0.15);

    /* Welcome Screen */
    --bg-card-hover: #111111;
    --border-highlight: rgba(255, 255, 255, 0.2);
    --accent-badge-bg: rgba(204, 255, 0, 0.1);
    --accent-badge-text: #ccff00;

    /* Toggle */
    --toggle-track: #1a1a1a;
    --toggle-thumb: #333333;
    --toggle-icon-active: #ffffff;
    --toggle-icon-inactive: #525252;
    --toggle-border: rgba(255, 255, 255, 0.1);

    /* Armed State */
    --bg-sidebar: #050505;
    --bg-page: #030303;
    --banner-bg: linear-gradient(135deg, #0f172a 0%, #020617 100%);
    --banner-border: rgba(203, 255, 0, 0.3);

    /* Misc */
    --radius: 12px;
    --radius-sm: 8px;
    --theme-transition: 0.3s ease;
}

/* ========== LIGHT MODE ========== */
[data-theme="light"] {
    /* Backgrounds */
    --bg: #f4f4f5;
    --bg-card: #ffffff;
    --bg-elevated: #ffffff;
    --bg-surface: #ffffff;
    --bg-header: rgba(255, 255, 255, 0.9);
    --bg-input: #ffffff;

    /* Borders */
    --border: #e4e4e7;
    --border-hover: #d4d4d8;
    --border-subtle: rgba(0, 0, 0, 0.08);
    --border-input: rgba(0, 0, 0, 0.15);

    /* Text */
    --text: #18181b;
    --text-secondary: #3f3f46;
    --text-muted: #71717a;
    --text-subtle: #a1a1aa;

    /* Accent - Darker for light mode contrast */
    --accent: #84cc16;
    --accent-hover: #65a30d;
    --accent-dim: rgba(132, 204, 22, 0.15);
    --accent-glow: rgba(132, 204, 22, 0.2);

    /* Status */
    --success: #16a34a;
    --success-bg: rgba(22, 163, 74, 0.1);
    --error: #dc2626;
    --error-bg: rgba(220, 38, 38, 0.1);
    --warning: #d97706;
    --warning-bg: rgba(217, 119, 6, 0.1);

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-primary: 0 10px 30px -5px rgba(101, 163, 13, 0.15);

    /* Welcome Screen */
    --bg-card-hover: #f9fafb;
    --border-highlight: rgba(0, 0, 0, 0.15);
    --accent-badge-bg: rgba(101, 163, 13, 0.1);
    --accent-badge-text: #4d7c0f;

    /* Toggle */
    --toggle-track: #e4e4e7;
    --toggle-thumb: #ffffff;
    --toggle-icon-active: #18181b;
    --toggle-icon-inactive: #a1a1aa;
    --toggle-border: rgba(0, 0, 0, 0.08);

    /* Armed State */
    --bg-sidebar: #ffffff;
    --bg-page: #f4f4f5;
    --banner-bg: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    --banner-border: rgba(101, 163, 13, 0.3);
}

/* ========================================
   TYPOGRAPHY - GLOBAL FONT SYSTEM
   ======================================== */

body {
    font-family: var(--font-body);
    font-size: 16px;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Display/heading font utility class */
.font-grotesk,
.font-display {
    font-family: var(--font-display);
}

/* Apply Space Grotesk to all headings */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

/* Specific heading sizes */
h1 { font-size: 2.5rem; }
h2 { font-size: 1.875rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.875rem; }

/* Display numbers (countdown timers, stats, etc.) */
.font-tabular,
.stat-number,
.countdown-time {
    font-family: var(--font-display);
    font-variant-numeric: tabular-nums;
}

/* Monospace for code/links */
.font-mono,
code,
pre,
.affiliate-link {
    font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace;
}

/* Button text */
button,
.btn,
[class*="btn-"] {
    font-family: var(--font-body);
    font-weight: 600;
}

/* Input text */
input,
textarea,
select {
    font-family: var(--font-body);
}

/* Small/label text */
label,
.label,
.badge,
.pill {
    font-family: var(--font-body);
    font-weight: 500;
}

/* ========================================
   LOADING STATE
   ======================================== */
.loading-overlay {
    position: fixed;
    inset: 0;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.loading-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    animation: fadeInUp 0.6s ease-out;
}

.loading-logo-dot {
    width: 16px;
    height: 16px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.loading-logo-text {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 0;
}

.loading-spinner-ring {
    position: relative;
    width: 56px;
    height: 56px;
    animation: fadeIn 0.4s ease-out 0.2s both;
}

.spinner-track {
    position: absolute;
    inset: 0;
    border: 3px solid var(--border);
    border-radius: 50%;
}

.spinner-fill {
    position: absolute;
    inset: 0;
    border: 3px solid transparent;
    border-top-color: var(--accent);
    border-right-color: var(--accent);
    border-radius: 50%;
    animation: spin 1s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

.loading-message {
    font-size: 0.95rem;
    color: var(--text-secondary);
    animation: fadeIn 0.4s ease-out 0.4s both;
}

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(204, 255, 0, 0.4);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 20px 4px rgba(204, 255, 0, 0.2);
    }
}

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

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

/* Legacy spinner for other uses */
.loading-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* ========================================
   DASHBOARD LAYOUT
   ======================================== */
.dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0 32px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 32px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-dot {
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-radius: 50%;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
    color: var(--text);
    letter-spacing: 0;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-tier {
    padding: 4px 10px;
    background: var(--creator-color);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 4px;
    letter-spacing: 0.05em;
}

.user-tier.partner {
    background: var(--partner-color);
}

.user-tier.elite {
    background: var(--elite-color);
    color: #000;
}

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

.btn-logout {
    padding: 8px 16px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}

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

/* ========================================
   PREMIUM THEME TOGGLE - PILL DESIGN
   ======================================== */

.theme-switch {
    position: relative;
    width: 72px;
    height: 36px;
    background-color: var(--toggle-track);
    border: 1px solid var(--toggle-border);
    border-radius: 99px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
    outline: none;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: border-color 0.2s ease, background-color 0.4s ease;
}

/* The sliding puck */
.theme-switch::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 4px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: var(--toggle-thumb);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: left 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                background-color 0.4s ease;
    z-index: 1;
}

/* Move puck to right in light mode */
[data-theme="light"] .theme-switch::after {
    left: 40px;
}

/* Icons container */
.theme-switch-icons {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    z-index: 2;
    pointer-events: none;
}

/* Icons */
.theme-switch .switch-icon {
    width: 16px;
    height: 16px;
    transition: color 0.3s ease, opacity 0.3s ease;
    flex-shrink: 0;
}

.theme-switch .switch-icon.moon {
    color: var(--text);
    opacity: 1;
}

.theme-switch .switch-icon.sun {
    color: var(--toggle-icon-inactive);
    opacity: 0.5;
}

/* Swap icon states in light mode */
[data-theme="light"] .theme-switch .switch-icon.moon {
    color: var(--toggle-icon-inactive);
    opacity: 0.5;
}

[data-theme="light"] .theme-switch .switch-icon.sun {
    color: var(--text);
    opacity: 1;
}

/* Hover state */
.theme-switch:hover {
    border-color: var(--border-highlight);
}

/* Focus state for accessibility */
.theme-switch:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Light mode track colors */
[data-theme="light"] .theme-switch {
    background-color: #e5e7eb;
    border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .theme-switch::after {
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

/* Theme Transition - Apply to elements that change with theme */
body,
.dashboard-header,
.btn-logout,
.user-info,
.state-container,
.card,
.stats-card,
.funnels-grid,
.funnel-card,
.activity-sidebar,
.feed-item,
.feed-stat,
.checklist-sidebar,
.vault-sidebar,
.product-grid,
.product-card,
.welcome-container,
.choice-card,
.challenge-header,
.setup-section,
.guide-card,
input,
textarea,
select,
button {
    transition: background-color var(--theme-transition),
                border-color var(--theme-transition),
                color var(--theme-transition),
                box-shadow var(--theme-transition);
}

/* ========================================
   CHALLENGE HEADER (Fresh State)
   ======================================== */
.challenge-header {
    text-align: center;
    margin-bottom: 40px;
}

.challenge-badge {
    display: inline-block;
    padding: 6px 14px;
    background: var(--accent-dim);
    border: 1px solid rgba(204, 255, 0, 0.3);
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.challenge-header h1 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.challenge-header h1 span {
    color: var(--accent);
}

.challenge-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.section-divider {
    height: 1px;
    background: var(--border);
    margin: 48px 0;
}

/* ========================================
   LOCKED SECTION
   ======================================== */
.locked-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 48px;
    text-align: center;
    opacity: 0.6;
}

.locked-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.locked-section h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

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

/* ========================================
   LAUNCH CHALLENGE BANNER (Armed State)
   ======================================== */
.launch-challenge-banner {
    display: flex;
    align-items: center;
    gap: 24px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 2px solid var(--accent);
    border-radius: var(--radius);
    padding: 24px 32px;
    margin-bottom: 32px;
}

.challenge-icon {
    font-size: 2.5rem;
}

.challenge-content {
    flex: 1;
}

.challenge-content h2 {
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.challenge-content h2 span {
    color: var(--accent);
}

.challenge-times {
    display: flex;
    gap: 24px;
    margin-top: 8px;
}

.time-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
}

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

.time-value {
    color: var(--accent);
    font-weight: 600;
    font-family: monospace;
}

.countdown-timer {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 24px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-sm);
}

.countdown-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    font-family: monospace;
    font-variant-numeric: tabular-nums;
}

.countdown-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.countdown-timer.expired .countdown-value {
    color: var(--error);
}

/* ========================================
   ARMED LAYOUT (Two Column with Activity)
   ======================================== */
.armed-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 24px;
    align-items: start;
}

/* Hide checklist sidebar in Armed state - replaced by Live Activity */
.armed-layout .checklist-sidebar {
    display: none;
}

@media (max-width: 1024px) {
    .armed-layout {
        grid-template-columns: 1fr;
    }
    .armed-layout .live-activity-sidebar {
        display: none;
    }
}

/* ========================================
   SELECTED PRODUCT CARD
   ======================================== */
.selected-product-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--bg-card);
    border: 1px solid var(--success);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 24px;
}

.selected-product-card .checkmark {
    width: 32px;
    height: 32px;
    background: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
}

.selected-product-card .product-info {
    flex: 1;
}

.selected-product-card .label {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 4px;
}

.selected-product-card .product-name {
    font-size: 1.1rem;
    font-weight: 600;
}

.btn-change-funnel {
    padding: 8px 14px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

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

/* ========================================
   AFFILIATE LINK BOX
   ======================================== */
.affiliate-link-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 24px;
}

.affiliate-link-box h4 {
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.link-copy-row {
    display: flex;
    gap: 8px;
}

.link-copy-row input {
    flex: 1;
    padding: 12px 14px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 0.85rem;
    font-family: monospace;
}

.btn-copy {
    padding: 12px 20px;
    background: var(--accent);
    color: #000;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-copy:hover {
    background: var(--accent-hover);
}

/* ========================================
   AD CREATIVES SECTION
   ======================================== */
.ad-creatives-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 24px;
}

.ad-creatives-section h4 {
    font-size: 0.85rem;
    margin-bottom: 16px;
}

.btn-download-all {
    width: 100%;
    padding: 12px;
    background: var(--accent);
    color: #000;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    margin-top: 16px;
}

.btn-download-all:hover {
    background: var(--accent-hover);
}

/* ========================================
   GUIDES ACCORDION
   ======================================== */
.guides-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.guide-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.guide-item.completed {
    border-color: var(--success);
}

.guide-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    cursor: pointer;
    transition: background 0.2s;
}

.guide-header:hover {
    background: var(--bg-elevated);
}

.guide-step-indicator {
    width: 32px;
    height: 32px;
    background: var(--bg-elevated);
    border: 2px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    flex-shrink: 0;
}

.guide-item.completed .guide-step-indicator {
    background: var(--success);
    border-color: var(--success);
    color: #fff;
}

.guide-info {
    flex: 1;
}

.guide-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.guide-duration {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.guide-toggle {
    color: var(--text-secondary);
    font-size: 1.25rem;
    transition: transform 0.3s;
}

.guide-item.open .guide-toggle {
    transform: rotate(180deg);
}

.guide-content {
    display: none;
    padding: 0 20px 20px;
    border-top: 1px solid var(--border);
}

.guide-item.open .guide-content {
    display: block;
}

.guide-steps {
    padding-top: 16px;
}

.guide-step-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

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

.step-number {
    width: 24px;
    height: 24px;
    background: var(--accent);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

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

.btn-mark-complete {
    width: 100%;
    padding: 12px;
    background: var(--success);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    margin-top: 16px;
}

.btn-mark-complete:hover {
    opacity: 0.9;
}

/* ========================================
   CHECKLIST SIDEBAR (Armed State)
   ======================================== */
.checklist-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    position: sticky;
    top: 24px;
}

.checklist-card h3 {
    font-size: 1rem;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.checklist-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.checklist-item.completed {
    background: rgba(34, 197, 94, 0.05);
    border-color: var(--success);
}

.checklist-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: transparent;
    flex-shrink: 0;
}

.checklist-item.completed .checklist-checkbox {
    background: var(--success);
    border-color: var(--success);
    color: #fff;
}

.checklist-text {
    font-size: 0.85rem;
    color: var(--text);
}

.checklist-item.completed .checklist-text {
    color: var(--text-secondary);
    text-decoration: line-through;
}

.progress-summary {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.progress-bar-container {
    width: 100%;
    height: 8px;
    background: var(--bg-elevated);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-bar-fill {
    height: 100%;
    background: var(--accent);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* ========================================
   LIVE STATE LAYOUT
   ======================================== */
.live-state-header {
    text-align: center;
    margin-bottom: 40px;
}

.live-state-header h1 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.live-state-header p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.expectations-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    margin-bottom: 32px;
}

.expectations-section h3 {
    font-size: 1.1rem;
    margin-bottom: 24px;
}

.timeline-phases {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.phase-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.phase-item.current {
    border-color: var(--accent);
    background: var(--accent-dim);
}

.phase-indicator {
    width: 40px;
    height: 40px;
    background: var(--bg-elevated);
    border: 2px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.phase-item.current .phase-indicator {
    background: var(--accent);
    border-color: var(--accent);
}

.phase-item.completed .phase-indicator {
    background: var(--success);
    border-color: var(--success);
}

.phase-content h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
}

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

.tips-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 32px;
}

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

.tip-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
}

.tip-icon {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.tip-card h4 {
    font-size: 0.9rem;
    margin-bottom: 6px;
}

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

/* ========================================
   ACTIVATED STATE
   ======================================== */
.activated-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(204, 255, 0, 0.05) 100%);
    border: 1px solid var(--success);
    border-radius: var(--radius);
}

.activated-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--success);
    margin-bottom: 8px;
}

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

.upgrade-prompt-card {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
    border: 1px solid var(--partner-color);
    border-radius: var(--radius);
    padding: 32px;
    margin-bottom: 32px;
    text-align: center;
}

.upgrade-prompt-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.upgrade-prompt-card p {
    color: #c7d2fe;
    margin-bottom: 20px;
}

.btn-upgrade-cta {
    padding: 14px 32px;
    background: var(--partner-color);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}

.btn-upgrade-cta:hover {
    opacity: 0.9;
}

/* ========================================
   SCALED STATE (Full Dashboard)
   ======================================== */
.scaled-header {
    margin-bottom: 32px;
}

.scaled-header h1 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.scaled-header p {
    color: var(--text-secondary);
}

/* ========================================
   ACTIVITY FEED SECTION
   ======================================== */
.activity-feed-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 32px;
}

.activity-feed-section h4 {
    font-size: 0.95rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.activity-feed {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--bg);
    border-radius: var(--radius-sm);
}

.activity-icon {
    font-size: 1.25rem;
}

.activity-text {
    flex: 1;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.activity-time {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ========================================
   NAVIGATION
   ======================================== */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(3, 3, 3, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 12px 24px;
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.nav-tabs {
    display: flex;
    gap: 4px;
    background: var(--bg-elevated);
    padding: 4px;
    border-radius: 10px;
    border: 1px solid var(--border);
}

.nav-tab {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    color: var(--text-secondary);
    border: none;
    background: none;
    transition: all 0.2s;
    white-space: nowrap;
}
.nav-tab:hover { color: var(--text); }
.nav-tab.active { 
    background: var(--accent); 
    color: #000; 
    font-weight: 600;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.btn-logout {
    padding: 8px 14px;
    font-size: 0.8rem;
    font-weight: 500;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s;
}
.btn-logout:hover { 
    border-color: var(--border-hover); 
    color: var(--text); 
}

/* ========================================
   CONTAINER & SECTIONS
   ======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 24px;
}

.tab-content { display: none; }
.tab-content.active { display: block; }

.section-header {
    margin-bottom: 24px;
}
.section-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 4px;
}
.section-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ========================================
   UPGRADE BANNER
   ======================================== */
.upgrade-banner {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
    border: 1px solid #4338ca;
    border-radius: var(--radius);
    padding: 20px 24px;
    margin-bottom: 32px;
}

.upgrade-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.upgrade-icon { font-size: 2rem; }

.upgrade-text {
    flex: 1;
}
.upgrade-text h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 2px;
}
.upgrade-text h3 span { color: var(--accent); }
.upgrade-text p {
    font-size: 0.875rem;
    color: #c7d2fe;
}

.btn-upgrade {
    padding: 12px 20px;
    background: var(--accent);
    color: #000;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}
.btn-upgrade:hover { 
    background: var(--accent-hover); 
    transform: translateY(-1px);
}

/* ========================================
   WELCOME & TIER
   ======================================== */
.welcome-section {
    margin-bottom: 32px;
}
.welcome-section h1 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 4px;
}
.welcome-section p {
    color: var(--text-secondary);
}

.tier-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
    background: var(--creator-color);
    color: #fff;
}
.tier-badge.partner { background: var(--partner-color); }
.tier-badge.elite { background: var(--elite-color); color: #000; }

/* ========================================
   STATS GRID
   ======================================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

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

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    transition: all 0.2s;
}
.stat-card:hover {
    border-color: var(--border-hover);
}
.stat-card.highlight {
    border-color: var(--accent);
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(204, 255, 0, 0.03) 100%);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
    margin-bottom: 8px;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.stat-change {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 8px;
}
.stat-change.positive { color: var(--success); }
.stat-change.negative { color: var(--error); }

/* ========================================
   CHART
   ======================================== */
.chart-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 32px;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.chart-header h3 {
    font-size: 1rem;
    font-weight: 600;
}

.chart-tabs {
    display: flex;
    gap: 4px;
    background: var(--bg-elevated);
    padding: 4px;
    border-radius: var(--radius-sm);
}
.chart-tab {
    padding: 6px 12px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 6px;
}
.chart-tab:hover { color: var(--text); }
.chart-tab.active { background: var(--accent); color: #000; }

.chart-container { height: 220px; }

/* ========================================
   ACTIVITY FEED
   ======================================== */
.activity-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 32px;
}

.activity-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}
.activity-header h3 {
    font-size: 0.95rem;
    font-weight: 600;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}
.activity-item:last-child { border-bottom: none; }

.activity-avatar {
    width: 36px;
    height: 36px;
    background: var(--bg-elevated);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.activity-info { flex: 1; }
.activity-name { font-weight: 500; font-size: 0.9rem; }
.activity-time { font-size: 0.75rem; color: var(--text-muted); }
.activity-amount { 
    font-weight: 600; 
    color: var(--success); 
    font-size: 0.9rem;
}

/* ========================================
   PRODUCTS GRID
   ======================================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
@media (max-width: 768px) { .products-grid { grid-template-columns: 1fr; } }

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.2s;
}
.product-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.product-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-bottom: 1px solid var(--border);
}

.product-content { padding: 20px; }

.product-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 4px;
    margin-bottom: 8px;
}
.product-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}
.product-title { font-size: 1.1rem; font-weight: 600; }
.product-niche {
    font-size: 0.7rem;
    padding: 4px 8px;
    background: var(--bg-elevated);
    border-radius: 4px;
    color: var(--text-secondary);
}

.product-creator {
    display: block;
    width: 100%;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 2px;
    font-weight: 400;
}

.product-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.product-commission {
    background: var(--accent-dim);
    border: 1px solid rgba(204, 255, 0, 0.2);
    border-radius: var(--radius-sm);
    padding: 10px;
    text-align: center;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.product-link-row {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}
.product-input {
    flex: 1;
    padding: 10px 12px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 0.8rem;
}
.btn-copy {
    padding: 10px 16px;
    background: var(--accent);
    color: #000;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
}
.btn-copy:hover { background: var(--accent-hover); }

.btn-preview {
    display: block;
    width: 100%;
    padding: 10px;
    text-align: center;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
}
.btn-preview:hover { 
    border-color: var(--text-secondary); 
    color: var(--text);
}

/* Pixel Button (Partner+ Only) */
.btn-pixel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px;
    margin-top: 8px;
    background: transparent;
    border: 1px dashed var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-pixel:hover {
    border-color: var(--partner-color);
    color: var(--partner-color);
    background: rgba(59, 130, 246, 0.05);
}
.btn-pixel.configured {
    border-style: solid;
    border-color: var(--success);
    color: var(--success);
    background: rgba(34, 197, 94, 0.05);
}
.btn-pixel.configured:hover {
    background: rgba(34, 197, 94, 0.1);
}

/* ========================================
   SUBMIT FORM
   ======================================== */
.submit-container { max-width: 700px; }

.submission-status {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 20px;
    margin-bottom: 24px;
}
.status-icon { font-size: 1.5rem; }
.status-text { 
    font-size: 0.9rem; 
    color: var(--text-secondary);
}
.status-text span { 
    color: var(--accent); 
    font-weight: 600; 
}

.submit-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    margin-bottom: 24px;
}
.submit-card h2 { margin-bottom: 4px; font-size: 1.25rem; }
.submit-card > p { 
    color: var(--text-secondary); 
    margin-bottom: 24px; 
    font-size: 0.9rem;
}

.submit-form { display: flex; flex-direction: column; gap: 20px; }

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
}
.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 14px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 0.95rem;
    font-family: inherit;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}
.form-group textarea { resize: vertical; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
@media (max-width: 500px) { .form-row { grid-template-columns: 1fr; } }

.btn-submit {
    padding: 14px 24px;
    background: var(--accent);
    color: #000;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-submit:hover { background: var(--accent-hover); }
.btn-submit:disabled { opacity: 0.5; cursor: not-allowed; }

/* Limit Reached State */
.limit-reached {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    text-align: center;
    margin-bottom: 24px;
}
.limit-icon { font-size: 3rem; margin-bottom: 16px; }
.limit-reached h3 { margin-bottom: 8px; }
.limit-reached p { 
    color: var(--text-secondary); 
    margin-bottom: 20px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.btn-upgrade-full {
    padding: 14px 28px;
    background: var(--partner-color);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
}
.btn-upgrade-full:hover { opacity: 0.9; }

/* Partner Bonus CTA */
.partner-bonus {
    background: linear-gradient(135deg, #1c1917 0%, #292524 100%);
    border: 1px solid #44403c;
    border-radius: var(--radius);
    padding: 28px;
    margin-bottom: 24px;
}
.partner-bonus h3 { margin-bottom: 12px; }
.partner-bonus p { 
    color: #a8a29e; 
    font-size: 0.95rem;
    margin-bottom: 12px;
}
.bonus-note { 
    font-style: italic; 
    font-size: 0.875rem !important;
}
.btn-book-call {
    margin-top: 16px;
    padding: 12px 24px;
    background: var(--elite-color);
    color: #000;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
}

/* My Submissions */
.my-submissions {
    margin-top: 32px;
}
.my-submissions h3 {
    font-size: 1rem;
    margin-bottom: 16px;
}

.submission-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.submission-name { font-weight: 500; }
.submission-date { font-size: 0.8rem; color: var(--text-muted); }
.submission-status-badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}
.submission-status-badge.pending { background: #422006; color: #fbbf24; }
.submission-status-badge.approved { background: #052e16; color: #22c55e; }
.submission-status-badge.rejected { background: #450a0a; color: #ef4444; }

.no-submissions {
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ========================================
   MODALS
   ======================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.modal-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    max-width: 500px;
    width: 100%;
    position: relative;
    text-align: center;
}
.modal-card.calendly-modal {
    max-width: 700px;
    padding: 20px;
    padding-top: 50px;
    min-height: 700px;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-close:hover { color: var(--text); }

.modal-icon { font-size: 3rem; margin-bottom: 16px; }
.modal-card h2 { margin-bottom: 8px; }
.modal-subtitle { 
    color: var(--text-secondary); 
    margin-bottom: 24px;
}

.upgrade-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
    text-align: left;
}
.comparison-col {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px;
}
.comparison-col.upgrade { border-color: var(--partner-color); }
.col-header {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}
.comparison-col ul {
    list-style: none;
    font-size: 0.85rem;
    color: var(--text-secondary);
}
.comparison-col ul li {
    padding: 4px 0;
}
.comparison-col ul li.highlight { 
    color: var(--accent); 
    font-weight: 500;
}

.modal-cta-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.btn-modal-cta {
    padding: 14px 32px;
    background: var(--partner-color);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
}
.btn-modal-cta:hover { opacity: 0.9; }

/* Pixel Modal */
.pixel-modal {
    max-width: 480px;
    text-align: left;
}
.pixel-modal .modal-icon { text-align: center; }
.pixel-modal h2 { text-align: center; margin-bottom: 4px; }
.pixel-modal .modal-subtitle { 
    text-align: center; 
    margin-bottom: 24px;
    color: var(--accent);
    font-weight: 500;
}

.pixel-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pixel-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.pixel-form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
}
.pixel-form-group input {
    padding: 12px 14px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 0.95rem;
    font-family: monospace;
}
.pixel-form-group input:focus {
    outline: none;
    border-color: var(--accent);
}
.pixel-hint {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.pixel-help-section {
    margin-top: 8px;
}
.pixel-help-toggle {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 0.85rem;
    cursor: pointer;
    padding: 0;
}
.pixel-help-toggle:hover {
    color: var(--text);
}
.pixel-help-content {
    display: none;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px;
    margin-top: 12px;
    font-size: 0.85rem;
    line-height: 1.6;
}
.pixel-help-content.show {
    display: block;
}
.pixel-help-content p {
    margin-bottom: 8px;
    color: var(--text-secondary);
}
.pixel-help-content ol {
    margin-left: 20px;
    margin-bottom: 16px;
    color: var(--text-secondary);
}
.pixel-help-content a {
    color: var(--partner-color);
}
.pixel-help-content code {
    background: var(--bg-elevated);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.8rem;
}
.pixel-warning {
    color: var(--text-muted) !important;
    font-size: 0.8rem !important;
    font-style: italic;
}

.pixel-actions {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}
.btn-pixel-save {
    flex: 1;
    padding: 14px 24px;
    background: var(--accent);
    color: #000;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-pixel-save:hover { background: var(--accent-hover); }
.btn-pixel-save:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-pixel-remove {
    padding: 14px 20px;
    background: transparent;
    border: 1px solid var(--error);
    color: var(--error);
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
}
.btn-pixel-remove:hover {
    background: rgba(239, 68, 68, 0.1);
}

/* Old toast removed - consolidated in TOAST NOTIFICATION section below */

/* ========================================
   SALES HISTORY TAB
   ======================================== */

/* Date Filter Controls */
.sales-filters {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 24px;
}

.filter-quick-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-btn {
    padding: 10px 18px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

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

.filter-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #000;
    font-weight: 600;
}

.filter-custom-range {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.date-input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.date-input-group label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.date-input {
    padding: 10px 14px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 0.9rem;
    font-family: inherit;
    min-width: 160px;
}

.date-input:focus {
    outline: none;
    border-color: var(--accent);
}

/* Fix for date input calendar icon in dark mode */
.date-input::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}

.btn-apply-dates {
    padding: 10px 20px;
    background: var(--accent);
    border: none;
    border-radius: var(--radius-sm);
    color: #000;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-apply-dates:hover {
    background: var(--accent-hover);
}

/* Sales Summary Cards */
.sales-summary {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

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

@media (max-width: 500px) {
    .sales-summary { grid-template-columns: 1fr; }
    .filter-custom-range { flex-direction: column; align-items: stretch; }
    .date-input { width: 100%; }
}

.summary-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.2s;
}

.summary-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.summary-icon {
    font-size: 2rem;
    line-height: 1;
}

.summary-data {
    display: flex;
    flex-direction: column;
}

.summary-value {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
}

.summary-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 2px;
}

/* Sales Table */
.sales-table-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

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

.sales-table-header h3 {
    font-size: 1rem;
    font-weight: 600;
}

.table-legend {
    display: flex;
    gap: 16px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.tier-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.tier-dot.creator { background: var(--creator-color); }
.tier-dot.partner { background: var(--partner-color); }
.tier-dot.elite { background: var(--elite-color); }

.sales-table-wrapper {
    overflow-x: auto;
}

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

.sales-table th {
    text-align: left;
    padding: 14px 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
}

.sales-table td {
    padding: 16px 20px;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border);
    color: var(--text);
}

.sales-table tbody tr:hover {
    background: var(--bg-elevated);
}

.sales-table tbody tr:last-child td {
    border-bottom: none;
}

.loading-row td {
    text-align: center;
    color: var(--text-muted);
    padding: 40px !important;
}

/* Product Cell */
.product-cell {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.product-name {
    font-weight: 500;
    color: var(--text);
}

.product-type {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Rate Badge */
.rate-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.rate-badge.creator {
    background: rgba(113, 113, 122, 0.15);
    color: #a1a1aa;
}

.rate-badge.partner {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
}

.rate-badge.elite {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
}

/* Commission Cell */
.commission-cell {
    font-weight: 600;
    color: var(--success);
}

.commission-cell.refunded {
    color: var(--error);
    text-decoration: line-through;
}

/* Status Badge */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.status-badge.paid {
    background: rgba(34, 197, 94, 0.1);
    color: var(--success);
}

.status-badge.pending {
    background: rgba(245, 158, 11, 0.1);
    color: #fbbf24;
}

.status-badge.refunded {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error);
}

.status-badge .status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

/* Table Footer */
.sales-table-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: var(--bg-elevated);
    border-top: 1px solid var(--border);
}

.footer-stats {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.footer-stats strong {
    color: var(--text);
}

.footer-total {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
}

.footer-total span {
    color: var(--text-secondary);
}

.footer-total strong {
    font-size: 1.25rem;
    color: var(--accent);
}

/* Empty State */
.sales-empty {
    padding: 60px 20px;
    text-align: center;
}

.empty-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    opacity: 0.5;
}

.sales-empty h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--text);
}

.sales-empty p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Date cell */
.date-cell {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.date-main {
    font-weight: 500;
}

.date-time {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Responsive table */
@media (max-width: 768px) {
    .sales-table-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .table-legend {
        flex-wrap: wrap;
        gap: 8px 16px;
    }
    
    .sales-table th,
    .sales-table td {
        padding: 12px 14px;
        font-size: 0.8rem;
    }
    
    .filter-quick-btns {
        gap: 6px;
    }
    
    .filter-btn {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    .nav-inner { flex-wrap: wrap; gap: 12px; }
    .nav-tabs { order: 3; width: 100%; justify-content: center; }
    .upgrade-content { flex-direction: column; text-align: center; }
    .btn-upgrade { width: 100%; }
}

/* ========================================
   LIFETIME STATS BAR
   ======================================== */
.lifetime-stats-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 24px;
    margin-bottom: 24px;
}

.lifetime-stat {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lifetime-icon {
    font-size: 1.1rem;
}

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

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

.lifetime-divider {
    width: 1px;
    height: 20px;
    background: var(--border);
}

@media (max-width: 768px) {
    .lifetime-stats-bar {
        flex-direction: column;
        gap: 12px;
        padding: 16px;
    }
    
    .lifetime-divider {
        width: 80%;
        height: 1px;
    }
}

/* ========================================
   PAYOUT INFO CARD
   ======================================== */
.payout-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 24px;
}

.payout-info-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.payout-info-icon {
    font-size: 1.25rem;
}

.payout-info-header h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
}

.payout-info-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.payout-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--bg-elevated);
    border-radius: var(--radius-sm);
}

.payout-type-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
}

.payout-type-value {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

@media (max-width: 600px) {
    .payout-info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}

/* ========================================
   LEADERBOARD TAB
   ======================================== */

/* Podium Section */
.leaderboard-podium {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 32px;
    padding: 24px 0;
}

.podium-spot {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.podium-spot.first {
    order: 2;
}

.podium-spot.second {
    order: 1;
}

.podium-spot.third {
    order: 3;
}

.podium-crown {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.podium-avatar {
    width: 56px;
    height: 56px;
    background: var(--bg-elevated);
    border: 2px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.podium-spot.first .podium-avatar {
    width: 72px;
    height: 72px;
    font-size: 1.5rem;
    border-color: var(--elite-color);
    background: rgba(245, 158, 11, 0.1);
}

.podium-spot.second .podium-avatar {
    border-color: #94a3b8;
    background: rgba(148, 163, 184, 0.1);
}

.podium-spot.third .podium-avatar {
    border-color: #cd7f32;
    background: rgba(205, 127, 50, 0.1);
}

.podium-name {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 4px;
}

.podium-earnings {
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 12px;
}

.podium-block {
    width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-muted);
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.podium-spot.first .podium-block {
    height: 80px;
    background: linear-gradient(180deg, rgba(245, 158, 11, 0.2) 0%, rgba(245, 158, 11, 0.05) 100%);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-bottom: none;
    color: var(--elite-color);
}

.podium-spot.second .podium-block {
    height: 60px;
    background: linear-gradient(180deg, rgba(148, 163, 184, 0.2) 0%, rgba(148, 163, 184, 0.05) 100%);
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-bottom: none;
    color: #94a3b8;
}

.podium-spot.third .podium-block {
    height: 40px;
    background: linear-gradient(180deg, rgba(205, 127, 50, 0.2) 0%, rgba(205, 127, 50, 0.05) 100%);
    border: 1px solid rgba(205, 127, 50, 0.3);
    border-bottom: none;
    color: #cd7f32;
}

/* Leaderboard Card/Table */
.leaderboard-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 24px;
}

.leaderboard-table-header {
    display: grid;
    grid-template-columns: 60px 1fr 120px;
    padding: 14px 20px;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.leaderboard-list {
    max-height: 400px;
    overflow-y: auto;
}

.leaderboard-loading {
    padding: 40px;
    text-align: center;
    color: var(--text-muted);
}

.leaderboard-row {
    display: grid;
    grid-template-columns: 60px 1fr 120px;
    align-items: center;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
    transition: background 0.2s;
}

.leaderboard-row:last-child {
    border-bottom: none;
}

.leaderboard-row:hover {
    background: var(--bg-elevated);
}

.leaderboard-row.is-you {
    background: rgba(204, 255, 0, 0.05);
    border-left: 3px solid var(--accent);
}

.leaderboard-rank {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.leaderboard-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.leaderboard-avatar {
    width: 36px;
    height: 36px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.leaderboard-row.is-you .leaderboard-avatar {
    border-color: var(--accent);
    background: var(--accent-dim);
    color: var(--accent);
}

.leaderboard-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.leaderboard-you-badge {
    display: inline-block;
    padding: 2px 8px;
    background: var(--accent);
    color: #000;
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 4px;
    letter-spacing: 0.05em;
}

.leaderboard-earnings {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent);
    text-align: right;
}

/* Your Position Card */
.your-position-card {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(204, 255, 0, 0.03) 100%);
    border: 1px solid var(--accent);
    border-radius: var(--radius);
    padding: 20px;
    position: relative;
    overflow: hidden;
}

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

.your-position-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 16px;
}

.your-position-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.your-position-rank {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.02em;
}

.your-position-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.your-position-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
}

.your-position-earnings {
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 500;
}

.your-position-percentile {
    padding: 8px 16px;
    background: var(--accent-dim);
    border: 1px solid rgba(204, 255, 0, 0.2);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
}

@media (max-width: 600px) {
    .leaderboard-podium {
        gap: 8px;
        padding: 16px 0;
    }
    
    .podium-avatar {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }
    
    .podium-spot.first .podium-avatar {
        width: 56px;
        height: 56px;
        font-size: 1.25rem;
    }
    
    .podium-block {
        width: 60px;
    }
    
    .podium-name,
    .podium-earnings {
        font-size: 0.75rem;
    }
    
    .leaderboard-table-header,
    .leaderboard-row {
        grid-template-columns: 50px 1fr 90px;
        padding: 12px 14px;
    }
    
    .your-position-content {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .your-position-percentile {
        width: 100%;
        text-align: center;
    }
}

/* ========================================
   EMPTY STATE CTA BUTTON
   ======================================== */
.btn-empty-cta {
    margin-top: 20px;
    padding: 12px 24px;
    background: var(--accent);
    color: #000;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-empty-cta:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

/* ========================================
   ONLINE COUNTER
   ======================================== */
.online-counter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.online-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: online-pulse 2s infinite;
}

@keyframes online-pulse {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
    }
    50% {
        opacity: 0.8;
        box-shadow: 0 0 0 4px rgba(34, 197, 94, 0);
    }
}

.online-count {
    font-weight: 600;
    color: var(--text);
}

/* ========================================
   STATE CONTAINERS
   ======================================== */
.state-container {
    display: none;
}

.state-container.active {
    display: block;
}

/* ========================================
   LAUNCH CHALLENGE BANNER
   ======================================== */
.challenge-banner {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border: 2px solid var(--accent);
    border-radius: var(--radius);
    padding: 28px 32px;
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
}

.challenge-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent);
}

.challenge-banner::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(204, 255, 0, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.challenge-content {
    position: relative;
    z-index: 1;
}

.challenge-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(204, 255, 0, 0.15);
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 16px;
}

.challenge-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.challenge-title span {
    color: var(--accent);
}

.challenge-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.countdown-wrapper {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.countdown-timer {
    display: flex;
    gap: 12px;
}

.countdown-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 60px;
}

.countdown-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.countdown-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-top: 4px;
}

.countdown-separator {
    font-size: 1.5rem;
    color: var(--text-muted);
    align-self: flex-start;
    margin-top: 8px;
}

.challenge-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--accent);
    color: #000;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
}

.challenge-cta:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

.challenge-expired {
    padding: 12px 24px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid var(--error);
    border-radius: var(--radius-sm);
    color: var(--error);
    font-weight: 600;
    font-size: 0.9rem;
}

/* ========================================
   MAIN CONTENT LAYOUT WITH SIDEBAR
   ======================================== */
.content-with-sidebar {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 32px;
    align-items: start;
}

@media (max-width: 1024px) {
    .content-with-sidebar {
        grid-template-columns: 1fr;
    }
}

.main-content {
    min-width: 0;
}

/* ========================================
   CHECKLIST SIDEBAR
   ======================================== */
.checklist-sidebar {
    position: sticky;
    top: 100px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
}

.checklist-sidebar h3 {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.checklist-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s;
}

.checklist-item:hover {
    border-color: var(--border-hover);
}

.checklist-item.completed {
    background: rgba(34, 197, 94, 0.05);
    border-color: rgba(34, 197, 94, 0.3);
}

.checklist-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.75rem;
    color: transparent;
    transition: all 0.2s;
}

.checklist-item.completed .checklist-checkbox {
    background: var(--success);
    border-color: var(--success);
    color: #fff;
}

.checklist-text {
    font-size: 0.85rem;
    color: var(--text);
    line-height: 1.3;
}

.checklist-item.completed .checklist-text {
    color: var(--text-secondary);
    text-decoration: line-through;
}

.checklist-progress {
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.checklist-progress .progress-text {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.checklist-progress .progress-bar {
    height: 8px;
    background: var(--bg-elevated);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.checklist-progress .progress-fill {
    height: 100%;
    background: var(--accent);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.checklist-progress .progress-percent {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent);
}

.checklist-item.completed {
    background: rgba(34, 197, 94, 0.05);
    border-color: rgba(34, 197, 94, 0.3);
}

.checklist-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: transparent;
    transition: all 0.2s;
    flex-shrink: 0;
}

.checklist-item.completed .checklist-checkbox {
    background: var(--success);
    border-color: var(--success);
    color: #000;
}

.checklist-text {
    flex: 1;
}

.checklist-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 2px;
}

.checklist-item.completed .checklist-label {
    color: var(--text-secondary);
    text-decoration: line-through;
}

.checklist-hint {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ========================================
   GUIDES ACCORDION
   ======================================== */
.guides-section {
    margin-bottom: 32px;
}

.guides-section h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.guides-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.guide-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.guide-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    cursor: pointer;
    transition: background 0.2s;
}

.guide-header:hover {
    background: var(--bg-elevated);
}

.guide-icon {
    width: 44px;
    height: 44px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.guide-info {
    flex: 1;
}

.guide-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.guide-duration {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.guide-toggle {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: transform 0.3s;
}

.guide-item.open .guide-toggle {
    transform: rotate(180deg);
}

.guide-content {
    display: none;
    padding: 0 20px 20px;
    border-top: 1px solid var(--border);
}

.guide-item.open .guide-content {
    display: block;
}

.guide-steps {
    padding-top: 16px;
}

.guide-step {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.guide-step:last-child {
    border-bottom: none;
}

.step-number {
    width: 24px;
    height: 24px;
    background: var(--accent);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.step-text a {
    color: var(--accent);
    text-decoration: underline;
}

/* ========================================
   AD CREATIVES GRID
   ======================================== */
.creatives-section {
    margin-bottom: 32px;
}

.creatives-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.creatives-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
}

.btn-download-all {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--accent);
    color: #000;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-download-all:hover {
    background: var(--accent-hover);
}

.creatives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.creative-item {
    position: relative;
    display: block;
    aspect-ratio: 1;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.2s;
}

.creative-item:hover {
    border-color: var(--accent);
    transform: scale(1.02);
}

.creative-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.creative-item .download-icon {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    background: var(--accent);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    opacity: 0;
    transition: opacity 0.2s;
}

.creative-item:hover .download-icon {
    opacity: 1;
}

.creative-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.2s;
}

.creative-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.creative-image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-bottom: 1px solid var(--border);
}

.creative-actions {
    display: flex;
    padding: 12px;
    gap: 8px;
}

.btn-creative {
    flex: 1;
    padding: 8px 12px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    text-decoration: none;
}

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

.btn-creative.primary {
    background: var(--accent);
    border-color: var(--accent);
    color: #000;
}

.btn-creative.primary:hover {
    background: var(--accent-hover);
}

/* ========================================
   TIMELINE (Live State)
   ======================================== */
.timeline-section {
    margin-bottom: 32px;
}

.timeline-section h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.timeline-section > p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.timeline {
    position: relative;
    padding-left: 32px;
}

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

.timeline-item {
    position: relative;
    padding-bottom: 32px;
}

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

.timeline-dot {
    position: absolute;
    left: -32px;
    top: 0;
    width: 24px;
    height: 24px;
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
}

.timeline-item.active .timeline-dot {
    background: var(--accent);
    border-color: var(--accent);
    color: #000;
}

.timeline-item.completed .timeline-dot {
    background: var(--success);
    border-color: var(--success);
    color: #fff;
}

.timeline-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
}

.timeline-item.active .timeline-content {
    border-color: var(--accent);
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(204, 255, 0, 0.03) 100%);
}

.timeline-phase {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.timeline-item.active .timeline-phase {
    color: var(--accent);
}

.timeline-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.timeline-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========================================
   FAQ ACCORDION
   ======================================== */
.faq-section {
    margin-bottom: 32px;
}

.faq-section h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 20px;
    background: none;
    border: none;
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s;
}

.faq-question:hover {
    background: var(--bg-elevated);
}

.faq-icon {
    color: var(--text-secondary);
    transition: transform 0.3s;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    display: none;
    padding: 0 20px 16px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.faq-item.open .faq-answer {
    display: block;
}

/* ========================================
   WALL OF WINS
   ======================================== */
.wins-section {
    margin-bottom: 32px;
}

.wins-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.wins-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
}

.btn-submit-win {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: transparent;
    border: 1px dashed var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-submit-win:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.wins-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.win-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    transition: all 0.2s;
}

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

.win-card.featured {
    border-color: var(--accent);
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(204, 255, 0, 0.03) 100%);
}

.win-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.win-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
}

.win-user {
    flex: 1;
}

.win-name {
    font-size: 0.95rem;
    font-weight: 600;
}

.win-earnings {
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 600;
}

.win-featured-badge {
    padding: 4px 8px;
    background: var(--accent);
    color: #000;
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.win-caption {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    font-style: italic;
}

.win-caption::before {
    content: '"';
}

.win-caption::after {
    content: '"';
}

.win-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-top: 12px;
}

/* ========================================
   CALCULATOR TABLE (Activated State)
   ======================================== */
.calculator-section {
    margin-bottom: 32px;
}

.calculator-section h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.calculator-section > p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.calculator-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

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

.calculator-table th {
    text-align: left;
    padding: 16px 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
}

.calculator-table td {
    padding: 16px 20px;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border);
}

.calculator-table tbody tr:last-child td {
    border-bottom: none;
}

.calculator-table tbody tr:hover {
    background: var(--bg-elevated);
}

.calculator-table .current-rate {
    color: var(--text-secondary);
}

.calculator-table .upgrade-rate {
    color: var(--accent);
    font-weight: 600;
}

.calculator-table .difference {
    color: var(--success);
    font-weight: 600;
}

.calculator-table .difference.highlight {
    font-size: 1rem;
}

.calculator-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: linear-gradient(135deg, rgba(204, 255, 0, 0.05) 0%, rgba(204, 255, 0, 0.02) 100%);
    border-top: 1px solid var(--accent);
}

.calculator-summary-text {
    font-size: 0.95rem;
    color: var(--text);
}

.calculator-summary-text strong {
    color: var(--accent);
    font-size: 1.25rem;
}

.btn-upgrade-now {
    padding: 12px 24px;
    background: var(--partner-color);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-upgrade-now:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* ========================================
   TESTIMONIALS (Activated State)
   ======================================== */
.testimonials-section {
    margin-bottom: 32px;
}

.testimonials-section h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    position: relative;
}

.testimonial-quote {
    font-size: 2rem;
    color: var(--accent);
    opacity: 0.3;
    position: absolute;
    top: 16px;
    right: 20px;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: #fff;
}

.testimonial-info {
    flex: 1;
}

.testimonial-name {
    font-size: 0.9rem;
    font-weight: 600;
}

.testimonial-tier {
    font-size: 0.75rem;
    color: var(--partner-color);
}

/* ========================================
   REFERRAL SECTION (Scaled State)
   ======================================== */
.referral-section {
    margin-bottom: 32px;
}

.referral-section h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.referral-section > p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.referral-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
}

.referral-link-row {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.referral-input {
    flex: 1;
    padding: 14px 16px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 0.9rem;
    font-family: monospace;
}

.btn-copy-referral {
    padding: 14px 24px;
    background: var(--accent);
    color: #000;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-copy-referral:hover {
    background: var(--accent-hover);
}

.referral-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

@media (max-width: 600px) {
    .referral-stats {
        grid-template-columns: 1fr;
    }
}

.referral-stat {
    text-align: center;
    padding: 16px;
    background: var(--bg-elevated);
    border-radius: var(--radius-sm);
}

.referral-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 4px;
}

.referral-stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ========================================
   MODALS - AD SUBMIT, WIN SUBMIT, CELEBRATION
   ======================================== */
.modal-form {
    text-align: left;
}

.modal-form-group {
    margin-bottom: 20px;
}

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

.modal-form-group input,
.modal-form-group select,
.modal-form-group textarea {
    width: 100%;
    padding: 12px 14px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 0.95rem;
    font-family: inherit;
}

.modal-form-group input:focus,
.modal-form-group select:focus,
.modal-form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.modal-form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.modal-form-hint {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 6px;
}

.modal-form-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.btn-modal-submit {
    flex: 1;
    padding: 14px 24px;
    background: var(--accent);
    color: #000;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-modal-submit:hover {
    background: var(--accent-hover);
}

.btn-modal-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-modal-cancel {
    padding: 14px 24px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
}

.btn-modal-cancel:hover {
    border-color: var(--border-hover);
    color: var(--text);
}

/* Celebration Modal */
.celebration-modal {
    max-width: 450px;
}

.celebration-confetti {
    font-size: 4rem;
    margin-bottom: 16px;
}

.celebration-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 8px;
}

.celebration-message {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.celebration-tips {
    text-align: left;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px;
    margin-bottom: 24px;
}

.celebration-tips h4 {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.celebration-tips ul {
    list-style: none;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.celebration-tips li {
    padding: 4px 0;
    padding-left: 20px;
    position: relative;
}

.celebration-tips li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
}

.btn-celebrate {
    width: 100%;
    padding: 14px 24px;
    background: var(--accent);
    color: #000;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
}

.btn-celebrate:hover {
    background: var(--accent-hover);
}

/* ========================================
   MOBILE CHECKLIST FLOAT
   ======================================== */
.mobile-checklist-toggle {
    display: none;
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: var(--accent);
    color: #000;
    border: none;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(204, 255, 0, 0.3);
}

.mobile-checklist-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 22px;
    height: 22px;
    background: var(--error);
    color: #fff;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 1024px) {
    .mobile-checklist-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .checklist-sidebar {
        display: none;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        top: auto;
        border-radius: var(--radius) var(--radius) 0 0;
        max-height: 70vh;
        overflow-y: auto;
        z-index: 101;
        animation: slideUp 0.3s ease;
    }

    .checklist-sidebar.mobile-open {
        display: block;
    }

    @keyframes slideUp {
        from {
            transform: translateY(100%);
        }
        to {
            transform: translateY(0);
        }
    }

    .checklist-close {
        display: block;
        position: absolute;
        top: 16px;
        right: 16px;
        width: 32px;
        height: 32px;
        background: var(--bg-elevated);
        border: 1px solid var(--border);
        border-radius: 50%;
        color: var(--text-secondary);
        font-size: 1.25rem;
        cursor: pointer;
    }
}

.checklist-close {
    display: none;
}

/* Mobile checklist overlay */
.mobile-checklist-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 100;
}

.mobile-checklist-overlay.active {
    display: block;
}

/* ========================================
   TRUST INDICATORS
   ======================================== */
.trust-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    padding: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 32px;
}

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

.trust-icon {
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .trust-bar {
        flex-wrap: wrap;
        gap: 16px;
    }
}

/* ========================================
   RESPONSIVE UPDATES
   ======================================== */
@media (max-width: 768px) {
    .challenge-banner {
        padding: 20px;
    }

    .challenge-title {
        font-size: 1.35rem;
    }

    .countdown-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .countdown-value {
        font-size: 1.5rem;
    }

    .countdown-unit {
        min-width: 50px;
    }

    .challenge-cta {
        width: 100%;
        justify-content: center;
    }

    .referral-link-row {
        flex-direction: column;
    }

    .calculator-summary {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .btn-upgrade-now {
        width: 100%;
    }
}

/* ========================================
   HEADER LAYOUT FIX
   ======================================== */
.header-left {
    display: flex;
    align-items: center;
    gap: 24px;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0 24px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 16px;
}

.online-counter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.online-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: online-pulse 2s infinite;
}

.online-count {
    font-weight: 600;
    color: var(--text);
}

/* ========================================
   SOCIAL PROOF SECTION (Fresh State)
   ======================================== */
.social-proof-section {
    margin-bottom: 48px;
}

.social-proof-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 32px;
}

.earnings-proof-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.earnings-proof-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    transition: all 0.2s;
}

.earnings-proof-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.proof-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.proof-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.proof-user {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.proof-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.proof-badge {
    display: inline-block;
    padding: 2px 8px;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    border-radius: 4px;
    width: fit-content;
}

.proof-badge.creator {
    background: var(--creator-color);
    color: #fff;
}

.proof-badge.partner {
    background: var(--partner-color);
    color: #fff;
}

.proof-badge.elite {
    background: var(--elite-color);
    color: #000;
}

.proof-screenshot {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px;
    margin-bottom: 16px;
}

.mini-dashboard {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

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

.mini-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.mini-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent);
}

.mini-value.large {
    font-size: 1.5rem;
}

.mini-stat.small .mini-value {
    font-size: 1rem;
}

.mini-stat-row {
    display: flex;
    gap: 16px;
    margin-top: 8px;
}

.mini-bar {
    height: 6px;
    background: var(--bg-elevated);
    border-radius: 3px;
    overflow: hidden;
}

.mini-bar-fill {
    height: 100%;
    background: var(--accent);
    border-radius: 3px;
}

.mini-change {
    font-size: 0.75rem;
    color: var(--success);
}

.mini-notification {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: var(--bg-elevated);
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
}

.mini-notification:last-child {
    margin-bottom: 0;
}

.notif-icon {
    font-size: 1.25rem;
}

.notif-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.notif-title {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.notif-amount {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--success);
}

.notif-time {
    font-size: 0.65rem;
    color: var(--text-muted);
}

.mini-payout {
    text-align: center;
    padding: 8px 0;
}

.payout-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
}

.payout-icon {
    width: 20px;
    height: 20px;
    background: var(--success);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}

.payout-title {
    font-size: 0.8rem;
    color: var(--success);
    font-weight: 600;
}

.payout-amount {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 4px;
}

.payout-date {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.proof-quote {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.5;
}

/* ========================================
   CHECKLIST SIDEBAR - DESKTOP HIDDEN
   ======================================== */
.checklist-sidebar {
    display: none !important;
}

/* ========================================
   MOBILE CHECKLIST FLOAT - IMPROVED
   ======================================== */
.mobile-checklist-float {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-top: 2px solid var(--accent);
    z-index: 100;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
}

.float-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
}

.float-bar > span:first-child {
    display: flex;
    align-items: center;
    gap: 10px;
}

.float-bar > span:first-child::before {
    content: '📋';
    font-size: 1.2rem;
}

.float-progress {
    background: var(--accent);
    color: #000;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 2px;
}

.float-expanded {
    display: none;
    padding: 0 20px 20px;
    max-height: 50vh;
    overflow-y: auto;
}

.float-expanded.show {
    display: block;
}

.float-expanded .checklist-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
}

.float-expanded .checklist-item.completed {
    background: rgba(34, 197, 94, 0.05);
    border-color: rgba(34, 197, 94, 0.3);
}

.float-expanded .check-icon {
    width: 22px;
    height: 22px;
    background: var(--bg-elevated);
    border: 2px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    flex-shrink: 0;
}

.float-expanded .checklist-item.completed .check-icon {
    background: var(--success);
    border-color: var(--success);
    color: #fff;
}

.float-expanded .check-label {
    font-size: 0.9rem;
}

/* ========================================
   COMPREHENSIVE MOBILE RESPONSIVENESS
   ======================================== */

/* Dashboard container */
@media (max-width: 768px) {
    .dashboard-container {
        padding: 16px;
    }
    
    .dashboard-header {
        padding: 12px 0 16px;
        margin-bottom: 24px;
    }
    
    .header-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        width: 100%;
    }
    
    .header-right {
        width: 100%;
        justify-content: space-between;
    }
    
    .online-counter {
        font-size: 0.75rem;
        padding: 6px 12px;
    }
    
    .user-name {
        display: none;
    }
    
    .btn-logout {
        padding: 8px 12px;
        font-size: 0.75rem;
    }
}

/* Challenge header */
@media (max-width: 768px) {
    .challenge-header h1 {
        font-size: 1.5rem;
    }
    
    .challenge-subtitle {
        font-size: 0.95rem;
    }
    
    .challenge-badge {
        font-size: 0.65rem;
        padding: 5px 12px;
    }
}

/* Products grid */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .product-card-fresh {
        padding: 20px;
    }
}

/* Earnings proof grid */
@media (max-width: 1200px) {
    .earnings-proof-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .earnings-proof-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .earnings-proof-card {
        padding: 16px;
    }
    
    .social-proof-section h2 {
        font-size: 1.25rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
        margin-bottom: 24px;
    }
}

/* Launch challenge banner */
@media (max-width: 768px) {
    .launch-challenge-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        gap: 16px;
    }
    
    .challenge-icon {
        font-size: 2rem;
    }
    
    .challenge-content h2 {
        font-size: 1.1rem;
    }
    
    .challenge-content p {
        font-size: 0.85rem;
    }
    
    .challenge-times {
        flex-direction: column;
        gap: 8px;
    }
    
    .countdown-timer {
        width: 100%;
        padding: 16px;
        flex-direction: row;
        justify-content: center;
        gap: 8px;
    }
    
    .countdown-value {
        font-size: 1.75rem;
    }
    
    .countdown-label {
        align-self: center;
    }
}

/* Armed layout */
@media (max-width: 1024px) {
    .armed-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .selected-product-card {
        flex-wrap: wrap;
        gap: 12px;
        padding: 16px;
    }
    
    .selected-product-card .checkmark {
        width: 28px;
        height: 28px;
    }
    
    .btn-change-funnel {
        width: 100%;
        margin-top: 8px;
        text-align: center;
    }
    
    .affiliate-link-box {
        padding: 16px;
    }
    
    .link-copy-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .link-copy-row input {
        font-size: 0.8rem;
    }
    
    .btn-copy {
        width: 100%;
        padding: 14px;
    }
    
    .ad-creatives-section {
        padding: 16px;
    }
}

/* Ad creatives grid - 2 columns on mobile */
@media (max-width: 600px) {
    .creatives-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .creative-item .download-icon {
        width: 24px;
        height: 24px;
        font-size: 0.75rem;
    }
}

/* Guides accordion */
@media (max-width: 768px) {
    .guide-header {
        padding: 16px;
        gap: 12px;
    }
    
    .guide-number {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
    
    .guide-title {
        font-size: 0.9rem;
    }
    
    .guide-content {
        padding: 0 16px 16px;
    }
    
    .guide-content ol {
        padding-left: 20px;
    }
    
    .guide-content li {
        font-size: 0.85rem;
        margin-bottom: 8px;
    }
}

/* Stats grid */
@media (max-width: 600px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .stat-card {
        padding: 16px;
    }
    
    .stat-value {
        font-size: 1.35rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
}

/* Scaled stats */
@media (max-width: 768px) {
    .scaled-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .stat-card.large {
        grid-column: span 1;
    }
}

/* Chart card */
@media (max-width: 768px) {
    .chart-card {
        padding: 16px;
    }
    
    .chart-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .date-picker {
        width: 100%;
        display: flex;
    }
    
    .date-btn {
        flex: 1;
        padding: 8px;
        font-size: 0.75rem;
    }
    
    .chart-container {
        height: 180px;
    }
}

/* Timeline card */
@media (max-width: 768px) {
    .timeline-card {
        padding: 20px;
    }
    
    .timeline-items {
        gap: 12px;
    }
    
    .timeline-item {
        padding: 12px;
    }
    
    .timeline-content strong {
        font-size: 0.85rem;
    }
}

/* FAQ section */
@media (max-width: 768px) {
    .faq-section {
        margin-top: 32px;
    }
    
    .faq-question {
        padding: 16px;
        font-size: 0.9rem;
    }
    
    .faq-answer {
        padding: 0 16px 16px;
    }
    
    .faq-answer p {
        font-size: 0.85rem;
    }
}

/* Activity feed */
@media (max-width: 768px) {
    .activity-feed-section {
        padding: 16px;
    }
    
    .activity-item {
        padding: 10px;
        gap: 10px;
    }
    
    .activity-text {
        font-size: 0.85rem;
    }
}

/* Referral section */
@media (max-width: 768px) {
    .referral-section {
        padding: 20px;
    }
    
    .referral-link-box {
        padding: 16px;
    }
    
    .referral-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

/* Leaderboard */
@media (max-width: 768px) {
    .leaderboard-section {
        padding: 16px;
    }
    
    .leaderboard-row {
        padding: 12px;
        font-size: 0.85rem;
    }
}

/* Calculator table */
@media (max-width: 768px) {
    .earnings-calculator {
        overflow-x: auto;
    }
    
    .calculator-table {
        font-size: 0.8rem;
        min-width: 500px;
    }
    
    .calculator-table th,
    .calculator-table td {
        padding: 10px 8px;
    }
    
    .calculator-cta {
        padding: 20px;
    }
    
    .btn-primary.btn-large {
        width: 100%;
        padding: 16px;
    }
}

/* Testimonials row */
@media (max-width: 768px) {
    .testimonials-row {
        flex-direction: column;
        gap: 12px;
    }
    
    .testimonial-card {
        flex-direction: row;
        align-items: center;
        gap: 12px;
        padding: 12px 16px;
    }
    
    .testimonial-avatar {
        width: 36px;
        height: 36px;
        font-size: 0.8rem;
    }
    
    .testimonial-content strong {
        font-size: 0.85rem;
    }
    
    .testimonial-content p {
        font-size: 0.8rem;
    }
}

/* Modals */
@media (max-width: 768px) {
    .modal-content {
        margin: 16px;
        padding: 24px 20px;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .modal-content h2 {
        font-size: 1.25rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 14px;
        font-size: 1rem;
    }
}

/* Celebration modal */
@media (max-width: 768px) {
    .celebration-content {
        padding: 32px 24px;
    }
    
    .celebration-content h1 {
        font-size: 1.5rem;
    }
    
    .celebration-amount {
        font-size: 3rem;
    }
    
    .celebration-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .celebration-actions .btn-primary,
    .celebration-actions .btn-secondary {
        width: 100%;
    }
}

/* Locked section */
@media (max-width: 768px) {
    .locked-section {
        padding: 32px 20px;
    }
    
    .locked-icon {
        font-size: 2rem;
    }
    
    .locked-section h3 {
        font-size: 1rem;
    }
}

/* Section divider */
@media (max-width: 768px) {
    .section-divider {
        margin: 32px 0;
    }
}

/* Toast mobile - see TOAST NOTIFICATION section below */

/* Upgrade banner float */
@media (max-width: 768px) {
    .upgrade-banner-float {
        bottom: 70px;
        margin: 0 12px;
        border-radius: var(--radius);
    }
    
    .banner-content {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .btn-banner {
        width: 100%;
    }
}

/* Wall of wins section */
@media (max-width: 768px) {
    .wall-of-wins-section h2 {
        font-size: 1.25rem;
        margin-bottom: 16px;
    }
    
    .wins-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .win-card {
        padding: 12px;
    }
}

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

/* Ensure nothing overflows */
* {
    max-width: 100%;
}

img, video, iframe {
    max-width: 100%;
    height: auto;
}

/* Safe tap targets */
button, a, .btn-copy, .btn-primary, .btn-secondary {
    min-height: 44px;
    min-width: 44px;
}

/* Hide mobile checklist on desktop */
@media (min-width: 1025px) {
    .mobile-checklist-float {
        display: none !important;
    }
}

/* ========================================
   GUIDE NUMBER STYLING
   ======================================== */
.guide-number {
    width: 32px;
    height: 32px;
    background: var(--bg-elevated);
    border: 2px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    flex-shrink: 0;
}

.guide-item.completed .guide-number {
    background: var(--success);
    border-color: var(--success);
    color: transparent;
    font-size: 0;
}

.guide-item.completed .guide-number::before {
    content: '✓';
    color: #fff;
    font-size: 0.85rem;
}

.guide-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-radius: 4px;
    margin-left: auto;
    flex-shrink: 0;
}

/* Hide the checkbox for completed items - number shows checkmark instead */
.guide-item.completed .guide-checkbox {
    display: none;
}

/* Completed steps styling - collapsed but expandable */
.guide-item.completed .guide-content {
    display: none;
}

.guide-item.completed.open .guide-content {
    display: block;
}

.guide-item.completed .guide-title {
    color: var(--text-secondary);
}

/* Download All button inside step content */
.guide-content .btn-download-all {
    width: 100%;
    margin: 16px 0;
    padding: 14px 20px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
}

.guide-content .btn-download-all:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #000;
}

.guide-content .btn-download-all span {
    font-size: 1.1rem;
}

.guide-video-placeholder {
    background: var(--bg-elevated);
    border: 1px dashed var(--border);
    border-radius: var(--radius-sm);
    padding: 16px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 16px 0;
}

.btn-submit-ad {
    width: 100%;
    padding: 14px;
    background: var(--accent);
    color: #000;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-submit-ad:hover {
    background: var(--accent-hover);
}

/* Product card fresh */
.product-card-fresh {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: all 0.2s;
}

.product-card-fresh:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.product-card-fresh .product-header {
    margin-bottom: 12px;
}

.product-card-fresh h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 4px 0;
}

.btn-get-link {
    width: 100%;
    padding: 14px;
    background: var(--accent);
    color: #000;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-get-link:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

/* Testimonials row (Activated state) */
.testimonials-row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.upgrade-social-proof .testimonial-card {
    flex: 1;
    min-width: 200px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
}

.upgrade-social-proof .testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: #fff;
    flex-shrink: 0;
}

.upgrade-social-proof .testimonial-content strong {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.upgrade-social-proof .testimonial-content p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin: 0;
}

.testimonials-caption {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Timeline card (Live state) */
.timeline-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    margin-bottom: 32px;
}

.timeline-card h3 {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.timeline-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
}

.timeline-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.timeline-item.current {
    border-color: var(--accent);
    background: rgba(204, 255, 0, 0.03);
}

.timeline-item.completed {
    opacity: 0.6;
}

.timeline-dot {
    width: 12px;
    height: 12px;
    background: var(--border);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 4px;
}

.timeline-item.current .timeline-dot {
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(204, 255, 0, 0.2);
}

.timeline-item.completed .timeline-dot {
    background: var(--success);
}

.timeline-content {
    flex: 1;
}

.timeline-content strong {
    color: var(--text);
}

.ad-status {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
}

.status-icon {
    font-size: 1.1rem;
}

/* FAQ accordion */
.faq-section {
    margin-bottom: 32px;
}

.faq-section h3 {
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    transition: background 0.2s;
}

.faq-question:hover {
    background: var(--bg-elevated);
}

.faq-toggle {
    font-size: 1.25rem;
    color: var(--text-muted);
    font-weight: 300;
}

.faq-answer {
    display: none;
    padding: 0 20px 20px;
}

.faq-item.open .faq-answer {
    display: block;
}

.faq-item.open .faq-toggle {
    content: '-';
}

.faq-answer p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Earnings calculator */
.earnings-calculator {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 32px;
    overflow: hidden;
}

.earnings-calculator h2 {
    padding: 24px 24px 16px;
    font-size: 1.25rem;
}

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

.calculator-table th,
.calculator-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.calculator-table th {
    background: var(--bg-elevated);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.calculator-table td {
    font-size: 0.9rem;
}

.calculator-table .missing {
    color: var(--error);
}

.calculator-cta {
    padding: 24px;
    text-align: center;
}

.calculator-cta p {
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.cta-question {
    font-weight: 600;
    color: var(--text);
    margin-bottom: 16px !important;
}

.btn-primary.btn-large {
    display: inline-block;
    padding: 16px 32px;
    background: var(--partner-color);
    color: #fff;
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s;
}

.btn-primary.btn-large:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.scarcity-notice {
    padding: 16px 24px;
    background: rgba(239, 68, 68, 0.05);
    border-top: 1px solid var(--border);
    text-align: center;
}

.scarcity-notice p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 4px 0;
}

.scarcity-notice strong {
    color: var(--error);
}

/* Scaled stats grid */
.scaled-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.stat-card.large {
    grid-column: span 1;
}

/* Leaderboard */
.leaderboard-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 32px;
}

.leaderboard-section h3 {
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.leaderboard-table {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.leaderboard-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.leaderboard-row.is-you {
    border-color: var(--accent);
    background: rgba(204, 255, 0, 0.03);
}

.leaderboard-row .rank {
    font-weight: 700;
    color: var(--text-muted);
    min-width: 32px;
}

.leaderboard-row .name {
    flex: 1;
    font-weight: 500;
}

.leaderboard-row .earnings {
    font-weight: 600;
    color: var(--accent);
}

/* ========================================
   PRODUCT CARD WITH IMAGE (Fresh State)
   ======================================== */
.product-card-fresh {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
}

.product-card-fresh:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.product-image-wrapper {
    width: 100%;
    height: 160px;
    overflow: hidden;
    position: relative;
}

.product-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-card-fresh:hover .product-thumbnail {
    transform: scale(1.05);
}

.product-card-fresh .product-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.product-card-fresh .product-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 0;
}

.product-card-fresh h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0;
}

.product-card-fresh .product-creator {
    display: block;
    width: 100%;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: -4px;
}

.product-card-fresh .product-commission {
    background: var(--accent-dim);
    border: 1px solid rgba(204, 255, 0, 0.2);
    border-radius: var(--radius-sm);
    padding: 12px;
    text-align: center;
    font-weight: 600;
    color: var(--accent);
    font-size: 0.95rem;
}

.product-card-fresh .btn-get-link {
    width: 100%;
    padding: 14px;
    background: var(--accent);
    color: #000;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: auto;
}

.product-card-fresh .btn-get-link:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

/* Product Card Badge */
.product-card-fresh.has-badge {
    position: relative;
    border-color: rgba(34, 197, 94, 0.3);
}

.product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 10px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border-radius: 4px;
    z-index: 2;
}

.product-badge.most-popular {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
}

/* Product Description */
.product-card-fresh .product-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* Product Hook */
.product-card-fresh .product-hook {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    background: var(--accent-dim);
    padding: 4px 10px;
    border-radius: 20px;
    margin-top: 4px;
}

/* ========================================
   GUIDE CONTENT PADDING FIX
   ======================================== */
.guide-content {
    display: none;
    padding: 20px 20px 20px 20px;
    border-top: 1px solid var(--border);
    margin-top: 0;
}

.guide-item.open .guide-content {
    display: block;
}

.guide-content > *:first-child {
    margin-top: 0;
}

.guide-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
}

.guide-content ol {
    padding-left: 24px;
    margin: 0 0 16px 0;
}

.guide-content ol li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 10px;
    padding-left: 4px;
}

.guide-content ol li a {
    color: var(--accent);
    text-decoration: none;
}

.guide-content ol li a:hover {
    text-decoration: underline;
}

/* ========================================
   MODAL STYLING FIX (Critical)
   ======================================== */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.2s ease;
}

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

.modal-content h2 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 8px;
    padding-right: 32px;
}

.modal-content > p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    line-height: 1;
}

.modal-close:hover {
    background: var(--bg);
    border-color: var(--border-hover);
    color: var(--text);
}

/* ========================================
   FORM STYLING (All Forms)
   ======================================== */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.form-group:last-of-type {
    margin-bottom: 24px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 14px 16px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(204, 255, 0, 0.1);
}

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

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

/* ========================================
   BUTTON STYLING (All Buttons)
   ======================================== */
.btn-primary,
button[type="submit"],
.modal-content button[type="submit"] {
    width: 100%;
    padding: 14px 24px;
    background: var(--accent);
    color: #000;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.btn-primary:hover,
button[type="submit"]:hover,
.modal-content button[type="submit"]:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

.btn-secondary {
    width: 100%;
    padding: 14px 24px;
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

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

/* ========================================
   CELEBRATION MODAL STYLING
   ======================================== */
.celebration-modal .modal-content,
.celebration-content {
    text-align: center;
    padding: 48px 32px;
}

.celebration-content h1 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--accent) 0%, #fff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.celebration-amount {
    font-size: 4rem;
    font-weight: 800;
    color: var(--success);
    margin-bottom: 16px;
    display: block;
}

.celebration-message {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.6;
}

.celebration-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.celebration-actions .btn-primary {
    background: #00b67a;
}

.celebration-actions .btn-primary:hover {
    background: #00a06a;
}

/* ========================================
   UPGRADE BANNER FLOAT
   ======================================== */
.upgrade-banner-float {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
    border-top: 1px solid var(--partner-color);
    padding: 16px 24px;
    z-index: 99;
    display: flex;
    align-items: center;
}

.banner-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-size: 0.9rem;
}

.banner-content span {
    color: #c7d2fe;
}

.banner-content strong {
    color: var(--accent);
}

.btn-banner {
    padding: 10px 20px;
    background: var(--accent);
    color: #000;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
}

.btn-banner:hover {
    background: var(--accent-hover);
}

.banner-close {
    background: transparent;
    border: none;
    color: #a5b4fc;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0 0 0 16px;
    line-height: 1;
}

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

/* ========================================
   TOAST NOTIFICATION
   ======================================== */
.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    left: auto;
    transform: translateY(100px);
    background: #1a1a1a;
    border: 1px solid var(--accent);
    border-radius: var(--radius);
    padding: 14px 24px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #fff;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10001;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(204, 255, 0, 0.2);
    max-width: 320px;
}

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

/* Static toast element - must stay hidden until .show is added */
/* ID selector has higher specificity to override the .toast animation */
#toast {
    animation: none !important;
    opacity: 0;
    transform: translateY(100px);
    pointer-events: none;
}

#toast.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

@media (max-width: 768px) {
    .toast {
        left: 16px;
        right: 16px;
        bottom: 100px;
        max-width: none;
    }
}

/* ========================================
   MOBILE MODAL FIXES
   ======================================== */
@media (max-width: 768px) {
    .modal {
        padding: 16px;
        align-items: flex-end;
    }
    
    .modal-content {
        padding: 24px 20px;
        border-radius: var(--radius) var(--radius) 0 0;
        max-height: 85vh;
        margin-bottom: 0;
    }
    
    .modal-content h2 {
        font-size: 1.2rem;
    }
    
    .celebration-content {
        padding: 32px 20px;
    }
    
    .celebration-amount {
        font-size: 3rem;
    }
    
    .celebration-content h1 {
        font-size: 1.35rem;
    }
}

/* ========================================
   PRODUCTS GRID MOBILE
   ======================================== */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .product-image-wrapper {
        height: 140px;
    }

    .product-card-fresh .product-content {
        padding: 16px;
        gap: 10px;
    }

    .product-card-fresh h3 {
        font-size: 1.05rem;
    }

    .product-card-fresh .product-description {
        font-size: 0.85rem;
    }

    .product-card-fresh .product-hook {
        font-size: 0.7rem;
        padding: 3px 8px;
    }

    .product-badge {
        top: 8px;
        right: 8px;
        font-size: 0.65rem;
        padding: 3px 8px;
    }
}

/* ========================================
   GENERAL SPACING & POLISH
   ======================================== */
.section-divider {
    height: 1px;
    background: var(--border);
    margin: 40px 0;
}

@media (max-width: 768px) {
    .section-divider {
        margin: 32px 0;
    }
}

/* Social proof section spacing */
.social-proof-section {
    margin-bottom: 40px;
}

/* Better spacing for earnings calculator */
.earnings-calculator h2 {
    margin: 0;
    padding: 24px;
    border-bottom: 1px solid var(--border);
}

/* Fix scaled stats grid on tablet */
@media (max-width: 900px) {
    .scaled-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Ensure all inputs have consistent height */
input, textarea, select, button {
    font-family: inherit;
}

/* Remove any default styling artifacts */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

/* Make sure modals display properly */
.modal[style*="display: flex"] {
    display: flex !important;
}

.modal[style*="display: none"] {
    display: none !important;
}

/* ========================================
   STICKY HEADER (Desktop Only)
   ======================================== */
@media (min-width: 769px) {
    .dashboard-header {
        position: sticky;
        top: 0;
        z-index: 100;
        background: var(--bg);
        padding: 16px 0 20px;
        margin: 0 0 32px 0;
        box-shadow: none;
    }
}

/* ========================================
   LOCKED STEP STYLES (Guide Items)
   ======================================== */
.guide-item.locked {
    opacity: 0.4;
    pointer-events: none;
    cursor: not-allowed;
}

.guide-item.locked .guide-header {
    cursor: not-allowed;
}

.guide-item.locked .guide-number {
    background: var(--bg-elevated);
    border-color: var(--border);
    color: var(--text-muted);
    opacity: 0.6;
}

.guide-item.locked .guide-title {
    opacity: 0.5;
}

.guide-item.locked::after {
    content: 'Complete previous step to unlock';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    z-index: 10;
}

.guide-item.locked:hover::after {
    opacity: 1;
}

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

.guide-item.current .guide-number {
    background: var(--accent);
    border-color: var(--accent);
    color: #000;
}

/* Checklist item locked state */
.checklist-item.locked {
    opacity: 0.4;
    cursor: not-allowed;
}

.checklist-item.locked .check-icon {
    font-size: 0.8rem;
}

.checklist-item.current {
    border-color: var(--accent);
    background: rgba(204, 255, 0, 0.03);
}

.locked-hint {
    display: none;
    font-size: 0.65rem;
    color: var(--text-muted);
    margin-left: auto;
}

.checklist-item.locked:hover .locked-hint {
    display: block;
}

/* ========================================
   LOADING STATES
   ======================================== */
.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(0, 0, 0, 0.3);
    border-top-color: #000;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.btn-get-link .spinner {
    width: 14px;
    height: 14px;
    margin-right: 6px;
    vertical-align: middle;
}

.btn-get-link.loading {
    opacity: 0.8;
    cursor: wait;
}

.btn-get-link .btn-loading {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-change-funnel .spinner {
    width: 12px;
    height: 12px;
    border-width: 2px;
    border-color: rgba(255, 255, 255, 0.3);
    border-top-color: var(--text);
    margin-right: 4px;
}

/* Full screen loading overlay */
.loading-overlay-inline {
    position: fixed;
    inset: 0;
    background: rgba(3, 3, 3, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    z-index: 9999;
}

.loading-overlay-inline .loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.loading-overlay-inline p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ========================================
   REMOVE PRODUCT COMMISSION
   ======================================== */
.product-card-fresh .product-commission {
    display: none;
}

/* ========================================
   GUIDES PROGRESS INDICATOR
   ======================================== */
.guides-progress {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 16px;
}

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

.guides-progress-text strong {
    color: var(--accent);
    font-weight: 600;
}

.guides-progress-bar {
    flex: 1;
    max-width: 200px;
    height: 6px;
    background: var(--bg-elevated);
    border-radius: 3px;
    margin-left: 20px;
    overflow: hidden;
}

.guides-progress-fill {
    height: 100%;
    background: var(--accent);
    border-radius: 3px;
    transition: width 0.3s ease;
}

@media (max-width: 768px) {
    .guides-progress {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .guides-progress-bar {
        width: 100%;
        max-width: none;
        margin-left: 0;
    }
}

/* ========================================
   LIVE STATE - CONFIRMATION VIEW
   ======================================== */

.live-view {
    width: 100%;
}

.live-confirm-content {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    padding: 40px 20px;
}

.live-confirm-card {
    background: linear-gradient(180deg, rgba(30, 30, 30, 0.9) 0%, rgba(20, 20, 20, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 48px;
    max-width: 520px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.live-confirm-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(204, 255, 0, 0.1);
    border-radius: 50%;
    color: var(--accent);
}

.live-confirm-icon svg {
    stroke: var(--accent);
}

.live-confirm-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 16px 0;
}

.live-confirm-description {
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 0 0 32px 0;
    line-height: 1.6;
}

.live-confirm-checklist {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
    text-align: left;
}

.live-confirm-check-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.live-confirm-check-item svg {
    flex-shrink: 0;
    color: var(--accent);
    stroke: var(--accent);
}

.live-confirm-check-item span {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.live-confirm-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 32px;
    background: linear-gradient(135deg, var(--accent) 0%, #b8e600 100%);
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    color: #000;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 20px rgba(204, 255, 0, 0.3);
}

.live-confirm-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(204, 255, 0, 0.4);
}

.live-confirm-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.live-confirm-btn svg {
    stroke: #000;
}

.live-confirm-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 20px 0 0 0;
    line-height: 1.5;
}

/* Mobile responsiveness for confirmation view */
@media (max-width: 640px) {
    .live-confirm-content {
        padding: 24px 16px;
        min-height: auto;
    }

    .live-confirm-card {
        padding: 32px 24px;
    }

    .live-confirm-icon {
        width: 64px;
        height: 64px;
    }

    .live-confirm-icon svg {
        width: 32px;
        height: 32px;
    }

    .live-confirm-title {
        font-size: 1.5rem;
    }

    .live-confirm-btn {
        padding: 16px 24px;
        font-size: 0.95rem;
    }

    .live-confirm-check-item {
        padding: 10px 12px;
    }

    .live-confirm-check-item span {
        font-size: 0.875rem;
    }
}

/* ========================================
   LIVE STATE - PREMIUM REDESIGN
   ======================================== */

/* Live Hero Section */
.live-hero {
    position: relative;
    text-align: center;
    padding: 48px 24px;
    margin-bottom: 40px;
    overflow: hidden;
}

.live-hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse at center, rgba(204, 255, 0, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.live-hero h1 {
    position: relative;
    z-index: 1;
    font-size: 2.5rem;
    font-weight: 800;
    margin: 16px 0;
    background: linear-gradient(135deg, #fff 0%, #ccff00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.live-hero .challenge-badge {
    position: relative;
    z-index: 1;
}

.live-hero-subtitle {
    position: relative;
    z-index: 1;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.live-status-pill {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 100px;
    font-size: 0.9rem;
    color: var(--text);
}

.live-status-pill strong {
    color: var(--success);
}

.status-pulse {
    width: 10px;
    height: 10px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

/* Premium Timeline */
.live-timeline-section {
    margin-bottom: 40px;
}

.live-timeline-section h3 {
    font-size: 1.25rem;
    margin-bottom: 24px;
    text-align: center;
}

.live-timeline {
    position: relative;
    padding-left: 40px;
}

.timeline-track {
    position: absolute;
    left: 15px;
    top: 20px;
    bottom: 20px;
    width: 2px;
    background: var(--border);
    border-radius: 1px;
}

.timeline-progress {
    position: absolute;
    left: 15px;
    top: 20px;
    width: 2px;
    background: linear-gradient(180deg, var(--accent) 0%, var(--success) 100%);
    border-radius: 1px;
    transition: height 0.5s ease;
}

.live-timeline-item {
    position: relative;
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
}

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

.timeline-node {
    position: absolute;
    left: -40px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-node-inner {
    width: 32px;
    height: 32px;
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    z-index: 2;
    transition: all 0.3s ease;
}

.timeline-node-glow {
    position: absolute;
    inset: -4px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.3;
    animation: nodeGlow 2s ease-in-out infinite;
    z-index: 1;
}

@keyframes nodeGlow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.1;
    }
}

.live-timeline-item.current .timeline-node-inner {
    background: var(--accent);
    border-color: var(--accent);
    color: #000;
    box-shadow: 0 0 20px rgba(204, 255, 0, 0.4);
}

.live-timeline-item.completed .timeline-node-inner {
    background: var(--success);
    border-color: var(--success);
    color: #fff;
}

.live-timeline-item.completed .timeline-node-inner::before {
    content: '✓';
    font-size: 0.85rem;
}

.timeline-card-content {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 24px;
    transition: all 0.3s ease;
}

.live-timeline-item.current .timeline-card-content {
    border-color: var(--accent);
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(204, 255, 0, 0.05) 100%);
    box-shadow: 0 4px 24px rgba(204, 255, 0, 0.1);
}

.live-timeline-item.completed .timeline-card-content {
    opacity: 0.6;
}

.timeline-phase-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.live-timeline-item.current .timeline-phase-label {
    color: var(--accent);
}

.timeline-phase-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.timeline-card-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* Live Sales Feed - Premium Design */
.live-feed-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 40px;
}

.live-feed-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
}

.live-feed-header h3 {
    font-size: 1.1rem;
    margin: 0 0 4px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.live-feed-header p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

.live-feed-container {
    padding: 16px;
    max-height: 320px;
    overflow-y: auto;
}

.live-feed-scroll {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Individual Sale Card */
.live-sale-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    animation: saleSlideIn 0.5s ease-out;
}

@keyframes saleSlideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.live-sale-card:hover {
    border-color: rgba(34, 197, 94, 0.3);
    background: rgba(34, 197, 94, 0.03);
}

.live-sale-card.new {
    border-color: rgba(34, 197, 94, 0.4);
    background: rgba(34, 197, 94, 0.05);
    animation: saleSlideIn 0.5s ease-out, newSaleGlow 2s ease-out;
}

@keyframes newSaleGlow {
    0% {
        box-shadow: 0 0 20px rgba(34, 197, 94, 0.4);
    }
    100% {
        box-shadow: none;
    }
}

.sale-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2) 0%, rgba(34, 197, 94, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.sale-details {
    flex: 1;
    min-width: 0;
}

.sale-user {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

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

.sale-amount {
    font-size: 1rem;
    font-weight: 700;
    color: var(--success);
    white-space: nowrap;
}

.sale-time {
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
}

/* FAQ Section Improvements */
.faq-section h3 {
    display: flex;
    align-items: center;
    gap: 8px;
}

.faq-subtitle {
    font-weight: 400;
    color: var(--text-muted);
    font-size: 0.9em;
}

/* Fix FAQ Answer Spacing */
.faq-answer {
    display: none;
    padding: 16px 20px 20px;
    margin-top: 0;
}

.faq-item.open .faq-answer {
    display: block;
}

.faq-answer p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* Mobile Responsiveness for Live State */
@media (max-width: 768px) {
    .live-hero {
        padding: 32px 16px;
    }

    .live-hero h1 {
        font-size: 1.8rem;
    }

    .live-hero-glow {
        width: 300px;
        height: 200px;
    }

    .live-status-pill {
        padding: 10px 16px;
        font-size: 0.8rem;
    }

    .live-timeline {
        padding-left: 32px;
    }

    .timeline-track {
        left: 11px;
    }

    .timeline-progress {
        left: 11px;
    }

    .timeline-node {
        left: -32px;
        width: 24px;
        height: 24px;
    }

    .timeline-node-inner {
        width: 24px;
        height: 24px;
        font-size: 0.7rem;
    }

    .timeline-card-content {
        padding: 16px;
    }

    .timeline-phase-title {
        font-size: 1rem;
    }

    .timeline-card-content p {
        font-size: 0.85rem;
    }

    .live-feed-container {
        max-height: 280px;
    }

    .live-sale-card {
        padding: 12px;
        gap: 12px;
    }

    .sale-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .sale-user {
        font-size: 0.85rem;
    }

    .sale-amount {
        font-size: 0.9rem;
    }
}

/* ========================================
   WELCOME PHONE MODAL - Super Slick Design
   ======================================== */

.welcome-phone-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.welcome-phone-modal[style*="display: flex"] {
    display: flex !important;
}

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

.welcome-phone-content {
    background: linear-gradient(145deg, #18181b 0%, #0f0f12 100%);
    border: 1px solid rgba(204, 255, 0, 0.15);
    border-radius: 24px;
    padding: 40px 32px;
    max-width: 420px;
    width: 100%;
    text-align: center;
    position: relative;
    box-shadow: 
        0 0 60px rgba(204, 255, 0, 0.08),
        0 25px 50px -12px rgba(0, 0, 0, 0.6);
    animation: slideUp 0.4s ease;
}

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

.welcome-phone-header {
    margin-bottom: 28px;
}

.welcome-avatar-ring {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.welcome-avatar-pulse {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: rgba(204, 255, 0, 0.15);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.15); opacity: 0.2; }
}

.welcome-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ccff00 0%, #a3cc00 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.welcome-avatar svg {
    width: 36px;
    height: 36px;
    stroke: #000;
    stroke-width: 2.5;
}

/* Stuck help variant styling */
.stuck-ring .stuck-pulse {
    background: rgba(251, 191, 36, 0.15);
}

.stuck-avatar {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

.welcome-phone-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
    letter-spacing: -0.02em;
}

.welcome-phone-subtitle {
    font-size: 0.95rem;
    color: #a1a1aa;
    line-height: 1.5;
    margin: 0;
    max-width: 320px;
    margin: 0 auto;
}

/* Phone Input Group */
.welcome-phone-form {
    margin-bottom: 16px;
}

.phone-input-group {
    display: flex;
    background: #09090b;
    border: 2px solid #27272a;
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.2s;
    margin-bottom: 16px;
}

.phone-input-group:focus-within {
    border-color: #ccff00;
    box-shadow: 0 0 0 4px rgba(204, 255, 0, 0.1);
}

.country-select-wrapper {
    position: relative;
}

.country-select-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 16px 12px;
    background: rgba(39, 39, 42, 0.5);
    border: none;
    border-right: 1px solid #27272a;
    cursor: pointer;
    transition: background 0.2s;
    min-width: 95px;
}

.country-select-btn:hover {
    background: rgba(39, 39, 42, 0.8);
}

.country-flag {
    font-size: 1.25rem;
    line-height: 1;
}

.country-code {
    font-size: 0.9rem;
    font-weight: 600;
    color: #e4e4e7;
}

.dropdown-arrow {
    width: 14px;
    height: 14px;
    stroke: #71717a;
    transition: transform 0.2s;
}

.country-select-btn.open .dropdown-arrow {
    transform: rotate(180deg);
}

/* Country Dropdown */
.country-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 280px;
    max-height: 300px;
    background: #18181b;
    border: 1px solid #27272a;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    display: none;
    flex-direction: column;
    z-index: 100;
    overflow: hidden;
}

.country-dropdown.open {
    display: flex;
}

.country-search {
    padding: 12px 14px;
    background: #09090b;
    border: none;
    border-bottom: 1px solid #27272a;
    color: #fff;
    font-size: 0.9rem;
    outline: none;
}

.country-search::placeholder {
    color: #52525b;
}

.country-list {
    overflow-y: auto;
    max-height: 240px;
}

.country-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    cursor: pointer;
    transition: background 0.15s;
}

.country-option:hover {
    background: rgba(204, 255, 0, 0.08);
}

.country-option.selected {
    background: rgba(204, 255, 0, 0.12);
}

.country-option-flag {
    font-size: 1.2rem;
}

.country-option-name {
    flex: 1;
    font-size: 0.9rem;
    color: #e4e4e7;
}

.country-option-code {
    font-size: 0.85rem;
    color: #71717a;
    font-weight: 500;
}

/* Phone Number Input */
.phone-number-input {
    flex: 1;
    padding: 16px 14px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    outline: none;
}

.phone-number-input::placeholder {
    color: #52525b;
    font-weight: 400;
}

/* Submit Button */
.welcome-phone-submit {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #ccff00 0%, #b3e600 100%);
    border: none;
    border-radius: 12px;
    color: #000;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.welcome-phone-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(204, 255, 0, 0.25);
}

.welcome-phone-submit:active {
    transform: translateY(0);
}

.welcome-phone-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.stuck-submit {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

.stuck-submit:hover {
    box-shadow: 0 8px 20px rgba(251, 191, 36, 0.25);
}

.spinner-small {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-top-color: #000;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: inline-block;
}

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

/* Skip Button */
.welcome-phone-skip {
    background: none;
    border: none;
    color: #52525b;
    font-size: 0.85rem;
    cursor: pointer;
    padding: 12px;
    transition: color 0.2s;
}

.welcome-phone-skip:hover {
    color: #71717a;
}

/* Privacy Note */
.welcome-phone-privacy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 20px;
    font-size: 0.8rem;
    color: #52525b;
}

.welcome-phone-privacy svg {
    stroke: #52525b;
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .welcome-phone-content {
        padding: 32px 24px;
        border-radius: 20px;
    }

    .welcome-avatar-ring {
        width: 70px;
        height: 70px;
    }

    .welcome-avatar {
        width: 70px;
        height: 70px;
    }

    .welcome-avatar svg {
        width: 30px;
        height: 30px;
    }

    .welcome-phone-content h2 {
        font-size: 1.35rem;
    }

    .welcome-phone-subtitle {
        font-size: 0.9rem;
    }

    .phone-input-group {
        flex-direction: column;
        border-radius: 12px;
    }

    .country-select-btn {
        border-right: none;
        border-bottom: 1px solid #27272a;
        justify-content: center;
        padding: 14px;
    }

    .country-dropdown {
        width: 100%;
        left: 50%;
        transform: translateX(-50%);
    }

    .phone-number-input {
        text-align: center;
        padding: 14px;
    }
}

/* Success State */
.welcome-phone-content.success {
    animation: successPop 0.4s ease;
}

@keyframes successPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.success-checkmark {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    animation: scaleIn 0.3s ease;
}

@keyframes scaleIn {
    from { transform: scale(0); }
    to { transform: scale(1); }
}

.success-checkmark svg {
    width: 32px;
    height: 32px;
    stroke: #fff;
    stroke-width: 3;
}

/* ========================================
   MOBILE OVERFLOW FIX - COMPREHENSIVE
   ======================================== */
@media (max-width: 768px) {
    /* Prevent any horizontal overflow */
    *, *::before, *::after {
        max-width: 100%;
    }

    /* Container fixes */
    .dashboard-container,
    .container,
    .state-container {
        padding-left: 16px;
        padding-right: 16px;
        width: 100%;
        overflow-x: hidden;
    }

    /* Header mobile layout */
    .dashboard-header {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .header-left {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .header-right {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .logo {
        order: 1;
    }

    .online-counter {
        order: 2;
        font-size: 0.7rem;
        padding: 4px 10px;
    }

    /* Challenge header */
    .challenge-header {
        padding: 0 8px;
    }

    .challenge-header h1 {
        font-size: 1.4rem;
        word-wrap: break-word;
    }

    .challenge-subtitle {
        font-size: 0.9rem;
        padding: 0 8px;
    }

    /* Launch challenge banner */
    .launch-challenge-banner {
        padding: 16px;
        margin-left: 0;
        margin-right: 0;
    }

    /* Products grid */
    .products-grid {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }

    /* Product cards */
    .product-card,
    .product-card-fresh {
        width: 100%;
        max-width: 100%;
    }

    .product-image-wrapper {
        height: 140px;
    }

    /* Affiliate link box */
    .affiliate-link-box,
    .link-copy-row {
        width: 100%;
    }

    .link-copy-row input {
        min-width: 0;
        width: 100%;
    }

    /* Checklist items */
    .checklist-card,
    .guide-item {
        width: 100%;
    }

    /* Creatives grid */
    .creatives-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .creative-item {
        height: 80px;
    }

    /* Tables */
    .sales-table-wrapper {
        margin-left: -16px;
        margin-right: -16px;
        padding-left: 16px;
        padding-right: 16px;
    }

    /* Modals */
    .modal-card {
        margin: 16px;
        max-width: calc(100vw - 32px);
        max-height: calc(100vh - 32px);
    }

    /* Forms */
    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100%;
    }

    /* Buttons */
    .btn-primary,
    .btn-secondary,
    .btn-submit {
        width: 100%;
    }

    /* Stats grid */
    .stats-grid {
        grid-template-columns: 1fr !important;
    }

    /* Selected product card */
    .selected-product-card {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .selected-product-card .info {
        width: 100%;
    }
}

/* Extra small screens */
@media (max-width: 400px) {
    .dashboard-container,
    .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .challenge-header h1 {
        font-size: 1.25rem;
    }

    .countdown-value {
        font-size: 1.5rem;
    }

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

    .logo-text {
        font-size: 16px;
    }
}

/* ===== WELCOME CHOICE SCREEN ===== */
.welcome-choice-screen {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.welcome-container {
    max-width: 800px;
    width: 100%;
    text-align: center;
}

.welcome-header {
    margin-bottom: 48px;
}

.welcome-header h1 {
    font-size: 36px;
    font-weight: 700;
    color: #fafafa;
    margin-bottom: 12px;
}

.welcome-subtitle {
    font-size: 18px;
    color: #a1a1aa;
}

.choice-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 32px;
}

@media (max-width: 700px) {
    .choice-cards {
        grid-template-columns: 1fr;
    }
    .choice-card.featured {
        order: -1;
    }
}

.choice-card {
    background: #0a0a0a;
    border: 1px solid #1f1f1f;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: block;
    position: relative;
}

.choice-card:hover {
    border-color: #333;
    transform: translateY(-2px);
}

.choice-card.featured {
    border: 2px solid #cbff00;
    background: linear-gradient(180deg, rgba(203, 255, 0, 0.05) 0%, #0a0a0a 100%);
}

.choice-card.featured:hover {
    border-color: #cbff00;
    box-shadow: 0 0 40px rgba(203, 255, 0, 0.15);
}

.choice-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #cbff00;
    color: #000;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.choice-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.choice-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: #fafafa;
    margin-bottom: 12px;
}

.choice-card p {
    font-size: 15px;
    color: #a1a1aa;
    line-height: 1.6;
    margin-bottom: 16px;
}

.choice-meta {
    margin-bottom: 20px;
}

.choice-time {
    font-size: 13px;
    color: #71717a;
}

.choice-card.featured .choice-time {
    color: #22c55e;
}

.choice-cta {
    display: inline-block;
    padding: 12px 24px;
    border: 1px solid #333;
    border-radius: 8px;
    color: #fafafa;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s;
}

.choice-card:hover .choice-cta {
    border-color: #cbff00;
    color: #cbff00;
}

.choice-cta-primary {
    display: inline-block;
    padding: 14px 28px;
    background: #cbff00;
    border-radius: 8px;
    color: #000;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s;
}

.choice-card:hover .choice-cta-primary {
    background: #d4ff33;
}

.welcome-note {
    font-size: 14px;
    color: #52525b;
    max-width: 500px;
    margin: 0 auto;
}

/* ========================================
   WELCOME SCREEN - PREMIUM OPTION CARDS
   ======================================== */

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

.welcome-animate-enter {
    animation: welcomeFadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

.welcome-animate-enter.delay-100 { animation-delay: 0.1s; }
.welcome-animate-enter.delay-200 { animation-delay: 0.2s; }
.welcome-animate-enter.delay-300 { animation-delay: 0.3s; }

/* Shimmer Border Effect */
@keyframes welcomeShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.welcome-shimmer-border {
    position: absolute;
    inset: -1px;
    border-radius: 1.5rem;
    padding: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        var(--accent) 50%,
        transparent 100%
    );
    background-size: 200% 100%;
    animation: welcomeShimmer 4s infinite linear;
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.6;
    pointer-events: none;
}

/* Badge Pulse */
@keyframes welcomePulseBadge {
    0% { box-shadow: 0 0 0 0 var(--accent-glow); }
    70% { box-shadow: 0 0 0 6px rgba(0,0,0,0); }
    100% { box-shadow: 0 0 0 0 rgba(0,0,0,0); }
}

.welcome-badge-pulse {
    animation: welcomePulseBadge 2s infinite;
}

/* Premium Welcome Container */
.welcome-premium-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 16px 80px;
}

/* Hero Text */
.welcome-hero-text {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.welcome-hero-text h1 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    color: var(--text);
}

@media (min-width: 768px) {
    .welcome-hero-text h1 {
        font-size: 3rem;
    }
}

.welcome-hero-text p {
    color: var(--text-muted);
    font-size: 1.125rem;
}

@media (min-width: 768px) {
    .welcome-hero-text p {
        font-size: 1.25rem;
    }
}

/* Options Grid */
.welcome-options-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    width: 100%;
    max-width: 896px;
    margin: 0 auto;
}

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

/* Option Cards */
.welcome-option-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-card);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-radius: 1.5rem;
    padding: 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

/* Remove any default link styling from welcome cards */
a.welcome-option-card,
a.welcome-option-card:hover,
a.welcome-option-card:visited,
a.welcome-option-card:focus,
a.welcome-option-card:active {
    text-decoration: none;
    color: inherit;
}

.welcome-option-card *,
.welcome-option-card a {
    text-decoration: none;
}

.welcome-option-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-highlight);
    background-color: var(--bg-card-hover);
}

.welcome-option-card.card-primary {
    border-color: transparent;
}

.welcome-option-card.card-primary:hover {
    box-shadow: var(--shadow-primary);
}

/* Icon Box */
.welcome-icon-box {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
    border: 1px solid var(--border-subtle);
    transition: transform 0.3s ease;
    font-size: 1.875rem;
}

.welcome-option-card:hover .welcome-icon-box {
    transform: scale(1.1);
}

[data-theme="light"] .welcome-icon-box {
    background: #f3f4f6;
    border-color: rgba(0,0,0,0.05);
}

.welcome-icon-box.icon-primary {
    border-color: rgba(204, 255, 0, 0.3);
    box-shadow: 0 0 20px -5px var(--accent-glow);
}

[data-theme="light"] .welcome-icon-box.icon-primary {
    border-color: rgba(101, 163, 13, 0.3);
}

/* Welcome Badge */
.welcome-badge {
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.25rem 1rem;
    border-radius: 9999px;
    background-color: var(--accent-badge-bg);
    border: 1px solid rgba(204, 255, 0, 0.3);
    backdrop-filter: blur(4px);
}

[data-theme="light"] .welcome-badge {
    border-color: rgba(101, 163, 13, 0.3);
}

.welcome-badge span {
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-badge-text);
}

/* Card Content */
.welcome-card-content {
    flex: 1;
}

.welcome-card-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.welcome-card-content p {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.welcome-card-meta {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.125rem 0.5rem;
    border-radius: 4px;
    background: var(--border-subtle);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
}

.welcome-card-meta.meta-highlight {
    background: transparent;
    padding: 0;
    color: var(--accent-badge-text);
}

/* Button Styles */
.welcome-btn-primary {
    background-color: var(--accent);
    color: black;
    font-weight: 600;
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 0.75rem;
    transition: all 0.2s ease;
    margin-top: auto;
    position: relative;
    z-index: 10;
    box-shadow: 0 10px 20px -5px var(--accent-glow);
    cursor: pointer;
    font-size: 1rem;
    font-family: inherit;
}

[data-theme="light"] .welcome-btn-primary {
    color: white;
}

.welcome-btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.welcome-btn-secondary {
    background-color: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text);
    font-weight: 500;
    width: 100%;
    padding: 1rem;
    border-radius: 0.75rem;
    transition: all 0.2s ease;
    margin-top: auto;
    cursor: pointer;
    font-size: 1rem;
    font-family: inherit;
}

.welcome-btn-secondary:hover {
    border-color: var(--text-muted);
    background-color: rgba(255,255,255,0.03);
}

[data-theme="light"] .welcome-btn-secondary:hover {
    background-color: rgba(0,0,0,0.03);
}

/* Footer Text */
.welcome-footer-text {
    margin-top: 48px;
    text-align: center;
}

.welcome-footer-text p {
    font-size: 0.875rem;
    color: var(--text-muted);
    max-width: 28rem;
    margin: 0 auto;
}

.welcome-footer-text .text-highlight {
    color: var(--text);
    font-weight: 500;
}

/* Mobile: Show featured card first */
@media (max-width: 767px) {
    .welcome-option-card.card-primary {
        order: -1;
    }
}

/* ===== HEADER SUBMIT BUTTON ===== */
.header-submit {
    position: relative;
    margin-right: 16px;
}

.btn-header-submit {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: transparent;
    border: 1px solid #333;
    border-radius: 8px;
    color: #a1a1aa;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.btn-header-submit:hover {
    border-color: #cbff00;
    color: #cbff00;
}

.btn-header-submit.disabled {
    opacity: 0.5;
    cursor: default;
}

.btn-header-submit.disabled:hover {
    border-color: #333;
    color: #a1a1aa;
}

.submit-icon {
    font-size: 14px;
}

.submit-count {
    color: #52525b;
    font-size: 12px;
}

.btn-header-submit:not(.disabled) .submit-count {
    color: #cbff00;
}

/* Popover */
.submit-popover {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 280px;
    background: #0a0a0a;
    border: 1px solid #1f1f1f;
    border-radius: 12px;
    padding: 20px;
    z-index: 100;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.submit-popover::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 20px;
    width: 12px;
    height: 12px;
    background: #0a0a0a;
    border-left: 1px solid #1f1f1f;
    border-top: 1px solid #1f1f1f;
    transform: rotate(45deg);
}

.popover-title {
    font-size: 14px;
    font-weight: 600;
    color: #fafafa;
    margin-bottom: 8px;
}

.popover-text {
    font-size: 13px;
    color: #a1a1aa;
    line-height: 1.5;
    margin-bottom: 12px;
}

.popover-upgrade {
    font-size: 13px;
    color: #71717a;
    margin-bottom: 12px;
}

.popover-cta {
    display: block;
    text-align: center;
    padding: 10px 16px;
    background: #cbff00;
    color: #000;
    text-decoration: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
}

.popover-cta:hover {
    background: #d4ff33;
}

/* Mobile adjustments */
@media (max-width: 600px) {
    .submit-text {
        display: none;
    }

    .btn-header-submit {
        padding: 8px 10px;
    }

    .submit-popover {
        right: -60px;
        width: 260px;
    }
}

/* ===== FRESH STATE NAVIGATION ===== */
.back-to-welcome {
    background: none;
    border: none;
    color: #52525b;
    font-size: 13px;
    cursor: pointer;
    padding: 8px 0;
    margin-bottom: 16px;
    display: block;
    font-family: inherit;
}

.back-to-welcome:hover {
    color: #a1a1aa;
}

.alt-path-hint {
    text-align: center;
    margin-bottom: 24px;
    font-size: 13px;
    color: #52525b;
}

.alt-path-hint a {
    color: #a1a1aa;
    text-decoration: none;
    margin-left: 4px;
}

.alt-path-hint a:hover {
    color: #cbff00;
}

/* ===== TOAST NOTIFICATIONS ===== */
.toast-container {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.toast {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    pointer-events: auto;
    animation: toastSlideUp 0.3s ease;
    max-width: 400px;
}

.toast.success {
    border-color: #22c55e;
    background: linear-gradient(135deg, #0a1a0a 0%, #1a1a1a 100%);
}

.toast.error {
    border-color: #ef4444;
    background: linear-gradient(135deg, #1a0a0a 0%, #1a1a1a 100%);
}

.toast.info {
    border-color: #cbff00;
    background: linear-gradient(135deg, #1a1a0a 0%, #1a1a1a 100%);
}

.toast-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.toast.success .toast-icon::before { content: '✓'; color: #22c55e; }
.toast.error .toast-icon::before { content: '✕'; color: #ef4444; }
.toast.info .toast-icon::before { content: 'ℹ'; color: #cbff00; }

.toast-message {
    font-size: 14px;
    color: #fafafa;
    line-height: 1.4;
}

.toast-close {
    background: none;
    border: none;
    color: #52525b;
    cursor: pointer;
    padding: 4px;
    margin-left: 8px;
    font-size: 18px;
    line-height: 1;
}

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

.toast.hiding {
    animation: toastSlideDown 0.2s ease forwards;
}

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

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

/* Mobile adjustments for toast */
@media (max-width: 500px) {
    .toast-container {
        left: 16px;
        right: 16px;
        transform: none;
    }

    .toast {
        max-width: none;
    }
}

/* ===== ACTIVATED STATE ===== */
#state-activated {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Stats Bar - Clean Design */
.activated-stats-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: #1f1f1f;
    border: 1px solid #1f1f1f;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 32px;
}

.activated-stats-bar .stat-item {
    background: #0a0a0a;
    padding: 24px;
    text-align: center;
}

.activated-stats-bar .stat-label {
    display: block;
    font-size: 11px;
    font-weight: 500;
    color: #52525b;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.activated-stats-bar .stat-value {
    font-size: 28px;
    font-weight: 700;
    color: #fafafa;
}

.activated-stats-bar .tier-creator {
    color: #a1a1aa;
}

.activated-stats-bar .tier-partner {
    color: #22c55e;
}

.activated-stats-bar .tier-elite {
    color: #f59e0b;
}

/* ===== PARTNER UPGRADE SECTION (Gemini Design) ===== */
.partner-upgrade-gemini {
    margin-bottom: 48px;
}

.upgrade-outer {
    position: relative;
    background:
        linear-gradient(#0a0a0a, #0a0a0a) padding-box,
        linear-gradient(145deg, rgba(255,255,255,0.1), transparent 40%, #cbff00) border-box;
    border: 1px solid transparent;
    border-radius: 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.upgrade-outer:hover {
    box-shadow: 0 0 30px -5px rgba(203, 255, 0, 0.15);
    transform: translateY(-2px);
}

.upgrade-inner {
    background: #0a0a0a;
    border-radius: 23px;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.upgrade-bg-glow {
    position: absolute;
    top: 0;
    right: 0;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle at center, rgba(203,255,0,0.08) 0%, transparent 70%);
    pointer-events: none;
    transform: translate(33%, -50%);
}

.upgrade-bg-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, #333, transparent);
}

.partner-upgrade-gemini .upgrade-content {
    display: flex;
    gap: 48px;
    position: relative;
    z-index: 1;
}

/* Left Column */
.upgrade-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.upgrade-header {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.upgrade-badge-alert {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 100px;
    color: #f87171;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: fit-content;
}

.upgrade-headline {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 40px;
    font-weight: 700;
    color: #fafafa;
    line-height: 1.1;
    /* Prevent text reflow during number animation */
    white-space: nowrap;
}

.upgrade-loss-amount {
    color: #cbff00;
    text-shadow: 0 0 20px rgba(203, 255, 0, 0.3);
    text-decoration: line-through;
    text-decoration-color: rgba(255, 255, 255, 0.3);
    /* FIX: Prevent layout shift during animation */
    display: inline-block;
    min-width: 140px;
    text-align: left;
}

.upgrade-subtext {
    font-size: 16px;
    color: #a1a1aa;
    line-height: 1.7;
    max-width: 540px;
}

.upgrade-subtext .text-white {
    color: #fafafa;
    font-weight: 600;
}

.upgrade-highlight {
    color: #fafafa;
    text-decoration: underline;
    text-decoration-color: #cbff00;
}

/* Comparison Box */
.upgrade-comparison-box {
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.comparison-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.comparison-row-partner {
    position: relative;
}

.partner-upgrade-gemini .comparison-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    font-weight: 500;
}

.comparison-label-text {
    color: #71717a;
}

.comparison-label-text.partner {
    color: #cbff00;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}

.partner-upgrade-gemini .comparison-value {
    color: #a1a1aa;
    font-size: 14px;
}

.partner-upgrade-gemini .comparison-value.partner {
    color: #cbff00;
    font-weight: 700;
}

.comparison-bar-bg {
    height: 12px;
    background: #1f1f1f;
    border-radius: 100px;
    overflow: hidden;
}

.comparison-bar {
    height: 100%;
    border-radius: 100px;
    width: 0%;
    transition: width 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.comparison-bar-current {
    background: #52525b;
}

.comparison-bar-partner {
    background: #cbff00;
    box-shadow: 0 0 15px rgba(203, 255, 0, 0.5);
}

.comparison-badge {
    position: absolute;
    right: -8px;
    top: 24px;
    background: #cbff00;
    color: #000;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    transform: rotate(3deg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Right Column */
.upgrade-right {
    width: 380px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.upgrade-cta-panel {
    background: linear-gradient(180deg, rgba(20,20,20,0.95) 0%, rgba(10,10,10,0.98) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
    width: 100%;
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.5);
}

.upgrade-spotlight {
    position: absolute;
    inset: -1px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.1), transparent);
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.upgrade-cta-panel:hover .upgrade-spotlight {
    opacity: 1;
}

.upgrade-status {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 500;
    color: #22c55e;
}

.upgrade-status-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
    70% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.upgrade-pitch h3 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #fafafa;
    margin-bottom: 8px;
}

.upgrade-pitch p {
    font-size: 13px;
    color: #71717a;
    line-height: 1.5;
}

.upgrade-social-proof {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.upgrade-avatars {
    display: flex;
    margin-left: 8px;
}

.upgrade-avatar-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #111;
    margin-left: -10px;
    object-fit: cover;
}

.upgrade-avatar-img:first-child {
    margin-left: 0;
}

.upgrade-spots {
    font-size: 12px;
    color: #71717a;
}

.upgrade-spots strong {
    display: block;
    font-size: 14px;
    color: #fafafa;
    font-weight: 600;
}

.upgrade-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 18px 24px;
    background: #cbff00;
    color: #000;
    font-size: 16px;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 10px 30px -10px rgba(203, 255, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.upgrade-cta-btn:hover {
    background: #d4ff33;
    transform: translateY(-2px);
    box-shadow: 0 20px 40px -10px rgba(203, 255, 0, 0.5);
}

.upgrade-cta-btn:hover svg {
    transform: translateX(4px);
}

.upgrade-cta-btn svg {
    transition: transform 0.3s;
}

/* Button shine effect */
.upgrade-cta-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: 0.5s;
}

.upgrade-cta-btn:hover::after {
    left: 100%;
}

.upgrade-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 11px;
    color: #52525b;
}

/* ===== LIVE EVENT BANNER ===== */
.live-event-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #0a0a0a;
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.5), 0 4px 20px rgba(0, 0, 0, 0.2);
    margin-bottom: 48px;
}

/* Left red accent line */
.live-event-banner::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #ff3b3b;
    z-index: 10;
}

/* Red gradient glow from left */
.live-event-banner::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 256px;
    background: linear-gradient(to right, rgba(255, 59, 59, 0.1), transparent);
    pointer-events: none;
}

.live-event-banner-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    padding: 24px;
    gap: 24px;
}

@media (min-width: 900px) {
    .live-event-banner-content {
        flex-direction: row;
        align-items: stretch;
        padding: 32px;
        gap: 32px;
    }
}

/* For scaled state where banner is in narrower container */
.scaled-main .live-event-banner-content {
    flex-direction: column;
}

@media (min-width: 1200px) {
    .scaled-main .live-event-banner-content {
        flex-direction: row;
        align-items: stretch;
    }
}

/* Left content area */
.live-event-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Live badge */
.live-event-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 59, 59, 0.1);
    border: 1px solid rgba(255, 59, 59, 0.2);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    color: #ff3b3b;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    width: fit-content;
    margin-bottom: 16px;
}

.live-event-badge-dot {
    width: 6px;
    height: 6px;
    background: #ff3b3b;
    border-radius: 50%;
    animation: live-pulse-red 2s infinite;
}

@keyframes live-pulse-red {
    0% { box-shadow: 0 0 0 0 rgba(255, 59, 59, 0.7); }
    70% { box-shadow: 0 0 0 6px rgba(255, 59, 59, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 59, 59, 0); }
}

/* Headline */
.live-event-headline {
    font-family: 'Manrope', 'Inter', sans-serif;
    font-weight: 800;
    font-size: 24px;
    color: #fff;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .live-event-headline {
        font-size: 30px;
    }
}

.live-event-headline-accent {
    color: #fff;
    border-bottom: 2px solid #ff3b3b;
}

/* Subheadline */
.live-event-subheadline {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
    margin-bottom: 16px;
}

/* Description */
.live-event-description {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #9ca3af;
    line-height: 1.6;
    max-width: 512px;
    margin-bottom: 32px;
}

/* CTA Area */
.live-event-cta-area {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
}

@media (min-width: 480px) {
    .live-event-cta-area {
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
    }
}

/* Register button */
.live-event-register-btn {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(to bottom, #ccff00, #bce800);
    border: none;
    border-radius: 8px;
    font-family: 'Manrope', 'Inter', sans-serif;
    font-weight: 800;
    font-size: 13px;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(204, 255, 0, 0.2);
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

@media (max-width: 479px) {
    .live-event-register-btn {
        width: 100%;
    }
}

.live-event-register-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 0 30px rgba(204, 255, 0, 0.4);
}

.live-event-register-btn:active {
    transform: scale(0.98);
}

/* Button shimmer effect */
.live-event-register-btn .shimmer {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.6) 50%, transparent 100%);
    transform: translateX(-150%) skewX(-20deg);
    animation: live-shimmer-sweep 3s infinite ease-in-out;
    pointer-events: none;
    mix-blend-mode: overlay;
}

@keyframes live-shimmer-sweep {
    0% { transform: translateX(-150%) skewX(-20deg); }
    40% { transform: translateX(250%) skewX(-20deg); }
    100% { transform: translateX(250%) skewX(-20deg); }
}

.live-event-register-btn svg {
    width: 16px;
    height: 16px;
    stroke-width: 3px;
    flex-shrink: 0;
}

.live-event-register-btn .btn-text {
    white-space: nowrap;
}

/* Spots limited text */
.live-event-spots-text {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.live-event-spots-text svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

/* Right media area */
.live-event-media {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (min-width: 900px) {
    .live-event-media {
        width: 380px;
        flex-shrink: 0;
    }
}

@media (min-width: 1100px) {
    .live-event-media {
        width: 420px;
    }
}

/* Scaled state - media area adjusts to narrower container */
.scaled-main .live-event-media {
    width: 100%;
}

@media (min-width: 1200px) {
    .scaled-main .live-event-media {
        width: 350px;
        flex-shrink: 0;
    }
}

@media (min-width: 1400px) {
    .scaled-main .live-event-media {
        width: 400px;
    }
}

/* Thumbnail container */
.live-event-thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.live-event-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease, opacity 0.3s ease;
    opacity: 0.9;
}

.live-event-thumbnail:hover img {
    transform: scale(1.05);
    opacity: 1;
}

/* Gradient overlay on thumbnail */
.live-event-thumbnail::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    pointer-events: none;
}

/* Countdown timer box */
.live-event-countdown-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 12px 16px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.live-event-countdown-label {
    font-size: 10px;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.live-event-countdown-timer {
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
    font-variant-numeric: tabular-nums;
}

/* LIVE NOW state */
.live-event-banner.is-live .live-event-badge {
    background: rgba(255, 59, 59, 0.2);
    border-color: rgba(255, 59, 59, 0.4);
}

.live-event-banner.is-live .live-event-countdown-timer {
    color: #ff3b3b;
    animation: live-text-pulse 1.5s ease-in-out infinite;
}

@keyframes live-text-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* "Can't make it?" link */
.live-event-cant-make-it {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    width: 100%;
    padding: 10px 0;
    margin-top: 8px;
    background: none;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    white-space: nowrap;
}

.live-event-cant-make-it:hover {
    color: rgba(255, 255, 255, 0.8);
}

.live-event-cant-make-it svg {
    flex-shrink: 0;
    opacity: 0.5;
    transition: all 0.2s ease;
}

.live-event-cant-make-it:hover svg {
    opacity: 0.8;
    color: var(--accent);
}

/* On larger screens, remove the border and adjust spacing */
@media (min-width: 640px) {
    .live-event-cant-make-it {
        width: auto;
        border-top: none;
        padding: 0;
        margin-top: 16px;
    }
}

/* In scaled state container */
.scaled-main .live-event-cant-make-it {
    font-size: 12px;
}

/* ========================================
   AVAILABILITY MODAL
   ======================================== */

.availability-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.availability-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.availability-modal-content {
    position: relative;
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    background: linear-gradient(180deg, #1a1a1a 0%, #111 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.availability-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: rgba(255, 255, 255, 0.5);
}

.availability-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.availability-modal-header {
    text-align: center;
    margin-bottom: 28px;
}

.availability-modal-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(204, 255, 0, 0.1);
    border-radius: 16px;
    color: var(--accent);
}

.availability-modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px 0;
}

.availability-modal-subtitle {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    line-height: 1.5;
}

/* Form sections */
.availability-section {
    margin-bottom: 24px;
}

.availability-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
}

.availability-label svg {
    color: var(--accent);
}

.availability-hint {
    font-weight: 400;
    color: rgba(255, 255, 255, 0.4);
}

/* Days grid */
.availability-days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.availability-day-option {
    position: relative;
}

.availability-day-option input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.availability-day-label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 4px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.availability-day-option input:checked + .availability-day-label {
    background: rgba(204, 255, 0, 0.15);
    border-color: var(--accent);
    color: var(--accent);
}

.availability-day-option:hover .availability-day-label {
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
}

/* Times grid */
.availability-times-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.availability-time-option {
    position: relative;
}

.availability-time-option input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.availability-time-label {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.availability-time-option input:checked + .availability-time-label {
    background: rgba(204, 255, 0, 0.1);
    border-color: var(--accent);
}

.availability-time-option:hover .availability-time-label {
    border-color: rgba(255, 255, 255, 0.15);
}

.time-emoji {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.time-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
}

.time-range {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    margin-left: auto;
}

/* Hours grid - Specific hour selection */
.availability-hours-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
}

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

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

.availability-hour-option {
    position: relative;
}

.availability-hour-option input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 1;
}

.availability-hour-label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 6px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.availability-hour-option input:checked + .availability-hour-label {
    background: rgba(204, 255, 0, 0.15);
    border-color: var(--accent);
    color: var(--accent);
}

.availability-hour-option:hover .availability-hour-label {
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
}

/* Timezone select */
.availability-select {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-size: 0.95rem;
    color: #fff;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
    transition: all 0.2s ease;
}

.availability-select:hover,
.availability-select:focus {
    border-color: rgba(255, 255, 255, 0.2);
    outline: none;
}

.availability-select option {
    background: #1a1a1a;
    color: #fff;
}

/* Submit button */
.availability-submit-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 24px;
    background: linear-gradient(135deg, var(--accent) 0%, #b8e600 100%);
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    color: #000;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 20px rgba(204, 255, 0, 0.3);
}

.availability-submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(204, 255, 0, 0.4);
}

.availability-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.availability-submit-btn svg {
    stroke: #000;
}

/* Privacy note */
.availability-privacy-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 16px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.5;
}

.availability-privacy-note svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: rgba(255, 255, 255, 0.3);
}

/* Success state */
.availability-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 0;
}

.availability-success-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 50%;
    color: #22c55e;
    margin-bottom: 20px;
    animation: successPop 0.4s ease;
}

@keyframes successPop {
    0% { transform: scale(0); }
    60% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.availability-success-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 10px 0;
}

.availability-success-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 24px 0;
    line-height: 1.5;
}

.availability-success-btn {
    padding: 14px 32px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.availability-success-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Mobile responsiveness */
@media (max-width: 540px) {
    .availability-modal-content {
        padding: 24px 20px;
        border-radius: 16px;
    }

    .availability-modal-title {
        font-size: 1.25rem;
    }

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

    .availability-day-label {
        padding: 10px 4px;
        font-size: 11px;
    }

    .time-range {
        display: none;
    }

    .availability-time-label {
        padding: 12px 14px;
    }
}

/* ========================================
   PIXEL TRAINING BANNER (Scaled State)
   ======================================== */

.pixel-training-banner {
    position: relative;
    overflow: hidden;
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    margin-top: 24px;
    box-shadow: inset 0 0 60px rgba(204, 255, 0, 0.03), 0 4px 20px rgba(0, 0, 0, 0.4);
}

/* Left accent bar */
.pixel-training-banner-accent {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--accent);
    box-shadow: 0 0 15px var(--accent), 0 0 30px rgba(204, 255, 0, 0.3);
    z-index: 2;
}

/* Ambient glow from left side */
.pixel-training-banner-glow {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 50%;
    max-width: 300px;
    background: linear-gradient(to right, rgba(204, 255, 0, 0.08) 0%, rgba(204, 255, 0, 0.03) 40%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.pixel-training-banner-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 24px 28px;
}

@media (min-width: 640px) {
    .pixel-training-banner-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 28px 32px;
    }
}

.pixel-training-text {
    flex: 1;
}

.pixel-training-headline {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 8px 0;
    letter-spacing: -0.02em;
}

@media (min-width: 768px) {
    .pixel-training-headline {
        font-size: 1.4rem;
    }
}

.pixel-training-emoji {
    font-size: 1.3em;
    margin-left: 4px;
}

.pixel-training-subtext {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    line-height: 1.5;
    max-width: 500px;
}

.pixel-training-highlight {
    color: #fff;
    font-weight: 600;
    border-bottom: 1px solid rgba(204, 255, 0, 0.4);
}

.pixel-training-cta {
    flex-shrink: 0;
}

.pixel-training-btn {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    background: var(--accent);
    border: none;
    border-radius: 10px;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #000;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 0 25px rgba(204, 255, 0, 0.15);
}

.pixel-training-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 0 35px rgba(204, 255, 0, 0.3);
}

.pixel-training-btn:active {
    transform: scale(0.98);
}

.pixel-training-btn .shimmer {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.5) 50%, transparent 100%);
    transform: translateX(-150%) skewX(-20deg);
    animation: shimmer-sweep 3s infinite ease-in-out;
    pointer-events: none;
}

.pixel-training-btn svg {
    flex-shrink: 0;
}

.pixel-training-btn .btn-text {
    white-space: nowrap;
}

/* Mobile full-width button */
@media (max-width: 639px) {
    .pixel-training-banner-content {
        text-align: center;
    }

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

    .pixel-training-subtext {
        margin-left: auto;
        margin-right: auto;
    }

    .pixel-training-btn {
        width: 100%;
    }
}

/* ===== ACTIVATED PRODUCTS SECTION v2 ===== */
.activated-products {
    margin-top: 48px;
    padding-bottom: 48px;
}

.activated-products > h2 {
    font-size: 15px;
    font-weight: 600;
    color: #71717a;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 2x2 Grid - Both Activated and Scaled states */
#productsGridActivated,
#productsGridScaled {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* Product Card v2 */
.product-card-v2 {
    background: #0a0a0a;
    border: 1px solid #1f1f1f;
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.product-card-v2:hover {
    border-color: #333;
    transform: translateY(-2px);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
}

/* Thumbnail */
.product-card-thumbnail {
    width: 100%;
    height: 180px;
    background: #111;
    overflow: hidden;
    position: relative;
}

.product-card-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-card-v2:hover .product-card-thumbnail img {
    transform: scale(1.02);
}

.product-card-placeholder-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    color: #333;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    padding: 20px;
}

/* Content */
.product-card-content {
    padding: 24px;
}

.product-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.product-card-title {
    font-size: 18px;
    font-weight: 600;
    color: #fafafa;
    margin: 0;
    line-height: 1.3;
}

.product-card-niche {
    font-size: 10px;
    font-weight: 600;
    color: #22c55e;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(34, 197, 94, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
}

.product-card-hook {
    font-size: 14px;
    font-style: italic;
    color: #a1a1aa;
    margin-bottom: 8px;
    line-height: 1.5;
}

.product-card-description {
    font-size: 13px;
    color: #71717a;
    margin-bottom: 20px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Link Section */
.product-card-link-section {
    border-top: 1px solid #1f1f1f;
    padding-top: 16px;
    margin-top: 16px;
}

.product-card-link-label {
    font-size: 11px;
    font-weight: 500;
    color: #52525b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 8px;
}

.product-card-link-row {
    display: flex;
    gap: 8px;
}

.product-card-link-input {
    flex: 1;
    background: #111;
    border: 1px solid #1f1f1f;
    border-radius: 8px;
    padding: 12px 14px;
    color: #71717a;
    font-size: 12px;
    font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
    min-width: 0;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
}

.product-card-link-input:hover {
    border-color: #333;
}

.product-card-link-input:focus {
    outline: none;
    border-color: #cbff00;
    color: #a1a1aa;
}

.product-card-copy-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #cbff00;
    border: none;
    border-radius: 8px;
    padding: 12px 16px;
    color: #000;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.product-card-copy-btn:hover {
    background: #d4ff33;
    transform: translateY(-1px);
}

.product-card-copy-btn.copied {
    background: #22c55e;
    color: #fff;
}

.product-card-copy-btn svg {
    flex-shrink: 0;
}

.no-products {
    color: #52525b;
    font-size: 14px;
    padding: 60px 40px;
    text-align: center;
    grid-column: 1 / -1;
    background: #0a0a0a;
    border: 1px dashed #1f1f1f;
    border-radius: 16px;
}

/* Mobile adjustments for Activated state */
@media (max-width: 1024px) {
    .partner-upgrade-gemini .upgrade-content {
        flex-direction: column;
    }

    .upgrade-right {
        width: 100%;
    }
}

@media (max-width: 768px) {
    #state-activated {
        padding: 24px 16px;
    }

    .upgrade-inner {
        padding: 24px;
    }

    .upgrade-headline {
        font-size: 28px;
        white-space: normal; /* Allow wrap on mobile */
    }

    .upgrade-loss-amount {
        min-width: 100px;
    }

    /* Products grid - single column on mobile */
    #productsGridActivated,
    #productsGridScaled {
        grid-template-columns: 1fr;
    }

    .product-card-content {
        padding: 20px;
    }

    .product-card-link-row {
        flex-direction: column;
    }

    .product-card-copy-btn {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .activated-stats-bar {
        grid-template-columns: 1fr;
    }

    .activated-stats-bar .stat-value {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .upgrade-headline {
        font-size: 24px;
    }

    .upgrade-loss-amount {
        min-width: 80px;
    }
}

/* ===== SCALED STATE LAYOUT ===== */
.scaled-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
}

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

.scaled-stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.scaled-stats-bar .stat-card {
    background: #0a0a0a;
    border: 1px solid #1f1f1f;
    border-radius: 12px;
    padding: 20px;
}

.scaled-stats-bar .stat-card.large .stat-value {
    font-size: 28px;
}

/* ===== EARNINGS CHART ===== */
.earnings-chart-section {
    width: 100%;
}

.chart-card {
    background: linear-gradient(180deg, #0e0e0e 0%, #050505 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 1), 0 20px 40px -10px rgba(0, 0, 0, 0.6);
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.chart-header-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.chart-label {
    font-size: 12px;
    font-weight: 500;
    color: #71717a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.chart-total-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chart-total {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 40px;
    font-weight: 700;
    color: #fafafa;
    line-height: 1;
    margin: 0;
}

.chart-percent-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
}

.chart-percent-badge.positive {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.chart-percent-badge.negative {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.chart-percent-badge svg {
    width: 12px;
    height: 12px;
}

.chart-header-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.chart-sales-count {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding-right: 24px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.chart-sales-label {
    font-size: 11px;
    color: #52525b;
}

.chart-sales-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #fafafa;
}

.chart-range-picker {
    display: flex;
    background: #161616;
    padding: 4px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.chart-range-picker .range-btn {
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 500;
    color: #666;
    background: transparent;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.chart-range-picker .range-btn:hover {
    color: #fff;
}

.chart-range-picker .range-btn.active {
    background: #cbff00;
    color: #000;
    font-weight: 600;
    box-shadow: 0 0 15px rgba(203, 255, 0, 0.15);
}

.chart-wrapper {
    position: relative;
    height: 280px;
    width: 100%;
}

.chart-loader {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0a0a0a;
    z-index: 10;
    transition: opacity 0.3s;
}

.loader-spinner {
    width: 24px;
    height: 24px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-left-color: #cbff00;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.chart-empty {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(10, 10, 10, 0.9);
    z-index: 5;
}

.chart-empty .empty-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #111;
    border: 1px solid #222;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    color: #333;
}

.chart-empty p {
    font-size: 13px;
    color: #52525b;
}

/* ===== LIVE ACTIVITY SIDEBAR ===== */
.live-activity-sidebar {
    position: sticky;
    top: 24px;
    height: fit-content;
    max-height: calc(100vh - 48px);
}

.feed-card {
    background: linear-gradient(180deg, #0e0e0e 0%, #050505 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 600px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 1), 0 20px 40px -10px rgba(0, 0, 0, 0.6);
}

.feed-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.feed-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.live-indicator {
    position: relative;
    width: 10px;
    height: 10px;
}

.live-dot-ping {
    position: absolute;
    inset: 0;
    background: #22c55e;
    border-radius: 50%;
    animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
    75%, 100% {
        transform: scale(2);
        opacity: 0;
    }
}

.live-dot {
    position: absolute;
    inset: 0;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
    70% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.feed-header h3 {
    font-size: 14px;
    font-weight: 600;
    color: #e5e5e5;
    margin: 0;
}

.sound-toggle {
    background: none;
    border: none;
    color: #52525b;
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s;
}

.sound-toggle:hover {
    color: #a1a1aa;
}

.feed-subheader {
    padding: 10px 20px;
    background: #111;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: #71717a;
    flex-shrink: 0;
}

.feed-subheader svg {
    color: #cbff00;
    width: 12px;
    height: 12px;
}

.feed-subheader strong {
    color: #fafafa;
}

.feed-list {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
}

.feed-list::-webkit-scrollbar {
    width: 4px;
}

.feed-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
}

.feed-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.feed-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid transparent;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feed-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateX(2px);
}

.feed-item.new-item {
    animation: slideIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
        border-color: #cbff00;
        background: rgba(203, 255, 0, 0.05);
    }
    30% {
        border-color: #cbff00;
        background: rgba(203, 255, 0, 0.05);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        border-color: transparent;
        background: rgba(255, 255, 255, 0.02);
    }
}

.feed-item-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.feed-item-icon.default {
    background: #1f1f1f;
    color: #71717a;
}

.feed-item-icon.special {
    background: #cbff00;
    color: #000;
}

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

.feed-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.feed-item-product {
    font-size: 12px;
    font-weight: 500;
    color: #fafafa;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 8px;
}

.feed-item-product.special {
    color: #cbff00;
    font-weight: 700;
}

.feed-item-amount {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #22c55e;
    flex-shrink: 0;
}

.feed-item-amount.special {
    color: #cbff00;
}

.feed-item-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.feed-item-affiliate {
    font-size: 10px;
    color: #71717a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 80px;
}

.feed-item-time {
    font-size: 10px;
    color: #52525b;
    margin-left: auto;
    flex-shrink: 0;
}

/* ========================================
   TIER BADGES - Live Sales Feed
   Creates massive FOMO for Creator users
   ======================================== */

.feed-item-tier-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    cursor: default;
    transition: all 0.2s ease;
    flex-shrink: 0;
    line-height: 1.2;
}

.feed-item-tier-badge .tier-icon {
    font-size: 8px;
    line-height: 1;
}

.feed-item-tier-badge .tier-label {
    line-height: 1;
}

/* Creator tier - muted, subtle */
.tier-creator {
    background: rgba(63, 63, 70, 0.4);
    color: #a1a1aa;
    border: 1px solid rgba(82, 82, 91, 0.4);
}

/* Partner tier - blue, clean */
.tier-partner {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.4);
}

.tier-partner:hover {
    background: rgba(59, 130, 246, 0.25);
    border-color: rgba(59, 130, 246, 0.6);
}

/* Elite tier - gold, premium */
.tier-elite {
    background: rgba(204, 255, 0, 0.12);
    color: #ccff00;
    border: 1px solid rgba(204, 255, 0, 0.4);
}

.tier-elite:hover {
    background: rgba(204, 255, 0, 0.2);
    border-color: rgba(204, 255, 0, 0.6);
}

/* Special sale highlight for the whole item */
.feed-item.special-sale {
    background: rgba(204, 255, 0, 0.03);
    border: 1px solid rgba(204, 255, 0, 0.15);
}

.feed-item.special-sale:hover {
    background: rgba(204, 255, 0, 0.06);
    border-color: rgba(204, 255, 0, 0.25);
}

/* ========================================
   TIER UPGRADE TOOLTIP - Simple hover CTA
   ======================================== */

.tier-upgrade-tip {
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 10px;
    background: #3b82f6;
    color: white;
    font-size: 10px;
    font-weight: 600;
    white-space: nowrap;
    border-radius: 6px;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s, visibility 0.15s;
    z-index: 100;
}

.tier-upgrade-tip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #3b82f6;
}

.feed-item-tier-badge:hover .tier-upgrade-tip {
    opacity: 1;
    visibility: visible;
}

.tier-upgrade-tip:hover {
    background: #2563eb;
}



/* Light mode overrides for Live Sales feed */
[data-theme="light"] .feed-item-product {
    color: #111827;
}

[data-theme="light"] .feed-item-product.special {
    color: #65a30d;
}

[data-theme="light"] .feed-item-affiliate {
    color: #6B7280;
}

[data-theme="light"] .feed-item-time {
    color: #6B7280;
}

.feed-footer {
    padding: 12px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    flex-shrink: 0;
}

.feed-footer span {
    font-size: 9px;
    color: #3f3f46;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Scaled State Responsive */
@media (max-width: 1200px) {
    .scaled-layout {
        grid-template-columns: 1fr;
    }

    .live-activity-sidebar {
        order: -1;
        max-height: 300px;
        position: static;
    }

    .feed-card {
        height: 300px;
    }
}

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

    .chart-header {
        flex-direction: column;
        gap: 20px;
    }

    .chart-header-right {
        width: 100%;
        justify-content: space-between;
    }

    .chart-total {
        font-size: 32px;
    }
}

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

    .chart-range-picker .range-btn {
        padding: 6px 12px;
        font-size: 11px;
    }
}

/* ========================================
   META PIXEL MODAL
   ======================================== */
.pixel-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    animation: pixelFadeIn 0.2s ease;
}

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

.pixel-modal-container {
    background: #111;
    border: 1px solid #222;
    border-radius: 16px;
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    animation: pixelSlideUp 0.3s ease;
}

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

.pixel-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #222;
}

.pixel-modal-header h2 {
    font-size: 18px;
    font-weight: 600;
    color: #fafafa;
    margin: 0;
}

.pixel-modal-close {
    background: none;
    border: none;
    color: #52525b;
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pixel-modal-close:hover {
    color: #fafafa;
}

.pixel-modal-body {
    padding: 24px;
}

.pixel-modal-description {
    font-size: 14px;
    color: #71717a;
    margin: 0 0 24px 0;
    line-height: 1.5;
}

.pixel-form-group {
    margin-bottom: 20px;
}

.pixel-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #e5e5e5;
    margin-bottom: 8px;
}

.pixel-form-group input {
    width: 100%;
    background: #0a0a0a;
    border: 1px solid #222;
    border-radius: 8px;
    padding: 12px 14px;
    color: #fafafa;
    font-size: 14px;
    font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.pixel-form-group input:focus {
    outline: none;
    border-color: var(--accent);
}

.pixel-form-group input::placeholder {
    color: #3f3f46;
}

.pixel-form-hint {
    display: block;
    font-size: 11px;
    color: #52525b;
    margin-top: 6px;
}

.pixel-help {
    background: #0a0a0a;
    border: 1px solid #1f1f1f;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 24px;
}

.pixel-help summary {
    font-size: 12px;
    color: #a1a1aa;
    cursor: pointer;
    font-weight: 500;
}

.pixel-help summary:hover {
    color: #fafafa;
}

.pixel-help ol {
    margin: 12px 0 0 0;
    padding-left: 20px;
    font-size: 12px;
    color: #71717a;
    line-height: 1.8;
}

.pixel-help a {
    color: var(--accent);
    text-decoration: underline;
}

.pixel-modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.pixel-btn-secondary {
    padding: 12px 20px;
    background: #1f1f1f;
    border: none;
    border-radius: 8px;
    color: #a1a1aa;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.pixel-btn-secondary:hover {
    background: #2a2a2a;
}

.pixel-btn-primary {
    padding: 12px 24px;
    background: var(--accent);
    border: none;
    border-radius: 8px;
    color: #000;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pixel-btn-primary:hover {
    background: #d4ff33;
}

.pixel-btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.pixel-btn-loading {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pixel-spinner {
    width: 16px;
    height: 16px;
    animation: pixelSpin 1s linear infinite;
}

@keyframes pixelSpin {
    100% { transform: rotate(360deg); }
}

.pixel-success-message,
.pixel-error-message {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 13px;
    margin-top: 16px;
}

.pixel-success-message {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.pixel-error-message {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

/* Pixel Button on Product Cards */
.product-pixel-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: transparent;
    border: 1px solid #333;
    border-radius: 6px;
    color: #71717a;
    font-size: 11px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 12px;
}

.product-pixel-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.product-pixel-btn.has-pixel {
    border-color: #22c55e;
    color: #22c55e;
}

.product-pixel-btn svg {
    width: 14px;
    height: 14px;
}

/* Pixel Remove Section */
.pixel-remove-section {
    margin-top: 20px;
    padding-top: 16px;
}

.pixel-remove-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.pixel-remove-divider::before,
.pixel-remove-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #222;
}

.pixel-remove-divider span {
    color: #52525b;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pixel-btn-danger {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 20px;
    background: transparent;
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 8px;
    color: #ef4444;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

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

.pixel-btn-danger:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pixel-btn-danger svg {
    width: 14px;
    height: 14px;
}

@media (max-width: 480px) {
    .pixel-modal-overlay {
        padding: 16px;
    }

    .pixel-modal-container {
        max-height: 95vh;
    }

    .pixel-modal-header,
    .pixel-modal-body {
        padding: 16px;
    }

    .pixel-modal-actions {
        flex-direction: column;
    }

    .pixel-btn-secondary,
    .pixel-btn-primary {
        width: 100%;
        justify-content: center;
    }
}

/* ========================================
   PRODUCT SELECTION SCREEN - FIRST SALE CHALLENGE (Redesign)
   ======================================== */

#productSelectionScreen {
    width: 100%;
    max-width: 72rem;
    margin: 0 auto;
    padding: 2rem 1rem 3rem;
}

/* Step Progress Indicator */
.step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.step-indicator-text {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
}

.step-progress-bar {
    width: 8rem;
    height: 0.25rem;
    border-radius: 9999px;
    background: var(--border-subtle);
    overflow: hidden;
}

.step-progress-fill {
    height: 100%;
    width: 33.33%;
    border-radius: 9999px;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent-glow);
}

/* Challenge Header - Redesigned */
#productSelectionScreen .challenge-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

#productSelectionScreen .challenge-header h1 {
    font-family: 'Inter', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    margin-bottom: 0.75rem;
    color: var(--text);
}

@media (min-width: 768px) {
    #productSelectionScreen .challenge-header h1 {
        font-size: 3rem;
    }
}

#productSelectionScreen .challenge-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.challenge-submit-link {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: underline;
    text-decoration-color: var(--border-subtle);
    text-underline-offset: 4px;
    transition: all 0.2s ease;
}

.challenge-submit-link:hover {
    color: var(--accent);
    text-decoration-color: var(--accent);
}

/* Back Link */
.challenge-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    transition: color 0.2s ease;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.challenge-back-link:hover {
    color: var(--text);
}

.challenge-back-link svg {
    width: 1rem;
    height: 1rem;
    transition: transform 0.2s ease;
}

.challenge-back-link:hover svg {
    transform: translateX(-4px);
}

/* Product Grid - Redesigned */
.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

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

/* Product Cards - Redesigned */
.product-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 1rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-highlight);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .product-card:hover {
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

/* Card Image */
.product-card-image {
    height: 12rem;
    background-color: #151515;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-subtle);
}

[data-theme="light"] .product-card-image {
    background-color: #f3f4f6;
}

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

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

/* Card Content */
.product-card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Category Pill */
.product-category-pill {
    display: inline-block;
    padding: 0.25rem 0.625rem;
    border-radius: 0.375rem;
    background-color: var(--border-subtle);
    color: var(--text-muted);
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
    transition: all 0.2s ease;
    width: fit-content;
}

.product-card:hover .product-category-pill {
    background-color: var(--accent-glow);
    color: var(--accent);
}

/* Product Title */
.product-card-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.25rem;
}

/* Product Description */
.product-card-description {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Social Proof */
.product-social-proof {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    margin-top: auto;
}

.product-social-proof svg {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

.product-social-proof.accent svg,
.product-social-proof.accent span {
    color: var(--accent);
}

.product-social-proof.success svg,
.product-social-proof.success span {
    color: #22c55e;
}

.product-social-proof span {
    font-size: 0.75rem;
    font-weight: 700;
}

/* Product CTA Button */
.product-card-btn {
    width: 100%;
    padding: 0.875rem 1rem;
    border-radius: 0.75rem;
    background-color: var(--accent);
    color: black;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

[data-theme="light"] .product-card-btn {
    color: white;
}

.product-card-btn:hover {
    filter: brightness(1.1);
    transform: scale(1.02);
    box-shadow: 0 0 20px var(--accent-glow);
}

/* Entry Animation */
@keyframes fadeUpChallenge {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.challenge-animate {
    animation: fadeUpChallenge 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.challenge-animate-delay-1 {
    animation-delay: 0.1s;
    opacity: 0;
}

.challenge-animate-delay-2 {
    animation-delay: 0.2s;
    opacity: 0;
}

/* Social Proof Section - Redesigned */
#productSelectionScreen .social-proof-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
}

#productSelectionScreen .social-proof-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.5rem;
}

#productSelectionScreen .section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* Locked Section - Subtle redesign */
#productSelectionScreen .locked-section {
    margin-top: 2rem;
    background: var(--bg-card);
    border: 1px dashed var(--border-subtle);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    opacity: 0.7;
}

/* ========================================
   ARMED STATE - 1-HOUR LAUNCH CHALLENGE (Redesign)
   ======================================== */

/* Challenge Banner */
@keyframes armed-border-pulse {
    0% { border-color: var(--banner-border); box-shadow: 0 0 0 0 var(--accent-glow); }
    50% { border-color: var(--accent); box-shadow: 0 0 20px 0 var(--accent-glow); }
    100% { border-color: var(--banner-border); box-shadow: 0 0 0 0 var(--accent-glow); }
}

.armed-challenge-banner {
    background: var(--banner-bg);
    border: 1px solid var(--banner-border);
    border-radius: 1rem;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    animation: armed-border-pulse 3s infinite;
}

@media (min-width: 768px) {
    .armed-challenge-banner {
        padding: 2rem;
    }
}

.armed-challenge-banner-glow {
    position: absolute;
    top: 0;
    right: 0;
    width: 16rem;
    height: 16rem;
    background: var(--accent);
    opacity: 0.05;
    filter: blur(80px);
    border-radius: 50%;
    pointer-events: none;
}

.armed-challenge-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .armed-challenge-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.armed-challenge-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.armed-challenge-title h2 {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
}

@media (min-width: 768px) {
    .armed-challenge-title h2 {
        font-size: 1.5rem;
    }
}

.armed-challenge-subtitle {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.armed-challenge-times {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.75rem;
    font-family: monospace;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.armed-challenge-times .target {
    color: var(--accent);
}

.armed-countdown {
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (min-width: 768px) {
    .armed-countdown {
        align-items: flex-end;
    }
}

.armed-countdown-time {
    font-family: 'Inter', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text);
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.025em;
}

@media (min-width: 768px) {
    .armed-countdown-time {
        font-size: 3rem;
    }
}

.armed-countdown-label {
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-top: 0.25rem;
}

/* Product & Link Cards Grid */
.armed-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .armed-cards-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
}

.armed-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 1rem;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
}

.armed-card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.armed-card-check {
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    background-color: var(--success);
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
    font-size: 0.625rem;
    font-weight: 700;
}

.armed-card-badge {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--success);
}

.armed-card-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.armed-card-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.armed-card-change {
    margin-top: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: color 0.2s ease;
    text-align: left;
}

.armed-card-change:hover {
    color: var(--text);
}

.armed-card-label {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.armed-link-input-group {
    display: flex;
    gap: 0.5rem;
}

.armed-link-input {
    flex: 1;
    background-color: var(--bg-page);
    border: 1px solid var(--border-subtle);
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    font-family: monospace;
    color: var(--text);
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.armed-link-copy-btn {
    background-color: var(--accent);
    color: black;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

[data-theme="light"] .armed-link-copy-btn {
    color: white;
}

.armed-link-copy-btn:hover {
    filter: brightness(1.1);
}

.armed-link-copy-btn.copied {
    background-color: var(--success);
}

/* Ad Creatives Section */
.armed-creatives-section {
    background-color: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 1rem;
    padding: 1.25rem;
}

.armed-creatives-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.armed-creatives-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
}

.armed-creatives-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--border-subtle);
    color: var(--text);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border-subtle);
    cursor: pointer;
    transition: all 0.2s ease;
}

.armed-creatives-download-btn:hover {
    background-color: var(--bg-card-hover);
    border-color: var(--border-highlight);
}

.armed-creatives-scroll {
    overflow-x: auto;
    padding-bottom: 0.5rem;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.armed-creatives-scroll::-webkit-scrollbar {
    display: none;
}

.armed-creatives-grid {
    display: flex;
    gap: 0.75rem;
}

.armed-creative-item {
    flex-shrink: 0;
    width: 120px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.armed-creative-item:hover {
    transform: scale(1.05);
}

.armed-creative-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: #151515;
    border-radius: 0.75rem;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    position: relative;
}

[data-theme="light"] .armed-creative-image {
    background-color: #e5e7eb;
}

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

.armed-creative-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.2s ease;
}

.armed-creative-item:hover .armed-creative-overlay {
    background: rgba(0, 0, 0, 0.4);
    opacity: 1;
}

.armed-creative-overlay span {
    background: white;
    color: black;
    font-size: 0.625rem;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
}

/* Creatives Empty State */
.creatives-empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.creative-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 0.5rem;
}

/* Submit Ad CTA Section */
.armed-submit-cta {
    background: linear-gradient(135deg, var(--accent-dim) 0%, rgba(204, 255, 0, 0.08) 100%);
    border: 2px solid var(--accent);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.armed-submit-cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.armed-submit-cta-text h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.armed-submit-cta-text p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
}

.armed-submit-cta-btn {
    background: var(--accent);
    color: #000;
    font-size: 1rem;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.armed-submit-cta-btn:hover {
    background: #d4ff33;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(204, 255, 0, 0.3);
}

@media (max-width: 600px) {
    .armed-submit-cta-content {
        flex-direction: column;
        text-align: center;
    }

    .armed-submit-cta-btn {
        width: 100%;
    }
}

/* Step Checklist */
.armed-checklist-section {
    margin-top: 1.5rem;
}

.armed-checklist-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.armed-checklist-title {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text);
}

.armed-checklist-progress {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--accent);
}

.armed-checklist-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.armed-checklist-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 0.75rem;
    padding: 1rem;
    transition: all 0.2s ease;
}

.armed-checklist-item.active {
    background-color: var(--accent-dim);
    border-color: var(--accent);
}

.armed-checklist-item.pending {
    opacity: 0.7;
}

.armed-checklist-item.pending:hover {
    opacity: 1;
}

.armed-checklist-item-header {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.armed-checklist-number {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.armed-checklist-item.active .armed-checklist-number {
    background-color: var(--accent);
    color: black;
}

.armed-checklist-item.pending .armed-checklist-number {
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
}

.armed-checklist-item.completed .armed-checklist-number {
    background-color: var(--success);
    color: black;
}

.armed-checklist-item-content {
    flex: 1;
}

.armed-checklist-item-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.armed-checklist-item.pending .armed-checklist-item-title {
    color: var(--text-muted);
    font-weight: 500;
}

.armed-checklist-item-description {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

/* Show descriptions on active step fully */
.armed-checklist-item.active .armed-checklist-item-description {
    display: block;
    opacity: 1;
}

/* Show descriptions on pending steps but dimmed */
.armed-checklist-item.pending .armed-checklist-item-description {
    display: block;
    opacity: 0.6;
}

/* Hide descriptions on completed steps */
.armed-checklist-item.completed .armed-checklist-item-description {
    display: none;
}

.armed-checklist-item-action {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.armed-checklist-item-action:hover {
    text-decoration: underline;
}

/* Primary Submit Ad Button - Always visible for Armed users */
.submit-ad-primary {
    background: var(--accent) !important;
    color: #000 !important;
    padding: 10px 20px !important;
    border-radius: 8px !important;
    font-size: 0.875rem !important;
    font-weight: 700 !important;
    margin-top: 8px !important;
    display: inline-block !important;
    transition: all 0.2s ease;
}

.submit-ad-primary:hover {
    background: #d4ff33 !important;
    text-decoration: none !important;
    transform: translateY(-1px);
}

/* Make submit button visible even on pending steps */
.armed-checklist-item.pending .submit-ad-primary {
    display: inline-block !important;
    opacity: 1 !important;
}

/* Live Sales Sidebar */
.armed-sidebar {
    background-color: var(--bg-sidebar);
    border: 1px solid var(--border-subtle);
    border-radius: 1rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 300px;
    flex: 1;
}

.armed-sidebar-header {
    padding: 1rem;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--bg-card);
}

.armed-sidebar-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.armed-sidebar-title h3 {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text);
}

@keyframes armed-live-pulse {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
    70% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.armed-live-dot {
    width: 0.625rem;
    height: 0.625rem;
    border-radius: 50%;
    background-color: #22c55e;
    animation: armed-live-pulse 2s infinite;
}

.armed-sidebar-subheader {
    padding: 0.5rem 1rem;
    background-color: var(--bg-page);
    border-bottom: 1px solid var(--border-subtle);
}

.armed-sidebar-subheader p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.armed-sidebar-subheader span {
    font-weight: 700;
    color: var(--text);
}

.armed-sidebar-feed {
    flex: 1;
    overflow-y: auto;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.armed-sidebar-feed::-webkit-scrollbar {
    display: none;
}

.armed-feed-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 0.75rem;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.armed-feed-item:hover {
    background-color: var(--border-subtle);
    border-color: var(--border-subtle);
}

.armed-feed-avatar {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background-color: #374151;
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.625rem;
    font-weight: 700;
    color: var(--text-muted);
    flex-shrink: 0;
    overflow: hidden;
}

.armed-feed-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.armed-feed-content {
    flex: 1;
    min-width: 0;
}

.armed-feed-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.armed-feed-name {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-right: 0.5rem;
}

.armed-feed-amount {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--success);
    white-space: nowrap;
}

.armed-feed-product {
    font-size: 0.625rem;
    color: var(--text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.armed-feed-time {
    font-size: 0.625rem;
    color: var(--text-muted);
    white-space: nowrap;
}

/* Light mode overrides for sidebar text visibility */
[data-theme="light"] .armed-feed-name {
    color: #111827;
}

[data-theme="light"] .armed-feed-product {
    color: #111827;
}

[data-theme="light"] .armed-feed-time {
    color: #6B7280;
}

[data-theme="light"] .armed-sidebar-subheader p {
    color: #6B7280;
}

[data-theme="light"] .armed-sidebar-subheader span {
    color: #111827;
}

[data-theme="light"] .armed-feed-avatar {
    background-color: #e5e7eb;
    color: #6B7280;
}

/* Tip Card */
.armed-tip-card {
    background-color: var(--bg-card);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 1rem;
    padding: 1.25rem;
    margin-top: 1rem;
}

.armed-tip-card h4 {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.armed-tip-card p {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Ad Training Upsell - Armed State */
.ad-training-upsell {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    margin-top: 1.5rem;
    background: rgba(204, 255, 0, 0.05);
    border: 1px solid rgba(204, 255, 0, 0.15);
    border-left: 3px solid var(--accent);
    border-radius: 0.75rem;
    transition: all 0.2s ease;
}

.ad-training-upsell:hover {
    background: rgba(204, 255, 0, 0.08);
    border-color: rgba(204, 255, 0, 0.25);
}

.upsell-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(204, 255, 0, 0.1);
    border-radius: 0.5rem;
    color: var(--accent);
}

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

.upsell-headline {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 0.375rem 0;
}

.upsell-body {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

.upsell-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    background: transparent;
    border: 1px solid var(--accent);
    border-radius: 0.5rem;
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.upsell-btn:hover {
    background: var(--accent);
    color: #000;
}

.upsell-btn svg {
    transition: transform 0.2s ease;
}

.upsell-btn:hover svg {
    transform: translateX(2px);
}

/* Light mode adjustments */
[data-theme="light"] .ad-training-upsell {
    background: rgba(101, 163, 13, 0.05);
    border-color: rgba(101, 163, 13, 0.15);
    border-left-color: var(--accent);
}

[data-theme="light"] .ad-training-upsell:hover {
    background: rgba(101, 163, 13, 0.08);
    border-color: rgba(101, 163, 13, 0.25);
}

[data-theme="light"] .upsell-icon {
    background: rgba(101, 163, 13, 0.1);
}

/* Responsive - Stack on mobile */
@media (max-width: 640px) {
    .ad-training-upsell {
        flex-direction: column;
        align-items: stretch;
    }

    .upsell-icon {
        width: 40px;
        height: 40px;
    }

    .upsell-btn {
        width: 100%;
        justify-content: center;
        padding: 0.75rem 1rem;
    }
}

/* Main Layout - Armed State */
#state-armed .armed-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: start;
}

@media (min-width: 1024px) {
    #state-armed .armed-layout {
        grid-template-columns: 1fr 320px;
        gap: 2rem;
    }

    /* Aside container - holds both sidebar and tip card */
    #state-armed .armed-layout > aside {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-self: start;
    }

    /* Sidebar takes available space, tip card stays at bottom */
    #state-armed .armed-sidebar {
        max-height: 600px;
    }

    /* Ensure tip card has no extra margin */
    #state-armed .armed-tip-card {
        margin-top: 0;
    }
}

.armed-main {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* ============================================
   LIVE STATE STYLES
   ============================================ */

.live-state-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

/* Hero Section */
.live-hero {
    text-align: center;
    margin-bottom: 4rem;
}

.live-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid var(--accent);
    margin-bottom: 1.5rem;
    animation: live-pulse 2s infinite;
}

@keyframes live-pulse {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.3); }
    70% { box-shadow: 0 0 0 15px transparent; }
    100% { box-shadow: 0 0 0 0 transparent; }
}

.live-status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
}

.live-status-text {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent);
}

.live-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

/* Emoji should display in natural colors, not inherit text color */
.live-title .emoji {
    color: transparent;
    text-shadow: 0 0 0 currentColor;
    -webkit-background-clip: unset;
    background-clip: unset;
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}

.live-title .emoji {
    color: initial;
    -webkit-text-fill-color: initial;
}

@media (min-width: 768px) {
    .live-title { font-size: 3rem; }
}

.live-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 36rem;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.live-timer-box {
    display: inline-block;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem 2.5rem;
    text-align: center;
}

.live-timer-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.live-timer-value {
    font-size: 2rem;
    font-family: 'JetBrains Mono', 'SF Mono', monospace;
    font-weight: 700;
    color: var(--accent);
}

/* Timeline Section */
.live-timeline-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
}

.live-timeline-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 300px;
    background: var(--accent);
    opacity: 0.03;
    filter: blur(100px);
    pointer-events: none;
}

.live-timeline-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    position: relative;
    z-index: 10;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.live-timeline-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    margin: 0;
}

.live-timeline-avg {
    font-size: 13px;
    color: var(--text-muted);
}

.live-timeline-track {
    position: relative;
    z-index: 1;
}

.live-timeline-bg {
    position: absolute;
    top: 28px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--border);
    border-radius: 4px;
    z-index: 1;
}

.live-timeline-progress {
    position: absolute;
    top: 28px;
    left: 0;
    width: 15%;
    height: 4px;
    background: linear-gradient(90deg, #22c55e 0%, var(--accent) 100%);
    border-radius: 4px;
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.3);
    z-index: 1;
}

.live-timeline-phases {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    position: relative;
    z-index: 2;
}

@media (min-width: 768px) {
    .live-timeline-phases {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 767px) {
    .live-timeline-bg,
    .live-timeline-progress {
        display: none;
    }
}

.live-phase {
    position: relative;
    z-index: 3;
}

.live-phase-pending {
    opacity: 0.6;
}

.live-phase-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--bg);
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 5;
}

.live-phase-icon-current {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.15), 0 0 20px rgba(34, 197, 94, 0.3);
}

.live-phase-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 0.5rem 0;
}

.live-phase-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

.live-phase-indicator {
    color: var(--accent);
    font-weight: 700;
    display: block;
    margin-bottom: 0.25rem;
}

/* Locked Section */
.live-locked-section {
    margin-bottom: 4rem;
}

.live-locked-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.live-locked-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 0.5rem 0;
}

.live-locked-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

.live-locked-badge {
    display: none;
    align-items: center;
    gap: 0.5rem;
    font-size: 12px;
    font-weight: 700;
    color: #eab308;
    background: rgba(234, 179, 8, 0.1);
    padding: 6px 12px;
    border-radius: 9999px;
}

.live-locked-badge svg {
    width: 12px;
    height: 12px;
}

@media (min-width: 768px) {
    .live-locked-badge { display: flex; }
}

.live-locked-grid-wrapper {
    position: relative;
    min-height: 250px;
}

.live-locked-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

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

.live-locked-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.25rem;
    position: relative;
    overflow: hidden;
}

.live-locked-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.02);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10;
}

[data-theme="light"] .live-locked-card::after {
    background: rgba(255, 255, 255, 0.5);
}

.live-locked-card-img {
    height: 100px;
    background: var(--bg-elevated);
    border-radius: 8px;
    margin-bottom: 1rem;
}

.live-locked-card-title {
    height: 20px;
    width: 75%;
    background: var(--bg-elevated);
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.live-locked-card-sub {
    height: 14px;
    width: 50%;
    background: var(--bg-elevated);
    border-radius: 4px;
}

.live-lock-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    padding: 1rem;
}

.live-lock-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
    text-align: center;
    max-width: 320px;
    animation: live-float 3s ease-in-out infinite;
}

@keyframes live-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.live-lock-icon {
    width: 56px;
    height: 56px;
    background: var(--bg-elevated);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--accent);
}

.live-lock-icon svg {
    width: 24px;
    height: 24px;
}

.live-lock-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 0.5rem 0;
}

.live-lock-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0 0 1rem 0;
    line-height: 1.5;
}

.live-lock-cta {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent);
}

/* FAQ Section */
.live-faq-section {
    max-width: 640px;
    margin: 0 auto;
    padding-bottom: 4rem;
}

.live-faq-title {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 2rem 0;
}

.live-faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.live-faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.live-faq-question {
    list-style: none;
    padding: 1rem 1.25rem;
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    gap: 1rem;
}

.live-faq-question::-webkit-details-marker {
    display: none;
}

/* FIX FOR MASSIVE CHEVRONS */
.live-faq-chevron {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px;
    min-height: 16px;
    max-width: 16px;
    max-height: 16px;
    color: var(--text-muted);
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.live-faq-item[open] .live-faq-chevron {
    transform: rotate(180deg);
}

.live-faq-answer {
    padding: 0 1.25rem 1.25rem;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    animation: live-sweep 0.3s ease-in-out;
}

@keyframes live-sweep {
    0% { opacity: 0; transform: translateY(-10px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* ============================================
   LIVE STATE - LIGHT MODE FIXES
   ============================================ */

/* Status Pill - Light Mode */
[data-theme="light"] .live-status-pill {
    background: rgba(101, 163, 13, 0.1);
    border: 1px solid rgba(101, 163, 13, 0.4);
}

[data-theme="light"] .live-status-dot {
    background: #65a30d;
}

[data-theme="light"] .live-status-text {
    color: #65a30d;
}

/* Timer Box - Light Mode */
[data-theme="light"] .live-timer-box {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .live-timer-value {
    color: #65a30d;
}

/* Timeline Section - Light Mode */
[data-theme="light"] .live-timeline-section {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

/* Timeline Track Lines - Light Mode */
[data-theme="light"] .live-timeline-bg {
    background: #d1d5db;
}

[data-theme="light"] .live-timeline-progress {
    background: linear-gradient(90deg, #16a34a 0%, #65a30d 100%);
    box-shadow: 0 0 10px rgba(101, 163, 13, 0.3);
}

/* Phase Icons - Light Mode */
[data-theme="light"] .live-phase-icon {
    background: #ffffff;
    border: 2px solid #e5e7eb;
}

[data-theme="light"] .live-phase-icon-current {
    border-color: #65a30d;
    box-shadow: 0 0 0 4px rgba(101, 163, 13, 0.15), 0 0 20px rgba(101, 163, 13, 0.2);
}

[data-theme="light"] .live-phase-pending .live-phase-icon {
    background: #f9fafb;
    border-color: #e5e7eb;
}

/* Phase Text - Light Mode */
[data-theme="light"] .live-phase-indicator {
    color: #65a30d;
}

[data-theme="light"] .live-phase-title {
    color: #111827;
}

[data-theme="light"] .live-phase-pending .live-phase-title {
    color: #9ca3af;
}

[data-theme="light"] .live-phase-desc {
    color: #6b7280;
}

[data-theme="light"] .live-phase-pending .live-phase-desc {
    color: #9ca3af;
}

/* Locked Section - Light Mode */
[data-theme="light"] .live-locked-card {
    background: #ffffff;
    border: 1px solid #d1d5db;
}

[data-theme="light"] .live-locked-card::after {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

[data-theme="light"] .live-locked-card-img {
    background: #9ca3af;
}

[data-theme="light"] .live-locked-card-title {
    background: #6b7280;
}

[data-theme="light"] .live-locked-card-sub {
    background: #9ca3af;
}

/* Lock Overlay Card - Light Mode */
[data-theme="light"] .live-lock-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15), 0 8px 20px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .live-lock-icon {
    background: #f3f4f6;
    color: #65a30d;
}

[data-theme="light"] .live-lock-title {
    color: #111827;
}

[data-theme="light"] .live-lock-desc {
    color: #6b7280;
}

[data-theme="light"] .live-lock-cta {
    color: #65a30d;
}

/* Locked Badge - Light Mode */
[data-theme="light"] .live-locked-badge {
    background: rgba(202, 138, 4, 0.1);
    color: #b45309;
}

/* FAQ Section - Light Mode */
[data-theme="light"] .live-faq-item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
}

[data-theme="light"] .live-faq-item:hover {
    border-color: #d1d5db;
}

[data-theme="light"] .live-faq-question {
    color: #111827;
}

[data-theme="light"] .live-faq-chevron {
    color: #9ca3af;
}

[data-theme="light"] .live-faq-answer {
    color: #6b7280;
}

/* Title and Subtitle - Light Mode */
[data-theme="light"] .live-title {
    color: #111827 !important;
    -webkit-text-fill-color: #111827;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
}

[data-theme="light"] .live-subtitle {
    color: #6b7280;
}

[data-theme="light"] .live-timeline-title {
    color: #111827;
}

[data-theme="light"] .live-timeline-avg {
    color: #6b7280;
}

[data-theme="light"] .live-locked-title {
    color: #111827;
}

[data-theme="light"] .live-locked-subtitle {
    color: #6b7280;
}

[data-theme="light"] .live-faq-title {
    color: #111827;
}

/* ============================================
   DASHBOARD HEADER V2
   ============================================ */

.dashboard-header-v2 {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    padding: 0 1.5rem;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

@media (min-width: 768px) {
    .dashboard-header-v2 {
        padding: 0 2rem;
    }
}

.dashboard-header-v2 .header-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.dashboard-header-v2 .header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Logo */
.header-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.header-logo-dot {
    width: 12px;
    height: 12px;
    background: var(--accent);
    animation: logo-pulse 2s ease-in-out infinite;
}

@keyframes logo-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.header-logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.01em;
    text-transform: uppercase;
}

/* Online Counter */
.header-online-counter {
    display: none;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 9999px;
}

@media (min-width: 768px) {
    .header-online-counter {
        display: flex;
    }
}

.header-online-dot {
    position: relative;
    width: 8px;
    height: 8px;
}

.header-online-dot::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #22c55e;
    border-radius: 50%;
    animation: online-ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.header-online-dot::after {
    content: '';
    position: absolute;
    inset: 0;
    background: #22c55e;
    border-radius: 50%;
}

@keyframes online-ping {
    75%, 100% {
        transform: scale(2);
        opacity: 0;
    }
}

.header-online-text {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
}

/* Theme Toggle */
.header-theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
}

.header-theme-toggle:hover {
    background: var(--bg-elevated);
    color: var(--text);
    border-color: var(--border);
}

/* Show/hide sun/moon based on theme */
.theme-icon-sun {
    display: none;
}

.theme-icon-moon {
    display: block;
}

[data-theme="light"] .theme-icon-sun {
    display: block;
}

[data-theme="light"] .theme-icon-moon {
    display: none;
}

/* Submit Product Button */
.header-submit-btn {
    display: none;
    align-items: center;
    padding: 0.5rem 1rem;
    background: var(--accent);
    color: #000;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.header-submit-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

@media (min-width: 640px) {
    .header-submit-btn {
        display: flex;
    }
}

/* User Info */
.header-user-info {
    display: none;
    align-items: center;
    gap: 0.75rem;
    padding-left: 1rem;
    border-left: 1px solid var(--border);
}

@media (min-width: 640px) {
    .header-user-info {
        display: flex;
    }
}

.header-user-tier {
    padding: 0.25rem 0.5rem;
    background: var(--bg-elevated);
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--accent);
}

.header-user-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
}

/* Logout Button */
.header-logout-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.header-logout-btn:hover {
    background: var(--bg-elevated);
    color: var(--text);
    border-color: var(--text-muted);
}

.header-logout-text {
    display: none;
}

@media (min-width: 768px) {
    .header-logout-btn {
        padding: 0.5rem 0.75rem;
    }

    .header-logout-text {
        display: inline;
    }
}

/* Light Mode Header Overrides */
[data-theme="light"] .dashboard-header-v2 {
    background: #ffffff;
    border-bottom-color: #e5e7eb;
}

[data-theme="light"] .header-logo-text {
    color: #111827;
}

[data-theme="light"] .header-logo-dot {
    background: #65a30d;
}

[data-theme="light"] .header-online-counter {
    background: #f9fafb;
    border-color: #e5e7eb;
}

[data-theme="light"] .header-online-text {
    color: #6b7280;
}

[data-theme="light"] .header-theme-toggle {
    background: #f9fafb;
    border-color: #e5e7eb;
    color: #6b7280;
}

[data-theme="light"] .header-theme-toggle:hover {
    background: #f3f4f6;
    color: #111827;
}

[data-theme="light"] .header-submit-btn {
    background: #65a30d;
    color: #ffffff;
}

[data-theme="light"] .header-user-info {
    border-left-color: #e5e7eb;
}

[data-theme="light"] .header-user-tier {
    background: #f3f4f6;
    color: #65a30d;
}

[data-theme="light"] .header-user-name {
    color: #111827;
}

[data-theme="light"] .header-logout-btn {
    border-color: #e5e7eb;
    color: #6b7280;
}

[data-theme="light"] .header-logout-btn:hover {
    background: #f3f4f6;
    color: #111827;
    border-color: #9ca3af;
}

/* ============================================
   HEADER V2 - CONSISTENT ACROSS ALL PAGES
   ============================================ */

.header-v2 {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 100 !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    padding: 0 1.5rem;
    background: rgba(3, 3, 3, 0.85) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid var(--border);
}

[data-theme="light"] .header-v2 {
    background: rgba(244, 244, 245, 0.85) !important;
    border-bottom-color: #e5e7eb;
}

@media (min-width: 768px) {
    .header-v2 {
        padding: 0 2rem;
    }
}

.header-v2-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-v2-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .header-v2-right {
        gap: 1rem;
    }
}

/* Logo */
.header-v2-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

/* Logo Dot - Simple pulsing lime square */
.header-v2-logo-dot {
    width: 12px;
    height: 12px;
    background: var(--accent);
    flex-shrink: 0;
    animation: logo-pulse 2s ease-in-out infinite;
}

@keyframes logo-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

[data-theme="light"] .header-v2-logo-dot {
    background: #65a30d;
}

.header-v2-logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
    display: none;
}

@media (min-width: 640px) {
    .header-v2-logo-text {
        display: block;
        font-size: 1.125rem;
    }
}

[data-theme="light"] .header-v2-logo-text {
    color: #111827;
}

/* Online Counter */
.header-v2-online {
    display: none;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 9999px;
    position: relative;
}

@media (min-width: 768px) {
    .header-v2-online {
        display: flex;
    }
}

[data-theme="light"] .header-v2-online {
    background: #f9fafb;
    border-color: #e5e7eb;
}

/* Ping animation container */
.header-v2-online-ping {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ade80;
    opacity: 0.75;
    animation: header-v2-ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.header-v2-online-dot {
    position: relative;
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    flex-shrink: 0;
}

@keyframes header-v2-ping {
    75%, 100% {
        transform: scale(2);
        opacity: 0;
    }
}

.header-v2-online-text {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
}

[data-theme="light"] .header-v2-online-text {
    color: #6b7280;
}

/* Theme Toggle */
.header-v2-theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
}

.header-v2-theme-toggle:hover {
    background: var(--bg-elevated);
    color: var(--text);
}

.header-v2-theme-toggle svg {
    width: 20px;
    height: 20px;
}

[data-theme="light"] .header-v2-theme-toggle {
    color: #6b7280;
}

[data-theme="light"] .header-v2-theme-toggle:hover {
    background: #f3f4f6;
    color: #111827;
}

/* Show/hide sun/moon based on theme */
.header-v2-theme-toggle .icon-sun {
    display: none;
}

.header-v2-theme-toggle .icon-moon {
    display: block;
}

[data-theme="light"] .header-v2-theme-toggle .icon-sun {
    display: block;
}

[data-theme="light"] .header-v2-theme-toggle .icon-moon {
    display: none;
}

/* Submit Product Button */
.header-v2-submit-btn {
    display: none;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--accent);
    color: #000;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.header-v2-submit-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

@media (min-width: 640px) {
    .header-v2-submit-btn {
        display: flex;
    }
}

[data-theme="light"] .header-v2-submit-btn {
    background: #65a30d;
    color: #ffffff;
}

/* Nav Button (Payouts, etc.) */
.header-v2-nav-btn {
    display: none;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #10b981;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid #10b981;
    cursor: pointer;
    transition: all 0.2s ease;
}

.header-v2-nav-btn:hover {
    background: #059669;
    color: #ffffff;
    border-color: #059669;
}

.header-v2-nav-btn svg {
    color: #ffffff;
}

/* Always show payouts button when visible class is set (including mobile) */
.header-v2-nav-btn.visible {
    display: flex;
}

[data-theme="light"] .header-v2-nav-btn {
    background: #10b981;
    border-color: #10b981;
    color: #ffffff;
}

[data-theme="light"] .header-v2-nav-btn:hover {
    background: #059669;
    border-color: #059669;
}

/* Back Button (for sub-pages) */
.header-v2-back-btn {
    display: none;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.header-v2-back-btn:hover {
    background: var(--bg-elevated);
    color: var(--text);
}

@media (min-width: 640px) {
    .header-v2-back-btn {
        display: flex;
    }
}

[data-theme="light"] .header-v2-back-btn {
    background: #f9fafb;
    border-color: #e5e7eb;
    color: #6b7280;
}

[data-theme="light"] .header-v2-back-btn:hover {
    background: #f3f4f6;
    color: #111827;
}

/* User Section */
.header-v2-user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-left: 0.75rem;
    border-left: 1px solid var(--border);
}

@media (min-width: 640px) {
    .header-v2-user {
        padding-left: 1rem;
    }
}

[data-theme="light"] .header-v2-user {
    border-left-color: #e5e7eb;
}

/* User Avatar */
.header-v2-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(to top right, #374151, #111827);
    border: 1px solid var(--border);
    flex-shrink: 0;
    cursor: pointer;
}

.header-v2-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header-v2-avatar-initials {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
}

[data-theme="light"] .header-v2-avatar {
    background: linear-gradient(to top right, #e5e7eb, #f9fafb);
    border-color: #d1d5db;
}

[data-theme="light"] .header-v2-avatar-initials {
    color: #6b7280;
}

/* User Info */
.header-v2-user-info {
    display: none;
    flex-direction: column;
    gap: 0.125rem;
    text-align: right;
}

@media (min-width: 640px) {
    .header-v2-user-info {
        display: flex;
    }
}

.header-v2-user-tier {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--accent);
    text-transform: uppercase;
}

.header-v2-user-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
}

[data-theme="light"] .header-v2-user-tier {
    color: #65a30d;
}

[data-theme="light"] .header-v2-user-name {
    color: #111827;
}

/* Logout Button - Icon Only */
.header-v2-logout {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: transparent;
    border: none;
    color: var(--text-subtle);
    cursor: pointer;
    transition: color 0.2s ease;
}

.header-v2-logout:hover {
    color: var(--text);
}

.header-v2-logout svg {
    width: 20px;
    height: 20px;
}

[data-theme="light"] .header-v2-logout {
    color: #9ca3af;
}

[data-theme="light"] .header-v2-logout:hover {
    color: #111827;
}

/* ===== LIGHT MODE: ACTIVATED STATE FIXES ===== */

/* Stats Bar - Light Mode */
[data-theme="light"] .activated-stats-bar {
    background: #e5e7eb;
    border-color: #e5e7eb;
}

[data-theme="light"] .activated-stats-bar .stat-item {
    background: #ffffff;
}

[data-theme="light"] .activated-stats-bar .stat-label {
    color: #6b7280;
}

[data-theme="light"] .activated-stats-bar .stat-value {
    color: #111827;
}

[data-theme="light"] .activated-stats-bar .tier-creator {
    color: #6b7280;
}

[data-theme="light"] .activated-stats-bar .tier-partner {
    color: #16a34a;
}

[data-theme="light"] .activated-stats-bar .tier-elite {
    color: #d97706;
}

/* Section Headers - Light Mode */
[data-theme="light"] .activated-products > h2 {
    color: #374151;
}

/* Product Cards - Light Mode */
[data-theme="light"] .product-card-v2 {
    background: #ffffff;
    border-color: #e5e7eb;
}

[data-theme="light"] .product-card-v2:hover {
    border-color: #d1d5db;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .product-card-thumbnail {
    background: #f3f4f6;
}

[data-theme="light"] .product-card-placeholder-img {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    color: #9ca3af;
}

[data-theme="light"] .product-card-title {
    color: #111827;
}

[data-theme="light"] .product-card-hook {
    color: #6b7280;
}

[data-theme="light"] .product-card-description {
    color: #6b7280;
}

/* Product Card Link Section - Light Mode */
[data-theme="light"] .product-card-link-section {
    border-top-color: #e5e7eb;
}

[data-theme="light"] .product-card-link-label {
    color: #6b7280;
}

[data-theme="light"] .product-card-link-input {
    background: #f3f4f6;
    border-color: #e5e7eb;
    color: #6b7280;
}

[data-theme="light"] .product-card-link-input:hover {
    border-color: #d1d5db;
}

[data-theme="light"] .product-card-link-input:focus {
    border-color: #84cc16;
    color: #374151;
}

[data-theme="light"] .product-card-copy-btn {
    background: #84cc16;
    color: #ffffff;
}

[data-theme="light"] .product-card-copy-btn:hover {
    background: #65a30d;
}

/* ===== LIGHT MODE: SCALED STATE FIXES ===== */

/* Stats Cards Row - Light Mode */
[data-theme="light"] .scaled-stats-bar .stat-card {
    background: #ffffff;
    border-color: #e5e7eb;
}

[data-theme="light"] .scaled-stats-bar .stat-label {
    color: #6b7280;
}

[data-theme="light"] .scaled-stats-bar .stat-value {
    color: #111827;
}

[data-theme="light"] .scaled-stats-bar .stat-change {
    color: #6b7280;
}

[data-theme="light"] .scaled-stats-bar .stat-change.positive {
    color: #16a34a;
}

[data-theme="light"] .scaled-stats-bar .stat-change.negative {
    color: #dc2626;
}

/* Earnings Chart Section - Light Mode */
[data-theme="light"] .chart-card {
    background: #ffffff;
    border-color: #e5e7eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .chart-label {
    color: #6b7280;
}

[data-theme="light"] .chart-total {
    color: #111827;
}

[data-theme="light"] .chart-sales-count {
    border-right-color: #e5e7eb;
}

[data-theme="light"] .chart-sales-label {
    color: #6b7280;
}

[data-theme="light"] .chart-sales-value {
    color: #111827;
}

[data-theme="light"] .chart-range-picker {
    background: #f3f4f6;
    border-color: #e5e7eb;
}

[data-theme="light"] .chart-range-picker .range-btn {
    color: #6b7280;
}

[data-theme="light"] .chart-range-picker .range-btn:hover {
    color: #111827;
}

[data-theme="light"] .chart-range-picker .range-btn.active {
    background: #84cc16;
    color: #ffffff;
}

[data-theme="light"] .chart-wrapper {
    background: #ffffff;
}

[data-theme="light"] .chart-loader {
    background: #ffffff;
}

[data-theme="light"] .loader-spinner {
    border-color: #e5e7eb;
    border-left-color: #84cc16;
}

[data-theme="light"] .chart-empty {
    background: rgba(255, 255, 255, 0.9);
    color: #6b7280;
}

[data-theme="light"] .chart-empty .empty-icon {
    color: #9ca3af;
}

/* Live Sales Sidebar - Light Mode */
[data-theme="light"] .feed-card {
    background: #ffffff;
    border-color: #e5e7eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .feed-header {
    border-bottom-color: #e5e7eb;
}

[data-theme="light"] .feed-header h3 {
    color: #111827;
}

[data-theme="light"] .sound-toggle {
    color: #9ca3af;
}

[data-theme="light"] .sound-toggle:hover {
    color: #6b7280;
}

[data-theme="light"] .feed-subheader {
    background: #f9fafb;
    border-bottom-color: #e5e7eb;
    color: #6b7280;
}

[data-theme="light"] .feed-subheader svg {
    color: #84cc16;
}

[data-theme="light"] .feed-subheader strong {
    color: #111827;
}

[data-theme="light"] .feed-list::-webkit-scrollbar-track {
    background: #f3f4f6;
}

[data-theme="light"] .feed-list::-webkit-scrollbar-thumb {
    background: #d1d5db;
}

[data-theme="light"] .feed-item {
    background: #f9fafb;
    border-color: transparent;
}

[data-theme="light"] .feed-item:hover {
    background: #f3f4f6;
    border-color: #e5e7eb;
}

[data-theme="light"] .feed-item-icon.default {
    background: #e5e7eb;
    color: #6b7280;
    border-color: #d1d5db;
}

[data-theme="light"] .feed-footer {
    border-top-color: #e5e7eb;
}

[data-theme="light"] .feed-footer span {
    color: #9ca3af;
}

/* ========================================
   PRODUCT CREATIVES - Collapsible Section
   ======================================== */

.product-creatives-section {
    margin-top: 0.75rem;
    border-top: 1px solid var(--border);
    padding-top: 0.75rem;
}

.creatives-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: none;
    padding: 0.5rem 0;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 0.8rem;
    transition: color 0.15s ease;
}

.creatives-toggle:hover {
    color: var(--text);
}

.creatives-toggle span:first-child {
    flex-shrink: 0;
}

.creatives-count {
    background: var(--bg-tertiary);
    padding: 0.125rem 0.5rem;
    border-radius: 10px;
    font-size: 0.7rem;
    color: var(--text-muted);
}

.creatives-toggle .chevron {
    width: 16px;
    height: 16px;
    margin-left: auto;
    transition: transform 0.2s ease;
}

.creatives-toggle.expanded .chevron {
    transform: rotate(180deg);
}

.creatives-panel {
    padding: 0.75rem 0;
}

.creatives-grid-mini {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.creative-thumb {
    aspect-ratio: 1;
    border-radius: 0.375rem;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    background: var(--bg-tertiary);
}

.creative-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.15s ease;
}

.creative-thumb:hover img {
    transform: scale(1.05);
}

.creative-thumb::after {
    content: '↓';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    opacity: 0;
    transition: opacity 0.15s ease;
}

.creative-thumb:hover::after {
    opacity: 1;
}

.btn-download-all {
    width: 100%;
    padding: 0.5rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 0.375rem;
    color: var(--text);
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-download-all:hover {
    background: var(--accent);
    color: black;
    border-color: var(--accent);
}

/* Mobile: 4 columns */
@media (max-width: 640px) {
    .creatives-grid-mini {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Light theme adjustments */
[data-theme="light"] .creatives-count {
    background: #e5e7eb;
    color: #6b7280;
}

[data-theme="light"] .creative-thumb {
    background: #f3f4f6;
}

[data-theme="light"] .btn-download-all {
    background: #f9fafb;
    border-color: #e5e7eb;
}

[data-theme="light"] .btn-download-all:hover {
    background: var(--accent);
    color: black;
}

/* ================================================
   FIRST SALE CELEBRATION MODAL - NEW DESIGN
   ================================================ */

.first-sale-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 2, 2, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 16px;
    overflow-y: auto;
}

.first-sale-modal-container {
    width: 100%;
    max-width: 420px;
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
}

.first-sale-accent-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ccff00, transparent);
}

/* Ambient Effects */
.first-sale-ambient {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.first-sale-glow {
    position: absolute;
    top: -10%;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 400px;
    background: rgba(204, 255, 0, 0.08);
    border-radius: 50%;
    filter: blur(100px);
}

.first-sale-particle {
    position: absolute;
    background: #ccff00;
    border-radius: 50%;
    opacity: 0.3;
    animation: floatParticle 4s ease-in-out infinite;
}

.first-sale-particle.p1 { width: 8px; height: 8px; top: 20%; left: 20%; animation-delay: 0s; }
.first-sale-particle.p2 { width: 12px; height: 12px; top: 15%; right: 25%; animation-delay: 1s; }
.first-sale-particle.p3 { width: 6px; height: 6px; bottom: 30%; left: 10%; animation-delay: 0.5s; }
.first-sale-particle.p4 { width: 8px; height: 8px; bottom: 40%; right: 15%; animation-delay: 1.5s; }

@keyframes floatParticle {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.3; }
    50% { transform: translateY(-20px) scale(1.1); opacity: 0.6; }
}

/* Content */
.first-sale-content {
    position: relative;
    z-index: 1;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (min-width: 480px) {
    .first-sale-content {
        padding: 40px 32px;
    }
}

/* Header Section */
.first-sale-header {
    text-align: center;
    margin-bottom: 32px;
    width: 100%;
}

.first-sale-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(204, 255, 0, 0.1);
    border: 1px solid rgba(204, 255, 0, 0.2);
    padding: 6px 12px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.first-sale-badge span {
    font-size: 10px;
    font-weight: 900;
    color: #ccff00;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.first-sale-amount {
    font-family: 'Manrope', sans-serif;
    font-size: 56px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -2px;
    margin: 0 0 8px 0;
    text-shadow: 0 0 40px rgba(204, 255, 0, 0.4);
    font-variant-numeric: tabular-nums;
}

@media (min-width: 480px) {
    .first-sale-amount {
        font-size: 72px;
    }
}

.first-sale-subtitle {
    font-size: 20px;
    font-weight: 700;
    color: #e5e5e5;
    margin: 0 0 12px 0;
    letter-spacing: -0.5px;
}

.first-sale-subtext {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
    max-width: 280px;
    margin: 0 auto;
    line-height: 1.5;
}

.first-sale-subtext .highlight {
    color: #ffffff;
    font-weight: 700;
}

/* Cards */
.first-sale-card {
    width: 100%;
    background: #111111;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    margin-bottom: 16px;
}

.first-sale-card:last-of-type {
    margin-bottom: 32px;
}

.first-sale-card-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.first-sale-card-header .card-icon {
    width: 12px;
    height: 12px;
    color: #6b7280;
}

.first-sale-card-header span {
    font-size: 10px;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.first-sale-card-body {
    padding: 16px;
}

/* Detail Rows */
.first-sale-card .detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.first-sale-card .detail-label {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
}

.first-sale-card .detail-value {
    font-size: 13px;
    color: #d1d5db;
    text-align: right;
}

.first-sale-card .detail-value.mono {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
}

.first-sale-card .detail-value.bold {
    color: #ffffff;
    font-weight: 700;
}

.first-sale-card .detail-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
    margin: 12px 0;
}

.first-sale-card .detail-row.commission {
    padding-top: 12px;
}

.first-sale-card .detail-row.commission .detail-label {
    color: #9ca3af;
    font-weight: 700;
}

.first-sale-card .commission-amount {
    font-size: 18px !important;
    font-weight: 700;
    color: #ccff00 !important;
    font-family: 'JetBrains Mono', monospace;
}

/* Payout Status */
.payout-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.status-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.status-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-icon.confirmed {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.status-icon svg {
    width: 14px;
    height: 14px;
    color: #22c55e;
}

.status-text {
    text-align: left;
}

.status-title {
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    margin: 0;
}

.status-subtitle {
    font-size: 10px;
    color: #6b7280;
    margin: 2px 0 0 0;
}

.status-right {
    text-align: right;
}

.payout-date {
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.payout-method {
    font-size: 10px;
    color: #6b7280;
    margin: 2px 0 0 0;
}

.payout-note {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 8px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.payout-note p {
    font-size: 11px;
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
    text-align: left;
}

.payout-note .note-label {
    color: #d1d5db;
    font-weight: 700;
}

/* CTA Button */
.first-sale-cta {
    width: 100%;
    position: relative;
    overflow: hidden;
    background: linear-gradient(to bottom, #ccff00, #b8e600);
    border: none;
    border-radius: 12px;
    padding: 16px 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 0 30px rgba(204, 255, 0, 0.2);
    transition: all 0.3s ease;
}

.first-sale-cta:hover {
    transform: scale(1.02);
    box-shadow: 0 0 40px rgba(204, 255, 0, 0.4);
}

.first-sale-cta:active {
    transform: scale(0.98);
}

.first-sale-cta span {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 800;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 1;
}

.first-sale-cta svg {
    width: 20px;
    height: 20px;
    color: #000000;
    position: relative;
    z-index: 1;
}

.cta-shimmer {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transform: translateX(-150%) skewX(-20deg);
    animation: shimmerSweep 2.5s infinite ease-in-out;
    mix-blend-mode: overlay;
}

@keyframes shimmerSweep {
    0% { transform: translateX(-150%) skewX(-20deg); }
    40%, 100% { transform: translateX(250%) skewX(-20deg); }
}

/* Pop animation for counter */
@keyframes popAmount {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); color: #ccff00; }
}

.first-sale-amount.animate-pop {
    animation: popAmount 0.3s ease-out forwards;
}

/* ================================================
   PIXEL UNLOCK VSL MODAL
   ================================================ */

.pixel-unlock-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 2, 2, 0.97);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 16px;
    overflow-y: auto;
}

.pixel-unlock-container {
    width: 100%;
    max-width: 720px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 40px 16px;
    position: relative;
}

/* Header */
.pixel-unlock-header {
    text-align: center;
    max-width: 600px;
}

.pixel-unlock-title {
    font-family: 'Inter', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -1px;
    line-height: 1.2;
    margin: 0 0 12px 0;
}

@media (min-width: 480px) {
    .pixel-unlock-title {
        font-size: 40px;
    }
}

.pixel-unlock-highlight {
    color: #ffffff;
    border-bottom: 3px solid rgba(204, 255, 0, 0.8);
    padding-bottom: 2px;
}

.pixel-unlock-subtitle {
    font-size: 16px;
    color: #9ca3af;
    font-weight: 500;
    line-height: 1.5;
    margin: 0;
}

@media (min-width: 480px) {
    .pixel-unlock-subtitle {
        font-size: 18px;
    }
}

/* Video */
.pixel-unlock-video-wrapper {
    width: 100%;
    max-width: 640px;
    position: relative;
}

.pixel-unlock-video-container {
    width: 100%;
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.pixel-unlock-video-glow {
    position: absolute;
    inset: -4px;
    background: linear-gradient(135deg, rgba(204, 255, 0, 0.15), transparent);
    filter: blur(30px);
    opacity: 0.2;
    z-index: 0;
    border-radius: 50%;
}

/* Actions */
.pixel-unlock-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
    max-width: 380px;
}

/* Reveal animation */
.pixel-unlock-reveal-hidden {
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    visibility: hidden;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
    text-align: center;
}

.pixel-unlock-reveal-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    visibility: visible;
}

/* CTA Button - reuses .first-sale-cta styles but specific to this modal */
.pixel-unlock-cta {
    width: 100%;
    position: relative;
    overflow: hidden;
    background: linear-gradient(to bottom, #ccff00, #b8e600);
    border: none;
    border-radius: 12px;
    padding: 16px 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 0 30px rgba(204, 255, 0, 0.2);
    transition: all 0.3s ease;
}

.pixel-unlock-cta:hover {
    transform: scale(1.02);
    box-shadow: 0 0 40px rgba(204, 255, 0, 0.4);
}

.pixel-unlock-cta:active {
    transform: scale(0.98);
}

.pixel-unlock-cta span {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 800;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 1;
}

.pixel-unlock-cta-icon {
    width: 20px;
    height: 20px;
    color: #000000;
    position: relative;
    z-index: 1;
}

/* Skip Link */
.pixel-unlock-skip-link {
    font-size: 14px;
    color: #6b7280;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-color: #374151;
    transition: all 0.2s ease;
    cursor: pointer;
    background: none;
    border: none;
    display: inline;
}

.pixel-unlock-skip-link:hover {
    color: #d1d5db;
    text-decoration-color: #9ca3af;
}

/* ============================================ */
/* SCREEN 3A: DEPOSIT OTO MODAL */
/* ============================================ */

.deposit-oto-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #020202;
    z-index: 10001;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.deposit-oto-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px 20px 80px 20px;
    position: relative;
    z-index: 10;
}

/* Ambient glow - using pseudo element instead of extra div */
.deposit-oto-overlay::before {
    content: '';
    position: fixed;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: rgba(204, 255, 0, 0.08);
    filter: blur(120px);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

/* Section 1: Header */
.deposit-oto-header {
    text-align: center;
    margin-bottom: 40px;
    animation: depositFadeIn 0.6s ease-out;
}

.deposit-oto-success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(0, 255, 157, 0.1);
    border: 1px solid rgba(0, 255, 157, 0.2);
    margin-bottom: 16px;
    color: #00ff9d;
}

.deposit-oto-title {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #ffffff;
    margin-bottom: 8px;
}

.deposit-oto-subtitle {
    color: #9ca3af;
    font-size: 0.95rem;
}

/* Section 2: Pitch */
.deposit-oto-pitch {
    text-align: center;
    margin-bottom: 32px;
    animation: depositFadeIn 0.8s ease-out;
}

.deposit-oto-pitch-headline {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 1.75rem;
    margin-bottom: 12px;
    line-height: 1.2;
    color: #ffffff;
}

.deposit-oto-accent {
    color: #ccff00;
}

.deposit-oto-pitch-body {
    color: #9ca3af;
    font-size: 1rem;
    line-height: 1.6;
}

/* Section 3: Comparison */
.deposit-oto-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 32px;
    animation: depositSlideUp 0.6s ease-out 0.2s backwards;
}

.deposit-oto-card {
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.deposit-oto-card-creator {
    opacity: 0.8;
}

.deposit-oto-card-partner {
    border-color: rgba(204, 255, 0, 0.3);
    background: linear-gradient(180deg, rgba(204, 255, 0, 0.05) 0%, rgba(10, 10, 10, 0) 100%);
    box-shadow: 0 0 20px rgba(204, 255, 0, 0.05);
}

.deposit-oto-badge {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #9ca3af;
    margin-bottom: 4px;
    display: block;
}

.deposit-oto-badge-partner {
    color: #ccff00;
}

.deposit-oto-stat-big {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
}

.deposit-oto-stat-partner {
    color: #ccff00;
    text-shadow: 0 0 15px rgba(204, 255, 0, 0.3);
}

.deposit-oto-stat-sub {
    font-size: 0.85rem;
    color: #9ca3af;
}

/* Section 4: Features */
.deposit-oto-features {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px;
    margin-bottom: 32px;
    animation: depositSlideUp 0.6s ease-out 0.3s backwards;
}

.deposit-oto-features-header {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #9ca3af;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 12px;
}

.deposit-oto-features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

@media (min-width: 480px) {
    .deposit-oto-features-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.deposit-oto-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #ffffff;
}

.deposit-oto-check {
    color: #ccff00;
    flex-shrink: 0;
}

/* Section 5: Pricing */
.deposit-oto-pricing {
    text-align: center;
    margin-bottom: 40px;
    animation: depositSlideUp 0.6s ease-out 0.4s backwards;
}

.deposit-oto-pricing-main {
    font-size: 1.1rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 8px;
}

.deposit-oto-pricing-highlight {
    color: #ccff00;
    font-weight: 700;
}

.deposit-oto-pricing-alt {
    font-size: 0.95rem;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 12px;
}

.deposit-oto-pricing-note {
    color: #9ca3af;
    font-size: 0.85em;
}

.deposit-oto-pricing-sub {
    font-size: 0.85rem;
    color: #9ca3af;
    max-width: 400px;
    margin: 0 auto;
}

/* Section 6: Deposit Card */
.deposit-oto-deposit-card {
    background: linear-gradient(145deg, #111 0%, #050505 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    margin-bottom: 24px;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
    animation: depositSlideUp 0.6s ease-out 0.5s backwards;
}

.deposit-oto-deposit-title {
    font-family: 'Manrope', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
}

.deposit-oto-deposit-body {
    color: #9ca3af;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Section 7: CTA */
.deposit-oto-cta-container {
    text-align: center;
    animation: depositSlideUp 0.6s ease-out 0.6s backwards;
}

.deposit-oto-cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: #ccff00;
    color: #000;
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    text-transform: uppercase;
    padding: 20px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-bottom: 12px;
    text-decoration: none;
}

.deposit-oto-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(204, 255, 0, 0.4);
}

.deposit-oto-cta-button:active {
    transform: translateY(1px);
}

/* Shimmer */
.deposit-oto-cta-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.8) 50%, transparent 100%);
    transform: skewX(-20deg) translateX(-150%);
    animation: depositShimmer 3s infinite;
}

@keyframes depositShimmer {
    0% { transform: skewX(-20deg) translateX(-150%); }
    20% { transform: skewX(-20deg) translateX(300%); }
    100% { transform: skewX(-20deg) translateX(300%); }
}

.deposit-oto-cta-refundable {
    font-size: 0.8em;
    font-weight: 600;
    opacity: 0.8;
}

.deposit-oto-guarantee {
    color: #ccff00;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.deposit-oto-cta-subtext {
    color: #9ca3af;
    font-size: 0.75rem;
    margin-bottom: 10px;
    text-align: center;
}

/* Error Message */
.deposit-oto-error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.5);
    color: #fca5a5;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 0.9rem;
    text-align: center;
}

/* Processing Overlay */
.deposit-processing-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 16px;
}

.deposit-processing-content {
    text-align: center;
    color: #fff;
}

.deposit-processing-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(204, 255, 0, 0.2);
    border-top-color: #ccff00;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 16px;
}

.deposit-processing-content p {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Button disabled state */
.deposit-oto-cta-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

/* Section 8: Skip */
.deposit-oto-skip {
    display: block;
    text-align: center;
    color: #9ca3af;
    font-size: 0.9rem;
    margin-top: 32px;
    text-decoration: none;
    transition: color 0.2s;
    animation: depositFadeIn 1s ease-out 1s backwards;
}

.deposit-oto-skip:hover {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Animations */
@keyframes depositFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* ============================================ */
/* PIXEL UNLOCK CHECKOUT POPUP */
/* ============================================ */

.pixel-checkout-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10002;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.pixel-checkout-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    animation: pixelCheckoutFadeIn 0.3s ease-out;
}

.pixel-checkout-container {
    position: relative;
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: pixelCheckoutSlideUp 0.3s ease-out;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.pixel-checkout-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    transition: all 0.2s ease;
    z-index: 10;
}

.pixel-checkout-close:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.pixel-checkout-header {
    padding: 24px 24px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pixel-checkout-title {
    font-family: 'Manrope', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 16px 0;
}

.pixel-checkout-order-summary {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 12px 16px;
}

.pixel-checkout-product {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pixel-checkout-product-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
}

.pixel-checkout-product-price {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.1rem;
    font-weight: 700;
    color: #ccff00;
}

.pixel-checkout-embed-wrapper {
    flex: 1;
    overflow-y: auto;
    min-height: 400px;
    max-height: 60vh;
    position: relative;
    background: #fff;
}

.pixel-checkout-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    z-index: 5;
    transition: opacity 0.3s ease-out;
}

.pixel-checkout-loading.hidden {
    opacity: 0;
    pointer-events: none;
}

.pixel-checkout-spinner {
    width: 32px;
    height: 32px;
    color: #ccff00;
    animation: pixelCheckoutSpin 1s linear infinite;
}

.pixel-checkout-loading p {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.pixel-checkout-embed-wrapper .whop-checkout-embed {
    width: 100%;
    min-height: 400px;
}

.pixel-checkout-embed-wrapper .whop-checkout-embed iframe {
    width: 100% !important;
    min-height: 400px !important;
    border: none !important;
}

.pixel-checkout-trust {
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: center;
    gap: 24px;
}

.pixel-checkout-trust span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
}

.pixel-checkout-trust svg {
    color: #ccff00;
}

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

@keyframes pixelCheckoutSlideUp {
    from { opacity: 0; transform: translateY(20px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes pixelCheckoutSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Mobile adjustments */
@media (max-width: 480px) {
    .pixel-checkout-container {
        max-height: 95vh;
        border-radius: 12px;
    }

    .pixel-checkout-header {
        padding: 20px 16px 12px;
    }

    .pixel-checkout-trust {
        padding: 12px 16px;
        gap: 16px;
    }
}
