@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@500;600;700;800&display=swap');

:root {
    /* Base Backgrounds */
    --bg-dark: #050814;
    --bg-darker: #020409;
    --bg-card: rgba(14, 21, 42, 0.82);
    --bg-card-hover: rgba(22, 33, 64, 0.92);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-highlight: rgba(0, 102, 255, 0.3);
    
    /* Text Palette */
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    
    /* TELESALES ASIA Official Brand Palette */
    --brand-blue: #0066ff;
    --brand-cyan: #00d2ff;
    --brand-orange: #ff9f1c;
    --brand-gold: #fbbf24;
    --brand-red: #ef4444;
    --brand-green: #10b981;
    --brand-purple: #8b5cf6;

    /* Legacy Fallback Mappings */
    --accent-blue: #0066ff;
    --accent-cyan: #00d2ff;
    --accent-gold: #fbbf24;
    --accent-green: #10b981;
    --accent-rose: #ef4444;
    --accent-purple: #8b5cf6;
    --border-gold: rgba(251, 191, 36, 0.35);

    /* Luxury High-Energy Gradients */
    --gradient-brand-blue: linear-gradient(135deg, #0066ff 0%, #0284c7 50%, #00d2ff 100%);
    --gradient-surge-orange: linear-gradient(135deg, #ff9f1c 0%, #f59e0b 50%, #ea580c 100%);
    --gradient-call-red: linear-gradient(135deg, #ef4444 0%, #dc2626 50%, #b91c1c 100%);
    --gradient-convert-green: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
    --gradient-gold: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
    --gradient-blue: linear-gradient(135deg, #0066ff 0%, #0284c7 100%);
    --gradient-green: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --gradient-card: linear-gradient(180deg, rgba(17, 26, 51, 0.85) 0%, rgba(10, 16, 32, 0.95) 100%);
    --gradient-header-text: linear-gradient(90deg, #ffffff 0%, #93c5fd 60%, #38bdf8 100%);
    
    /* Dynamic Neon Glowing Shadows */
    --shadow-blue: 0 0 25px rgba(0, 102, 255, 0.3);
    --shadow-gold: 0 0 30px rgba(251, 191, 36, 0.28);
    --shadow-green: 0 0 25px rgba(16, 185, 129, 0.3);
    --shadow-red: 0 0 25px rgba(239, 68, 68, 0.3);
    --shadow-glow: 0 0 25px rgba(0, 102, 255, 0.2);

    /* Radii */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 26px;
    --radius-full: 9999px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    min-height: 100vh;
    padding-bottom: 85px; /* space for bottom nav */
    overflow-x: hidden;
    position: relative;
}

/* Ambient Neon Lights Background (Logo Blue, Gold & Green) */
body::before {
    content: '';
    position: fixed;
    top: -15%;
    left: -15%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.18) 0%, rgba(0, 210, 255, 0.05) 50%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(40px);
}

body::after {
    content: '';
    position: fixed;
    bottom: 5%;
    right: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 159, 28, 0.12) 0%, rgba(16, 185, 129, 0.06) 50%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(50px);
}

.mobile-container {
    max-width: 480px;
    margin: 0 auto;
    padding: 10px 14px;
    position: relative;
    z-index: 1;
}

/* Glassmorphism Luxury Surface */
.glass-card {
    background: var(--gradient-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
    position: relative;
}

/* 🌟 TELESALES ASIA Mobile App Top Bar */
.mobile-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0 12px 0;
}

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

.brand-logo-img {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid rgba(0, 102, 255, 0.4);
    box-shadow: var(--shadow-blue);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    background: #000;
}

.brand-wrapper:hover .brand-logo-img {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.6);
}

.brand-text h1 {
    font-size: 1.15rem;
    font-weight: 900;
    letter-spacing: -0.3px;
    background: var(--gradient-header-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
    display: flex;
    align-items: center;
    gap: 4px;
}

.brand-text p {
    font-size: 0.68rem;
    color: var(--brand-orange);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.timer-badge {
    background: rgba(251, 191, 36, 0.15);
    border: 1px solid rgba(251, 191, 36, 0.4);
    color: var(--accent-gold);
    padding: 5px 10px;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    animation: pulseGlow 2s infinite ease-in-out;
}

.auth-badge {
    background: rgba(0, 102, 255, 0.18);
    border: 1px solid rgba(0, 102, 255, 0.4);
    color: #93c5fd;
    padding: 5px 11px;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s;
}

.auth-badge.logged-in {
    background: rgba(16, 185, 129, 0.18);
    border-color: rgba(16, 185, 129, 0.45);
    color: var(--accent-green);
}

.badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
}
.badge-dot.green { background: var(--accent-green); box-shadow: 0 0 8px var(--accent-green); }

/* 🚀 Signature Slogan Trust Strip (CONNECT | CALL | CONVERT) */
.slogan-strip {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 6px;
    margin-bottom: 12px;
}

.slogan-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 6px 4px;
    border-radius: var(--radius-sm);
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid transparent;
    transition: transform 0.2s;
}
.slogan-badge:active { transform: scale(0.97); }

.slogan-badge.connect {
    background: rgba(0, 102, 255, 0.15);
    border-color: rgba(0, 102, 255, 0.35);
    color: #60a5fa;
}

.slogan-badge.call {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.35);
    color: #f87171;
}

.slogan-badge.convert {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.35);
    color: #34d399;
}

/* Live Counter Banner */
.stats-banner {
    background: linear-gradient(90deg, rgba(0, 102, 255, 0.15) 0%, rgba(255, 159, 28, 0.12) 50%, rgba(16, 185, 129, 0.15) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.stats-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pulse-dot {
    width: 9px;
    height: 9px;
    background: var(--accent-green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-green);
    animation: pulse 1.5s infinite;
}

.stats-text {
    font-size: 0.78rem;
    color: var(--text-muted);
}
.stats-text strong {
    color: #ffffff;
    font-weight: 800;
}

.unlock-all-btn {
    background: var(--gradient-surge-orange);
    color: #ffffff;
    border: none;
    padding: 7px 13px;
    border-radius: var(--radius-full);
    font-size: 0.74rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 159, 28, 0.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: transform 0.2s, box-shadow 0.2s;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}
.unlock-all-btn:active { transform: scale(0.96); }

/* Search Bar */
.search-wrapper {
    position: relative;
    margin-bottom: 12px;
}

.search-input {
    width: 100%;
    background: rgba(14, 21, 42, 0.95);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 13px 45px 13px 42px;
    color: var(--text-main);
    font-size: 0.9rem;
    outline: none;
    transition: all 0.2s;
}

.search-input:focus {
    border-color: var(--brand-blue);
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.3);
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-dim);
    font-size: 0.95rem;
}

.filter-sheet-trigger {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: var(--text-main);
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: background 0.2s;
}
.filter-sheet-trigger:hover { background: rgba(0, 102, 255, 0.25); color: #fff; }

/* Filter Pills Carousel */
.pills-carousel {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 10px;
    margin-bottom: 14px;
    scrollbar-width: none;
}
.pills-carousel::-webkit-scrollbar { display: none; }

.filter-pill {
    flex-shrink: 0;
    padding: 7px 14px;
    border-radius: var(--radius-full);
    background: rgba(18, 27, 52, 0.7);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.76rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.filter-pill.active {
    background: var(--gradient-brand-blue);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.4);
}

/* 🏢 High-Converting Luxury Company Card */
.company-card {
    padding: 16px;
    margin-bottom: 14px;
    transition: transform 0.2s, box-shadow 0.2s;
    border-left: 3px solid var(--brand-blue);
}

.company-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55);
}

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

.header-left {
    display: flex;
    gap: 6px;
    align-items: center;
}

.category-pill {
    background: rgba(0, 102, 255, 0.15);
    color: #60a5fa;
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    font-weight: 800;
}

.year-pill {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    font-weight: 600;
}

.score-badge {
    background: rgba(255, 159, 28, 0.15);
    border: 1px solid rgba(255, 159, 28, 0.35);
    color: var(--brand-orange);
    padding: 3px 9px;
    border-radius: var(--radius-full);
    font-size: 0.74rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 4px;
}

.company-name {
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 6px;
    color: #ffffff;
}

.cin-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.cin-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: var(--text-dim);
}

.verified-tag {
    color: var(--brand-green);
    font-size: 0.72rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Meta Grid */
.meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    background: rgba(0, 0, 0, 0.3);
    padding: 10px;
    border-radius: var(--radius-md);
    margin-bottom: 10px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.meta-item {
    display: flex;
    flex-direction: column;
}

.meta-label {
    font-size: 0.66rem;
    color: var(--text-dim);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 2px;
}

.meta-val {
    font-size: 0.8rem;
    color: var(--text-main);
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.director-name { color: #f1f5f9; }
.sector-tag { color: var(--brand-cyan); }
.turnover-tag { color: var(--brand-gold); }

/* Capital Box */
.capital-box {
    display: flex;
    justify-content: space-between;
    padding: 8px 12px;
    background: rgba(0, 102, 255, 0.06);
    border: 1px dashed rgba(0, 102, 255, 0.25);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
}

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

.cap-lbl {
    font-size: 0.65rem;
    color: var(--text-dim);
    font-weight: 600;
}

.cap-num {
    font-size: 0.85rem;
    font-weight: 800;
    color: #60a5fa;
    font-family: 'JetBrains Mono', monospace;
}

/* 🎯 High-Converting Unlocked Contact & Action System */
.contact-box {
    position: relative;
    padding: 12px 14px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.contact-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-box.masked .contact-row {
    filter: blur(5px);
    user-select: none;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-family: 'JetBrains Mono', monospace;
}

/* 1-Tap Telesales Action Buttons (Connect • Call • Convert) */
.unlocked-actions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.action-cta-btn {
    padding: 8px 6px;
    border-radius: var(--radius-sm);
    font-size: 0.72rem;
    font-weight: 800;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: center;
    border: none;
    cursor: pointer;
}
.action-cta-btn:active { transform: scale(0.96); }

.action-cta-btn.call-btn {
    background: var(--gradient-call-red);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.35);
}

.action-cta-btn.wa-btn {
    background: var(--gradient-convert-green);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}

.action-cta-btn.email-btn {
    background: var(--gradient-brand-blue);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.35);
}

/* Unlock Overlay for Masked Cards */
.unlock-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 16, 32, 0.82);
    backdrop-filter: blur(3px);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--brand-orange);
    border: 1px solid rgba(255, 159, 28, 0.45);
    box-shadow: inset 0 0 20px rgba(255, 159, 28, 0.15);
    transition: all 0.2s;
}

.unlock-overlay:hover {
    background: rgba(10, 16, 32, 0.92);
    border-color: var(--brand-orange);
}

.location-row {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 0.74rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Infinite Scroll Loader */
.cards-loader {
    text-align: center;
    padding: 20px 0;
}

.spinner {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--brand-blue);
    border-radius: 50%;
    margin: 0 auto 8px auto;
    animation: spin 0.8s linear infinite;
}

.load-more-btn {
    width: 100%;
    padding: 13px;
    background: rgba(18, 27, 52, 0.8);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    border-radius: var(--radius-md);
    font-weight: 800;
    font-size: 0.88rem;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.2s;
}
.load-more-btn:hover { background: rgba(0, 102, 255, 0.2); border-color: var(--brand-blue); }

/* Native Bottom Navigation Bar */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(5, 8, 20, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-around;
    padding: 8px 0 12px 0;
    z-index: 99;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.68rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.nav-item i { font-size: 1.15rem; }

.nav-item.active, .nav-item:hover {
    color: #60a5fa;
}

.nav-item.offer-tab {
    color: var(--brand-orange);
}

/* Modals & Bottom Sheets */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: flex-end;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.bottom-sheet {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    background: #090e1f;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 28px 28px 0 0;
    padding: 20px 20px 30px 20px;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-backdrop.active .bottom-sheet {
    transform: translateY(0);
}

.sheet-handle {
    width: 45px;
    height: 5px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    margin: 0 auto 16px auto;
}

/* MPIN Tactile Keypad */
.mpin-card {
    text-align: center;
}

.device-badge-box {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: var(--accent-green);
    padding: 5px 12px;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.pin-dots {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin: 20px 0 25px 0;
}

.pin-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    background: transparent;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pin-dot.filled {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
    box-shadow: 0 0 14px var(--brand-blue);
    transform: scale(1.2);
}

.mpin-keypad {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    max-width: 280px;
    margin: 0 auto 20px auto;
}

.mpin-key {
    height: 55px;
    background: rgba(20, 30, 60, 0.7);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    color: #fff;
    font-size: 1.35rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
}

.mpin-key:active {
    background: var(--brand-blue);
    color: #fff;
    transform: scale(0.92);
}

/* 40s VIP Offer Modal */
.offer-box {
    text-align: center;
    border: 2px solid var(--brand-orange);
    border-radius: var(--radius-lg);
    padding: 20px 16px;
    background: radial-gradient(circle at top, rgba(255, 159, 28, 0.18) 0%, rgba(9, 14, 31, 0.98) 75%);
    box-shadow: var(--shadow-gold);
}

.offer-ribbon {
    display: inline-block;
    background: var(--gradient-surge-orange);
    color: #ffffff;
    padding: 4px 14px;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.offer-heading {
    font-size: 1.25rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 6px;
}

.counter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 102, 255, 0.18);
    color: #93c5fd;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.price-row {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 16px;
}

.old-price {
    font-size: 1rem;
    color: var(--text-dim);
    text-decoration: line-through;
}

.deal-price {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--brand-orange);
    font-family: 'JetBrains Mono', monospace;
}

.discount-tag {
    background: var(--brand-red);
    color: #fff;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    font-size: 0.72rem;
    font-weight: 800;
}

.qr-wrapper {
    background: #ffffff;
    padding: 10px;
    border-radius: var(--radius-md);
    display: inline-block;
    margin-bottom: 14px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.qr-wrapper img {
    display: block;
    width: 170px;
    height: 170px;
}

.pay-buttons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 16px;
}

.pay-btn {
    padding: 11px;
    border-radius: var(--radius-md);
    font-size: 0.82rem;
    font-weight: 800;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: transform 0.2s;
}

.pay-btn:active { transform: scale(0.96); }

.pay-btn.gpay { background: #1a73e8; color: #fff; }
.pay-btn.phonepe { background: #5f259f; color: #fff; }
.pay-btn.paytm { background: #00baf2; color: #000; }
.pay-btn.bhim { background: #008080; color: #fff; }

/* Action Buttons (General Utility) */
.btn-easy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 800;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    text-decoration: none;
}
.btn-easy:active { transform: scale(0.97); }

.btn-blue-easy {
    background: var(--gradient-brand-blue);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.35);
}

.btn-gold-easy {
    background: var(--gradient-surge-orange);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 159, 28, 0.35);
}

.btn-green-easy {
    background: var(--gradient-convert-green);
    color: #fff;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.35);
}

.btn-red-easy {
    background: var(--gradient-call-red);
    color: #fff;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.35);
}

.btn-mob-act {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: var(--radius-md);
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    transition: all 0.2s;
}
.btn-mob-act:hover { background: rgba(0, 102, 255, 0.2); }

/* Status Badges */
.status-badge {
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.status-active { background: rgba(16, 185, 129, 0.18); color: var(--brand-green); border: 1px solid rgba(16, 185, 129, 0.3); }
.status-hold { background: rgba(255, 159, 28, 0.18); color: var(--brand-orange); border: 1px solid rgba(255, 159, 28, 0.3); }
.status-block { background: rgba(239, 68, 68, 0.18); color: var(--brand-red); border: 1px solid rgba(239, 68, 68, 0.3); }

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99999;
    width: 90%;
    max-width: 400px;
}

.toast-item {
    background: rgba(9, 14, 31, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 16px;
    border-radius: var(--radius-md);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    animation: slideDown 0.3s ease;
}

.toast-success { border-left: 4px solid var(--brand-green); }
.toast-error { border-left: 4px solid var(--brand-red); }
.toast-warning { border-left: 4px solid var(--brand-orange); }
.toast-info { border-left: 4px solid var(--brand-blue); }

/* Keyframe Animations */
@keyframes spin { 100% { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.85); } }
@keyframes pulseGlow { 0%, 100% { box-shadow: 0 0 6px rgba(255, 159, 28, 0.2); } 50% { box-shadow: 0 0 18px rgba(255, 159, 28, 0.45); } }
@keyframes slideDown { from { transform: translateY(-20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.shake-anim { animation: shake 0.4s ease-in-out; }
@keyframes shake { 0%, 100% { transform: translateX(0); } 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }

/* Helpers */
.text-gold { color: var(--brand-gold); }
.text-orange { color: var(--brand-orange); }
.text-green { color: var(--brand-green); }
.text-cyan { color: var(--brand-cyan); }
.text-rose { color: var(--brand-red); }
.text-blue { color: #60a5fa; }
.font-mono { font-family: 'JetBrains Mono', monospace; }

/* ==========================================================================
   DOWNLOADS PORTAL - MODERN LUXURY BATCH ENGINE STYLES
   ========================================================================== */
.download-hero-card {
    background: linear-gradient(145deg, rgba(255, 159, 28, 0.12) 0%, rgba(14, 21, 42, 0.95) 60%, rgba(8, 12, 26, 0.98) 100%);
    border: 1px solid rgba(255, 159, 28, 0.35);
    border-radius: var(--radius-xl);
    padding: 18px 16px;
    margin-bottom: 20px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(255, 159, 28, 0.12);
    position: relative;
    overflow: hidden;
}

.download-hero-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(255, 159, 28, 0.25) 0%, transparent 70%);
    pointer-events: none;
}

.download-hero-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.quota-avatar-box {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(0, 102, 255, 0.15);
    border: 1.5px solid rgba(0, 102, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    box-shadow: 0 0 15px rgba(0, 102, 255, 0.3);
}

.quota-avatar-box.is-vip {
    background: rgba(255, 159, 28, 0.18);
    border-color: var(--brand-gold);
    box-shadow: 0 0 20px rgba(255, 159, 28, 0.35);
}

.quota-badge-pill {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 4px;
}

.quota-badge-pill.vip-active {
    background: rgba(16, 185, 129, 0.2);
    color: var(--brand-green);
    border: 1px solid rgba(16, 185, 129, 0.4);
}

.quota-badge-pill.locked {
    background: rgba(255, 159, 28, 0.2);
    color: var(--brand-orange);
    border: 1px solid rgba(255, 159, 28, 0.4);
}

.quota-user-name {
    font-size: 1.05rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.2;
}

.quota-user-sub {
    font-size: 0.7rem;
    color: var(--text-dim);
    margin-top: 2px;
}

.quota-count-box {
    text-align: center;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 6px 12px;
    border-radius: var(--radius-md);
}

.quota-big-num {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.45rem;
    font-weight: 900;
    line-height: 1;
}

.quota-big-num.avail { color: var(--brand-green); text-shadow: 0 0 12px rgba(16, 185, 129, 0.4); }
.quota-big-num.used { color: var(--brand-red); }

.quota-lbl {
    font-size: 0.62rem;
    font-weight: 700;
    color: var(--text-dim);
    text-transform: uppercase;
}

.quota-meter-wrapper {
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    margin-bottom: 12px;
}

.quota-meter-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-main);
}

.quota-progress-track {
    height: 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 8px;
}

.quota-progress-bar {
    height: 100%;
    border-radius: 999px;
    transition: width 0.4s ease;
}

.quota-info-footer {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    font-size: 0.72rem;
    color: #cbd5e1;
    line-height: 1.4;
}

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

.quota-stat-item {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-sm);
    padding: 8px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.quota-stat-item i {
    font-size: 1.1rem;
}

.quota-stat-item strong {
    display: block;
    font-size: 0.8rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
}

.quota-stat-item span {
    font-size: 0.62rem;
    color: var(--text-dim);
}

.batches-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.section-icon-pill {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: rgba(0, 102, 255, 0.15);
    border: 1px solid rgba(0, 102, 255, 0.3);
    color: #60a5fa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.total-records-chip {
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--brand-green);
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 5px 10px;
    border-radius: var(--radius-full);
}

/* 10 Batch Cards */
.batches-container {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
}

.batch-card {
    background: linear-gradient(180deg, rgba(17, 26, 51, 0.9) 0%, rgba(9, 14, 30, 0.95) 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 16px 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}

.batch-card:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 102, 255, 0.4);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.55), 0 0 20px rgba(0, 102, 255, 0.15);
}

.batch-card.is-available {
    border-color: rgba(255, 159, 28, 0.35);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 0 0 15px rgba(255, 159, 28, 0.1);
}

.batch-card.is-downloaded {
    border-color: rgba(16, 185, 129, 0.4);
}

.batch-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.batch-num-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    font-weight: 900;
    color: #93c5fd;
    background: rgba(0, 102, 255, 0.2);
    border: 1px solid rgba(0, 102, 255, 0.35);
    padding: 3px 9px;
    border-radius: var(--radius-full);
    letter-spacing: 0.5px;
}

.batch-size-pill {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--text-dim);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 3px 8px;
    border-radius: var(--radius-full);
}

.batch-status-badge {
    font-size: 0.68rem;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.batch-status-badge.downloaded {
    background: rgba(16, 185, 129, 0.2);
    color: var(--brand-green);
    border: 1px solid rgba(16, 185, 129, 0.4);
}

.batch-status-badge.available {
    background: rgba(255, 159, 28, 0.2);
    color: var(--brand-orange);
    border: 1px solid rgba(255, 159, 28, 0.4);
}

.batch-status-badge.locked {
    background: rgba(148, 163, 184, 0.12);
    color: var(--text-dim);
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.batch-body {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.batch-icon-container {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.batch-content {
    flex: 1;
}

.batch-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 3px;
}

.batch-category-text {
    font-size: 0.72rem;
    color: var(--brand-orange);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
}

.batch-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 10px 12px;
    margin-bottom: 14px;
}

.batch-meta-item {
    font-size: 0.72rem;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 6px;
}

.batch-meta-item strong {
    color: #fff;
}

.batch-action-wrap {
    width: 100%;
}

.batch-cta-btn {
    width: 100%;
    padding: 12px;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.batch-cta-btn:active { transform: scale(0.97); }

.batch-cta-btn.download-active-cta {
    background: var(--gradient-surge-orange);
    color: #000;
    box-shadow: 0 4px 18px rgba(255, 159, 28, 0.4);
}

.batch-cta-btn.download-active-cta:hover {
    box-shadow: 0 6px 25px rgba(255, 159, 28, 0.6);
}

.batch-cta-btn.unlock-cta {
    background: var(--gradient-gold);
    color: #000;
    box-shadow: 0 4px 18px rgba(251, 191, 36, 0.35);
}

.batch-cta-btn.register-cta {
    background: var(--gradient-brand-blue);
    color: #fff;
    box-shadow: 0 4px 18px rgba(0, 102, 255, 0.35);
}

.batch-cta-btn.downloaded-cta {
    background: rgba(16, 185, 129, 0.15);
    color: var(--brand-green);
    border: 1px solid rgba(16, 185, 129, 0.35);
    cursor: default;
}

.batch-cta-btn.locked-tomorrow-cta {
    background: rgba(30, 41, 59, 0.5);
    color: var(--text-dim);
    border: 1px solid var(--border-color);
    cursor: default;
}

/* Trust Guarantee Bottom Strip */
.download-trust-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 24px;
}

.trust-micro-card {
    background: rgba(14, 21, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: 10px 8px;
    text-align: center;
}

.trust-micro-card i {
    font-size: 1.2rem;
    margin-bottom: 5px;
    display: inline-block;
}

.trust-micro-card strong {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 2px;
}

.trust-micro-card span {
    display: block;
    font-size: 0.62rem;
    color: var(--text-dim);
    line-height: 1.2;
}

