/* =========================================
   PREMIUM GLASSMORPHISM THEME - STYLES.CSS
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-color: #f0f4f8;
    --mesh-color-1: rgba(147, 197, 253, 0.4);
    --mesh-color-2: rgba(196, 181, 253, 0.4);
    --mesh-color-3: rgba(254, 215, 170, 0.3);

    --surface: rgba(255, 255, 255, 0.75);
    --surface-solid: #ffffff;
    --surface-2: rgba(241, 245, 249, 0.8);
    --surface-3: rgba(226, 232, 240, 0.6);

    --text-1: #0f172a;
    --text-2: #475569;
    --text-muted: #94a3b8;

    --border: rgba(255, 255, 255, 0.5);
    --border-strong: rgba(203, 213, 225, 0.6);

    --brand-gradient: linear-gradient(135deg, #4f46e5 0%, #3b82f6 100%);
    --brand-gradient-hover: linear-gradient(135deg, #4338ca 0%, #2563eb 100%);
    --brand-glow: rgba(79, 70, 229, 0.3);

    --danger: #ef4444;
    --danger-bg: rgba(254, 226, 226, 0.8);
    --success: #10b981;
    --success-bg: rgba(209, 250, 229, 0.8);

    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 25px -3px rgba(15, 23, 42, 0.08), 0 4px 10px -4px rgba(15, 23, 42, 0.08);
    --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.07);

    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-pill: 9999px;
}

.dark-mode {
    --bg-color: #0b0f19;
    --mesh-color-1: rgba(30, 58, 138, 0.4);
    --mesh-color-2: rgba(88, 28, 135, 0.4);
    --mesh-color-3: rgba(15, 118, 110, 0.3);

    --surface: rgba(15, 23, 42, 0.65);
    --surface-solid: #1e293b;
    --surface-2: rgba(30, 41, 59, 0.7);
    --surface-3: rgba(51, 65, 85, 0.4);

    --text-1: #f8fafc;
    --text-2: #cbd5e1;
    --text-muted: #64748b;

    --border: rgba(255, 255, 255, 0.06);
    --border-strong: rgba(255, 255, 255, 0.12);

    --brand-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --brand-gradient-hover: linear-gradient(135deg, #818cf8 0%, #a78bfa 100%);
    --brand-glow: rgba(99, 102, 241, 0.4);

    --danger: #f43f5e;
    --danger-bg: rgba(159, 18, 57, 0.3);
    --success: #34d399;
    --success-bg: rgba(6, 78, 59, 0.3);

    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.4);
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

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

.hidden {
    display: none !important;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text-1);
    background-color: var(--bg-color);
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    transition: background-color 0.4s ease, color 0.4s ease;
}

.bg-mesh {
    position: fixed;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 50% 50%, var(--mesh-color-1) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, var(--mesh-color-2) 0%, transparent 35%),
        radial-gradient(circle at 20% 80%, var(--mesh-color-3) 0%, transparent 45%);
    z-index: -1;
    pointer-events: none;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

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

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.text-blue {
    color: #3b82f6;
}

.text-purple {
    color: #8b5cf6;
}

.text-orange {
    color: #f97316;
}

.text-red {
    color: #ef4444;
}

.text-green {
    color: #10b981;
}

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

.brand-icon {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* =========================================
   GLASSMORPHISM PANELS
   ========================================= */
.panel,
.hero-card,
.chart-card,
.glass-table {
    background: var(--surface);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-glass);
    border-radius: var(--radius-xl);
}

.page-shell {
    width: min(1200px, 94vw);
    margin: 24px auto 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* =========================================
   HEADER
   ========================================= */
.site-header {
    width: 100%;
    height: 80px;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--surface);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.header-brand h1 {
    font-size: 2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    color: var(--text-1);
}

.project-logo {
    height: 48px;
    width: auto;
    padding: 4px;
    background: var(--surface-solid);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    object-fit: contain;
    transition: transform 0.3s ease;
}

.project-logo:hover {
    transform: scale(1.05);
}

.header-brand p {
    display: none;
}

/* =========================================
   NAVBAR
   ========================================= */
.platform-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    background: var(--surface-2);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-pill);
    padding: 4px;
}

.platform-nav a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    color: var(--text-2);
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.platform-nav a:hover {
    background: var(--surface-3);
    color: var(--text-1);
}

.platform-nav a.nav-active {
    color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.platform-nav a.nav-active.nav-home {
    background: var(--brand-gradient);
}

.platform-nav a.nav-active.nav-amazon {
    background: linear-gradient(135deg, #ff9900 0%, #e88a00 100%);
}

.platform-nav a.nav-active.nav-flipkart {
    background: linear-gradient(135deg, #2f80ed 0%, #1a66cc 100%);
}

.platform-nav a.nav-active.nav-myntra {
    background: linear-gradient(135deg, #ff3f6c 0%, #e6295a 100%);
}

.platform-nav a.nav-active.nav-about {
    background: var(--brand-gradient);
}

.header-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-width: 150px;
}

/* =========================================
   HERO
   ========================================= */
.hero-card {
    padding: 60px 40px;
    text-align: center;
    display: flex;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(99, 102, 241, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.hero-content h2 {
    font-size: 3.7rem;
    font-weight: 800;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--text-1) 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-tagline {
    font-size: 1.9rem;
    font-weight: 600;
    color: #8b5cf6;
    margin-bottom: 20px;
    letter-spacing: 0.02em;
}

.hero-content p {
    color: var(--text-2);
    font-size: 1.15rem;
    margin-bottom: 32px;
    line-height: 1.7;
}

.p5-widget-library {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 8px;
    backdrop-filter: blur(10px);
    display: none;
}

/* =========================================
   DISCLAIMER
   ========================================= */
.disclaimer-panel {
    padding: 24px 32px;
    border-left: 4px solid #6366f1;
}

.disclaimer-content {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.disclaimer-icon {
    font-size: 1.5rem;
    color: #6366f1;
    flex-shrink: 0;
    margin-top: 2px;
}

.disclaimer-content h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-1);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.disclaimer-content p {
    color: var(--text-2);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* =========================================
   PANELS
   ========================================= */
.panel {
    padding: 32px;
}

.panel-head {
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-strong);
    padding-bottom: 16px;
}

.panel-head h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    color: var(--text-1);
}

.panel-head p {
    color: var(--text-2);
    margin-top: 8px;
    font-size: 0.95rem;
}

.panel-head-inline {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
}

/* =========================================
   BUTTONS & INPUTS
   ========================================= */
.icon-btn,
.primary-btn,
.secondary-btn,
.danger-btn {
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.icon-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--surface-2);
    color: var(--text-1);
    border: 1px solid var(--border-strong);
    box-shadow: var(--shadow-sm);
}

.icon-btn:hover {
    background: var(--text-1);
    color: var(--bg-color);
    transform: rotate(15deg) scale(1.05);
}

.primary-btn {
    padding: 14px 28px;
    background: var(--brand-gradient);
    color: #ffffff;
    border-radius: var(--radius-pill);
    box-shadow: 0 4px 15px var(--brand-glow);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.primary-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--brand-gradient-hover);
    z-index: -1;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.primary-btn:hover::before {
    opacity: 1;
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--brand-glow);
}

.danger-btn {
    padding: 12px 20px;
    background: var(--danger-bg);
    color: var(--danger);
    border: 1px solid rgba(244, 63, 94, 0.2);
    border-radius: var(--radius-pill);
    backdrop-filter: blur(4px);
}

.danger-btn:hover {
    background: var(--danger);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(244, 63, 94, 0.3);
}

.secondary-btn {
    padding: 10px 20px;
    background: var(--surface-2);
    color: var(--text-1);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-pill);
}

.secondary-btn:hover {
    background: var(--surface-3);
    border-color: var(--text-muted);
}

.analyze-form {
    display: flex;
    gap: 16px;
}

.analyze-form input {
    flex: 1;
    border: 2px solid var(--border-strong);
    border-radius: var(--radius-pill);
    padding: 0 24px;
    font-size: 1rem;
    font-family: inherit;
    color: var(--text-1);
    background: var(--surface-solid);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
    min-height: 52px;
}

.dark-mode .analyze-form input {
    background: rgba(15, 23, 42, 0.8);
}

.analyze-form input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
}

/* =========================================
   METRICS & CHARTS
   ========================================= */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.product-info-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--surface-2);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
}

.product-info-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 12px;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.product-info-text h2 {
    font-size: 1.4rem;
    color: var(--text-1);
    margin-bottom: 4px;
    font-weight: 700;
}

.product-info-text p {
    color: var(--text-2);
    font-size: 0.95rem;
}

.metric-card {
    background: var(--surface-2);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.metric-card:hover {
    transform: translateY(-4px);
    background: var(--surface-solid);
    box-shadow: var(--shadow-md);
}

.metric-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.metric-icon.blue {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}

.metric-icon.red {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.metric-icon.green {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.metric-card h4 {
    color: var(--text-2);
    font-size: 0.95rem;
    font-weight: 500;
}

.metric-card strong {
    display: block;
    margin-top: 4px;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-1);
}

.percentage-badge {
    font-size: 0.9rem;
    padding: 2px 8px;
    border-radius: var(--radius-pill);
    vertical-align: middle;
    margin-left: 8px;
}

.red-badge {
    background: var(--danger-bg);
    color: var(--danger);
    font-weight: 600;
}

.green-badge {
    background: var(--success-bg);
    color: var(--success);
    font-weight: 600;
}

.chart-grid,
.overview-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.overview-grid .chart-wrapper {
    flex: 0 0 250px;
    height: 250px;
    min-height: unset;
}

.overview-grid .chart-card {
    min-height: unset;
}


.chart-card {
    padding: 16px;
    display: flex;
    flex-direction: column;
    min-height: 240px;
}

.chart-card h4 {
    margin-bottom: 12px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.chart-wrapper {
    flex: 1;
    position: relative;
    width: 100%;
    min-height: 180px;
}

.gauge-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.gauge-center-label {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    pointer-events: none;
}

.gauge-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.gauge-text {
    font-size: 0.9rem;
    color: var(--text-2);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =========================================
   AI PRODUCT SUMMARY
   ========================================= */
.summary-panel {
    padding: 28px 32px;
}

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

.summary-header h4 {
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-1);
}

.summary-badge {
    font-size: 0.78rem;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
    font-weight: 600;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.summary-card {
    background: var(--surface-2);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    padding: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.summary-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.summary-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.summary-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.usefulness-icon {
    background: rgba(59, 130, 246, 0.12);
    color: #3b82f6;
}

.risk-icon {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
}

.value-icon {
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
}

.summary-card-header h5 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-2);
    margin-bottom: 2px;
}

.summary-verdict {
    font-size: 0.95rem;
    font-weight: 700;
    display: inline-block;
}

.verdict-good {
    color: #10b981;
}

.verdict-neutral {
    color: #f59e0b;
}

.verdict-bad {
    color: #ef4444;
}

.summary-bar-track {
    width: 100%;
    height: 6px;
    background: var(--surface-3);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 14px;
}

.summary-bar {
    height: 100%;
    border-radius: 3px;
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.summary-bar-blue {
    background: linear-gradient(90deg, #3b82f6, #6366f1);
}

.summary-bar-risk {
    background: linear-gradient(90deg, #10b981, #f59e0b, #ef4444);
}

.summary-bar-green {
    background: linear-gradient(90deg, #10b981, #34d399);
}

.summary-detail {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--text-2);
}

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

    .summary-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* =========================================
   TABLE STYLES
   ========================================= */
.table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    background: var(--surface-solid);
}

.dark-mode .table-wrapper {
    background: rgba(15, 23, 42, 0.4);
}

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

thead th {
    text-align: left;
    padding: 16px 20px;
    background: var(--surface-3);
    color: var(--text-2);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid var(--border-strong);
}

tbody td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-strong);
    color: var(--text-1);
    font-size: 0.95rem;
    vertical-align: middle;
}

.table-row-hover {
    transition: background-color 0.2s ease;
}

.table-row-hover:hover {
    background-color: var(--surface-2);
}

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

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    text-transform: capitalize;
    font-weight: 600;
    font-size: 0.85rem;
}

.status-pill.fake {
    color: var(--danger);
    background: var(--danger-bg);
}

.status-pill.genuine {
    color: var(--success);
    background: var(--success-bg);
}

/* Confidence badges */
.confidence-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 700;
}

.conf-high {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.conf-med {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
}

.conf-low {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

/* Review text cell — clamp long reviews */
.review-text-cell {
    max-width: 0;
    /* forces table-layout:fixed behaviour */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
}

.review-text-cell:hover {
    white-space: normal;
    overflow: visible;
}

/* =========================================
   FILTER BUTTON GROUP (Reviews tab)
   ========================================= */
.filter-btn-group {
    display: flex;
    gap: 6px;
}

.filter-btn {
    padding: 8px 18px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-pill);
    background: var(--surface-2);
    color: var(--text-2);
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn:hover {
    background: var(--surface-3);
    color: var(--text-1);
}

.filter-btn.active {
    background: var(--brand-gradient);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 2px 8px var(--brand-glow);
}

.table-footer-note {
    margin-top: 12px;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: right;
}

/* =========================================
   LOADING & ALERTS
   ========================================= */
.alert-error {
    background: var(--danger-bg);
    color: var(--danger);
    border: 1px solid rgba(244, 63, 94, 0.3);
    border-left: 4px solid var(--danger);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    display: flex;
    gap: 12px;
    align-items: center;
    font-weight: 500;
    backdrop-filter: blur(8px);
}

.loading-overlay {
    position: fixed;
    inset: 0;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 999;
}

.loading-card {
    width: min(460px, 92vw);
    padding: 40px 32px;
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.modern-spinner {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
}

.spinner-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 4px solid transparent;
    border-top-color: #6366f1;
    border-right-color: #8b5cf6;
    animation: spin 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
}

.spinner-ring-inner {
    width: 70%;
    height: 70%;
    top: 15%;
    left: 15%;
    border-top-color: #f43f5e;
    border-right-color: transparent;
    animation: spin 0.8s linear infinite reverse;
}

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

.loading-card h4 {
    font-size: 1.3rem;
    color: var(--text-1);
    margin-bottom: 8px;
}

.loading-card p {
    color: var(--text-2);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.progress-container {
    height: 8px;
    background: rgba(148, 163, 184, 0.2);
    border-radius: var(--radius-pill);
    overflow: hidden;
    position: relative;
}

.progress-bar {
    height: 100%;
    background: var(--brand-gradient);
    border-radius: var(--radius-pill);
    position: relative;
    transition: width 0.5s ease;
}

.progress-bar-glow {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 20px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    animation: scanLine 1.5s infinite;
}

@keyframes scanLine {
    0% {
        right: 100%;
    }

    100% {
        right: -20px;
    }
}

/* Live progress stats */
.progress-stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-2);
}

.review-count-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Stage indicators */
.progress-stages {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-top: 24px;
}

.stage-dot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: all 0.3s ease;
    min-width: 70px;
}

.stage-dot i {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--border-strong);
    display: grid;
    place-items: center;
    font-size: 0.9rem;
    background: var(--surface-2);
    transition: all 0.3s ease;
}

.stage-dot.active i {
    background: var(--brand-gradient);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 0 0 4px var(--brand-glow);
}

.stage-dot.active {
    color: var(--text-1);
}

.stage-dot.complete i {
    background: var(--success-bg);
    border-color: var(--success);
    color: var(--success);
}

.stage-line {
    flex: 1;
    height: 2px;
    background: var(--border-strong);
    border-radius: 1px;
    max-width: 40px;
}

/* =========================================
   ANIMATIONS
   ========================================= */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.slide-up {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

.delay-4 {
    animation-delay: 0.4s;
}

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

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

.shake-animation {
    animation: shake 0.5s cubic-bezier(.36, .07, .19, .97) both;
}

@keyframes shake {

    10%,
    90% {
        transform: translate3d(-1px, 0, 0);
    }

    20%,
    80% {
        transform: translate3d(2px, 0, 0);
    }

    30%,
    50%,
    70% {
        transform: translate3d(-4px, 0, 0);
    }

    40%,
    60% {
        transform: translate3d(4px, 0, 0);
    }
}

.tooltip-container {
    position: relative;
}

.tooltip {
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: rgba(15, 23, 42, 0.9);
    color: white;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s;
    white-space: nowrap;
    pointer-events: none;
}

.tooltip-container:hover .tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 20px;
    padding-bottom: 32px;
}

.heart {
    color: #ef4444;
    display: inline-block;
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    15% {
        transform: scale(1.3);
    }

    30% {
        transform: scale(1);
    }

    45% {
        transform: scale(1.3);
    }
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 32px;
    width: min(1200px, 94vw);
    margin: 0 auto 24px;
    padding: 40px 32px;
    background: var(--surface);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    text-align: left;
}

.footer-section h4 {
    font-size: 1rem;
    color: var(--text-1);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-section p {
    color: var(--text-2);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-section a {
    display: block;
    color: var(--text-2);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 4px 0;
    transition: color 0.2s;
}

.footer-section a:hover {
    color: var(--text-1);
}

.footer-tech-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tech-badge {
    padding: 4px 10px;
    background: var(--surface-2);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-2);
}

.footer-bottom {
    padding-top: 16px;
}

/* =========================================
   PLATFORM CARDS
   ========================================= */
.platform-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.platform-card {
    background: var(--surface);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-glass);
    border-radius: var(--radius-xl);
    padding: 40px 28px;
    text-align: center;
    text-decoration: none;
    color: var(--text-1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.platform-card::before {
    content: '';
    position: absolute;
    inset: -50%;
    background: radial-gradient(circle at center, var(--card-glow, rgba(99, 102, 241, 0.08)) 0%, transparent 50%);
    pointer-events: none;
    transition: opacity 0.4s ease;
    opacity: 0;
}

.platform-card:hover::before {
    opacity: 1;
}

.platform-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md), 0 0 40px var(--card-glow, rgba(99, 102, 241, 0.1));
    border-color: var(--card-accent, var(--border-strong));
}

.platform-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
}

.platform-card p {
    color: var(--text-2);
    font-size: 0.95rem;
    line-height: 1.5;
}

.platform-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: grid;
    place-items: center;
    font-size: 2.2rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
}

.platform-card:hover .platform-icon {
    transform: scale(1.1) rotate(-3deg);
}

.platform-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 8px;
}

.platform-badge.login-required {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.platform-badge.no-login {
    background: var(--success-bg);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.amazon-card {
    --card-glow: rgba(255, 153, 0, 0.15);
    --card-accent: rgba(255, 153, 0, 0.4);
}

.amazon-icon {
    background: rgba(255, 153, 0, 0.15);
    color: #ff9900;
}

.amazon-btn {
    background: linear-gradient(135deg, #ff9900 0%, #e88a00 100%) !important;
    box-shadow: 0 4px 15px rgba(255, 153, 0, 0.3) !important;
}

.amazon-btn:hover {
    box-shadow: 0 8px 25px rgba(255, 153, 0, 0.4) !important;
}

.flipkart-card {
    --card-glow: rgba(47, 128, 237, 0.15);
    --card-accent: rgba(47, 128, 237, 0.4);
}

.flipkart-icon {
    background: rgba(47, 128, 237, 0.15);
    color: #2f80ed;
}

.flipkart-btn {
    background: linear-gradient(135deg, #2f80ed 0%, #1a66cc 100%) !important;
    box-shadow: 0 4px 15px rgba(47, 128, 237, 0.3) !important;
}

.flipkart-btn:hover {
    box-shadow: 0 8px 25px rgba(47, 128, 237, 0.4) !important;
}

.myntra-card {
    --card-glow: rgba(255, 63, 108, 0.15);
    --card-accent: rgba(255, 63, 108, 0.4);
}

.myntra-icon {
    background: rgba(255, 63, 108, 0.15);
    color: #ff3f6c;
}

.myntra-btn {
    background: linear-gradient(135deg, #ff3f6c 0%, #e6295a 100%) !important;
    box-shadow: 0 4px 15px rgba(255, 63, 108, 0.3) !important;
}

.myntra-btn:hover {
    box-shadow: 0 8px 25px rgba(255, 63, 108, 0.4) !important;
}

/* =========================================
   PLATFORM BANNER
   ========================================= */
.platform-banner {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 32px;
    background: var(--surface);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-glass);
    border-radius: var(--radius-xl);
}

.platform-banner h2 {
    font-size: 1.6rem;
    font-weight: 700;
}

.platform-banner p {
    color: var(--text-2);
    font-size: 0.95rem;
    margin-top: 4px;
}

.platform-banner-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: 1.6rem;
    flex-shrink: 0;
}

.amazon-banner {
    border-left: 4px solid #ff9900;
}

.flipkart-banner {
    border-left: 4px solid #2f80ed;
}

.myntra-banner {
    border-left: 4px solid #ff3f6c;
}

/* Visit platform btn */
.visit-platform-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border: none;
    border-radius: var(--radius-pill);
    color: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.visit-platform-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.visit-platform-btn.flipkart-visit {
    background: linear-gradient(135deg, #2f80ed 0%, #1a66cc 100%);
    box-shadow: 0 4px 15px rgba(47, 128, 237, 0.3);
}

.visit-platform-btn.flipkart-visit:hover {
    box-shadow: 0 8px 25px rgba(47, 128, 237, 0.4);
}

.visit-platform-btn.myntra-visit {
    background: linear-gradient(135deg, #ff3f6c 0%, #e6295a 100%);
    box-shadow: 0 4px 15px rgba(255, 63, 108, 0.3);
}

.visit-platform-btn.myntra-visit:hover {
    box-shadow: 0 8px 25px rgba(255, 63, 108, 0.4);
}

/* =========================================
   DASHBOARD TABS
   ========================================= */
.logo-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    opacity: 0.035;
    pointer-events: none;
    z-index: 0;
    filter: grayscale(1);
    animation: watermarkPulse 12s ease-in-out infinite alternate;
}

.dark-mode .logo-watermark {
    opacity: 0.04;
    filter: grayscale(1) invert(1);
}

@keyframes watermarkPulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.03;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.05);
        opacity: 0.05;
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.03;
    }
}

.dashboard-container {
    position: relative;
    overflow: hidden;
}

.dashboard-tabs {
    display: flex;
    gap: 6px;
    padding: 6px;
    background: var(--surface-2);
    border-radius: var(--radius-pill);
    margin-bottom: 28px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    border: 1px solid var(--border-strong);
}

.dashboard-tabs::-webkit-scrollbar {
    display: none;
}

.dashboard-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 28px;
    border: none;
    border-radius: var(--radius-pill);
    background: transparent;
    color: var(--text-2);
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    position: relative;
}

.dashboard-tab:hover {
    background: var(--surface-3);
    color: var(--text-1);
}

.dashboard-tab.active {
    background: var(--brand-gradient);
    color: #ffffff;
    box-shadow: 0 4px 12px var(--brand-glow);
}

.tab-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.2);
    color: inherit;
    line-height: 1;
}

.dashboard-tab:not(.active) .tab-badge {
    background: var(--surface-3);
    color: var(--text-2);
}

.dashboard-panel {
    display: none;
    animation: panelFadeIn 0.4s ease forwards;
    position: relative;
    z-index: 1;
}

.dashboard-panel.active {
    display: block;
}

#panel-similar.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 300px;
}

@keyframes panelFadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

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

/* Table actions */
.table-actions-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.search-input-wrapper {
    position: relative;
    flex: 1;
    max-width: 400px;
}

.search-input-wrapper i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.9rem;
    pointer-events: none;
}

.search-input {
    width: 100%;
    padding: 10px 16px 10px 42px;
    border: 2px solid var(--border-strong);
    border-radius: var(--radius-pill);
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--text-1);
    background: var(--surface-solid);
    transition: all 0.3s ease;
}

.dark-mode .search-input {
    background: rgba(15, 23, 42, 0.8);
}

.search-input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
}

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

.export-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-pill);
    background: var(--surface-2);
    color: var(--text-1);
    font-family: inherit;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.export-btn:hover {
    background: var(--success);
    color: #fff;
    border-color: var(--success);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    transform: translateY(-2px);
}

.no-results-msg {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
    font-size: 1rem;
}

.no-results-msg i {
    font-size: 2rem;
    display: block;
    margin-bottom: 12px;
}

.table-scroll-wrapper {
    max-height: 600px;
    overflow-y: auto;
    border-radius: var(--radius-lg);
    background: var(--surface-solid);
    border: 1px solid var(--border-strong);
}

.dark-mode .table-scroll-wrapper {
    background: rgba(15, 23, 42, 0.4);
}

.table-scroll-wrapper table thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: var(--surface-3);
}

.dark-mode .table-scroll-wrapper table thead th {
    background: rgba(30, 41, 59, 0.95);
}

/* Overview grid */
.overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Product info card */
.product-info-card {
    background: var(--surface-2);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    padding: 28px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.product-info-card:hover {
    box-shadow: var(--shadow-md);
}

.product-info-card img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    border-radius: 12px;
    background: #fff;
    padding: 6px;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.product-info-text h4 {
    font-size: 1.1rem;
    color: var(--text-1);
    margin-bottom: 4px;
    line-height: 1.4;
}

.product-info-text p {
    color: var(--text-2);
    font-size: 0.9rem;
}

/* Verdict banners */
.verdict-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 28px;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 24px;
    border: 1px solid;
}

.verdict-banner i {
    font-size: 1.6rem;
    flex-shrink: 0;
}

.verdict-safe {
    background: var(--success-bg);
    color: var(--success);
    border-color: rgba(16, 185, 129, 0.3);
}

.verdict-warning {
    background: rgba(245, 158, 11, 0.12);
    color: #f59e0b;
    border-color: rgba(245, 158, 11, 0.3);
}

.verdict-danger {
    background: var(--danger-bg);
    color: var(--danger);
    border-color: rgba(244, 63, 94, 0.3);
}

/* Toast */
.toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: var(--surface-solid);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-1);
    animation: toastIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    min-width: 280px;
    position: relative;
    overflow: hidden;
}

.toast-success {
    border-left: 4px solid var(--success);
}

.toast-info {
    border-left: 4px solid #3b82f6;
}

.toast-warning {
    border-left: 4px solid #f59e0b;
}

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--brand-gradient);
    animation: toastProgress 4s linear forwards;
}

@keyframes toastIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

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

@keyframes toastProgress {
    from {
        width: 100%;
    }

    to {
        width: 0;
    }
}

/* =========================================
   ABOUT PAGE
   ========================================= */
.about-hero {
    padding: 50px 40px 40px;
}

.about-logo-showcase {
    margin-bottom: 24px;
}

.about-logo-large {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    box-shadow: 0 12px 40px rgba(79, 70, 229, 0.25);
    animation: logoFloat 4s ease-in-out infinite alternate;
}

@keyframes logoFloat {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-10px);
    }
}

.about-text-block {
    color: var(--text-2);
    font-size: 1.05rem;
    line-height: 1.8;
}

.about-text-block p {
    margin-bottom: 16px;
}

.about-text-block strong {
    color: var(--text-1);
}

.how-it-works-grid {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
}

.how-step {
    flex: 1;
    text-align: center;
    padding: 28px 20px;
    background: var(--surface-2);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    position: relative;
    transition: all 0.3s ease;
}

.how-step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.how-step-number {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    background: var(--brand-gradient);
    color: #fff;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 700;
    display: grid;
    place-items: center;
    box-shadow: 0 4px 12px var(--brand-glow);
}

.how-step-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-size: 1.4rem;
    color: #6366f1;
}

.how-step h4 {
    font-size: 1.05rem;
    margin-bottom: 8px;
}

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

.how-step-connector {
    color: var(--text-muted);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.tech-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 24px 16px;
    background: var(--surface-2);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    font-size: 2rem;
    color: #6366f1;
    transition: all 0.3s ease;
}

.tech-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    background: var(--surface-solid);
}

.tech-card span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-2);
}

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

.supported-platform-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: var(--surface-2);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: var(--text-1);
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.supported-platform-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.supported-platform-card i:first-child {
    font-size: 2rem;
    flex-shrink: 0;
}

.supported-platform-card h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.supported-platform-card p {
    font-size: 0.85rem;
    color: var(--text-2);
}

.amazon-accent {
    border-left-color: #ff9900;
}

.amazon-accent i:first-child {
    color: #ff9900;
}

.flipkart-accent {
    border-left-color: #2f80ed;
}

.flipkart-accent i:first-child {
    color: #2f80ed;
}

.myntra-accent {
    border-left-color: #ff3f6c;
}

.myntra-accent i:first-child {
    color: #ff3f6c;
}

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

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--surface-2);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: var(--surface-solid);
    box-shadow: var(--shadow-sm);
}

.feature-item i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

/* =========================================
   TRUST SCORE HERO CARD
   ========================================= */
.trust-score-hero {
    animation: heroSlideIn 0.8s ease-out;
    transition: all 0.3s ease;
}

.trust-score-hero:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.4) !important;
}

@keyframes heroSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.trust-score-hero h3 {
    animation: fadeInScale 0.8s ease-out 0.2s both;
}

.trust-score-hero p {
    animation: fadeInScale 0.8s ease-out 0.3s both;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

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

/* =========================================
   RESPONSIVE — TABLET (≤1024px)
   ========================================= */
@media (max-width: 1024px) {
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

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

/* =========================================
   RESPONSIVE — MOBILE (≤768px)
   =========================================
   AUDIT FIXES:
   • Header becomes stacked card, nav scrolls horizontally
   • Nav icon-only labels hidden below 480px
   • Hamburger-style compact nav at ≤480px
   • analyze-form stacks vertically, button full-width
   • how-it-works connectors rotate 90°, steps stack
   • Platform grid → 1 col
   • Chart grid → 1 col
   • Metrics → 1 col
   • Overview grid → 1 col
   • Dashboard tabs → smaller text, scroll
   • Footer → 1 col centred
   • Loading card → full width with smaller padding
   • Progress stages hidden on tiny screens
   • Table: review cell shows 2 lines max on mobile
   • Filter group wraps
   ========================================= */
@media (max-width: 768px) {
    body {
        font-size: 14px;
    }

    .page-shell {
        width: 96vw;
        margin: 10px auto 32px;
        gap: 16px;
    }

    /* ---- Header: single-row mobile layout ---- */
    /* Hamburger (left) | Logo+Name (center) | Theme toggle (right) */
    .site-header {
        height: auto;
        display: grid;
        grid-template-columns: 44px 1fr 44px;
        align-items: center;
        padding: 10px 12px;
        gap: 8px;
        position: sticky;
        top: 0;
    }

    /* Hamburger menu button — left column */
    .site-header>.menu-btn {
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
    }

    /* Logo + name — center column */
    .header-brand {
        grid-column: 2;
        grid-row: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    .header-brand h1 {
        font-size: 1.1rem;
    }

    .header-brand p {
        display: none;
    }

    .project-logo {
        width: 36px;
        height: 36px;
        padding: 2px;
    }

    /* Platform pages (about, amazon, flipkart, myntra) have no hamburger.
       header-brand is the first child → span columns 1+2 so it stays centered. */
    .site-header>.header-brand:first-child {
        grid-column: 1 / 3;
        justify-content: center;
    }

    /* Theme toggle — right column */
    .header-actions {
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
        min-width: unset;
    }

    /* Platform nav (about/amazon/flipkart/myntra pages) — full-width row below */
    .platform-nav {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 4px;
        scrollbar-width: none;
        gap: 4px;
    }

    .platform-nav::-webkit-scrollbar {
        display: none;
    }

    .platform-nav a {
        padding: 7px 12px;
        font-size: 0.8rem;
    }

    /* Inline-style div wrapping theme toggle on platform pages */
    .site-header>div[style] {
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
    }

    /* ---- Hero ---- */
    .hero-card {
        padding: 28px 16px;
    }

    .hero-content h2 {
        font-size: 1.7rem;
        line-height: 1.25;
        margin-bottom: 10px;
    }

    .hero-tagline {
        font-size: 1.1rem;
    }

    .hero-content p {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

    /* ---- Panels ---- */
    .panel {
        padding: 20px 16px;
    }

    .panel-head h3 {
        font-size: 1.1rem;
    }

    .panel-head-inline {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .disclaimer-panel {
        padding: 16px 18px;
    }

    .disclaimer-content {
        flex-direction: column;
        gap: 10px;
    }

    /* ---- Analyze form ---- */
    .analyze-form {
        flex-direction: column;
        gap: 10px;
    }

    .analyze-form input {
        padding: 14px 18px;
        min-height: 50px;
        border-radius: var(--radius-lg);
    }

    .primary-btn {
        width: 100%;
        padding: 14px;
        justify-content: center;
    }

    .visit-platform-btn {
        width: 100%;
        justify-content: center;
    }

    /* ---- Metrics ---- */
    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .metric-card {
        padding: 18px;
    }

    .metric-card strong {
        font-size: 1.5rem;
    }

    /* ---- Trust Score Hero ---- */
    .trust-score-hero {
        padding: 24px !important;
    }

    .trust-score-hero>div {
        flex-direction: column;
        gap: 16px;
    }

    .trust-score-hero h3 {
        font-size: 1.4rem;
    }

    /* ---- Platform grid ---- */
    .platform-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .platform-card {
        padding: 28px 18px;
    }

    /* ---- Platform banner ---- */
    .platform-banner {
        flex-direction: column;
        text-align: center;
        padding: 20px 16px;
        gap: 12px;
    }

    .platform-banner h2 {
        font-size: 1.3rem;
    }

    .platform-banner-icon {
        margin: 0 auto;
    }

    /* ---- Dashboard tabs ---- */
    .dashboard-tabs {
        padding: 4px;
        gap: 4px;
    }

    .dashboard-tab {
        padding: 9px 12px;
        font-size: 0.8rem;
    }

    .tab-badge {
        min-width: 18px;
        height: 18px;
        font-size: 0.7rem;
    }

    /* ---- Overview / chart grid ---- */
    .overview-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .chart-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .chart-card {
        padding: 18px 14px;
        min-height: auto;
    }

    .chart-wrapper {
        min-height: 200px;
    }

    .gauge-value {
        font-size: 1.8rem;
    }

    /* ---- Product info card ---- */
    .product-info-card {
        flex-direction: column;
        text-align: center;
        padding: 20px 16px;
        gap: 12px;
    }

    .product-info-card img {
        width: 72px;
        height: 72px;
    }

    /* ---- Verdict banner ---- */
    .verdict-banner {
        font-size: 0.9rem;
        padding: 14px 16px;
        gap: 10px;
    }

    .verdict-banner i {
        font-size: 1.3rem;
    }

    /* ---- Reviews tab: table actions ---- */
    .table-actions-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .search-input-wrapper {
        width: 100%;
        max-width: none;
    }

    .filter-btn-group {
        justify-content: center;
    }

    .export-btn {
        width: 100%;
        justify-content: center;
    }

    /* Review cell: clamp to 2 lines on mobile */
    .review-text-cell {
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        max-width: 200px;
    }

    .review-text-cell:hover {
        -webkit-line-clamp: unset;
        overflow: visible;
    }

    /* ---- Loading overlay ---- */
    .loading-card {
        padding: 28px 20px;
    }

    .loading-card h4 {
        font-size: 1.1rem;
    }

    .progress-stages {
        gap: 0;
    }

    .stage-dot {
        min-width: 56px;
        font-size: 0.7rem;
    }

    .stage-dot i {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }

    .stage-line {
        max-width: 24px;
    }

    /* ---- Logo watermark ---- */
    .logo-watermark {
        width: 200px;
        height: 200px;
    }

    /* ---- About page ---- */
    .how-it-works-grid {
        flex-direction: column;
        gap: 20px;
    }

    .how-step-connector {
        transform: rotate(90deg);
    }

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

    .supported-platforms {
        grid-template-columns: 1fr;
    }

    .features-list {
        grid-template-columns: 1fr;
    }

    .about-hero {
        padding: 28px 16px;
    }

    .about-logo-large {
        width: 80px;
        height: 80px;
    }

    /* ---- Footer ---- */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 24px 16px;
        gap: 20px;
    }

    .footer-section h4 {
        justify-content: center;
    }

    .footer-tech-badges {
        justify-content: center;
    }

    .footer-section a {
        display: inline;
        padding: 0 6px;
    }
}

/* =========================================
   RESPONSIVE — SMALL MOBILE (≤480px)
   ========================================= */
@media (max-width: 480px) {

    /* Collapse nav labels — icons only */
    .platform-nav a span,
    .platform-nav a:not(.nav-active) {
        /* keep text for active */
    }

    .platform-nav a {
        padding: 7px 10px;
        font-size: 0;
        gap: 0;
    }

    .platform-nav a i {
        font-size: 1rem;
    }

    /* show active label */
    .platform-nav a.nav-active {
        font-size: 0.78rem;
        padding: 7px 12px;
        gap: 5px;
    }

    .platform-nav a.nav-active i {
        font-size: 0.85rem;
    }

    .hero-content h2 {
        font-size: 1.4rem;
    }

    .hero-tagline {
        font-size: 1rem;
    }

    .dashboard-tab {
        padding: 8px 10px;
        font-size: 0.76rem;
    }

    /* Trust Score Hero — Stack on tiny screens */
    .trust-score-hero {
        padding: 16px !important;
        border-radius: 12px;
    }

    .trust-score-hero>div {
        flex-direction: column;
        gap: 12px;
    }

    .trust-score-hero h3 {
        font-size: 1.2rem;
    }

    .trust-score-hero p {
        font-size: 0.85rem;
    }

    .trust-score-hero>div>div:first-child {
        width: 100px !important;
        height: 100px !important;
    }

    /* Hide stage labels on tiny screens */
    .stage-dot span {
        display: none;
    }

    .stage-dot {
        min-width: 36px;
    }

    .filter-btn {
        padding: 7px 12px;
        font-size: 0.8rem;
    }

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

    .gauge-text {
        font-size: 0.75rem;
    }
}

/* =========================================
   SIDEBAR
   ========================================= */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background: var(--surface-solid);
    border-right: 1px solid var(--border-strong);
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.12);
    z-index: 200;
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.sidebar-open .sidebar {
    transform: translateX(0);
}

.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 199;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.sidebar-open .sidebar-overlay {
    opacity: 1;
    pointer-events: auto;
}

.sidebar-header {
    padding: 24px 20px 16px;
    border-bottom: 1px solid var(--border-strong);
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.sidebar-user {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--brand-gradient);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px var(--brand-glow);
    flex-shrink: 0;
}

.sidebar-brand h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-1);
}

.sidebar-recent {
    padding: 20px;
    flex: 1;
}

.recent-title,
.settings-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
}

.recent-title i,
.settings-title i {
    font-size: 0.9rem;
}

.recent-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recent-list li {
    padding: 10px 12px;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    color: var(--text-2);
    cursor: pointer;
    transition: all 0.2s ease;
}

.recent-list li:hover {
    background: var(--surface-2);
    color: var(--text-1);
}

.recent-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.recent-item-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    font-size: 0.85rem;
    background: var(--surface-3);
    color: var(--text-1);
    flex-shrink: 0;
}

.recent-item-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    flex: 1;
}

.recent-item-name {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-1);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.recent-item-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
}

.recent-risk-badge {
    padding: 1px 6px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.68rem;
}

.recent-risk-badge.risk-high {
    background: var(--danger-bg);
    color: var(--danger);
}

.recent-risk-badge.risk-medium {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
}

.recent-risk-badge.risk-low {
    background: var(--success-bg);
    color: var(--success);
}

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

.recent-empty {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--text-muted);
    padding: 12px !important;
    cursor: default !important;
}

.sidebar-settings {
    padding: 0 20px 20px;
    border-top: 1px solid var(--border-strong);
    padding-top: 16px;
}

.settings-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.settings-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    color: var(--text-2);
    cursor: pointer;
    transition: all 0.2s ease;
}

.settings-list li:hover {
    background: var(--surface-2);
    color: var(--text-1);
}

.settings-list li i {
    width: 18px;
    text-align: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.sidebar-footer {
    padding: 16px 0 0;
    border-top: 1px solid var(--border-strong);
    margin-top: 12px;
}

.logout-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: var(--radius-md);
    background: var(--danger-bg);
    color: var(--danger);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    background: var(--danger);
    color: #fff;
}

/* =========================================
   UNIFIED URL INPUT BOX
   ========================================= */
.url-box {
    display: flex;
    align-items: center;
    gap: 0;
    background: var(--surface-solid);
    border: 2px solid var(--border-strong);
    border-radius: var(--radius-pill);
    padding: 6px 6px 6px 20px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.url-box:focus-within {
    border-color: #6366f1;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15), var(--shadow-md);
}

.dark-mode .url-box {
    background: rgba(15, 23, 42, 0.8);
}

.url-icon {
    color: var(--text-muted);
    font-size: 1rem;
    flex-shrink: 0;
    margin-right: 12px;
}

.url-box input {
    flex: 1;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-1);
    outline: none;
    min-height: 44px;
    padding: 0;
}

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

.clear-btn {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    display: grid;
    place-items: center;
    font-size: 0.9rem;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.clear-btn:hover {
    background: var(--danger-bg);
    color: var(--danger);
}

.url-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--brand-gradient);
    color: #fff;
    border: none;
    border-radius: var(--radius-pill);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--brand-glow);
}

.url-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--brand-glow);
}

.url-platform-hint {
    min-height: 24px;
    margin-top: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.hint-amazon {
    color: #ff9900;
}

.hint-flipkart {
    color: #2f80ed;
}

.hint-myntra {
    color: #ff3f6c;
}

/* Menu button in header */
.menu-btn {
    order: -1;
}

/* =========================================
   URL BOX RESPONSIVE
   ========================================= */
@media (max-width: 768px) {
    .sidebar {
        width: 260px;
    }

    .url-box {
        flex-wrap: wrap;
        border-radius: var(--radius-lg);
        padding: 8px 12px;
        gap: 8px;
    }

    .url-box input {
        width: 100%;
        min-height: 40px;
    }

    .url-submit-btn {
        width: 100%;
        justify-content: center;
        padding: 14px;
        border-radius: var(--radius-lg);
    }

    .url-icon {
        display: none;
    }
}

@media (max-width: 480px) {
    .sidebar {
        width: 240px;
    }

    .url-submit-btn span {
        display: none;
    }
}

/* =========================================
   PLATFORM CARDS (What We Do section)
   ========================================= */
.platform-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 24px;
}

.platform-card-mini {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 20px;
    background: var(--surface-2);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text-1);
    transition: all 0.25s ease;
}

.platform-card-mini:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    border-color: var(--border-light);
}

.platform-card-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.1rem;
    margin-bottom: 0;
}

.amazon-icon-bg {
    background: rgba(255, 153, 0, 0.15);
    color: #ff9900;
}

.amazon-card:hover .amazon-icon-bg {
    background: #ff9900;
    color: #fff;
    box-shadow: 0 4px 16px rgba(255, 153, 0, 0.35);
}

.flipkart-icon-bg {
    background: rgba(40, 116, 240, 0.15);
    color: #2874f0;
}

.flipkart-card:hover .flipkart-icon-bg {
    background: #2874f0;
    color: #fff;
    box-shadow: 0 4px 16px rgba(40, 116, 240, 0.35);
}

.myntra-icon-bg {
    background: rgba(255, 63, 108, 0.15);
    color: #ff3f6c;
}

.myntra-card:hover .myntra-icon-bg {
    background: #ff3f6c;
    color: #fff;
    box-shadow: 0 4px 16px rgba(255, 63, 108, 0.35);
}

.platform-card-mini h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0;
}

.platform-card-mini p {
    font-size: 0.8rem;
    color: var(--text-2);
    margin: 0;
    line-height: 1.3;
}

.platform-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    font-size: 0.7rem;
    font-weight: 600;
    margin-top: 4px;
}

.badge-warning {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
}

.badge-success {
    background: var(--success-bg);
    color: var(--success);
}

@media (max-width: 768px) {
    .platform-cards-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .platform-card-mini {
        padding: 16px 12px 14px;
    }

    .platform-card-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}

/* =========================================
   PRICE COMPARISON TAB  (BuyHatke integration)
   ========================================= */

/* ---- Loading State ---- */
.price-loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 24px;
    gap: 16px;
    text-align: center;
}

.price-loading-state h4 {
    font-size: 1.2rem;
    color: var(--text-1);
    margin: 0;
}

.price-loading-state p {
    color: var(--text-2);
    font-size: 0.95rem;
    margin: 0;
}

.price-loading-spinner {
    width: 56px;
    height: 56px;
    border: 4px solid var(--border-strong);
    border-top-color: #6366f1;
    border-radius: 50%;
    animation: priceSpinAnim 0.9s linear infinite;
    flex-shrink: 0;
    align-self: center;
}

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

.price-progress-dots {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 8px;
}

.price-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-strong);
    transition: background 0.3s ease, transform 0.3s ease;
}

.price-dot-active {
    background: #6366f1;
    transform: scale(1.35);
}

/* ---- No Extension ---- */
.price-no-extension {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 24px;
    gap: 12px;
    text-align: center;
    color: var(--text-2);
}

.price-no-extension h4 {
    font-size: 1.1rem;
    color: var(--text-1);
}

/* ---- Savings Banner ---- */
.price-savings-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    margin-bottom: 24px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(99, 102, 241, 0.12));
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--radius-lg);
    color: var(--success);
    font-size: 1rem;
    backdrop-filter: blur(8px);
}

.price-savings-banner i {
    font-size: 1.4rem;
    flex-shrink: 0;
}

.price-savings-banner strong {
    font-weight: 700;
    font-size: 1.1rem;
}

/* ---- Carousel Wrapper ---- */
.price-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.price-carousel-track-container {
    overflow: hidden;
    width: 100%;
    border-radius: var(--radius-lg);
}

.price-carousel-track {
    display: flex;
    gap: 20px;
    padding: 16px 4px;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ---- Carousel Buttons ---- */
.price-carousel-btn {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: var(--surface-2);
    border: 1px solid var(--border-strong);
    color: var(--text-1);
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    backdrop-filter: blur(8px);
    z-index: 2;
}

.price-carousel-btn:hover {
    background: #6366f1;
    border-color: #6366f1;
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35);
}

/* ---- Dot Indicators ---- */
.price-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.price-dot-indicator {
    width: 10px;
    height: 10px;
    background: var(--border-strong);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.price-dot-indicator.active {
    background: #6366f1;
    width: 28px;
    border-radius: 5px;
}

/* ---- Store Cards ---- */
.price-slide-card {
    min-width: 280px;
    max-width: 280px;
    background: var(--surface-2);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    padding: 24px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
}

.price-slide-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: #6366f1;
}

/* Lowest Price Card */
.price-lowest-card {
    border-color: var(--success) !important;
    box-shadow: 0 0 24px rgba(16, 185, 129, 0.2);
}

.price-lowest-card:hover {
    border-color: var(--success) !important;
    box-shadow: 0 0 40px rgba(16, 185, 129, 0.3);
}

.price-lowest-badge {
    position: absolute;
    top: -13px;
    right: 20px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    padding: 5px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.35);
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Unavailable Card */
.price-unavailable-card {
    opacity: 0.55;
    border-style: dashed;
}

/* Card Header */
.price-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-store-icon {
    font-size: 1.6rem;
    line-height: 1;
}

.price-card-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-1);
}

/* Card Title */
.price-card-title {
    color: var(--text-2);
    font-size: 0.82rem;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Price Amount */
.price-amount {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-1);
    letter-spacing: -0.02em;
    margin: 4px 0;
}

.price-amount-lowest {
    color: var(--success);
}

/* Visit Store Link */
.price-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #6366f1;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: auto;
    transition: color 0.2s ease, gap 0.2s ease;
}

.price-card-link:hover {
    color: #818cf8;
    gap: 10px;
    text-decoration: underline;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
    .price-slide-card {
        min-width: 240px;
        max-width: 240px;
    }
}

@media (max-width: 600px) {
    .price-slide-card {
        min-width: 260px;
        max-width: 260px;
    }

    .price-carousel-btn {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .price-amount {
        font-size: 1.6rem;
    }
}

/* =========================================
   AI PRICE SUMMARY
   ========================================= */

@keyframes priceSummaryFadeIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

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

@keyframes storeCardIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.96);
    }

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

/* =========================================
   PRICE COMPARISON — RESULTS WRAPPER
   ========================================= */

.price-ai-summary {
    display: flex;
    flex-direction: column;
    gap: 20px;
    animation: priceSummaryFadeIn 0.5s ease forwards;
}

/* =========================================
   HERO BANNER
   ========================================= */

.price-hero-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 28px 32px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.09) 0%, rgba(16, 185, 129, 0.07) 100%);
    border: 1px solid rgba(99, 102, 241, 0.18);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
    flex-wrap: wrap;
}

.price-hero-banner::before {
    content: '₹';
    position: absolute;
    right: 24px;
    top: -10px;
    font-size: 9rem;
    font-weight: 900;
    color: rgba(99, 102, 241, 0.05);
    pointer-events: none;
    line-height: 1;
    user-select: none;
}

.price-hero-left {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.price-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6366f1;
}

.price-hero-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-1);
    margin: 0;
    letter-spacing: -0.02em;
}

.price-hero-sub {
    font-size: 0.95rem;
    color: var(--text-2);
    margin: 0;
}

.price-hero-right {
    flex-shrink: 0;
}

.price-stores-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 18px;
    background: var(--surface-2);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-2);
}

/* =========================================
   RECOMMENDATION CARD
   ========================================= */

.price-recommendation-card {
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-xl);
    padding: 28px 32px;
    position: relative;
    overflow: hidden;
}

.price-recommendation-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, #6366f1 0%, #10b981 100%);
    border-radius: 4px 0 0 4px;
}

.reco-header-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.reco-store-block {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 1;
    min-width: 200px;
}

.reco-best-store {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.reco-best-icon {
    position: relative;
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(16, 185, 129, 0.1));
    border: 2px solid var(--border-strong);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.reco-store-emoji {
    font-size: 2.2rem;
    line-height: 1;
}

.reco-crown {
    position: absolute;
    top: -10px;
    right: -10px;
    color: #f59e0b;
    font-size: 0.95rem;
    background: var(--surface-solid);
    border-radius: 50%;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
    border: 2px solid var(--surface-solid);
}

.reco-best-info {
    flex: 1;
    min-width: 140px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.reco-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.reco-store-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-1);
    margin: 0;
    letter-spacing: -0.02em;
}

.reco-price {
    font-size: 1.9rem;
    font-weight: 800;
    color: #10b981;
    letter-spacing: -0.03em;
    line-height: 1;
}

.reco-confidence {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border-radius: var(--radius-pill);
    font-size: 0.82rem;
    font-weight: 700;
    flex-shrink: 0;
    align-self: flex-start;
}

.reco-confidence-high {
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
}

.reco-confidence-good {
    background: rgba(59, 130, 246, 0.12);
    color: #3b82f6;
}

.reco-confidence-low {
    background: rgba(245, 158, 11, 0.12);
    color: #f59e0b;
}

.reco-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.reco-verdict {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--text-2);
    display: block;
    padding-left: 22px;
    position: relative;
}

.reco-verdict i {
    color: #f59e0b;
    position: absolute;
    left: 0;
    top: 4px;
}

.reco-savings {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.22);
    border-radius: var(--radius-md);
    font-size: 0.92rem;
    color: #10b981;
    font-weight: 600;
}

.reco-unavail {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.reco-unavail i {
    color: var(--danger);
    flex-shrink: 0;
}

.reco-buy-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: var(--radius-pill);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 18px rgba(16, 185, 129, 0.35);
    align-self: flex-start;
}

.reco-buy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(16, 185, 129, 0.5);
    background: linear-gradient(135deg, #34d399, #10b981);
}

/* =========================================
   STORE BREAKDOWN SECTION
   ========================================= */

.price-stores-section {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.price-stores-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--text-muted);
    margin: 0;
}

.price-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
}

/* Store Compare Card — new design */
.store-compare-card {
    background: var(--surface-2);
    border: 1.5px solid var(--border-strong);
    border-radius: var(--radius-lg);
    padding: 22px 20px 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: storeCardIn 0.4s ease forwards;
    opacity: 0;
}

.store-compare-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
    border-color: rgba(99, 102, 241, 0.35);
}

.store-compare-best {
    border-color: #10b981 !important;
    background: linear-gradient(160deg, rgba(16, 185, 129, 0.07), var(--surface-2));
    box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.2), 0 8px 24px rgba(16, 185, 129, 0.1);
}

.store-compare-unavail {
    opacity: 0.5;
    border-style: dashed;
    pointer-events: none;
}

.scc-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}

.scc-emoji {
    font-size: 1.8rem;
    line-height: 1;
}

.scc-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    font-size: 0.72rem;
    font-weight: 700;
}

.scc-badge-best {
    background: rgba(16, 185, 129, 0.13);
    color: #10b981;
}

.scc-badge-higher {
    background: rgba(245, 158, 11, 0.12);
    color: #f59e0b;
}

.scc-badge-unavail {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.scc-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-1);
}

.scc-price {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-1);
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.scc-price-best {
    color: #10b981;
}

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

.scc-diff {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
}

.scc-visit-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding: 9px 16px;
    background: transparent;
    border: 1.5px solid var(--border-strong);
    border-radius: var(--radius-md);
    color: var(--text-2);
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    align-self: flex-start;
    cursor: pointer;
}

.scc-visit-btn:hover {
    border-color: #10b981;
    color: #10b981;
    background: rgba(16, 185, 129, 0.07);
}

.store-compare-best .scc-visit-btn {
    border-color: rgba(16, 185, 129, 0.5);
    color: #10b981;
}

/* =========================================
   CHART WRAPPER
   ========================================= */

.price-chart-wrapper {
    background: var(--surface-2);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    padding: 22px 24px;
}

.price-chart-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--text-muted);
    margin: 0 0 16px;
}

/* =========================================
   LOADING STATE (redesigned)
   ========================================= */

.price-loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 64px 24px;
    gap: 18px;
    text-align: center;
}

.price-loading-state h4 {
    font-size: 1.2rem;
    color: var(--text-1);
    margin: 0;
    font-weight: 700;
}

.price-loading-state p {
    color: var(--text-2);
    font-size: 0.95rem;
    margin: 0;
}

.price-loading-orb {
    position: relative;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.price-loading-spinner {
    position: absolute;
    inset: 0;
    border: 3px solid var(--border-strong);
    border-top-color: #6366f1;
    border-radius: 50%;
    animation: priceSpinAnim 0.85s linear infinite;
}

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

.price-loading-icon {
    font-size: 1.6rem;
    color: #6366f1;
    position: relative;
    z-index: 1;
}

.price-platform-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.ppill {
    padding: 5px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.82rem;
    font-weight: 600;
    border: 1px solid var(--border-strong);
    background: var(--surface-2);
    color: var(--text-2);
    animation: ppillPulse 1.8s ease-in-out infinite;
}

.ppill-amazon {
    animation-delay: 0s;
}

.ppill-flipkart {
    animation-delay: 0.3s;
}

.ppill-myntra {
    animation-delay: 0.6s;
}

@keyframes ppillPulse {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.04);
    }
}

.price-progress-dots {
    display: flex;
    gap: 10px;
    align-items: center;
}

.price-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--border-strong);
    transition: background 0.3s ease, transform 0.3s ease;
}

.price-dot-active {
    background: #6366f1;
    transform: scale(1.4);
}

/* =========================================
   NO EXTENSION STATE (redesigned)
   ========================================= */

.price-no-extension {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 64px 24px;
    gap: 14px;
    text-align: center;
}

.price-no-ext-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #f59e0b;
}

.price-no-extension h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-1);
    margin: 0;
}

.price-no-extension p {
    color: var(--text-2);
    font-size: 0.92rem;
    max-width: 340px;
    margin: 0;
}

.price-install-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 24px;
    background: #6366f1;
    color: #fff;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: var(--radius-pill);
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}

.price-install-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(99, 102, 241, 0.5);
    background: #818cf8;
}

/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 768px) {
    .price-hero-banner {
        padding: 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .price-hero-title {
        font-size: 1.4rem;
    }

    .price-recommendation-card {
        padding: 20px;
    }

    .reco-header-row {
        flex-direction: column;
    }

    .reco-store-block {
        flex-direction: row;
    }

    .reco-best-store {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .reco-price {
        font-size: 1.5rem;
    }

    .price-summary-grid {
        grid-template-columns: 1fr;
    }

    .reco-buy-btn {
        width: 100%;
        justify-content: center;
    }
}

/* =========================================
   SIMILAR PRODUCTS SECTION
   ========================================= */

.similar-products-section {
    margin-top: 0;
    padding: 0;
}

.similar-products-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.similar-products-header h4 {
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-1);
    margin: 0;
}

.similar-products-badge {
    font-size: 0.78rem;
    padding: 4px 14px;
    border-radius: var(--radius-pill);
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    font-weight: 600;
}

.similar-products-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0 0 20px 0;
}

/* ---- Product Cards Grid ---- */
.similar-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 18px;
}

/* ---- Individual Product Card ---- */
.similar-product-card {
    background: var(--surface-2);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    animation: similarCardFadeIn 0.45s ease forwards;
    opacity: 0;
    transform: translateY(12px);
}

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

.similar-product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.4);
}

/* ---- Product Image ---- */
.similar-product-img-wrap {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.04), rgba(59, 130, 246, 0.04));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.similar-product-img {
    max-width: 85%;
    max-height: 160px;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.similar-product-card:hover .similar-product-img {
    transform: scale(1.08);
}

.similar-product-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 2.5rem;
    opacity: 0.3;
}

/* ---- Product Info ---- */
.similar-product-info {
    padding: 14px 16px 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.similar-product-name {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-1);
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.similar-product-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: #10b981;
    letter-spacing: -0.02em;
}

.similar-product-price-na {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* ---- Action Buttons ---- */
.similar-product-actions {
    padding: 10px 16px 16px;
    display: flex;
    gap: 8px;
}

.similar-product-analyze-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 14px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.25);
}

.similar-product-analyze-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
    background: linear-gradient(135deg, #818cf8, #a78bfa);
}

.similar-product-analyze-btn:active {
    transform: translateY(0);
}

.similar-product-view-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 10px 14px;
    background: transparent;
    color: var(--text-2);
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.similar-product-view-btn:hover {
    color: #6366f1;
    border-color: #6366f1;
    background: rgba(99, 102, 241, 0.06);
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .similar-products-section {
        padding: 20px 16px;
    }

    .similar-products-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .similar-products-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 12px;
    }

    .similar-product-img-wrap {
        height: 140px;
    }

    .similar-product-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .similar-products-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .similar-product-img-wrap {
        height: 120px;
    }

    .similar-product-name {
        font-size: 0.8rem;
        -webkit-line-clamp: 2;
    }

    .similar-product-price {
        font-size: 1.05rem;
    }

    .similar-product-analyze-btn,
    .similar-product-view-btn {
        padding: 8px 10px;
        font-size: 0.75rem;
    }
}

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

/* ---- Platform page headers (amazon, flipkart, myntra, about) ---- */
/* Header grid layout is already handled in the main 768px breakpoint above.
   Platform pages use: header-brand (center) + platform-nav (row 2) + div[style] or header-actions (right). */
@media (max-width: 768px) {

    /* Results page: Back / View All buttons wrap */
    .panel>div[style*="display: flex"][style*="gap: 12px"] {
        flex-wrap: wrap !important;
    }

    .panel>div[style*="display: flex"][style*="gap: 12px"] .primary-btn {
        flex: 1;
        min-width: 140px;
        justify-content: center;
        font-size: 0.85rem;
        padding: 12px 16px;
    }
}

/* ---- Trust Score Hero Card (overriding inline styles) ---- */
@media (max-width: 768px) {
    .trust-score-hero {
        border-radius: 14px !important;
    }

    /* The inner flex container: make it column on mobile */
    .trust-score-hero>div[style*="display: flex"][style*="align-items: flex-start"] {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center;
        gap: 16px !important;
    }

    /* Shield icon circle */
    .trust-score-hero>div>div[style*="width: 120px"] {
        width: 90px !important;
        height: 90px !important;
        font-size: 2.2rem !important;
    }

    .trust-score-hero>div>div[style*="flex: 1"] {
        text-align: center;
    }

    .trust-score-hero>div>div[style*="flex: 1"] h3 {
        font-size: 1.3rem !important;
    }

    .trust-score-hero>div>div[style*="flex: 1"] p {
        font-size: 0.9rem !important;
    }

    /* Trust score number + progress bar row */
    .trust-score-hero div[style*="display: flex"][style*="align-items: center"][style*="gap: 12px"] {
        flex-direction: column !important;
        align-items: center !important;
        gap: 8px !important;
    }

    .trust-score-hero div[style*="max-width: 200px"] {
        max-width: 100% !important;
        width: 100% !important;
    }

    /* Trust score text */
    .trust-score-hero span[style*="font-size: 2.5rem"] {
        font-size: 2rem !important;
    }
}

@media (max-width: 480px) {
    .trust-score-hero {
        padding: 20px !important;
    }

    .trust-score-hero>div>div[style*="width: 120px"] {
        width: 72px !important;
        height: 72px !important;
        font-size: 1.8rem !important;
    }

    .trust-score-hero>div>div[style*="flex: 1"] h3 {
        font-size: 1.1rem !important;
    }

    .trust-score-hero span[style*="font-size: 2.5rem"] {
        font-size: 1.6rem !important;
    }
}

/* ---- Improved touch targets for all interactive elements ---- */
@media (max-width: 768px) {

    /* Ensure minimum 44px touch targets on buttons/links */
    .icon-btn {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
    }

    .filter-btn {
        min-height: 40px;
    }

    .dashboard-tab {
        min-height: 44px;
    }

    .settings-list li,
    .recent-list li {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    /* Prevent horizontal overflow of body */
    html,
    body {
        overflow-x: hidden;
        max-width: 100vw;
    }
}

/* ---- Table improvements for very small screens ---- */
@media (max-width: 480px) {
    thead th {
        padding: 10px 10px;
        font-size: 0.75rem;
    }

    tbody td {
        padding: 10px 10px;
        font-size: 0.85rem;
    }

    .review-text-cell {
        max-width: 140px;
        font-size: 0.8rem;
    }

    .status-pill {
        padding: 4px 8px;
        font-size: 0.75rem;
    }

    .confidence-badge {
        padding: 3px 7px;
        font-size: 0.72rem;
    }
}

/* ---- Verdict banner text wrap ---- */
@media (max-width: 480px) {
    .verdict-banner {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        font-size: 0.85rem;
        padding: 12px 14px;
        gap: 8px;
    }

    .verdict-banner i {
        font-size: 1.2rem;
    }
}

/* ---- Product info card text on small screens ---- */
@media (max-width: 480px) {

    .product-info-text h2,
    .product-info-text h4 {
        font-size: 1rem;
        word-break: break-word;
    }

    .product-info-text p {
        font-size: 0.82rem;
    }

    .product-info-card img {
        width: 56px;
        height: 56px;
    }
}

/* ---- Loading overlay on small screens ---- */
@media (max-width: 480px) {
    .loading-card {
        padding: 24px 14px;
        border-radius: 16px;
    }

    .loading-card h4 {
        font-size: 1rem;
    }

    .loading-card p {
        font-size: 0.85rem;
    }

    .modern-spinner {
        width: 56px;
        height: 56px;
    }
}

/* ---- Price comparison on very small screens ---- */
@media (max-width: 480px) {
    .price-hero-banner {
        padding: 16px;
    }

    .price-hero-title {
        font-size: 1.15rem;
    }

    .price-hero-sub {
        font-size: 0.85rem;
    }

    .price-recommendation-card {
        padding: 16px;
    }

    .reco-best-icon {
        width: 56px;
        height: 56px;
    }

    .reco-store-emoji {
        font-size: 1.6rem;
    }

    .reco-store-name {
        font-size: 1.2rem;
    }

    .reco-price {
        font-size: 1.3rem;
    }

    .reco-verdict {
        font-size: 0.85rem;
    }

    .reco-buy-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .store-compare-card {
        padding: 16px 14px;
    }

    .scc-price {
        font-size: 1.4rem;
    }
}

/* ---- Footer improvements for very small screens ---- */
@media (max-width: 360px) {
    .footer-content {
        padding: 20px 12px;
    }

    .footer-section h4 {
        font-size: 0.9rem;
    }

    .footer-section p,
    .footer-section a {
        font-size: 0.82rem;
    }
}

/* ---- Metric cards text on very small screens ---- */
@media (max-width: 360px) {
    .metric-card {
        padding: 14px;
        gap: 12px;
    }

    .metric-icon {
        width: 44px;
        height: 44px;
        border-radius: 10px;
        font-size: 1.2rem;
    }

    .metric-card h4 {
        font-size: 0.82rem;
    }

    .metric-card strong {
        font-size: 1.3rem;
    }

    .percentage-badge {
        font-size: 0.75rem;
        padding: 1px 6px;
    }
}

/* ---- Hero card on very small screens ---- */
@media (max-width: 360px) {
    .hero-content h2 {
        font-size: 1.2rem;
    }

    .hero-tagline {
        font-size: 0.9rem;
    }

    .hero-content p {
        font-size: 0.85rem;
    }

    .page-shell {
        width: 98vw;
        margin: 8px auto 24px;
        gap: 12px;
    }
}

/* ---- Chart height on very small screens ---- */
@media (max-width: 480px) {
    .chart-wrapper {
        min-height: 180px;
    }

    .overview-grid .chart-wrapper {
        height: 220px;
    }
}

/* ---- Summary panel on very small screens ---- */
@media (max-width: 480px) {
    .summary-panel {
        padding: 18px 14px;
    }

    .summary-header h4 {
        font-size: 1rem;
    }

    .summary-badge {
        font-size: 0.7rem;
        padding: 3px 8px;
    }

    .summary-card {
        padding: 14px;
    }

    .summary-card-header {
        gap: 10px;
    }

    .summary-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
}

/* ---- Print-friendly (optional) ---- */
@media print {

    .site-header,
    .sidebar,
    .sidebar-overlay,
    .bg-mesh,
    .menu-btn,
    .site-footer,
    .pp-overlay {
        display: none !important;
    }

    .page-shell {
        width: 100%;
        margin: 0;
    }

    .panel,
    .hero-card,
    .chart-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}


/* =========================================
   PRIVACY POLICY OVERLAY
   ========================================= */

/* Body scroll lock when overlay is active */
body.pp-no-scroll {
    overflow: hidden !important;
}

.pp-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    animation: ppFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.pp-overlay.pp-hidden {
    display: none !important;
}

.pp-overlay.pp-closing {
    animation: ppFadeOut 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes ppFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes ppFadeOut {
    from {
        opacity: 1;
        transform: scale(1);
    }

    to {
        opacity: 0;
        transform: scale(0.96);
    }
}

/* Dark blurred backdrop */
.pp-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.dark-mode .pp-backdrop {
    background: rgba(0, 0, 0, 0.75);
}

/* Modal card */
.pp-modal {
    position: relative;
    z-index: 2;
    width: min(680px, 95vw);
    max-height: 92vh;
    background: var(--surface-solid);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-xl);
    box-shadow:
        0 25px 80px -12px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: ppSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes ppSlideUp {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.97);
    }

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

.dark-mode .pp-modal {
    background: #1e293b;
    border-color: rgba(255, 255, 255, 0.08);
}

/* Header */
.pp-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 28px 32px 20px;
    border-bottom: 1px solid var(--border-strong);
    flex-shrink: 0;
}

.pp-header-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.pp-header-icon.tc-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
}

.pp-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-1);
    margin: 0;
    line-height: 1.3;
}

.pp-subtitle {
    color: var(--text-2);
    font-size: 0.9rem;
    margin-top: 2px;
}

/* Scrollable policy content */
.pp-scroll-box {
    flex: 1;
    overflow-y: auto;
    padding: 24px 32px;
    min-height: 0;
    max-height: 50vh;
    scroll-behavior: smooth;
}

.pp-scroll-box::-webkit-scrollbar {
    width: 6px;
}

.pp-scroll-box::-webkit-scrollbar-track {
    background: transparent;
}

.pp-scroll-box::-webkit-scrollbar-thumb {
    background: var(--surface-3);
    border-radius: 3px;
}

.pp-scroll-box::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* Policy sections */
.pp-section {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-strong);
}

.pp-section:last-of-type {
    border-bottom: none;
    margin-bottom: 12px;
    padding-bottom: 0;
}

.pp-section h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-1);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.pp-section h3 i {
    font-size: 0.95rem;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
    flex-shrink: 0;
}

.dark-mode .pp-section h3 i {
    background: rgba(139, 92, 246, 0.15);
    color: #a78bfa;
}

.pp-section p {
    color: var(--text-2);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 8px;
}

.pp-section p:last-child {
    margin-bottom: 0;
}

.pp-section ul {
    list-style: none;
    padding: 0;
    margin: 8px 0 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pp-section ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-2);
    font-size: 0.92rem;
    line-height: 1.6;
    padding: 10px 14px;
    border-radius: var(--radius-md);
    background: var(--surface-2);
    border: 1px solid var(--border);
}

.pp-section ul li i.fa-xmark {
    color: #ef4444;
    font-size: 0.85rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.pp-section ul li i.fa-check {
    color: #10b981;
    font-size: 0.85rem;
    margin-top: 3px;
    flex-shrink: 0;
}

/* Scroll end indicator */
.pp-scroll-end {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px;
    margin-top: 8px;
    border-radius: var(--radius-md);
    background: var(--success-bg);
    color: var(--success);
    font-size: 0.85rem;
    font-weight: 600;
}

.pp-scroll-end i {
    font-size: 1rem;
}

/* Footer */
.pp-footer {
    padding: 20px 32px 24px;
    border-top: 1px solid var(--border-strong);
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex-shrink: 0;
    background: var(--surface-2);
}

.dark-mode .pp-footer {
    background: rgba(15, 23, 42, 0.6);
}

/* Custom checkbox */
.pp-checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text-1);
    user-select: none;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    border: 2px solid var(--border-strong);
    background: var(--surface-solid);
    transition: all 0.3s ease;
}

.pp-checkbox-label:hover {
    border-color: #6366f1;
    background: rgba(99, 102, 241, 0.04);
}

.dark-mode .pp-checkbox-label {
    background: rgba(15, 23, 42, 0.5);
}

.pp-checkbox-label input[type="checkbox"] {
    display: none;
}

.pp-checkmark {
    width: 22px;
    height: 22px;
    border: 2px solid var(--text-muted);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    position: relative;
}

.pp-checkmark::after {
    content: "\f00c";
    /* fa-check */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.7rem;
    color: #fff;
    opacity: 0;
    transform: scale(0);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.pp-checkbox-label input:checked~.pp-checkmark {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.pp-checkbox-label input:checked~.pp-checkmark::after {
    opacity: 1;
    transform: scale(1);
}

/* Button row */
.pp-actions {
    display: flex;
    gap: 12px;
}

/* Buttons */
.pp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border: none;
    border-radius: var(--radius-pill);
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    white-space: nowrap;
}

/* Download button */
.pp-btn-download {
    background: var(--surface-solid);
    color: var(--text-1);
    border: 1px solid var(--border-strong);
    flex-shrink: 0;
}

.pp-btn-download:hover {
    background: var(--surface-3);
    transform: translateY(-1px);
}

.dark-mode .pp-btn-download {
    background: rgba(30, 41, 59, 0.8);
    border-color: rgba(255, 255, 255, 0.1);
}

/* Accept button */
.pp-btn-accept {
    flex: 1;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    position: relative;
    overflow: hidden;
}

.pp-btn-accept::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #818cf8 0%, #a78bfa 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pp-btn-accept:hover:not(:disabled)::before {
    opacity: 1;
}

.pp-btn-accept:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.pp-btn-accept span,
.pp-btn-accept i {
    position: relative;
    z-index: 1;
}

.pp-btn-accept:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    box-shadow: none;
}

/* Extension download button */
.pp-btn-extension {
    width: 100%;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    animation: ppPulse 2s infinite;
}

.pp-btn-extension:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

@keyframes ppPulse {

    0%,
    100% {
        box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    }

    50% {
        box-shadow: 0 4px 25px rgba(16, 185, 129, 0.5);
    }
}

/* Responsive */
@media (max-width: 600px) {
    .pp-modal {
        width: 100%;
        max-height: 98vh;
        border-radius: var(--radius-lg);
    }

    .pp-header {
        padding: 20px 20px 16px;
        gap: 12px;
    }

    .pp-header-icon {
        width: 44px;
        height: 44px;
        border-radius: 12px;
        font-size: 1.2rem;
    }

    .pp-header h2 {
        font-size: 1.25rem;
    }

    .pp-scroll-box {
        padding: 16px 20px;
        max-height: 45vh;
    }

    .pp-section h3 {
        font-size: 0.95rem;
    }

    .pp-section p,
    .pp-section ul li {
        font-size: 0.85rem;
    }

    .pp-footer {
        padding: 16px 20px 20px;
    }

    .pp-checkbox-label {
        font-size: 0.88rem;
        padding: 10px 12px;
    }

    .pp-actions {
        flex-direction: column;
    }

    .pp-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

/* ============================================================
   EXTENSION INSTALL BANNER (replaces small alert-error)
   ============================================================ */
.ext-install-banner {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.06) 0%, rgba(139, 92, 246, 0.06) 100%);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-left: 4px solid #6366f1;
    border-radius: var(--radius-xl);
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.ext-install-inner {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    flex-wrap: wrap;
}

.ext-install-icon-wrap {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.35);
}

.ext-install-left {
    display: flex;
    gap: 1.2rem;
    flex: 1;
    min-width: 260px;
    align-items: flex-start;
}

.ext-install-text h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-1);
    margin: 0 0 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ext-install-text p {
    font-size: 0.9rem;
    color: var(--text-2);
    line-height: 1.65;
    margin: 0 0 0.75rem;
}

.ext-install-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.ext-install-features li {
    font-size: 0.85rem;
    color: var(--text-2);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ext-install-features li i {
    color: #10b981;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.ext-install-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    min-width: 200px;
}

.ext-install-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    text-decoration: none;
    padding: 0.9rem 1.8rem;
    border-radius: var(--radius-pill);
    font-size: 1rem;
    font-weight: 700;
    box-shadow: 0 6px 24px rgba(99, 102, 241, 0.4);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.ext-install-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(99, 102, 241, 0.5);
}

.ext-install-cta i {
    font-size: 1.1rem;
}

.ext-install-meta {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-align: center;
}

.ext-install-steps {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.4rem;
    flex-wrap: wrap;
    justify-content: center;
}

.ext-step {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    color: var(--text-2);
}

.ext-step-num {
    width: 20px;
    height: 20px;
    background: rgba(99, 102, 241, 0.12);
    color: #6366f1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    flex-shrink: 0;
}

.ext-step-arrow {
    font-size: 0.65rem;
    color: var(--text-muted);
}

.dark-mode .ext-install-banner {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-color: rgba(99, 102, 241, 0.35);
}


/* ============================================================
   NO REVIEWS EMPTY STATE
   ============================================================ */
.no-reviews-state {
    text-align: center;
    padding: 3rem 2rem;
}

.no-reviews-icon {
    width: 72px;
    height: 72px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #6366f1;
    margin: 0 auto 1.2rem;
}

.no-reviews-state h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-1);
    margin: 0 0 0.6rem;
}

.no-reviews-state p {
    font-size: 0.92rem;
    color: var(--text-2);
    line-height: 1.7;
    max-width: 480px;
    margin: 0 auto 1.2rem;
}

.no-reviews-hint {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(99, 102, 241, 0.08);
    color: var(--text-2);
    border-radius: var(--radius-pill);
    padding: 0.6rem 1.2rem;
    font-size: 0.82rem;
}

.no-reviews-hint i {
    color: #6366f1;
}

/* ============================================================
   EXTENSION REQUIRED TOP BANNER (homepage)
   ============================================================ */
.ext-top-banner {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    border-radius: var(--radius-xl);
    padding: 0;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 8px 32px rgba(99, 102, 241, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.ext-top-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10% 50%, rgba(255, 255, 255, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 90% 30%, rgba(255, 255, 255, 0.08) 0%, transparent 40%);
    pointer-events: none;
}

.ext-top-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 24px;
    position: relative;
    z-index: 1;
}

.ext-top-banner-left {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    min-width: 0;
}

.ext-top-banner-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #fff;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.ext-top-banner-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.ext-top-banner-text strong {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.01em;
}

.ext-top-banner-text span {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.4;
}

.ext-top-banner-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.ext-top-banner-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #fff;
    color: #6366f1;
    border-radius: var(--radius-pill);
    font-family: 'Outfit', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.ext-top-banner-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    background: #f8f9ff;
}

.ext-top-banner-btn i {
    font-size: 1rem;
}

.ext-top-banner-dismiss {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.ext-top-banner-dismiss:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

/* Animations */
@keyframes extBannerSlideIn {
    from {
        opacity: 0;
        transform: translateY(-16px);
    }

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

@keyframes extBannerSlideOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-16px);
    }
}

/* Dark mode */
.dark-mode .ext-top-banner {
    background: linear-gradient(135deg, #4338ca 0%, #6d28d9 50%, #7c3aed 100%);
    box-shadow:
        0 8px 32px rgba(67, 56, 202, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

.dark-mode .ext-top-banner-btn {
    background: rgba(255, 255, 255, 0.95);
    color: #4338ca;
}

.dark-mode .ext-top-banner-btn:hover {
    background: #fff;
}

/* Responsive */
@media (max-width: 640px) {
    .ext-top-banner-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding: 16px 18px;
    }

    .ext-top-banner-left {
        gap: 12px;
    }

    .ext-top-banner-actions {
        justify-content: space-between;
    }

    .ext-top-banner-btn {
        flex: 1;
        justify-content: center;
    }

    .ext-top-banner-text span {
        font-size: 0.78rem;
    }
}


/* =========================================
   HELP & SUPPORT MODAL
   ========================================= */

.hs-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    animation: hsFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hs-overlay.hs-hidden {
    display: none !important;
}

.hs-overlay.hs-closing {
    animation: hsFadeOut 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes hsFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes hsFadeOut {
    from {
        opacity: 1;
        transform: scale(1);
    }

    to {
        opacity: 0;
        transform: scale(0.96);
    }
}

.hs-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.dark-mode .hs-backdrop {
    background: rgba(0, 0, 0, 0.72);
}

.hs-modal {
    position: relative;
    z-index: 2;
    width: min(460px, 92vw);
    background: var(--surface-solid);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-xl);
    box-shadow:
        0 25px 80px -12px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    overflow: hidden;
    animation: hsSlideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes hsSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.97);
    }

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

.dark-mode .hs-modal {
    background: #1e293b;
    border-color: rgba(255, 255, 255, 0.08);
}

/* Close button */
.hs-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 10px;
    background: var(--surface-2);
    color: var(--text-2);
    font-size: 1rem;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: all 0.2s ease;
    z-index: 3;
}

.hs-close-btn:hover {
    background: var(--surface-3);
    color: var(--text-1);
    transform: rotate(90deg);
}

/* Header */
.hs-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 28px 28px 20px;
    border-bottom: 1px solid var(--border-strong);
}

.hs-header-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.hs-header h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-1);
    margin: 0;
    line-height: 1.3;
}

.hs-subtitle {
    color: var(--text-2);
    font-size: 0.88rem;
    margin-top: 2px;
}

/* Body */
.hs-body {
    padding: 24px 28px 28px;
}

/* Contact card */
.hs-contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    border-radius: var(--radius-lg);
    background: var(--surface-2);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.hs-contact-card:hover {
    border-color: #10b981;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.1);
}

.dark-mode .hs-contact-card:hover {
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.15);
}

.hs-contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
    display: grid;
    place-items: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.dark-mode .hs-contact-icon {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
}

.hs-contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.hs-contact-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hs-email-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #10b981;
    text-decoration: none;
    transition: all 0.2s ease;
    word-break: break-all;
}

.hs-email-link:hover {
    color: #059669;
    text-decoration: underline;
}

.dark-mode .hs-email-link {
    color: #34d399;
}

.dark-mode .hs-email-link:hover {
    color: #6ee7b7;
}

.hs-email-link i {
    font-size: 1rem;
    flex-shrink: 0;
}

/* Send button */
.hs-send-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 1rem;
    text-decoration: none;
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.hs-send-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

/* Info row */
.hs-info-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    background: rgba(16, 185, 129, 0.06);
    border: 1px solid rgba(16, 185, 129, 0.12);
    color: var(--text-2);
    font-size: 0.85rem;
}

.hs-info-row i {
    color: #10b981;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.dark-mode .hs-info-row {
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.15);
}

/* Responsive */
@media (max-width: 480px) {
    .hs-modal {
        width: 100%;
        border-radius: var(--radius-lg);
    }

    .hs-header {
        padding: 20px 20px 16px;
        gap: 12px;
    }

    .hs-header-icon {
        width: 44px;
        height: 44px;
        border-radius: 12px;
        font-size: 1.2rem;
    }

    .hs-header h2 {
        font-size: 1.2rem;
    }

    .hs-body {
        padding: 20px;
    }

    .hs-contact-card {
        flex-wrap: wrap;
        gap: 12px;
    }

    .hs-email-link {
        font-size: 0.85rem;
    }
}