/* ==================== css/styles.css ==================== */
/* Briefcase Pro — Complete Stylesheet with Laptop-Friendly Sizing */

:root {
    --bg-dark: #0a0e17;
    --bg-panel: #111827;
    --bg-card: #1a2234;
    --bg-hover: #1f2b45;
    --border: #2a3a5c;
    --border-light: #3a4a6c;
    --text-primary: #e2e8f0;
    --text-secondary: #a8b5c9;
    --text-muted: #7a8699;
    --accent-gold: #d4a843;
    --accent-gold-hover: #e0b855;
    --accent-blue: #3b82f6;
    --accent-red: #ef4444;
    --accent-green: #10b981;
    --accent-yellow: #f59e0b;
    --accent-orange: #f97316;
    --accent-purple: #8b5cf6;
    --sidebar-width: 280px;
    --titlebar-height: 52px;
    --statusbar-height: 36px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', 'SF Mono', monospace;
}

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

body {
    font-family: var(--font-sans);
    background: #050810;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    overflow: hidden;
    user-select: none;
    -webkit-font-smoothing: antialiased;
    font-size: 15px;
}

/* ==================== Desktop App Window ==================== */
.desktop-window {
    width: 100vw;
    height: 100vh;
    background: var(--bg-dark);
    display: flex;
    flex-direction: column;
    position: relative;
}

/* ==================== Title Bar ==================== */
.titlebar {
    height: var(--titlebar-height);
    background: #0d1117;
    border-bottom: 1px solid #1a2333;
    display: flex;
    align-items: center;
    padding: 0 18px;
    gap: 14px;
    flex-shrink: 0;
}
.titlebar-dots { display: flex; gap: 8px; }
.titlebar-dot {
    width: 14px; height: 14px; border-radius: 50%;
    cursor: pointer; transition: opacity .2s;
}
.titlebar-dot:hover { opacity: .7; }
.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }
.titlebar-title {
    flex: 1; text-align: center; font-size: 15px;
    color: var(--text-secondary); font-weight: 500;
    letter-spacing: .3px;
}
.titlebar-badge {
    font-size: 13px; padding: 5px 12px; border-radius: 20px;
    background: rgba(16,185,129,.15); color: var(--accent-green);
    border: 1px solid rgba(16,185,129,.3);
    font-weight: 600; letter-spacing: .3px;
    transition: all .3s ease;
}
.titlebar-badge.local {
    background: rgba(59,130,246,.15); color: var(--accent-blue);
    border-color: rgba(59,130,246,.3);
}
.titlebar-badge.status-ready {
    background: rgba(16,185,129,.15); color: var(--accent-green);
    border-color: rgba(16,185,129,.3);
}
.titlebar-badge.status-scanning {
    background: rgba(245,158,11,.15); color: var(--accent-yellow);
    border-color: rgba(245,158,11,.3);
    animation: pulse-badge 1s infinite;
}
@keyframes pulse-badge {
    0%, 100% { opacity: 1; }
    50% { opacity: .5; }
}

/* ==================== Layout ==================== */
.app-body { display: flex; flex: 1; overflow: hidden; }

/* ==================== Sidebar ==================== */
.sidebar {
    width: var(--sidebar-width);
    background: var(--bg-panel);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}
.sidebar-header {
    padding: 22px 20px 18px;
    border-bottom: 1px solid var(--border);
}
.sidebar-logo {
    display: flex; align-items: center; gap: 12px;
    font-weight: 700; font-size: 20px; color: var(--text-primary);
    letter-spacing: -.3px;
}
.sidebar-logo-icon {
    width: 38px; height: 38px; border-radius: 10px;
    background: linear-gradient(135deg, #d4a843, #b8860b);
    display: flex; align-items: center; justify-content: center;
    font-size: 19px; color: #fff;
}
.sidebar-logo span { font-weight: 300; color: var(--accent-gold); }
.sidebar-subtitle {
    font-size: 11px; color: var(--text-muted);
    margin-top: 6px; letter-spacing: .8px; font-weight: 500;
}
.sidebar-nav {
    flex: 1; padding: 12px;
    overflow-y: auto;
}
.sidebar-nav::-webkit-scrollbar { width: 6px; }
.sidebar-nav::-webkit-scrollbar-thumb { background: #2a3a5c; border-radius: 6px; }

.nav-item {
    display: flex; align-items: center; gap: 14px;
    padding: 12px 16px; border-radius: var(--radius-sm);
    cursor: pointer; transition: all .15s ease;
    font-size: 15px; color: var(--text-secondary);
    margin-bottom: 4px; position: relative; font-weight: 500;
}
.nav-item:hover { background: var(--bg-hover); color: var(--text-primary); }
.nav-item.active {
    background: rgba(212,168,67,.12);
    color: var(--accent-gold);
    font-weight: 600;
}
.nav-item.active::before {
    content: ''; position: absolute; left: -12px; top: 50%;
    transform: translateY(-50%);
    width: 4px; height: 26px; border-radius: 2px;
    background: var(--accent-gold);
}
.nav-icon { font-size: 20px; width: 24px; text-align: center; }
.nav-badge {
    margin-left: auto; font-size: 11px; padding: 3px 9px;
    border-radius: 12px; background: rgba(239,68,68,.15);
    color: var(--accent-red); font-weight: 700;
}

.sidebar-footer {
    padding: 16px; border-top: 1px solid var(--border);
    font-size: 12px; color: var(--text-muted);
    text-align: center;
}

/* ==================== Main Content ==================== */
.main-content {
    flex: 1;
    overflow-y: auto;
    background: var(--bg-dark);
    padding: 28px 32px;
    position: relative;
}
.main-content::-webkit-scrollbar { width: 8px; }
.main-content::-webkit-scrollbar-thumb { background: #2a3a5c; border-radius: 8px; }
.main-content::-webkit-scrollbar-track { background: transparent; }

h2.page-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}
p.page-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* ==================== Status Bar ==================== */
.statusbar {
    height: var(--statusbar-height);
    background: #0d1117;
    border-top: 1px solid #1a2333;
    display: flex;
    align-items: center;
    padding: 0 20px;
    gap: 22px;
    font-size: 13px; color: var(--text-muted);
    flex-shrink: 0;
}
.statusbar-item { display: flex; align-items: center; gap: 8px; }
.statusbar-dot {
    width: 9px; height: 9px; border-radius: 50%;
    background: var(--accent-green);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .4; }
}

/* ==================== Panels ==================== */
.panel {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 20px;
    transition: border-color .2s ease;
}
.panel-title {
    font-size: 17px; font-weight: 600; color: var(--text-primary);
    margin-bottom: 16px; display: flex; align-items: center; gap: 10px;
}
.panel-title .icon { font-size: 22px; }

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

/* ==================== Buttons ==================== */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 22px; border-radius: var(--radius-sm);
    font-size: 14px; font-weight: 600; cursor: pointer;
    border: 1px solid var(--border);
    background: var(--bg-hover); color: var(--text-primary);
    transition: all .2s ease; text-decoration: none;
    letter-spacing: .2px; font-family: var(--font-sans);
}
.btn:hover { background: #26334f; border-color: var(--border-light); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-gold {
    background: linear-gradient(135deg, #d4a843, #b8860b);
    border-color: transparent; color: #fff;
}
.btn-gold:hover { background: linear-gradient(135deg, #e0b855, #c9971c); }
.btn-sm { padding: 9px 16px; font-size: 13px; }
.btn-lg { padding: 16px 32px; font-size: 16px; font-weight: 700; }
.btn-danger { background: rgba(239,68,68,.12); border-color: rgba(239,68,68,.3); color: var(--accent-red); }
.btn-danger:hover { background: rgba(239,68,68,.2); }
.btn-ghost { background: transparent; border-color: var(--border); color: var(--text-secondary); }
.btn-ghost:hover { background: rgba(255,255,255,.05); color: var(--text-primary); }

/* ==================== Tables ==================== */
.data-table {
    width: 100%; border-collapse: collapse;
    font-size: 14px; border-radius: var(--radius-sm);
    overflow: hidden;
}
.data-table th {
    background: rgba(255,255,255,.04);
    padding: 14px 16px; text-align: left;
    color: var(--text-secondary); font-weight: 600;
    border-bottom: 1px solid var(--border);
    white-space: nowrap; font-size: 13px;
    text-transform: uppercase; letter-spacing: .5px;
}
.data-table td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255,255,255,.04);
    color: var(--text-primary);
    white-space: nowrap; font-size: 14px;
}
.data-table tr:hover td { background: rgba(255,255,255,.02); }
.data-table .flag-red { color: var(--accent-red); font-weight: 700; }
.data-table .flag-yellow { color: var(--accent-yellow); font-weight: 700; }
.data-table .flag-green { color: var(--accent-green); font-weight: 700; }
.data-table .flag-orange { color: var(--accent-orange); font-weight: 700; }
.data-table .cell-ref {
    font-family: var(--font-mono); font-size: 12px;
    background: rgba(255,255,255,.03); padding: 5px 10px;
    border-radius: 6px; cursor: pointer;
    transition: background .2s; display: inline-block;
}
.data-table .cell-ref:hover { background: rgba(212,168,67,.15); }

/* ==================== Badges ==================== */
.badge {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 5px 12px; border-radius: 20px;
    font-size: 12px; font-weight: 700; letter-spacing: .3px;
}
.badge-red { background: rgba(239,68,68,.12); color: #ef4444; border: 1px solid rgba(239,68,68,.3); }
.badge-yellow { background: rgba(245,158,11,.12); color: #f59e0b; border: 1px solid rgba(245,158,11,.3); }
.badge-green { background: rgba(16,185,129,.12); color: #10b981; border: 1px solid rgba(16,185,129,.3); }
.badge-blue { background: rgba(59,130,246,.12); color: #3b82f6; border: 1px solid rgba(59,130,246,.3); }
.badge-gold { background: rgba(212,168,67,.12); color: #d4a843; border: 1px solid rgba(212,168,67,.3); }
.badge-purple { background: rgba(139,92,246,.12); color: #8b5cf6; border: 1px solid rgba(139,92,246,.3); }

/* ==================== Risk Score Display ==================== */
.risk-gauge {
    display: flex; flex-direction: column; align-items: center;
    padding: 24px; text-align: center;
}
.risk-score-number {
    font-size: 76px; font-weight: 800; line-height: 1;
    letter-spacing: -3px;
}
.risk-score-number.green { color: var(--accent-green); }
.risk-score-number.yellow { color: var(--accent-yellow); }
.risk-score-number.orange { color: var(--accent-orange); }
.risk-score-number.red { color: var(--accent-red); }

/* ==================== Spinner ==================== */
.spinner {
    width: 40px; height: 40px; border: 4px solid var(--border);
    border-top-color: var(--accent-gold); border-radius: 50%;
    animation: spin .7s linear infinite;
    margin: 0 auto;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ==================== Modal ==================== */
.modal-overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,.7); z-index: 1000;
    display: flex; align-items: center; justify-content: center;
    backdrop-filter: blur(8px);
    animation: fadeIn .2s ease;
}
.modal {
    background: var(--bg-card); border: 1px solid var(--border-light);
    border-radius: var(--radius-lg); padding: 32px;
    max-width: 700px; width: 90%; max-height: 85vh;
    overflow-y: auto; position: relative;
    animation: slideUp .25s ease;
    font-size: 15px;
}
.modal-close {
    position: absolute; top: 16px; right: 16px;
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,255,255,.06); border: none;
    cursor: pointer; font-size: 18px; color: var(--text-muted);
    display: flex; align-items: center; justify-content: center;
    transition: all .2s;
}
.modal-close:hover { background: rgba(239,68,68,.2); color: var(--accent-red); }

/* ==================== Chart Containers ==================== */
.chart-container {
    position: relative;
    width: 100%;
    height: 340px;
}
.chart-container-lg {
    position: relative;
    width: 100%;
    height: 420px;
}
.chart-container-sm {
    position: relative;
    width: 100%;
    height: 220px;
}
.gauge-container {
    position: relative;
    width: 100%;
    height: 280px;
}

/* ==================== Diff Highlights ==================== */
.diff-changed {
    background: rgba(245,158,11,.15) !important;
    border-left: 3px solid var(--accent-yellow) !important;
}
.diff-removed {
    background: rgba(239,68,68,.1) !important;
    border-left: 3px solid var(--accent-red) !important;
    text-decoration: line-through;
    color: #6b7280 !important;
}
.diff-added {
    background: rgba(16,185,129,.1) !important;
    border-left: 3px solid var(--accent-green) !important;
}

/* ==================== Briefing Card ==================== */
.briefing-card {
    background: linear-gradient(135deg, #1a2234 0%, #111827 100%);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 28px;
    position: relative;
    overflow: hidden;
}
.briefing-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, #d4a843, #ef4444, #3b82f6);
}

/* ==================== Animations ==================== */
@keyframes slideIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}
.slide-in { animation: slideIn .3s ease; }

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.fade-in { animation: fadeIn .25s ease; }

@keyframes slideUp {
    from { opacity: 0; transform: translateY(24px) scale(.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ==================== Toast ==================== */
.toast-container {
    position: fixed; bottom: 56px; right: 32px;
    z-index: 2000; display: flex; flex-direction: column;
    gap: 12px; pointer-events: none;
}
.toast {
    background: var(--bg-card); border: 1px solid var(--border-light);
    border-radius: var(--radius-sm); padding: 16px 22px;
    font-size: 14px; color: var(--text-primary);
    display: flex; align-items: center; gap: 12px;
    animation: slideUp .3s ease;
    pointer-events: auto;
    box-shadow: 0 12px 40px rgba(0,0,0,.5);
    min-width: 300px; font-weight: 500;
}
.toast-success { border-left: 4px solid var(--accent-green); }
.toast-warning { border-left: 4px solid var(--accent-yellow); }
.toast-error { border-left: 4px solid var(--accent-red); }
.toast-info { border-left: 4px solid var(--accent-blue); }

/* ==================== Executive Preview ==================== */
.exec-preview {
    background: #fff; color: #111; border-radius: var(--radius-sm);
    padding: 22px; font-family: var(--font-mono); font-size: 14px;
    overflow: auto; max-height: 400px;
}
.exec-preview table { width: 100%; border-collapse: collapse; }
.exec-preview th, .exec-preview td {
    padding: 10px 14px; border: 1px solid #ddd; text-align: right;
}
.exec-preview th { background: #f0f0f0; font-weight: 600; }

/* ==================== Tone Profile Cards ==================== */
.tone-profile-card {
    padding: 20px; border-radius: var(--radius-md);
    border: 1px solid var(--border); cursor: pointer;
    transition: all .2s ease; text-align: center;
}
.tone-profile-card:hover { border-color: var(--accent-gold); }
.tone-profile-card.selected {
    border-color: var(--accent-gold);
    background: rgba(212,168,67,.08);
}
.tone-profile-card .avatar {
    width: 56px; height: 56px; border-radius: 50%;
    margin: 0 auto 12px; display: flex; align-items: center;
    justify-content: center; font-size: 28px;
    background: rgba(255,255,255,.06);
}

/* ==================== Input Fields ==================== */
.input-field {
    width: 100%; padding: 14px 18px; border-radius: var(--radius-sm);
    border: 1px solid var(--border); background: var(--bg-dark);
    color: var(--text-primary); font-size: 15px; outline: none;
    font-family: var(--font-sans); transition: border-color .2s;
}
.input-field:focus { border-color: var(--accent-gold); }

/* ==================== Progress Bars ==================== */
.progress-bar {
    width: 100%; height: 8px; background: rgba(255,255,255,.05);
    border-radius: 4px; overflow: hidden;
}
.progress-bar-fill {
    height: 100%; border-radius: 4px;
    transition: width .5s ease;
}

/* ==================== Recording Pulse ==================== */
@keyframes recording-pulse {
    0% { box-shadow: 0 0 0 0 rgba(239,68,68,.7); }
    70% { box-shadow: 0 0 0 24px rgba(239,68,68,0); }
    100% { box-shadow: 0 0 0 0 rgba(239,68,68,0); }
}
#micButton.recording { animation: recording-pulse 1.5s infinite; }

/* ==================== Stat Cards with Sparklines ==================== */
.stat-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-md); padding: 20px;
    position: relative; overflow: hidden;
}
.stat-card .stat-label {
    font-size: 12px; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: .6px;
    margin-bottom: 8px;
}
.stat-card .stat-value {
    font-size: 36px; font-weight: 700;
    line-height: 1.1; margin-bottom: 8px;
}
.stat-card .stat-trend {
    font-size: 12px; font-weight: 600;
    display: flex; align-items: center; gap: 6px;
}
.stat-card .sparkline { height: 40px; margin-top: 10px; }

/* ==================== Responsive ==================== */
@media (max-width: 900px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .sidebar { display: none; }
    .main-content { padding: 16px; }
    .data-table { font-size: 13px; }
    .data-table th, .data-table td { padding: 10px 12px; }
}



/* ==================== Buy Banner ==================== */
.buy-banner {
    background: linear-gradient(135deg, rgba(212,168,67,.15), rgba(239,68,68,.08));
    border: 2px solid rgba(212,168,67,.4);
    border-radius: var(--radius-lg);
    padding: 20px 26px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
}
.buy-banner::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212,168,67,.12), transparent);
    animation: shimmer 4s infinite;
}
@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}
.buy-banner-text {
    flex: 1;
    min-width: 280px;
    position: relative;
    z-index: 1;
}
.buy-banner-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.buy-banner-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}
.buy-banner-subtitle strong {
    color: var(--accent-gold);
    font-weight: 700;
}

/* Slow blinking Buy Now button */
.btn-buy-now {
    background: linear-gradient(135deg, #d4a843, #b8860b);
    border: none;
    color: #fff;
    padding: 16px 38px;
    border-radius: var(--radius-sm);
    font-size: 17px;
    font-weight: 800;
    letter-spacing: .8px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 1;
    transition: transform .2s ease, box-shadow .3s ease;
    box-shadow: 0 0 0 0 rgba(212,168,67,.7);
    animation: buyBlink 2.4s ease-in-out infinite;
    text-transform: uppercase;
}
.btn-buy-now:hover {
    transform: scale(1.05);
    animation-play-state: paused;
    box-shadow: 0 0 0 12px rgba(212,168,67,.15);
}
@keyframes buyBlink {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(212,168,67,.7), 0 8px 24px rgba(212,168,67,.3);
        opacity: 1;
    }
    50% {
        box-shadow: 0 0 0 14px rgba(212,168,67,0), 0 8px 24px rgba(212,168,67,.5);
        opacity: .88;
    }
}
.buy-banner-price {
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
    margin-top: 6px;
    letter-spacing: .4px;
}
.buy-banner-price strong {
    color: var(--accent-green);
    font-weight: 700;
}






/* ==================== Custom Scrollbars ==================== */
*::-webkit-scrollbar { width: 8px; height: 8px; }
*::-webkit-scrollbar-thumb { background: #2a3a5c; border-radius: 8px; }
*::-webkit-scrollbar-track { background: transparent; }



/* ==================== GLOBAL BUY BANNER (All Pages) ==================== */
.buy-banner-global {
    background: linear-gradient(90deg, rgba(212,168,67,.12), rgba(239,68,68,.06), rgba(212,168,67,.12));
    border-bottom: 2px solid rgba(212,168,67,.35);
    padding: 14px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}
.buy-banner-global::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212,168,67,.15), transparent);
    animation: shimmer 5s infinite;
    pointer-events: none;
}
@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.buy-banner-global-icon {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: linear-gradient(135deg, #d4a843, #b8860b);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(212,168,67,.35);
    position: relative;
    z-index: 1;
}

.buy-banner-global-text {
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 1;
}
.buy-banner-global-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: .2px;
    margin-bottom: 3px;
}
.buy-banner-global-subtitle {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
}
.buy-banner-global-subtitle strong {
    color: var(--accent-gold);
    font-weight: 700;
}

/* Slow-blinking global Buy Now button */
.btn-buy-now-global {
    background: linear-gradient(135deg, #d4a843, #b8860b);
    border: none;
    color: #fff;
    padding: 13px 28px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .6px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    transition: transform .2s ease;
    animation: buyBlinkGlobal 2.4s ease-in-out infinite;
    text-transform: uppercase;
    white-space: nowrap;
}
.btn-buy-now-global:hover {
    transform: scale(1.05);
    animation-play-state: paused;
}
@keyframes buyBlinkGlobal {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(212,168,67,.7), 0 6px 20px rgba(212,168,67,.3);
        opacity: 1;
    }
    50% {
        box-shadow: 0 0 0 14px rgba(212,168,67,0), 0 6px 20px rgba(212,168,67,.5);
        opacity: .88;
    }
}

/* Responsive: hide subtitle on narrow screens */
@media (max-width: 900px) {
    .buy-banner-global-subtitle { display: none; }
    .buy-banner-global { padding: 12px 16px; gap: 12px; }
    .btn-buy-now-global { padding: 10px 18px; font-size: 13px; }
}
@media (max-width: 600px) {
    .buy-banner-global-text { display: none; }
}


/* ==================== Visit Home Page Button (matches Buy Now style) ==================== */
.btn-visit-home {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: linear-gradient(135deg, #3b82f6, #1e40af) !important;
    border: none !important;
    color: #ffffff !important;
    padding: 13px 28px !important;
    border-radius: var(--radius-sm) !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    letter-spacing: .6px !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    position: relative !important;
    z-index: 1 !important;
    white-space: nowrap !important;
    transition: transform .2s ease, box-shadow .3s ease !important;
    box-shadow: 0 6px 20px rgba(59,130,246,.35) !important;
    font-family: var(--font-sans) !important;
    line-height: 1 !important;
    animation: homeBlink 2.4s ease-in-out infinite !important;
}
.btn-visit-home:hover {
    transform: scale(1.05) !important;
    animation-play-state: paused !important;
    box-shadow: 0 10px 30px rgba(59,130,246,.55) !important;
    color: #ffffff !important;
    text-decoration: none !important;
}
.btn-visit-home:visited,
.btn-visit-home:active,
.btn-visit-home:focus {
    color: #ffffff !important;
    text-decoration: none !important;
    outline: none !important;
}

@keyframes homeBlink {
    0%, 100% {
        box-shadow: 0 6px 20px rgba(59,130,246,.35), 0 0 0 0 rgba(59,130,246,.5);
        opacity: 1;
    }
    50% {
        box-shadow: 0 6px 20px rgba(59,130,246,.35), 0 0 0 12px rgba(59,130,246,0);
        opacity: .9;
    }
}

/* Responsive: collapse text on narrow screens */
@media (max-width: 900px) {
    .btn-visit-home {
        padding: 11px 20px !important;
        font-size: 13px !important;
    }
}
@media (max-width: 600px) {
    .btn-visit-home {
        padding: 10px 14px !important;
        font-size: 12px !important;
    }
}