/* ============================================
   Comms AI — Light Theme Design System
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --bg: #f7f8fa;
    --white: #ffffff;
    --hover: #f3f4f6;
    --border: #e5e7eb;
    --border-dark: #d1d5db;
    --text: #111827;
    --text-sub: #4b5563;
    --text-muted: #9ca3af;

    --accent: #7c3aed;
    --accent-dark: #6d28d9;
    --accent-bg: #f5f3ff;
    --accent-border: #ddd6fe;

    --red: #dc2626;
    --red-bg: #fef2f2;
    --red-border: #fecaca;
    --amber: #d97706;
    --amber-bg: #fffbeb;
    --amber-border: #fde68a;
    --green: #059669;
    --green-bg: #ecfdf5;
    --green-border: #a7f3d0;

    --shadow-xs: 0 1px 2px rgb(0 0 0 / 0.04);
    --shadow-sm: 0 1px 3px rgb(0 0 0 / 0.06), 0 1px 2px -1px rgb(0 0 0 / 0.06);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.07), 0 2px 4px -2px rgb(0 0 0 / 0.05);
    --shadow-lg: 0 10px 25px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.04);

    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
}

*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ---- Sidebar ---- */
.sidebar {
    background: var(--white);
    border-right: 1px solid var(--border);
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-sub);
    text-decoration: none;
    transition: all 0.15s ease;
}

.nav-link:hover {
    background: var(--hover);
    color: var(--text);
    transform: scale(1.02);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.15);
}

.nav-link.active {
    background: var(--accent-bg);
    color: var(--accent);
    font-weight: 600;
}

.nav-link.active i { color: var(--accent); }

.nav-link:active {
    transform: scale(0.97);
}

/* ---- Card ---- */
.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-xs);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover { box-shadow: var(--shadow-sm); }

.card-interactive {
    cursor: pointer;
    transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.card-interactive:hover {
    border-color: var(--accent-border);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

/* ---- Buttons ---- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.15s ease;
    box-shadow: 0 1px 3px rgba(124, 58, 237, 0.25);
    line-height: 1;
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.btn-primary:active {
    transform: scale(0.95);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--white);
    color: var(--text-sub);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.15s ease;
    line-height: 1;
}

.btn-secondary:hover {
    background: var(--hover);
    color: var(--text);
    border-color: var(--border-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:active {
    transform: scale(0.95);
}

/* ---- Form Inputs ---- */
.form-input {
    width: 100%;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

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

.form-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.08);
}

.form-input:hover:not(:focus) {
    border-color: var(--border-dark);
    background: var(--hover);
}

/* ---- Badges ---- */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.badge-accent { background: var(--accent-bg); color: var(--accent); }
.badge-red { background: var(--red-bg); color: var(--red); }
.badge-amber { background: var(--amber-bg); color: var(--amber); }
.badge-green { background: var(--green-bg); color: var(--green); }

/* ---- Industry Chips ---- */
.industry-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--text-sub);
    cursor: pointer;
    transition: all 0.15s ease;
}

.industry-chip:hover {
    border-color: var(--accent-border);
    color: var(--accent);
    background: var(--accent-bg);
}

.industry-chip.active {
    border-color: var(--accent);
    background: var(--accent);
    color: #fff;
}

/* ---- Filter Chips ---- */
.filter-chip {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--text-sub);
    cursor: pointer;
    transition: all 0.15s ease;
}

.filter-chip:hover { background: var(--hover); }

.filter-chip.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

/* ---- Preset Card ---- */
.preset-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--white);
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    width: 100%;
}

.preset-card:hover {
    border-color: var(--accent-border);
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.06);
    transform: translateY(-1px);
}

/* ---- Follow-Up Tabs ---- */
.follow-tab {
    flex: 1;
    padding: 10px 0;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: all 0.15s ease;
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
}

.follow-tab:hover { color: var(--text-sub); }

.follow-tab.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

/* ---- Task Row ---- */
.task-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--white);
    transition: all 0.15s ease;
}

.task-row:hover {
    border-color: var(--accent-border);
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
}

.task-row:active {
    transform: translateY(0) scale(0.99);
}

/* ---- History Card ---- */
.history-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    border-left: 3px solid var(--border);
    background: var(--white);
    cursor: pointer;
    transition: all 0.2s ease;
}

.history-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-left-color: var(--accent);
}

.history-card:active {
    transform: translateY(0) scale(0.98);
}

/* ---- Stat Card ---- */
.stat-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--white);
    box-shadow: var(--shadow-xs);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-md);
}

.stat-card:active {
    transform: scale(0.97);
}

/* ---- Animations ---- */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.animate-fade-in { animation: fadeUp 0.35s ease-out; }

@keyframes progressSlide {
    0%   { left: -35%; }
    100% { left: 100%; }
}

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

.animate-spin { animation: spin 0.8s linear infinite; }

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #9ca3af; }

/* ---- Utility ---- */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================
   Comms AI — Dark Theme Override System
   ============================================ */
.dark {
    --bg: #090d16;
    --white: #111827;
    --hover: #1f2937;
    --border: #1f2937;
    --border-dark: #374151;
    --text: #f9fafb;
    --text-sub: #d1d5db;
    --text-muted: #6b7280;

    --accent: #8b5cf6;
    --accent-dark: #7c3aed;
    --accent-bg: #2e1d52;
    --accent-border: #4c2f8c;

    --red: #f87171;
    --red-bg: #2d1818;
    --red-border: #4a1d1d;
    --amber: #fbbf24;
    --amber-bg: #2d2315;
    --amber-border: #4a341a;
    --green: #34d399;
    --green-bg: #142a22;
    --green-border: #1a4d3b;
}

/* Transition only active during theme switching */
body.theme-transitioning, 
body.theme-transitioning aside, 
body.theme-transitioning main, 
body.theme-transitioning header, 
body.theme-transitioning .card, 
body.theme-transitioning .btn-primary, 
body.theme-transitioning .btn-secondary, 
body.theme-transitioning .form-input, 
body.theme-transitioning .nav-link, 
body.theme-transitioning .preset-card, 
body.theme-transitioning .task-row, 
body.theme-transitioning .history-card, 
body.theme-transitioning .stat-card, 
body.theme-transitioning h1, 
body.theme-transitioning h2, 
body.theme-transitioning h3, 
body.theme-transitioning h4, 
body.theme-transitioning p, 
body.theme-transitioning span, 
body.theme-transitioning i, 
body.theme-transitioning label {
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease !important;
}

/* ============================================
   Comms AI — Premium Landing & Voice Sphere Styles
   ============================================ */

/* Glowing Background Blobs */
.glow-blob-left {
    position: absolute;
    top: 10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.06) 0%, rgba(59, 130, 246, 0.03) 50%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
    z-index: 0;
}

.glow-blob-right {
    position: absolute;
    top: 25%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.06) 0%, rgba(96, 165, 250, 0.03) 50%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
    z-index: 0;
}

/* Horizontal Transcripts Floating Area (No box border) */
.wave-signal-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 180px;
    margin: 0 auto;
    overflow: visible; /* Let pills float nicely outside bounds */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    background: transparent;
    border: none;
    box-shadow: none;
}

.wave-grid-line {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: linear-gradient(90deg, rgba(139, 92, 246, 0) 0%, rgba(139, 92, 246, 0.25) 20%, rgba(139, 92, 246, 0.25) 80%, rgba(139, 92, 246, 0) 100%);
    z-index: 1;
}

.floating-transcript-pill {
    position: absolute;
    white-space: nowrap;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    z-index: 5;
    animation: float-left-to-right 11s infinite linear;
    opacity: 0;
}

/* Custom timings and offsets for each pill to simulate a flowing stream */
.pill-1 {
    animation-delay: 0s;
    animation-duration: 9.5s;
    top: 18%;
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}
.pill-2 {
    animation-delay: 2.2s;
    animation-duration: 8.5s;
    top: 38%;
    background: rgba(139, 92, 246, 0.08);
    color: #7c3aed;
    border: 1px solid rgba(139, 92, 246, 0.15);
}
.pill-3 {
    animation-delay: 4.4s;
    animation-duration: 10.5s;
    top: 12%;
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
}
.pill-4 {
    animation-delay: 6.6s;
    animation-duration: 9s;
    top: 60%;
    background: #fffbeb;
    color: #d97706;
    border: 1px solid #fde68a;
}
.pill-5 {
    animation-delay: 8.8s;
    animation-duration: 7.5s;
    top: 32%;
    background: #e0f2fe;
    color: #0284c7;
    border: 1px solid #bae6fd;
}

@keyframes float-left-to-right {
    0% {
        transform: translateX(-150px) translateY(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    85% {
        opacity: 1;
    }
    100% {
        transform: translateX(650px) translateY(-10px);
        opacity: 0;
    }
}

/* Integrations 4-Node Layout */
.integrations-wrapper-4 {
    position: relative;
    width: 280px;
    height: 280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.integration-center {
    font-weight: 800;
    font-size: 15px;
    color: #1e293b;
    background: #ffffff;
    padding: 12px 20px;
    border-radius: 30px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 6px;
}

.integration-node {
    position: absolute;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
}

.integration-node:hover {
    transform: scale(1.1);
    border-color: #8b5cf6;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.15);
}

/* 4-Node Positions (Diamond) */
.node-4-1 { transform: rotate(0deg) translate(95px) rotate(0deg); }
.node-4-2 { transform: rotate(90deg) translate(95px) rotate(-90deg); }
.node-4-3 { transform: rotate(180deg) translate(95px) rotate(-180deg); }
.node-4-4 { transform: rotate(270deg) translate(95px) rotate(-270deg); }/* Widescreen Audio Wave Background Canvas */
#voice-wave-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1; /* Sits behind text and form elements, above background blobs */
}

/* Floating Background Icons */
.floating-bg-icon {
    position: absolute;
    pointer-events: none;
    opacity: 0.12;
    z-index: 0;
    animation: float-slow 6s infinite ease-in-out alternate;
    transition: opacity 0.3s ease;
}
.floating-bg-icon:hover {
    opacity: 0.25;
}
.icon-sheets { top: 15%; left: 6%; font-size: 34px; color: #10b981; animation-delay: 0s; }
.icon-whatsapp { top: 65%; left: 4%; font-size: 30px; color: #10b981; animation-delay: 1.5s; }
.icon-brain { top: 20%; right: 8%; font-size: 38px; color: #8b5cf6; animation-delay: 3s; }
.icon-trophy { top: 60%; right: 5%; font-size: 36px; color: #fbbf24; animation-delay: 4.5s; }

@keyframes float-slow {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-16px) rotate(8deg); }
}

/* Voice Intelligence Globe & Pulse */
.voice-globe-wrapper {
    position: relative;
    width: 340px;
    height: 340px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.voice-globe-outer-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.18) 0%, rgba(59, 130, 246, 0.06) 50%, rgba(255, 255, 255, 0) 72%);
    filter: blur(8px);
    animation: globe-pulse 3s infinite ease-in-out alternate;
    pointer-events: none;
}

.voice-globe-ring {
    position: absolute;
    border-radius: 50%;
    border: 1.5px solid rgba(139, 92, 246, 0.12);
    pointer-events: none;
    animation: globe-ring-expand 4.5s infinite linear;
}
.voice-globe-ring:nth-child(2) {
    animation-delay: 1.5s;
}
.voice-globe-ring:nth-child(3) {
    animation-delay: 3s;
}

.voice-globe-orb {
    position: absolute;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #ffffff 0%, #f5f7ff 35%, #e0e7ff 70%, #c7d2fe 100%);
    box-shadow: 
        inset -12px -12px 35px rgba(99, 102, 241, 0.28),
        inset 12px 12px 30px rgba(255, 255, 255, 0.9),
        0 20px 40px rgba(99, 102, 241, 0.18),
        0 0 60px rgba(139, 92, 246, 0.25);
    z-index: 5;
    animation: orb-float 5s infinite ease-in-out alternate;
}

.voice-globe-listening-indicator {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #8b5cf6;
    border: 3px solid #ffffff;
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.8);
    top: 25%;
    right: 25%;
    z-index: 10;
    animation: listening-ping 1.5s infinite ease-in-out;
}

/* Floating live transcripts around the globe */
.globe-transcribing-text {
    position: absolute;
    font-size: 10px;
    font-weight: 700;
    color: #6d28d9;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(139, 92, 246, 0.25);
    padding: 5px 10px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.08);
    white-space: nowrap;
    z-index: 8;
    pointer-events: none;
    opacity: 0;
    animation: transcript-float 7s infinite ease-in-out;
}
.text-node-1 { animation-delay: 0s; top: 12%; left: -5%; }
.text-node-2 { animation-delay: 1.8s; top: 78%; left: -2%; }
.text-node-3 { animation-delay: 3.6s; top: 22%; right: -5%; }
.text-node-4 { animation-delay: 5.4s; top: 72%; right: -2%; }

@keyframes globe-pulse {
    0% { transform: scale(0.92); opacity: 0.65; }
    100% { transform: scale(1.08); opacity: 1; }
}

@keyframes globe-ring-expand {
    0% {
        width: 170px;
        height: 170px;
        opacity: 0.9;
    }
    100% {
        width: 340px;
        height: 340px;
        opacity: 0;
    }
}

@keyframes orb-float {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-10px) rotate(4deg); }
}

@keyframes listening-ping {
    0% { transform: scale(0.8); opacity: 0.7; }
    50% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(0.8); opacity: 0.7; }
}

@keyframes transcript-float {
    0% { transform: translateY(12px); opacity: 0; }
    12% { transform: translateY(0); opacity: 1; }
    88% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(-12px); opacity: 0; }
}

/* More Floating Background Icons Positions */
.icon-phone-bg { top: 42%; left: 3%; font-size: 26px; color: #8b5cf6; animation-delay: 2s; }
.icon-envelope-bg { top: 82%; left: 6%; font-size: 30px; color: #3b82f6; animation-delay: 3.5s; }
.icon-database-bg { top: 45%; right: 4%; font-size: 28px; color: #10b981; animation-delay: 5s; }
.icon-sparkles-bg { top: 85%; right: 8%; font-size: 32px; color: #fbbf24; animation-delay: 1.5s; }

/* 3D Rotating Flash Cards */
.flash-card-container {
    perspective: 1000px;
    height: 230px;
    cursor: pointer;
    width: 100%;
}

.flash-card {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.flash-card-container:hover .flash-card {
    transform: rotateY(180deg);
}

.flash-card-front, .flash-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-sm);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.flash-card-front {
    background: #ffffff;
    border-color: #f1f5f9;
}

.flash-card-back {
    background: linear-gradient(135deg, #f5f3ff 0%, #ffffff 100%);
    transform: rotateY(180deg);
    border-color: var(--accent-border);
}

.dark .flash-card-back {
    background: linear-gradient(135deg, #2e1d52 0%, #111827 100%);
    border-color: var(--accent-border);
}

.flash-card-container:hover .flash-card-front {
    border-color: var(--accent-border);
    box-shadow: var(--shadow-md);
}

.flash-card-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.icon-bg-violet {
    background: rgba(139, 92, 246, 0.08);
    color: #7c3aed;
}

.icon-bg-emerald {
    background: rgba(16, 185, 129, 0.08);
    color: #10b981;
}

/* Disable manual hover flip during active simulation */
.flash-card-container.simulating:hover .flash-card {
    transform: none !important;
}

.flash-card-container.simulating {
    cursor: default;
}

/* Programmatic Flip Lock */
.flash-card.flipped {
    transform: rotateY(180deg) !important;
}

/* CRM Sheet Mockup Grid Styles */
.mock-sheet-container {
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    font-family: 'Inter', -apple-system, sans-serif;
}

.mock-sheet-bar {
    background: #f3f4f6;
    border-bottom: 1px solid #e5e7eb;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mock-sheet-grid {
    display: grid;
    grid-template-columns: 40px repeat(5, 1fr);
    background: #e5e7eb;
    gap: 1px;
}

.mock-sheet-header-cell {
    background: #f9fafb;
    color: #4b5563;
    font-weight: 600;
    font-size: 10px;
    text-transform: uppercase;
    padding: 8px 6px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mock-sheet-cell {
    background: #ffffff;
    padding: 10px 8px;
    font-size: 11px;
    color: #374151;
    display: flex;
    align-items: center;
    min-height: 38px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: background-color 0.35s ease;
}

.mock-sheet-row-num {
    background: #f3f4f6;
    color: #9ca3af;
    font-weight: 500;
    text-align: center;
    justify-content: center;
}

.mock-sheet-cell.highlight-new {
    animation: highlight-glow 2.5s ease-out;
}

@keyframes highlight-glow {
    0% { background-color: rgba(16, 185, 129, 0.25); }
    100% { background-color: #ffffff; }
}

.mock-sheet-cell.typing-cell::after {
    content: '|';
    color: #8b5cf6;
    animation: blink-cursor 0.8s infinite;
}

@keyframes blink-cursor {
    50% { opacity: 0; }
}

/* Agent Session Call Mockup Styles */
.phone-mock-container {
    background: #0f172a;
    border: 8px solid #334155;
    border-radius: 28px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    position: relative;
}

.phone-screen {
    background: radial-gradient(circle at center, #1e293b 0%, #0f172a 100%);
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.agent-pulse-avatar-wrapper {
    position: relative;
    width: 90px;
    height: 90px;
    margin: 10px auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.agent-pulse-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.15);
    animation: agent-pulse-expand 2s infinite ease-out;
}
.agent-pulse-circle:nth-child(2) {
    animation-delay: 0.6s;
}
.agent-pulse-circle:nth-child(3) {
    animation-delay: 1.2s;
}

.agent-avatar-core {
    position: absolute;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
    z-index: 5;
}

.agent-avatar-core.active-speaking {
    animation: avatar-bounce 1s infinite alternate ease-in-out;
}

@keyframes avatar-bounce {
    0% { transform: scale(1); }
    100% { transform: scale(1.06); }
}

@keyframes agent-pulse-expand {
    0% { transform: scale(0.6); opacity: 1; }
    100% { transform: scale(1.8); opacity: 0; }
}

/* Call transcript chat bubbles */
.phone-dialog-container {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow-y: auto;
    max-height: 160px;
    padding-right: 4px;
}

.phone-dialog-bubble {
    max-width: 85%;
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 11px;
    line-height: 1.4;
    animation: bubble-fade-in 0.3s ease-out forwards;
}

.phone-dialog-bubble.agent {
    background: #334155;
    color: #f8fafc;
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.phone-dialog-bubble.customer {
    background: #8b5cf6;
    color: #ffffff;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

@keyframes bubble-fade-in {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Scenario button custom active state */
.scenario-btn.active {
    border-color: #8b5cf6 !important;
    background-color: rgba(139, 92, 246, 0.04) !important;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.08) !important;
}

/* ============================================
   Comms AI — Premium Dashboard Polish & Tabs
   ============================================ */

/* Stats card premium colored glows */
.stat-card-processed {
    transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.22s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.22s ease;
}
.stat-card-processed:hover {
    transform: translateY(-2px);
    border-color: rgba(124, 58, 237, 0.35);
    box-shadow: 0 12px 20px -8px rgba(124, 58, 237, 0.22), 0 4px 6px -4px rgba(124, 58, 237, 0.08);
}
.stat-card-processed:active {
    transform: translateY(0) scale(0.98);
}

.stat-card-urgent {
    transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.22s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.22s ease;
}
.stat-card-urgent:hover {
    transform: translateY(-2px);
    border-color: rgba(220, 38, 38, 0.35);
    box-shadow: 0 12px 20px -8px rgba(220, 38, 38, 0.22), 0 4px 6px -4px rgba(220, 38, 38, 0.08);
}
.stat-card-urgent:active {
    transform: translateY(0) scale(0.98);
}

.stat-card-tasks {
    transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.22s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.22s ease;
}
.stat-card-tasks:hover {
    transform: translateY(-2px);
    border-color: rgba(5, 150, 105, 0.35);
    box-shadow: 0 12px 20px -8px rgba(5, 150, 105, 0.22), 0 4px 6px -4px rgba(5, 150, 105, 0.08);
}
.stat-card-tasks:active {
    transform: translateY(0) scale(0.98);
}

/* SVG Line Drawing Path Animation */
.svg-draw-path {
    stroke-dasharray: 1200;
    stroke-dashoffset: 1200;
    animation: drawPathAnim 1.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes drawPathAnim {
    to {
        stroke-dashoffset: 0;
    }
}

/* Unified Activity Feed Filter Tabs */
.activity-tab-btn {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-sub);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    outline: none;
}
.activity-tab-btn:hover {
    color: var(--text);
    background: var(--hover);
}
.activity-tab-btn.active {
    background: var(--accent-bg);
    color: var(--accent);
    border-color: var(--accent-border);
    box-shadow: 0 2px 6px rgba(124, 58, 237, 0.05);
}
.dark .activity-tab-btn.active {
    background: rgba(139, 92, 246, 0.15);
    color: #a78bfa;
    border-color: rgba(139, 92, 246, 0.3);
}

/* Slogan Banner Dismissal Classes */
.slogan-banner {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    transform: scale(1);
    max-height: 500px;
}
.slogan-banner-hide {
    opacity: 0 !important;
    transform: scale(0.95) translateY(-15px) !important;
    max-height: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
}

