/* ==========================================================================
   WinTrendz — Dark Command Center Design System
   Premium product hunting dashboard — 2026
   ========================================================================== */

/* --- 1. Design Tokens --- */
:root {
    --bg-base: #0B0D14;
    --bg-surface: #12141D;
    --bg-surface-hover: #1A1D2B;
    --bg-surface-active: #222639;
    --bg-elevated: #161929;

    --border: #1E2235;
    --border-hover: #2A2F45;
    --border-focus: #3B82F6;

    --primary: #3B82F6;
    --primary-hover: #2563EB;
    --primary-soft: rgba(59, 130, 246, 0.10);
    --primary-glow: rgba(59, 130, 246, 0.20);

    --success: #22C55E;
    --success-soft: rgba(34, 197, 94, 0.10);
    --warning: #F59E0B;
    --warning-soft: rgba(245, 158, 11, 0.10);
    --danger: #EF4444;
    --danger-soft: rgba(239, 68, 68, 0.10);
    --purple: #8B5CF6;
    --purple-soft: rgba(139, 92, 246, 0.10);

    --text-1: #F1F5F9;
    --text-2: #94A3B8;
    --text-3: #64748B;
    --text-link: #60A5FA;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(59, 130, 246, 0.15);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-2);
    background: var(--bg-base);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: var(--border-hover); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-3); }

a { color: var(--text-link); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* --- 3. Typography --- */
h1, h2, h3 { color: var(--text-1); line-height: 1.2; }
h1 { font-size: 56px; font-weight: 800; line-height: 1.1; }
h2 { font-size: 36px; font-weight: 700; }
h3 { font-size: 20px; font-weight: 600; }

.section-label {
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-3);
}

/* --- 4. Buttons --- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 150ms ease, transform 100ms ease;
}
.btn-primary:hover { background: var(--primary-hover); }
.btn-primary:active { transform: scale(0.98); }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: transparent;
    color: var(--text-2);
    border: 1px solid var(--border-hover);
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 150ms ease, color 150ms ease, border-color 150ms ease;
}
.btn-ghost:hover { background: var(--bg-surface-hover); color: var(--text-1); border-color: var(--text-3); }

.btn-text {
    background: none;
    border: none;
    color: var(--text-link);
    font-family: var(--font);
    font-size: 14px;
    cursor: pointer;
    padding: 0;
}
.btn-text:hover { text-decoration: underline; }

/* --- 5. Inputs --- */
input, select {
    width: 100%;
    padding: 10px 14px;
    background: var(--bg-base);
    color: var(--text-1);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 14px;
    outline: none;
    transition: border-color 200ms ease, box-shadow 200ms ease;
}
input:focus, select:focus {
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px var(--primary-glow);
}
input::placeholder { color: var(--text-3); }

label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-2);
    margin-bottom: 6px;
}

.input-group { margin-bottom: 16px; }
.input-group small { color: var(--text-3); }

/* --- 6. Landing Nav --- */
.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    height: 64px;
    background: transparent;
    transition: background 150ms ease, border-color 150ms ease;
    border-bottom: 1px solid transparent;
}
.landing-nav.scrolled {
    background: var(--bg-base);
    border-bottom-color: var(--border);
}

.nav-logo {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-1);
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: default;
}
.nav-logo .accent { color: var(--primary); }
.nav-logo .pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    animation: pulse-dot 2s ease-in-out infinite;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}
.nav-links a {
    color: var(--text-2);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 150ms ease;
}
.nav-links a:hover { color: var(--text-1); text-decoration: none; }

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

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--text-2);
}
.hamburger svg { width: 24px; height: 24px; }

.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: var(--bg-base);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
    color: var(--text-1);
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    padding: 12px 24px;
}
.mobile-menu .mobile-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-2);
    font-size: 28px;
    cursor: pointer;
}

/* --- 7. Hero --- */
.hero {
    text-align: center;
    padding: 140px 24px 60px;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(circle, rgba(59,130,246,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero h1 { margin-bottom: 20px; }
.hero-sub {
    font-size: 18px;
    color: var(--text-2);
    max-width: 680px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.hero-ctas {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 32px;
}
.hero-ctas .btn-primary { padding: 14px 28px; font-size: 16px; }
.hero-ctas .btn-ghost { padding: 14px 28px; font-size: 16px; }

.trust-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 48px;
}
.trust-bar .trust-text {
    font-size: 13px;
    color: var(--text-3);
    font-weight: 500;
}
.trust-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}
.trust-badge {
    padding: 6px 14px;
    background: var(--primary-soft);
    color: var(--primary);
    border-radius: var(--radius-xl);
    font-size: 12px;
    font-weight: 600;
}

.hero-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    perspective: 800px;
    margin-top: 20px;
}
.hero-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px;
    width: 200px;
    text-align: left;
    transform: rotateY(-5deg) rotateX(3deg);
    transition: transform 300ms ease;
}
.hero-card:nth-child(2) { transform: rotateY(0deg) rotateX(0deg) translateY(-10px); }
.hero-card:nth-child(3) { transform: rotateY(5deg) rotateX(3deg); }
.hero-card-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-1);
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.hero-card-score {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 8px;
}
.hero-card-price {
    font-size: 12px;
    color: var(--text-3);
}
.hero-card-price .retail { color: var(--success); font-weight: 600; }

/* --- 8. Platforms Strip --- */
.platforms-strip {
    text-align: center;
    padding: 40px 24px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.platforms-strip .section-label { margin-bottom: 20px; }
.platforms-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}
.platform-logo {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-3);
    filter: grayscale(100%);
    opacity: 0.5;
    transition: filter 300ms ease, opacity 300ms ease;
}
.platform-logo:hover { filter: grayscale(0%); opacity: 1; }

/* --- 9. Comparison Section --- */
.comparison-section {
    padding: 80px 24px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.comparison-section h2 { margin-bottom: 40px; }

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}
.comparison-table th,
.comparison-table td {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}
.comparison-table th {
    color: var(--text-3);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.comparison-table td { color: var(--text-2); }
.comparison-table .highlight-col {
    color: var(--text-1);
    font-weight: 600;
    background: var(--primary-soft);
    border-left: 2px solid var(--primary);
}
.comparison-table .check { color: var(--success); }
.comparison-table .cross { color: var(--text-3); }

/* Mobile comparison cards */
.comparison-cards { display: none; }
.comparison-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.comparison-card .label { color: var(--text-2); font-size: 14px; }
.comparison-card .values {
    display: flex;
    gap: 16px;
    font-size: 14px;
}
.comparison-card .ours { color: var(--primary); font-weight: 600; }
.comparison-card .theirs { color: var(--text-3); }

/* --- 10. Features Bento Grid --- */
.features-section {
    padding: 80px 24px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}
.features-section h2 { margin-bottom: 48px; }

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.feature-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: left;
    transition: border-color 200ms ease, box-shadow 200ms ease;
}
.feature-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
}
.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 24px;
}
.feature-icon.blue { background: var(--primary-soft); color: var(--primary); }
.feature-icon.green { background: var(--success-soft); color: var(--success); }
.feature-icon.purple { background: var(--purple-soft); color: var(--purple); }
.feature-icon.amber { background: var(--warning-soft); color: var(--warning); }

.feature-card h3 { margin-bottom: 8px; font-size: 18px; }
.feature-card p { font-size: 14px; line-height: 1.6; color: var(--text-2); }

/* --- 11. How It Works --- */
.steps-section {
    padding: 80px 24px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}
.steps-section h2 { margin-bottom: 48px; }

.steps-row {
    display: flex;
    gap: 24px;
    justify-content: center;
}
.step-card {
    flex: 1;
    max-width: 260px;
    text-align: center;
}
.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-soft);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    margin: 0 auto 16px;
}
.step-card h3 { font-size: 17px; margin-bottom: 8px; }
.step-card p { font-size: 14px; color: var(--text-2); }

/* --- 12. Pricing --- */
.pricing-section {
    padding: 80px 24px;
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
}
.pricing-section h2 { margin-bottom: 48px; }

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.pricing-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: left;
    position: relative;
}
.pricing-card.popular {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}
.pricing-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--primary);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--radius-xl);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.pricing-plan-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-2);
    margin-bottom: 8px;
}
.pricing-price {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-1);
    margin-bottom: 4px;
}
.pricing-price span {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-3);
}
.pricing-features {
    list-style: none;
    margin: 24px 0;
}
.pricing-features li {
    padding: 6px 0;
    font-size: 14px;
    color: var(--text-2);
    display: flex;
    align-items: center;
    gap: 8px;
}
.pricing-features li::before {
    content: '';
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--success-soft);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pricing-card .btn-primary,
.pricing-card .btn-ghost { width: 100%; justify-content: center; }

/* --- 13. FAQ --- */
.faq-section {
    padding: 80px 24px;
    max-width: 700px;
    margin: 0 auto;
}
.faq-section h2 { text-align: center; margin-bottom: 40px; }

.faq-item {
    border-bottom: 1px solid var(--border);
}
.faq-question {
    width: 100%;
    padding: 18px 0;
    background: none;
    border: none;
    color: var(--text-1);
    font-family: var(--font);
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 150ms ease;
}
.faq-question:hover { color: var(--primary); }
.faq-icon {
    font-size: 20px;
    color: var(--text-3);
    transition: transform 300ms ease;
    flex-shrink: 0;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 300ms ease;
}
.faq-item.open .faq-answer { max-height: 500px; }
.faq-answer-inner {
    padding: 0 0 18px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-2);
}

/* --- 14. Final CTA --- */
.final-cta {
    padding: 80px 24px;
    text-align: center;
}
.final-cta-card {
    max-width: 600px;
    margin: 0 auto;
    padding: 48px 32px;
    background: var(--bg-surface);
    border: 1px solid var(--primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-glow);
}
.final-cta-card h2 { font-size: 28px; margin-bottom: 16px; }
.final-cta-card p { margin-bottom: 24px; }

/* --- 15. Footer --- */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 48px 40px 24px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 800px;
    margin: 0 auto 32px;
}
.footer-col h4 {
    color: var(--text-1);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}
.footer-col a {
    display: block;
    color: var(--text-3);
    font-size: 13px;
    padding: 4px 0;
    text-decoration: none;
    transition: color 150ms ease;
}
.footer-col a:hover { color: var(--text-link); text-decoration: none; }

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-3);
}

/* --- 16. Auth Modal --- */
.auth-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 500;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 200ms ease-out;
}
.auth-overlay.open {
    display: flex;
    opacity: 1;
}

.auth-modal {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    width: 100%;
    max-width: 420px;
    position: relative;
    box-shadow: var(--shadow-lg);
}
.auth-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: var(--text-3);
    font-size: 24px;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
}
.auth-close:hover { color: var(--text-1); }

.auth-logo {
    text-align: center;
    margin-bottom: 24px;
    font-size: 26px;
    font-weight: 800;
    color: var(--text-1);
}
.auth-logo .accent { color: var(--primary); }

.auth-tabs {
    display: flex;
    background: var(--bg-base);
    border-radius: var(--radius-sm);
    padding: 3px;
    margin-bottom: 24px;
}
.auth-tab {
    flex: 1;
    padding: 8px 0;
    background: none;
    border: none;
    color: var(--text-3);
    font-family: var(--font);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 6px;
    transition: background 150ms ease, color 150ms ease;
}
.auth-tab.active {
    background: var(--bg-surface-hover);
    color: var(--text-1);
}

.auth-form .btn-primary { width: 100%; justify-content: center; padding: 12px; margin-top: 8px; }

/* Google Sign-In button */
.btn-google {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 16px;
    background: #fff;
    color: #333;
    border: 1px solid #dadce0;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    margin-bottom: 0;
    font-family: inherit;
}
.btn-google:hover {
    background: #f7f8f8;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.btn-google:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.btn-google svg {
    flex-shrink: 0;
}

.auth-divider {
    display: flex;
    align-items: center;
    margin: 16px 0;
    gap: 12px;
}
.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}
.auth-divider span {
    font-size: 12px;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.auth-footer {
    text-align: center;
    font-size: 13px;
    color: var(--text-3);
    margin-top: 16px;
}

/* --- 17. Dashboard Top Bar --- */
/* Dashboard hidden by default via .hidden class on HTML element */

.dashboard-bar {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    height: 64px;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border);
    gap: 16px;
}
.dashboard-bar .nav-logo { font-size: 20px; }
.dashboard-bar .filters {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    justify-content: center;
}
.dashboard-bar .filters select {
    width: auto;
    min-width: 140px;
    padding: 8px 12px;
    font-size: 13px;
}
.dashboard-bar .actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.dashboard-bar .btn-primary { padding: 8px 18px; font-size: 14px; }

.plan-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.plan-badge.free {
    background: var(--primary-soft);
    color: var(--primary);
    border: 1px solid rgba(59, 130, 246, 0.2);
}
.plan-badge.pro {
    background: var(--warning-soft);
    color: var(--warning);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.scans-left {
    font-size: 12px;
    color: var(--text-3);
    font-weight: 500;
}

.btn-export {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    background: var(--bg-surface);
    color: var(--text-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 150ms ease;
}
.btn-export:hover { background: var(--bg-surface-hover); color: var(--text-1); border-color: var(--border-hover); }

.gear-btn {
    background: none;
    border: none;
    color: var(--text-3);
    cursor: pointer;
    padding: 6px;
    font-size: 18px;
    transition: color 150ms ease;
}
.gear-btn:hover { color: var(--text-1); }

.logout-btn {
    background: none;
    border: none;
    color: var(--text-3);
    font-family: var(--font);
    font-size: 13px;
    cursor: pointer;
    padding: 6px;
    transition: color 150ms ease;
}
.logout-btn:hover { color: var(--danger); }

/* --- User Profile --- */
.user-profile {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 8px;
    transition: background 150ms ease;
    position: relative;
}
.user-profile:hover { background: var(--bg-surface-hover); }

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366F1, #8B5CF6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    flex-shrink: 0;
}

.user-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-2);
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 6px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 8px 0;
    min-width: 180px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    z-index: 100;
}
.user-dropdown.open { display: block; }

.user-dropdown .dropdown-header {
    padding: 8px 16px;
    font-size: 12px;
    color: var(--text-3);
    border-bottom: 1px solid var(--border);
    margin-bottom: 4px;
}
.user-dropdown .dropdown-header strong { color: var(--text-1); }

.user-dropdown button {
    display: block;
    width: 100%;
    text-align: left;
    padding: 8px 16px;
    background: none;
    border: none;
    color: var(--text-2);
    font-family: var(--font);
    font-size: 13px;
    cursor: pointer;
    transition: all 100ms ease;
}
.user-dropdown button:hover { background: var(--bg-surface-hover); color: var(--danger); }

@media (max-width: 768px) {
    .user-name { display: none; }
}

/* --- Billing Drawer --- */
.billing-drawer { max-width: 440px; }

.billing-plan-card {
    background: linear-gradient(135deg, rgba(99,102,241,0.12), rgba(139,92,246,0.08));
    border: 1px solid rgba(99,102,241,0.25);
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 24px;
}

.billing-plan-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.billing-plan-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-1);
    display: block;
    margin-bottom: 6px;
}

.billing-status-pill {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(34,197,94,0.15);
    color: #22C55E;
}
.billing-status-pill.past-due {
    background: rgba(245,158,11,0.15);
    color: #F59E0B;
}
.billing-status-pill.canceled {
    background: rgba(239,68,68,0.15);
    color: #EF4444;
}

.billing-price {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-1);
    line-height: 1;
}
.billing-price-period {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-3);
}

.billing-cycle-bar {
    height: 6px;
    background: rgba(255,255,255,0.08);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 16px;
}
.billing-cycle-progress {
    height: 100%;
    background: linear-gradient(90deg, #6366F1, #8B5CF6);
    border-radius: 3px;
    transition: width 600ms ease;
    width: 0%;
}

.billing-dates {
    display: flex;
    justify-content: space-between;
}
.billing-date-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.billing-date-label {
    font-size: 11px;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}
.billing-date-value {
    font-size: 14px;
    color: var(--text-1);
    font-weight: 600;
}

.billing-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}
.billing-benefits li {
    padding: 10px 0;
    color: var(--text-2);
    font-size: 14px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
}
.billing-benefits li:last-child { border-bottom: none; }

.benefit-check {
    color: #22C55E;
    font-size: 16px;
    font-weight: 700;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(34,197,94,0.1);
    border-radius: 50%;
    font-size: 11px;
}

.billing-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.billing-manage-btn {
    width: 100%;
    justify-content: center;
    padding: 12px;
}
.billing-cancel-btn {
    width: 100%;
    justify-content: center;
    padding: 10px;
    font-size: 13px;
    color: var(--text-3) !important;
    border-color: transparent !important;
}
.billing-cancel-btn:hover { color: var(--danger) !important; }

.billing-footer {
    text-align: center;
    font-size: 11px;
    color: var(--text-3);
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

/* --- 17a. Toast Notifications --- */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}
.toast {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 20px;
    color: var(--text-1);
    font-size: 13px;
    font-weight: 500;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 8px;
    pointer-events: auto;
    animation: toast-in 300ms ease forwards;
    max-width: 320px;
}
.toast.toast-out { animation: toast-out 300ms ease forwards; }
.toast-icon { font-size: 16px; flex-shrink: 0; }
.toast.toast-success { border-left: 3px solid var(--success); }
.toast.toast-success .toast-icon { color: var(--success); }
.toast.toast-error { border-left: 3px solid var(--danger); }
.toast.toast-error .toast-icon { color: var(--danger); }
.toast.toast-info { border-left: 3px solid var(--primary); }
.toast.toast-info .toast-icon { color: var(--primary); }

@keyframes toast-in {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes toast-out {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(40px); }
}

/* --- 17b. Favorites & History Buttons --- */
.btn-favorites {
    color: #EF4444 !important;
    border-color: rgba(239, 68, 68, 0.2) !important;
}
.btn-favorites:hover {
    background: rgba(239, 68, 68, 0.1) !important;
}
.btn-favorites #favorites-count {
    font-size: 11px;
    background: rgba(239, 68, 68, 0.2);
    color: #EF4444;
    padding: 1px 6px;
    border-radius: 10px;
    font-weight: 700;
    margin-left: 2px;
}

.btn-history {
    color: var(--text-2) !important;
    border-color: var(--border) !important;
}
.btn-history:hover {
    background: var(--bg-surface-hover) !important;
    color: var(--text-1) !important;
}
.btn-history.active {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
    background: var(--primary-soft) !important;
}

/* --- 17c. Search & Filter Bar --- */
.search-filter-bar {
    display: none;
    padding: 12px 24px;
    gap: 10px;
    align-items: center;
    border-bottom: 1px solid var(--border);
    background: var(--bg-surface);
}
.search-filter-bar.visible { display: flex; }

.search-box {
    position: relative;
    flex: 1;
    min-width: 180px;
}
.search-box .search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-3);
    pointer-events: none;
}
.search-box input {
    width: 100%;
    padding: 9px 12px 9px 36px;
    background: var(--bg-base);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-1);
    font-size: 13px;
    font-family: var(--font);
    transition: border-color 150ms ease;
}
.search-box input:focus {
    outline: none;
    border-color: var(--primary);
}
.search-box input::placeholder { color: var(--text-3); }

.search-filter-bar select {
    padding: 9px 12px;
    background: var(--bg-base);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-2);
    font-size: 13px;
    font-family: var(--font);
    cursor: pointer;
}
.search-filter-bar select:focus {
    outline: none;
    border-color: var(--primary);
}

/* --- 17d. Favorite Heart on Cards --- */
.card-favorite-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    color: var(--text-3);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 150ms ease;
    z-index: 2;
    backdrop-filter: blur(4px);
    line-height: 1;
}
.card-favorite-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    color: #EF4444;
    transform: scale(1.1);
}
.card-favorite-btn.favorited {
    color: #EF4444;
    background: rgba(239, 68, 68, 0.2);
}
.card-favorite-btn.favorited:hover {
    background: rgba(239, 68, 68, 0.3);
}
.card-image {
    position: relative;
}

/* --- 17e. Favorites List in Drawer --- */
.favorites-list .fav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--bg-base);
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
    cursor: pointer;
    transition: background 150ms ease;
}
.favorites-list .fav-item:hover {
    background: var(--bg-surface-hover);
}
.fav-item-img {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    background: var(--bg-surface);
    flex-shrink: 0;
}
.fav-item-img-placeholder {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    background: var(--bg-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--text-3);
    flex-shrink: 0;
}
.fav-item-info {
    flex: 1;
    min-width: 0;
}
.fav-item-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-1);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.fav-item-meta {
    font-size: 12px;
    color: var(--text-3);
    margin-top: 2px;
}
.fav-item-score {
    flex-shrink: 0;
}
.fav-item-remove {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: var(--text-3);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 150ms ease;
}
.fav-item-remove:hover {
    background: var(--danger-soft);
    color: var(--danger);
}

/* --- 17f. History Panel --- */
.history-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 24px;
    background: var(--primary-soft);
    border-bottom: 1px solid rgba(59, 130, 246, 0.15);
    font-size: 13px;
    color: var(--primary);
    font-weight: 600;
}
.history-banner button {
    background: none;
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font);
}
.history-banner button:hover {
    background: var(--primary);
    color: #fff;
}

/* --- 18. Stats Bar --- */
.stats-bar {
    display: none;
    padding: 16px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
}
.stats-bar.visible { display: flex; }

.stat-item {
    flex: 1;
    text-align: center;
    padding: 12px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}
.stat-value {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-1);
}
.stat-label {
    font-size: 12px;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

/* --- 19. API Config Panel --- */
.config-panel {
    margin: 16px 24px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}
.config-panel summary {
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-2);
    cursor: pointer;
    list-style: none;
}
.config-panel summary::-webkit-details-marker { display: none; }
.config-panel summary::after {
    content: '+';
    float: right;
    color: var(--text-3);
    font-size: 18px;
}
.config-panel[open] summary::after { content: '-'; }
.config-body {
    padding: 0 20px 20px;
}
.config-body .btn-primary { margin-top: 8px; }

/* --- 20. Product Grid --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 24px;
}

/* --- 21. Card Image --- */
.product-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: border-color 200ms ease, box-shadow 200ms ease;
}
.product-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
}

.card-image {
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--bg-base);
}
.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.card-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--text-3);
}

/* --- 22. Card Body --- */
.card-body { padding: 16px; }

.card-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 12px;
}
.card-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-1);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sell-score-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}
.score-high { background: var(--success-soft); color: var(--success); }
.score-medium { background: var(--warning-soft); color: var(--warning); }
.score-low { background: var(--danger-soft); color: var(--danger); }

.card-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}
.metric { text-align: center; }
.metric-value {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-1);
}
.metric-label {
    font-size: 11px;
    color: var(--text-3);
    text-transform: uppercase;
}
.metric-value a { color: inherit; text-decoration: none; }
.metric-value a:hover { color: var(--primary); text-decoration: none; }

.card-price-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    font-size: 13px;
}
.supplier-price { color: var(--text-3); }
.price-arrow { color: var(--text-3); font-size: 12px; }
.retail-price { color: var(--success); font-weight: 600; }

.card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
.saturation-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
}
.sat-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.sat-label { color: var(--text-3); text-transform: capitalize; }
.trend-arrow { font-size: 12px; margin-left: 6px; }
.card-action {
    font-size: 12px;
    color: var(--primary);
    font-weight: 600;
}

.source-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}
.source-badge {
    padding: 2px 8px;
    border-radius: var(--radius-xl);
    font-size: 10px;
    font-weight: 600;
}

/* --- 23. Product Modal (Drawer) --- */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0, 0, 0, 0.5);
}
.modal-overlay.open { display: block; }

.modal-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 520px;
    max-width: 100%;
    height: 100vh;
    background: var(--bg-surface);
    border-left: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 300ms ease;
    z-index: 201;
    padding: 24px;
}
.modal-overlay.open .modal-drawer { transform: translateX(0); }

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}
.modal-header h2 {
    font-size: 22px;
    flex: 1;
    margin-right: 16px;
}
.close-modal {
    background: none;
    border: none;
    color: var(--text-3);
    font-size: 24px;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
}
.close-modal:hover { color: var(--text-1); }

.modal-score-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}
.rating-badge { font-size: 13px; color: var(--text-2); }
.saturation-badge {
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.trend-badge { font-size: 13px; }

.modal-product-image {
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 20px;
}
.modal-product-image img {
    width: 100%;
    max-height: 240px;
    object-fit: cover;
}

.modal-quick-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}
.quick-stat {
    text-align: center;
    padding: 12px 8px;
    background: var(--bg-base);
    border-radius: var(--radius-sm);
}
.quick-stat-value {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-1);
}
.quick-stat-value a { color: inherit; text-decoration: none; }
.quick-stat-value a:hover { color: var(--primary); }
.quick-stat-label {
    font-size: 11px;
    color: var(--text-3);
    text-transform: uppercase;
    margin-top: 4px;
}

.detail-section {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}
.detail-section:last-child { border-bottom: none; }
.detail-section h3 {
    font-size: 15px;
    margin-bottom: 12px;
    color: var(--text-1);
}

.price-comparison {
    display: flex;
    align-items: center;
    gap: 12px;
}
.price-box {
    flex: 1;
    text-align: center;
    padding: 12px;
    background: var(--bg-base);
    border-radius: var(--radius-sm);
}
.price-label { font-size: 11px; color: var(--text-3); text-transform: uppercase; display: block; }
.price-value { font-size: 20px; font-weight: 700; color: var(--text-1); display: block; margin-top: 4px; }
.supplier-price .price-value { color: var(--warning); }
.retail-price .price-value { color: var(--success); }
.margin-box .price-value { color: var(--primary); }

.supplier-link-row { margin-top: 12px; }
.btn-supplier-link {
    display: inline-block;
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}
.btn-supplier-link:hover { text-decoration: underline; }

.modal-links-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.modal-link-btn {
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 150ms ease;
}
.modal-link-btn:hover { opacity: 0.8; text-decoration: none; }
.modal-link-meta { background: rgba(37, 99, 235, 0.1); color: #2563EB; }
.modal-link-amazon { background: var(--warning-soft); color: var(--warning); }
.modal-link-tiktok { background: var(--danger-soft); color: var(--danger); }
.modal-link-aliexpress { background: rgba(225, 29, 72, 0.1); color: #E11D48; }
.modal-link-google { background: var(--success-soft); color: var(--success); }

.ideas-list {
    list-style: none;
}
.ideas-list li {
    padding: 8px 12px;
    margin-bottom: 4px;
    background: var(--bg-base);
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: var(--text-2);
    cursor: pointer;
    transition: color 200ms ease;
}
.ideas-list li:hover { color: var(--text-1); }

.audience-info {
    font-size: 14px;
}
.audience-row {
    padding: 4px 0;
    color: var(--text-2);
}
.audience-row strong { color: var(--text-1); }

.modal-keywords-container,
.modal-meta-tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.keyword-pill {
    padding: 4px 10px;
    background: var(--bg-base);
    border-radius: var(--radius-xl);
    font-size: 12px;
    color: var(--text-2);
}
.meta-tag {
    padding: 4px 10px;
    background: var(--primary-soft);
    color: var(--primary);
    border-radius: var(--radius-xl);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 150ms ease;
}
.meta-tag:hover { background: var(--primary-glow); }
.meta-tag.copied { background: var(--success-soft); color: var(--success); }

/* --- 23b. Product Badges (HOT/TRENDING) --- */
.product-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    backdrop-filter: blur(4px);
}
.badge-hot {
    background: rgba(239, 68, 68, 0.85);
    color: #fff;
}
.badge-trending {
    background: rgba(34, 197, 94, 0.85);
    color: #fff;
}
.badge-new {
    background: rgba(59, 130, 246, 0.85);
    color: #fff;
}

/* --- 23c. Animated Counters --- */
.trust-counters {
    display: flex;
    gap: 32px;
    justify-content: center;
    margin-bottom: 16px;
}
.trust-counter {
    text-align: center;
}
.counter-value {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: var(--text-1);
    font-variant-numeric: tabular-nums;
}
.counter-label {
    font-size: 12px;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

/* --- 23d. Testimonials --- */
.testimonials-section {
    padding: 80px 24px;
    max-width: 1100px;
    margin: 0 auto;
}
.testimonials-section h2 {
    text-align: center;
    margin-bottom: 48px;
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.testimonial-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: border-color 200ms ease, box-shadow 200ms ease;
}
.testimonial-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
}
.testimonial-stars {
    color: #F59E0B;
    font-size: 16px;
    letter-spacing: 2px;
    margin-bottom: 12px;
}
.testimonial-text {
    color: var(--text-2);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}
.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;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    flex-shrink: 0;
}
.testimonial-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-1);
}
.testimonial-role {
    font-size: 12px;
    color: var(--text-3);
}

/* --- 23e. Free Tools Section --- */
.tools-section {
    padding: 80px 24px;
    max-width: 1100px;
    margin: 0 auto;
}
.tools-section h2 {
    text-align: center;
    margin-bottom: 8px;
}
.section-subtitle {
    text-align: center;
    color: var(--text-2);
    font-size: 15px;
    margin-bottom: 48px;
}
.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.tool-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: border-color 200ms ease;
}
.tool-card:hover { border-color: var(--border-hover); }
.tool-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 16px;
}
.tool-card h3 {
    font-size: 16px;
    margin-bottom: 16px;
    color: var(--text-1);
}
.tool-inputs { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.tool-input-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.tool-input-row label {
    font-size: 12px;
    color: var(--text-3);
    white-space: nowrap;
}
.tool-input-row input {
    width: 100px;
    padding: 7px 10px;
    background: var(--bg-base);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-1);
    font-size: 13px;
    font-family: var(--font);
    text-align: right;
}
.tool-input-row input:focus { outline: none; border-color: var(--primary); }
.tool-input-row input::placeholder { color: var(--text-3); }
.tool-result {
    background: var(--bg-base);
    border-radius: var(--radius-sm);
    padding: 12px;
}
.tool-result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
    font-size: 13px;
    color: var(--text-2);
}
.tool-result-value {
    font-weight: 700;
    color: var(--success);
    font-size: 15px;
}

/* --- 23f. Modal Profit Calculator --- */
.modal-calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.modal-calc-input label {
    display: block;
    font-size: 11px;
    color: var(--text-3);
    margin-bottom: 4px;
    text-transform: uppercase;
}
.modal-calc-input input {
    width: 100%;
    padding: 8px 10px;
    background: var(--bg-base);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-1);
    font-size: 14px;
    font-family: var(--font);
}
.modal-calc-input input:focus { outline: none; border-color: var(--primary); }
.modal-calc-input input::placeholder { color: var(--text-3); }
.modal-calc-result {
    text-align: center;
    padding: 10px;
    background: var(--bg-base);
    border-radius: var(--radius-sm);
}
.modal-calc-label {
    display: block;
    font-size: 11px;
    color: var(--text-3);
    text-transform: uppercase;
    margin-bottom: 2px;
}
.modal-calc-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--success);
}

/* --- 23g. Share Buttons --- */
.share-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid var(--border);
    background: var(--bg-base);
    color: var(--text-2);
    font-family: var(--font);
    transition: all 150ms ease;
}
.share-btn:hover { border-color: var(--border-hover); color: var(--text-1); }
.share-copy:hover { border-color: var(--primary); color: var(--primary); }
.share-twitter:hover { border-color: #1DA1F2; color: #1DA1F2; }
.share-whatsapp:hover { border-color: #25D366; color: #25D366; }
.share-btn.copied { border-color: var(--success); color: var(--success); }

/* --- 24. Empty State --- */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 24px;
}
.empty-state-icon { font-size: 48px; margin-bottom: 16px; }
.empty-state h2 {
    font-size: 22px;
    margin-bottom: 8px;
}
.empty-state p {
    color: var(--text-2);
    max-width: 400px;
    margin: 0 auto 24px;
    font-size: 14px;
}

/* --- 25. Skeleton Loading --- */
.skeleton {
    background: linear-gradient(90deg, var(--bg-surface-hover) 25%, var(--bg-surface-active) 50%, var(--bg-surface-hover) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s linear infinite;
    border-radius: var(--radius-sm);
}

/* --- 26. Utilities --- */
.hidden { display: none !important; }

/* --- 27. Animations --- */
@keyframes pulse-dot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.5; }
}

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

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* --- 27b. Upgrade Modal --- */
.upgrade-modal { max-width: 440px; }
.upgrade-pro-badge { color: var(--warning); font-size: 14px; font-weight: 600; }
.upgrade-title { text-align: center; margin: 16px 0 8px; }
.upgrade-reason { text-align: center; color: var(--text-2); margin-bottom: 20px; font-size: 14px; }
.upgrade-features { list-style: none; padding: 0; margin: 0 0 24px; }
.upgrade-features li { padding: 8px 0; color: var(--text-2); font-size: 14px; }
.upgrade-check { color: var(--success); margin-right: 8px; }
.upgrade-price-row { text-align: center; margin-bottom: 8px; }
.upgrade-price { font-size: 36px; font-weight: 800; color: var(--text-1); }
.upgrade-period { color: var(--text-3); }
.upgrade-cta { width: 100%; justify-content: center; padding: 12px; }
.upgrade-note { text-align: center; color: var(--text-3); font-size: 12px; margin-top: 12px; }

/* --- 28. Responsive --- */

/* Large tablets / small desktops */
@media (max-width: 1200px) {
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .landing-nav { padding: 0 24px; }
}

/* Tablets */
@media (max-width: 900px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .product-grid { padding: 20px; }
    .features-grid { grid-template-columns: 1fr 1fr; }
    .pricing-grid { grid-template-columns: 1fr 1fr; }
    .testimonials-grid { grid-template-columns: 1fr 1fr; }
    .testimonials-grid .testimonial-card:nth-child(3) { grid-column: 1 / -1; }
    .tools-grid { grid-template-columns: 1fr 1fr; }
    .tools-grid .tool-card:nth-child(3) { grid-column: 1 / -1; }
    h1 { font-size: 40px; }
    h2 { font-size: 28px; }
    .pricing-price { font-size: 38px; }
    .footer-grid { gap: 24px; }
    .feature-card { padding: 24px 20px; }
    .hero::before { width: 400px; height: 300px; }
    .hero-card { width: 180px; padding: 16px; }
}

/* Small tablets */
@media (max-width: 768px) {
    /* Typography scaling */
    h1 { font-size: 36px; }
    h2 { font-size: 26px; }
    .hero-sub { font-size: 16px; }

    /* Section padding reduction */
    .comparison-section,
    .features-section,
    .steps-section,
    .pricing-section,
    .faq-section,
    .testimonials-section,
    .tools-section { padding: 60px 20px; }

    /* Hero */
    .hero-cards { gap: 14px; }
    .hero-card { width: 170px; padding: 14px; }
    .hero::before { width: 350px; height: 250px; }
    .hero-ctas { flex-wrap: wrap; }

    /* Stats bar: 2-col grid on tablets */
    .stats-bar {
        flex-wrap: wrap;
        gap: 10px;
        padding: 12px 16px;
    }
    .stat-item { flex: 0 0 calc(50% - 5px); }

    /* Platform logos tighter */
    .platforms-logos { gap: 24px; }

    /* Modal quick stats: 2 cols earlier */
    .modal-quick-stats { grid-template-columns: repeat(2, 1fr); }
    .modal-calc-grid { grid-template-columns: 1fr; }
    .modal-header h2 { font-size: 20px; }

    /* Pricing card padding reduction */
    .pricing-card { padding: 24px 18px; }
    .pricing-price { font-size: 36px; }

    /* Feature card padding reduction */
    .feature-card { padding: 22px 16px; }
    .feature-icon { width: 40px; height: 40px; font-size: 20px; }

    /* Step cards: remove max-width constraint */
    .step-card { max-width: 100%; }

    /* Dashboard bar: wrap layout */
    .dashboard-bar {
        flex-wrap: wrap;
        height: auto;
        padding: 10px 16px;
        gap: 8px;
    }
    .dashboard-bar .filters {
        order: 3;
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    /* Actions: icon-only on tablets */
    .btn-favorites span,
    .btn-history span,
    .btn-export span { display: none; }
    .btn-favorites,
    .btn-history,
    .btn-export { padding: 6px 8px; min-width: 36px; justify-content: center; }

    /* Search filter bar stacking */
    .search-filter-bar {
        flex-wrap: wrap;
        padding: 10px 16px;
    }
    .search-box { min-width: 100%; }
    .search-filter-bar select { flex: 1; min-width: 0; }

    /* Footer: 2-col on tablets before single-col on phones */
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
    .site-footer { padding: 40px 20px 20px; }

    /* Billing drawer full width on tablet */
    .billing-drawer { max-width: 100%; }

    /* Tool inputs wrap on tablets */
    .tool-input-row { flex-wrap: wrap; }
    .tool-input-row input { flex: 1; min-width: 80px; width: auto; }

    /* Trust badges tablet */
    .trust-badge { font-size: 11px; padding: 5px 12px; }
}

/* Phones */
@media (max-width: 600px) {
    .product-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
    .steps-row { flex-direction: column; align-items: center; }
    .modal-quick-stats { grid-template-columns: repeat(2, 1fr); }

    h1 { font-size: 32px; }
    h2 { font-size: 24px; }
    .hero-sub { font-size: 15px; max-width: 100%; }

    /* Section padding for phones */
    .comparison-section,
    .features-section,
    .steps-section,
    .pricing-section,
    .faq-section,
    .testimonials-section,
    .tools-section { padding: 48px 16px; }

    /* Hero */
    .hero { padding-top: 100px; padding-bottom: 40px; }
    .hero::before { width: 300px; height: 200px; }
    .hero-cards { flex-direction: column; align-items: center; }
    .hero-card { transform: none !important; width: 240px; }
    .hero-card:nth-child(2) { transform: none !important; }
    .hero-card:nth-child(3) { display: none; }

    /* Nav */
    .landing-nav { padding: 0 16px; }
    .nav-links { display: none; }
    .nav-cta .btn-ghost { display: none; }
    .hamburger { display: block; }

    /* Comparison */
    .comparison-table { display: none; }
    .comparison-cards { display: block; }
    .comparison-card { flex-wrap: wrap; gap: 8px; }

    /* Dashboard */
    .dashboard-bar {
        flex-wrap: wrap;
        height: auto;
        padding: 12px 16px;
        gap: 8px;
    }
    .dashboard-bar .filters {
        order: 3;
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
    .product-grid { padding: 16px; gap: 12px; }

    /* Modal drawer: bottom sheet on phones */
    .modal-drawer {
        width: 100%;
        border-left: none;
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
        height: 90vh;
        top: auto;
        bottom: 0;
        transform: translateY(100%);
        padding: 20px 16px;
    }
    .modal-overlay.open .modal-drawer { transform: translateY(0); }
    .modal-header h2 { font-size: 18px; }
    .modal-link-btn { padding: 6px 10px; font-size: 12px; }
    .detail-section h3 { font-size: 14px; }
    .price-value { font-size: 18px; }

    /* Footer */
    .site-footer { padding: 32px 16px 16px; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }

    .price-comparison { flex-direction: column; }

    /* Search */
    .search-filter-bar {
        flex-wrap: wrap;
        padding: 10px 16px;
    }
    .search-box { min-width: 100%; }
    .search-filter-bar select { flex: 1; }

    /* Counters & grids */
    .trust-counters { gap: 16px; flex-wrap: wrap; }
    .counter-value { font-size: 24px; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .tools-grid { grid-template-columns: 1fr; }
    .modal-calc-grid { grid-template-columns: 1fr; }

    /* Toasts */
    .toast-container { bottom: 12px; right: 12px; left: 12px; }
    .toast { max-width: 100%; }

    /* Stats bar: scrollable on phones */
    .stats-bar {
        overflow-x: auto;
        flex-wrap: nowrap;
        gap: 10px;
        padding: 10px 16px;
        -webkit-overflow-scrolling: touch;
    }
    .stat-item { flex: 0 0 auto; min-width: 120px; }

    /* Auth modal full-width */
    .auth-modal {
        max-width: 100%;
        margin: 0 12px;
        padding: 32px 20px;
    }
    /* Upgrade modal responsive */
    .upgrade-modal { max-width: 100%; }
    .upgrade-price { font-size: 32px; }

    /* Card body padding */
    .card-body { padding: 12px; }
    .card-metrics { gap: 6px; }

    /* Touch-friendly targets (min 44px for all interactive elements) */
    .faq-question { min-height: 48px; padding: 16px 0; }
    .btn-primary, .btn-ghost { min-height: 44px; }
    .btn-google { min-height: 44px; }
    .auth-tab { min-height: 44px; }
    .gear-btn, .logout-btn { min-height: 44px; min-width: 44px; }

    /* Feature card mobile */
    .feature-card { padding: 20px 16px; }
    .feature-icon { width: 40px; height: 40px; font-size: 20px; margin-bottom: 12px; }

    /* Step card: full width */
    .step-card { max-width: 100%; width: 100%; }

    /* Platform logos compact */
    .platforms-logos { gap: 16px; }
    .platform-logo { font-size: 12px; }

    /* Trust badges smaller */
    .trust-badge { font-size: 11px; padding: 5px 10px; }

    /* Tool input rows stack */
    .tool-input-row { flex-direction: column; align-items: stretch; }
    .tool-input-row label { min-width: auto; margin-bottom: 4px; }
    .tool-input-row input { width: 100%; }

    /* Billing drawer full width */
    .billing-drawer { max-width: 100%; }

    /* FAQ answer max-height increase for mobile */
    .faq-item.open .faq-answer { max-height: 800px; }

    /* Keyword pills wrap better */
    .keyword-pill, .meta-tag { font-size: 11px; padding: 3px 8px; }
}

/* Small phones */
@media (max-width: 480px) {
    /* Typography small phone */
    h1 { font-size: 28px; }
    h2 { font-size: 22px; }
    .hero-sub { font-size: 14px; }

    /* Section padding further reduction */
    .comparison-section,
    .features-section,
    .steps-section,
    .pricing-section,
    .faq-section,
    .testimonials-section,
    .tools-section { padding: 40px 12px; }

    /* Hero CTA buttons stack vertically */
    .hero-ctas {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    .hero-ctas .btn-primary,
    .hero-ctas .btn-ghost {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .hero { padding: 80px 16px 32px; }
    .hero::before { width: 250px; height: 180px; }
    .hero-card { width: 220px; }

    /* Trust badges wrap tighter */
    .trust-badges { gap: 6px; }
    .trust-badge { font-size: 10px; padding: 4px 8px; }

    /* Product card body */
    .card-body { padding: 10px; }
    .card-title { font-size: 13px; }
    .card-metrics { gap: 4px; }
    .metric-value { font-size: 13px; }
    .metric-label { font-size: 10px; }

    /* Auth modal full width, less padding */
    .auth-modal {
        margin: 0 8px;
        padding: 24px 16px;
        border-radius: var(--radius-md);
    }
    .auth-logo { font-size: 22px; margin-bottom: 16px; }
    .upgrade-price { font-size: 28px; }
    .upgrade-features li { font-size: 13px; padding: 6px 0; }

    /* Pricing smaller */
    .pricing-grid { max-width: 320px; }
    .pricing-price { font-size: 32px; }
    .pricing-price span { font-size: 14px; }
    .pricing-card { padding: 20px 14px; }
    .pricing-features li { font-size: 13px; }

    /* Dashboard bar compact */
    .dashboard-bar { padding: 8px 12px; gap: 6px; }
    .dashboard-bar .nav-logo { font-size: 18px; }
    .dashboard-bar .btn-primary { padding: 6px 12px; font-size: 13px; }
    .dashboard-bar .actions { gap: 6px; }

    /* Search bar compact */
    .search-filter-bar { padding: 8px 12px; gap: 6px; }

    /* Modal drawer full height on tiny phones */
    .modal-drawer { height: 95vh; padding: 16px 12px; }
    .modal-header h2 { font-size: 16px; }
    .modal-link-btn { padding: 5px 8px; font-size: 11px; }
    .price-value { font-size: 16px; }
    .price-label { font-size: 10px; }

    /* Footer compact */
    .site-footer { padding: 24px 12px 12px; }
    .footer-grid { gap: 16px; }

    /* FAQ compact */
    .faq-question { padding: 14px 0; font-size: 14px; }
    .faq-icon { font-size: 16px; }

    /* Stats bar compact */
    .stat-item { min-width: 100px; padding: 8px; }
    .stat-value { font-size: 20px; }
    .stat-label { font-size: 11px; }

    /* Tool inputs full width */
    .tool-input-row input { font-size: 14px; }

    /* Toast compact */
    .toast-container { bottom: 8px; right: 8px; left: 8px; }

    /* Counters compact */
    .counter-value { font-size: 20px; }

    /* Sell score badge */
    .sell-score-badge { font-size: 12px; min-width: 32px; padding: 2px 6px; }

    /* Comparison cards stack on tiny phones */
    .comparison-card { flex-direction: column; align-items: flex-start; }
    .comparison-card .values { width: 100%; justify-content: space-between; }

    /* Feature card compact */
    .feature-card { padding: 16px 12px; }
    .feature-card h3 { font-size: 15px; }
    .feature-card p { font-size: 13px; }

    /* Ideas list & audience compact */
    .ideas-list li { padding: 6px 10px; font-size: 12px; }
    .audience-info { font-size: 13px; }

    /* Steps h2 spacing */
    .steps-section h2,
    .features-section h2,
    .pricing-section h2,
    .faq-section h2 { margin-bottom: 32px; }
}

/* Tiny phones (320px) */
@media (max-width: 360px) {
    h1 { font-size: 24px; }
    h2 { font-size: 20px; }
    .hero { padding: 72px 12px 24px; }
    .hero-card { width: 200px; }
    .hero-ctas .btn-primary,
    .hero-ctas .btn-ghost { max-width: 100%; padding: 12px 16px; font-size: 14px; }
    .landing-nav { padding: 0 12px; }
    .nav-logo { font-size: 18px; }
    .auth-modal { margin: 0 4px; padding: 20px 12px; }
    .auth-logo { font-size: 20px; }
    .pricing-grid { max-width: 100%; }
    .pricing-price { font-size: 28px; }
    .dashboard-bar { padding: 6px 8px; }
    .product-grid { padding: 12px; gap: 10px; }
    .card-body { padding: 8px; }
    .modal-drawer { padding: 12px 10px; }
    .modal-header h2 { font-size: 15px; }
    .trust-badge { font-size: 9px; padding: 3px 6px; }
    .platforms-logos { gap: 10px; }
    .platform-logo { font-size: 11px; }
}

/* ============================
   BLOG & CONTENT PAGES
   ============================ */
.breadcrumbs {
    font-size: 13px;
    color: var(--text-3);
    margin-bottom: 20px;
}
.breadcrumbs a {
    color: var(--text-link);
    text-decoration: none;
}
.breadcrumbs a:hover {
    text-decoration: underline;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}
.blog-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
    display: block;
}
.blog-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}
.blog-card-image {
    height: 180px;
    background-size: cover;
    background-position: center;
    background-color: var(--bg-elevated);
}
.blog-card-body {
    padding: 16px;
}
.blog-card-body h2,
.blog-card-body h3 {
    font-size: 1.05rem;
    color: var(--text-1);
    margin: 8px 0 4px;
    line-height: 1.4;
}
.blog-card-meta {
    font-size: 12px;
    color: var(--text-3);
}
.blog-card-excerpt {
    font-size: 13px;
    color: var(--text-2);
    margin-top: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Category Badge */
.category-badge {
    display: inline-block;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Blog Post Content */
.blog-content h2 {
    font-size: 1.4rem;
    margin: 32px 0 12px;
    color: var(--text-1);
}
.blog-content p {
    color: var(--text-2);
    line-height: 1.7;
    margin-bottom: 16px;
}
.blog-content ul,
.blog-content ol {
    color: var(--text-2);
    margin: 0 0 16px 20px;
    line-height: 1.7;
}
.blog-content img {
    max-width: 100%;
    border-radius: var(--radius-sm);
    margin: 16px 0;
}
.blog-content a {
    color: var(--text-link);
}
.blog-content a:hover {
    text-decoration: underline;
}

/* Pagination */
.blog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    padding: 20px 0;
}

/* Comment Section */
.comment-section {
    border-top: 1px solid var(--border);
    padding-top: 32px;
}
.comment-item {
    padding: 16px;
    margin-bottom: 12px;
    background: var(--bg-surface);
    border-radius: var(--radius-sm);
}
.comment-admin {
    background: var(--primary-soft);
    border-left: 3px solid var(--primary);
}
.admin-badge {
    background: var(--primary);
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
}

/* Sell Score Badge */
.sell-score-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-weight: 700;
    font-size: 16px;
}
.score-high {
    background: var(--success-soft);
    color: var(--success);
}
.score-mid {
    background: var(--warning-soft);
    color: var(--warning);
}
.score-low {
    background: var(--danger-soft);
    color: var(--danger);
}

/* Product/Niche Grids */
.product-grid,
.niche-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}
.product-card,
.niche-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
    display: block;
}
.product-card:hover,
.niche-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

/* Stats Bar */
.stats-bar {
    display: flex;
    gap: 24px;
    padding: 16px 20px;
    background: var(--bg-surface);
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
}
.stat-item {
    text-align: center;
}
.stat-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-1);
}
.stat-label {
    font-size: 12px;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Blog CTA */
.blog-cta {
    margin-top: 40px;
    padding: 32px;
    background: var(--primary-soft);
    border: 1px solid var(--primary);
    border-radius: var(--radius-md);
    text-align: center;
}

/* Stale product banner */
.stale-banner {
    padding: 16px;
    background: var(--warning-soft);
    border: 1px solid var(--warning);
    border-radius: var(--radius-sm);
    color: var(--warning);
    margin-bottom: 24px;
}

/* Responsive Blog */
@media (max-width: 900px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stats-bar {
        flex-wrap: wrap;
        gap: 16px;
    }
}
@media (max-width: 600px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    .blog-card-image {
        height: 140px;
    }
    .stats-bar {
        flex-direction: column;
        align-items: center;
    }
}
