/* ==========================================================================
   Ringingo SaaS Dialer Platform Core CSS System
   Target Aesthetic: Dark Futuristic, Premium Glassmorphism, Glowing Accents
   ========================================================================== */

/* 1. Global Reset & Variables */
:root {
    --bg-primary: #FCFAFF; /* Soft Light Purple/Gray canvas */
    --bg-secondary: #F5EEFA;
    --bg-card: rgba(255, 255, 255, 0.7);
    
    --accent-cyan: #FF334B;
    --accent-cyan-rgb: 255, 51, 75;
    --accent-purple: #FF2FA6;
    --accent-purple-rgb: 255, 47, 166;
    
    --text-white: #150C21; /* High-contrast dark violet-gray text */
    --text-gray: #6E647C; /* Soft secondary subtext */
    --text-dark: #FCFAFF; /* Contrast elements (buttons/gradient texts) */
    
    --border-glass: rgba(21, 12, 33, 0.08);
    --border-glow-cyan: rgba(255, 51, 75, 0.15);
    --border-glow-purple: rgba(255, 47, 166, 0.15);
    
    --grid-color: rgba(21, 12, 33, 0.025);
    --sphere-opacity: 0.12;
    --bg-input: rgba(21, 12, 33, 0.05);
    --bg-header: rgba(252, 250, 255, 0.7);
    --bg-header-scrolled: rgba(252, 250, 255, 0.9);
    
    --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Sora', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease-in-out;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg-primary: #06040A;
        --bg-secondary: #0F0A18;
        --bg-card: rgba(20, 13, 31, 0.45);
        
        --text-white: #FFFFFF;
        --text-gray: #8A91A5;
        --text-dark: #06040A;
        
        --border-glass: rgba(255, 255, 255, 0.08);
        --border-glow-cyan: rgba(255, 51, 75, 0.35);
        --border-glow-purple: rgba(255, 47, 166, 0.35);
        
        --grid-color: rgba(255, 255, 255, 0.015);
        --sphere-opacity: 0.25;
        --bg-input: rgba(6, 4, 10, 0.6);
        --bg-header: rgba(6, 4, 10, 0.7);
        --bg-header-scrolled: rgba(6, 4, 10, 0.9);
    }
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-purple) var(--bg-primary);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-primary);
    color: var(--text-white);
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Scrollbar customization */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--accent-purple);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-cyan);
}

/* 2. Cyber Tech Canvas Effects */
.cyber-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(var(--grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 1;
    pointer-events: none;
}

.glow-sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    z-index: 1;
    pointer-events: none;
    opacity: var(--sphere-opacity);
}

.sphere-primary {
    top: 5%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-cyan) 0%, transparent 70%);
    animation: floatGlow 12s ease-in-out infinite alternate;
}

.sphere-secondary {
    top: 40%;
    left: -15%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, var(--accent-purple) 0%, transparent 70%);
    animation: floatGlow 15s ease-in-out infinite alternate-reverse;
}

@keyframes floatGlow {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(-40px) scale(1.1); }
}

/* 3. Base Elements & Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

p {
    color: var(--text-gray);
    font-size: 0.95rem;
    font-weight: 300;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Glassmorphism panel base */
.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    transition: var(--transition-smooth);
}

.glass-panel:hover {
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* 4. Premium CTA Buttons */
.btn {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.btn-tiny {
    padding: 6px 12px;
    font-size: 0.75rem;
    border-radius: 6px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-purple) 100%);
    color: var(--text-dark);
    border: none;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(255, 51, 75, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 51, 75, 0.45);
    filter: brightness(1.1);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-white);
    border: 1px solid var(--border-glass);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(255, 51, 75, 0.15);
    transform: translateY(-2px);
}

/* 5. Header Navigation Styling */
.main-header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    z-index: 100;
    background: var(--bg-header);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 12px 24px;
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    top: 0;
    width: 100%;
    border-radius: 0;
    border-left: none;
    border-right: none;
    background: var(--bg-header-scrolled);
    border-color: var(--border-glass);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-symbol {
    width: 40px;
    height: 32px;
}
.logo-symbol svg, .logo-symbol.mini svg {
    width: 100%;
    height: 100%;
    display: block;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: -0.03em;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
    padding: 4px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--text-white);
}

.nav-link:hover::after {
    width: 100%;
}

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

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-toggle .bar {
    width: 22px;
    height: 2px;
    background-color: var(--text-white);
    transition: var(--transition-fast);
}

/* 6. HERO SECTION WITH ACTIVE PHONE SIMULATOR */
.hero-section {
    padding: 160px 0 80px;
    position: relative;
    z-index: 5;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 90%;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 47, 166, 0.1);
    border: 1px solid rgba(255, 47, 166, 0.2);
    padding: 6px 16px;
    border-radius: 100px;
    align-self: flex-start;
}

.tag-pulse {
    width: 8px;
    height: 8px;
    background-color: var(--accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-cyan);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.6; }
    50% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 15px var(--accent-cyan); }
    100% { transform: scale(0.9); opacity: 0.6; }
}

.tag-text {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-cyan);
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
}

.hero-subtitle {
    font-size: 1.1rem;
    max-width: 550px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.hero-badges {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 10px;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-gray);
}

.badge-item svg {
    color: var(--accent-cyan);
}

/* Outbound Phone Dialer Widget Structure */
.hero-visual {
    display: flex;
    justify-content: center;
    position: relative;
}

#dynamic-hero-heading {
    display: inline-block;
    transition: opacity 0.4s ease, transform 0.4s ease;
    opacity: 1;
    transform: translateY(0);
}

.hero-2d-stack {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 440px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-2d-card {
    position: absolute;
    transition: var(--transition-smooth);
    border-radius: 24px;
}

.hero-agent-card-2d {
    width: 310px;
    height: 380px;
    background: rgba(20, 13, 31, 0.45);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    right: 0;
    top: 10px;
    z-index: 2;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    box-shadow: -10px 10px 30px rgba(0, 0, 0, 0.3);
}

.hero-agent-card-2d::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(255, 51, 75, 0.15) 0%, rgba(255, 47, 166, 0.05) 50%, transparent 70%);
    z-index: 1;
    pointer-events: none;
    border-radius: 50%;
}

.hero-agent-card-2d .hero-agent-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
    display: block;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 85%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 85%, rgba(0,0,0,0) 100%);
}

.hero-graph-card-2d {
    width: 285px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(21, 12, 33, 0.08);
    left: 0;
    bottom: 10px;
    z-index: 5;
    box-shadow: -15px 15px 35px rgba(21, 12, 33, 0.15), 
                0 4px 20px rgba(0, 0, 0, 0.05);
}

/* Light theme overrides inside graph card */
.hero-graph-card-2d .kpi-label-mini {
    color: #6E647C !important;
}

.hero-graph-card-2d .svg-graph-container.small-graph {
    background: transparent !important;
    border: none !important;
}

.hero-graph-card-2d .kpi-val-mini {
    color: #150C21 !important;
}

.hero-graph-card-2d .campaign-selectors.small-tabs button {
    background: rgba(21, 12, 33, 0.04);
    border: 1px solid rgba(21, 12, 33, 0.08);
    color: #6E647C;
}

.hero-graph-card-2d .campaign-selectors.small-tabs button:hover {
    color: #150C21;
    background: rgba(21, 12, 33, 0.08);
}

/* Premium 2D hover interaction */
.hero-2d-stack:hover .hero-agent-card-2d {
    transform: translateY(-5px);
    box-shadow: -12px 12px 35px rgba(0, 0, 0, 0.4);
}

.hero-2d-stack:hover .hero-graph-card-2d {
    transform: translateY(-8px);
    box-shadow: -18px 18px 40px rgba(21, 12, 33, 0.2);
}

.dialer-widget-wrapper {
    position: relative;
    width: 100%;
    max-width: 380px;
}

/* Floating Business Growth Card */
.business-growth-card {
    position: absolute;
    bottom: -35px;
    right: -20px;
    width: 250px;
    padding: 16px;
    border-radius: 16px;
    z-index: 10;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    animation: floatGlowCard 6s ease-in-out infinite;
}

@keyframes floatGlowCard {
    0% {
        transform: translateY(0) scale(1);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
    }
    50% {
        transform: translateY(-12px) scale(1.02);
        box-shadow: 0 25px 45px rgba(255, 47, 166, 0.15);
        border-color: var(--accent-purple);
    }
    100% {
        transform: translateY(0) scale(1);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
    }
}

.growth-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.growth-mockup-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 12px;
    border: 1px solid var(--border-glass);
}

.growth-card-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    background: rgba(255, 255, 255, 0.02);
    padding: 8px;
    border-radius: 8px;
    border: 1px solid var(--border-glass);
}

.stat-mini {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.stat-mini .lbl {
    font-size: 0.6rem;
    color: var(--text-gray);
    text-transform: uppercase;
}

.stat-mini .val {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent-cyan);
}

.dialer-widget-wrapper::after {
    content: '';
    position: absolute;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    background: radial-gradient(circle, rgba(255, 47, 166, 0.12) 0%, transparent 70%);
    z-index: -1;
}

.dialer-widget-card {
    width: 100%;
    overflow: hidden;
    border-radius: 28px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.dialer-widget-card:hover {
    border-color: var(--border-glow-cyan);
    box-shadow: 0 30px 60px rgba(255, 51, 75, 0.12);
}

.dialer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border-glass);
}

.dots-group {
    display: flex;
    gap: 6px;
}

.dots-group .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.red { background-color: #FF5F56; }
.dot.yellow { background-color: #FFBD2E; }
.dot.green { background-color: #27C93F; }

.dialer-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-white);
    display: flex;
    align-items: center;
    gap: 6px;
}

.pulse-icon {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
}

.pulse-icon.green {
    background-color: #27C93F;
    box-shadow: 0 0 6px #27C93F;
    animation: pulse 1s infinite;
}

.badge-voip {
    font-size: 0.65rem;
    background: rgba(255, 51, 75, 0.1);
    color: var(--accent-cyan);
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px solid rgba(255, 51, 75, 0.2);
    font-weight: 600;
}

/* Dialer Screens Slider system */
.dialer-screen {
    display: none;
    padding: 24px;
    min-height: 480px;
    flex-direction: column;
}

.dialer-screen.active {
    display: flex;
}

/* Screen 1: Keypad dialer style */
.dialer-number-display {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 24px;
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dialer-input-placeholder {
    color: rgba(255, 255, 255, 0.2);
    font-size: 1.1rem;
    position: absolute;
    left: 16px;
    pointer-events: none;
}

.dialer-input {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--accent-cyan);
    letter-spacing: 0.05em;
    overflow-x: auto;
    white-space: nowrap;
    width: 80%;
}

.dialer-input::-webkit-scrollbar {
    height: 2px;
}

.backspace-btn {
    background: none;
    border: none;
    color: var(--text-gray);
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.backspace-btn:hover {
    color: var(--accent-cyan);
}

.dialer-keypad {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.key-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    height: 64px;
    font-size: 1.3rem;
    font-family: var(--font-heading);
    color: var(--text-white);
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.key-btn:hover {
    background: rgba(255, 51, 75, 0.08);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 10px rgba(255, 51, 75, 0.1);
    transform: scale(1.05);
}

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

.key-sub {
    font-size: 0.65rem;
    color: var(--text-gray);
    font-family: var(--font-body);
}

.dialer-footer {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: auto;
}

.sandbox-contacts {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contacts-title {
    font-size: 0.7rem;
    color: var(--text-gray);
    text-transform: uppercase;
}

.contacts-list {
    display: flex;
    gap: 8px;
}

.contact-chip {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: 100px;
    padding: 6px 12px;
    font-size: 0.72rem;
    color: var(--text-white);
    cursor: pointer;
    transition: var(--transition-fast);
}

.contact-chip:hover {
    background: rgba(255, 47, 166, 0.1);
    border-color: var(--accent-purple);
    color: var(--accent-cyan);
}

.call-btn-action {
    background: linear-gradient(135deg, #00FF87 0%, #60EFFF 100%);
    color: var(--text-dark);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    border: none;
    border-radius: 14px;
    height: 52px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(0, 255, 135, 0.3);
}

.call-btn-action svg {
    width: 20px;
    height: 20px;
}

.call-btn-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 255, 135, 0.5);
    filter: brightness(1.1);
}

/* Screen 2: Active Calling State Panel */
.active-calling-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    margin-top: 10px;
}

.calling-pulse-circle {
    position: relative;
    width: 90px;
    height: 90px;
    background: rgba(20, 13, 31, 0.6);
    border: 1px solid var(--border-glass);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.pulse-ring {
    position: absolute;
    border: 1.5px solid var(--accent-cyan);
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
    width: 100%;
    height: 100%;
}

.pulse-ring.ring-1 { animation: scaleGlow 2.5s infinite; }
.pulse-ring.ring-2 { animation: scaleGlow 2.5s infinite 0.8s; }
.pulse-ring.ring-3 { animation: scaleGlow 2.5s infinite 1.6s; }

@keyframes scaleGlow {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(2.2); opacity: 0; }
}

.active-caller-icon {
    width: 36px;
    height: 36px;
}

.calling-contact-name {
    font-size: 1.35rem;
    font-family: var(--font-heading);
    font-weight: 700;
}

.calling-contact-title {
    font-size: 0.8rem;
    color: var(--accent-purple);
    font-weight: 500;
    margin-bottom: 4px;
}

.calling-number {
    font-size: 0.85rem;
    color: var(--text-gray);
    font-family: var(--font-heading);
}

.calling-status-line {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 12px 0 20px;
}

.active-status-tag {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 100px;
}

.active-status-tag.red-pulse {
    background: rgba(255, 95, 86, 0.1);
    color: #FF5F56;
    border: 1px solid rgba(255, 95, 86, 0.2);
}

.active-status-tag.active-green {
    background: rgba(39, 201, 63, 0.1);
    color: #27C93F;
    border: 1px solid rgba(39, 201, 63, 0.2);
}

.active-timer {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-white);
}

.mini-waveform-area {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    height: 24px;
    margin-bottom: 20px;
    width: 100%;
}

.wave-bar {
    width: 3px;
    height: 4px;
    background: var(--accent-cyan);
    border-radius: 100px;
    transition: height 0.15s ease-in-out;
}

.wave-bar.speaking {
    animation: speechWave 1.2s infinite ease-in-out;
}

@keyframes speechWave {
    0%, 100% { height: 4px; }
    50% { height: 24px; }
}

/* Stagger animations for wave bars */
.wave-bar:nth-child(2) { animation-delay: 0.1s; }
.wave-bar:nth-child(3) { animation-delay: 0.25s; }
.wave-bar:nth-child(4) { animation-delay: 0.15s; }
.wave-bar:nth-child(5) { animation-delay: 0.3s; }
.wave-bar:nth-child(6) { animation-delay: 0.4s; }
.wave-bar:nth-child(7) { animation-delay: 0.2s; }
.wave-bar:nth-child(8) { animation-delay: 0.5s; }
.wave-bar:nth-child(9) { animation-delay: 0.3s; }
.wave-bar:nth-child(10) { animation-delay: 0.15s; }

/* Smart Script Helper transcripts */
.live-transcript-box {
    width: 100%;
    background: var(--bg-input);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 12px;
    text-align: left;
    margin-bottom: 20px;
}

.transcript-title {
    font-size: 0.65rem;
    text-transform: uppercase;
    color: var(--accent-purple);
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}

.transcript-scroller {
    max-height: 80px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.72rem;
}

.transcript-scroller::-webkit-scrollbar {
    width: 2px;
}

.transcript-bubble {
    padding: 6px 10px;
    border-radius: 8px;
}

.transcript-bubble.agent {
    background: rgba(255, 47, 166, 0.12);
    color: var(--text-white);
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.transcript-bubble.bot {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-gray);
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.transcript-bubble.coaching-alert {
    background: rgba(255, 51, 75, 0.06);
    color: var(--accent-cyan);
    border: 1px dashed rgba(255, 51, 75, 0.2);
    font-style: italic;
}

/* Live Sentiment Visual Indicator */
.sentiment-meter-group {
    width: 100%;
    margin-bottom: 24px;
}

.sentiment-meter-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.72rem;
    margin-bottom: 6px;
}

.sentiment-val {
    font-weight: 700;
}

.sentiment-track {
    position: relative;
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 100px;
    overflow: visible;
    display: flex;
}

.sentiment-marker {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: var(--text-white);
    border: 2px solid var(--bg-primary);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--text-white);
    z-index: 5;
    transition: left 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.color-zone {
    flex: 1;
    height: 100%;
}

.color-zone.zone-neg { background: #FF5F56; border-top-left-radius: 100px; border-bottom-left-radius: 100px; opacity: 0.4; }
.color-zone.zone-neu { background: #FFBD2E; opacity: 0.4; }
.color-zone.zone-pos { background: #27C93F; border-top-right-radius: 100px; border-bottom-right-radius: 100px; opacity: 0.4; }

.active-call-controls {
    display: flex;
    gap: 16px;
}

.call-control-circle {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: 50%;
    color: var(--text-white);
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.call-control-circle svg {
    width: 18px;
    height: 18px;
}

.call-control-circle:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: scale(1.08);
}

.call-control-circle.active {
    background: rgba(255, 47, 166, 0.2);
    border-color: var(--accent-purple);
    color: var(--accent-cyan);
    box-shadow: 0 0 10px rgba(255, 47, 166, 0.3);
}

.call-control-circle.red {
    background: rgba(255, 95, 86, 0.15);
    border-color: rgba(255, 95, 86, 0.3);
    color: #FF5F56;
}

.call-control-circle.red:hover {
    background: #FF5F56;
    color: var(--text-dark);
    box-shadow: 0 0 15px rgba(255, 95, 86, 0.4);
}

/* Screen 3: CRM wrap up styling */
.crm-wrapup-panel {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.wrapup-header {
    text-align: center;
    margin-bottom: 8px;
}

.wrapup-success-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 51, 75, 0.1);
    border: 1.5px solid var(--accent-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
}

.wrapup-success-icon svg {
    width: 22px;
    height: 22px;
}

.wrapup-header h4 {
    font-size: 1.1rem;
}

.wrapup-header p {
    font-size: 0.72rem;
}

.crm-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
    text-align: left;
}

.crm-field label {
    font-size: 0.65rem;
    color: var(--accent-cyan);
    font-weight: 700;
    text-transform: uppercase;
}

.crm-input, .crm-select, .crm-textarea {
    background: var(--bg-input);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    padding: 10px 12px;
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 0.8rem;
    width: 100%;
}

.crm-textarea {
    resize: none;
    height: 60px;
}

.crm-input:focus, .crm-select:focus, .crm-textarea:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 8px rgba(255, 51, 75, 0.2);
}

.crm-grid-row {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 12px;
}

.crm-stat-badge {
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.75rem;
    display: inline-block;
    text-align: center;
    font-family: var(--font-heading);
}

.crm-stat-badge.pos { background: rgba(39, 201, 63, 0.1); color: #27C93F; border: 1px solid rgba(39, 201, 63, 0.2); }
.crm-stat-badge.neu { background: rgba(255, 189, 46, 0.1); color: #FFBD2E; border: 1px solid rgba(255, 189, 46, 0.2); }
.crm-stat-badge.neg { background: rgba(255, 95, 86, 0.1); color: #FF5F56; border: 1px solid rgba(255, 95, 86, 0.2); }
.crm-stat-badge.secondary { background: rgba(255, 255, 255, 0.05); color: var(--text-white); border: 1px solid var(--border-glass); }

.crm-submit-btn {
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-purple) 100%);
    color: var(--text-dark);
    font-weight: 700;
    font-family: var(--font-heading);
    border: none;
    border-radius: 10px;
    height: 46px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.crm-submit-btn:hover {
    box-shadow: 0 0 15px rgba(255, 51, 75, 0.35);
    filter: brightness(1.1);
    transform: translateY(-1px);
}

/* 7. TRUST SECTION STATS ROW */
.trust-section {
    padding: 60px 0;
    background: rgba(255, 255, 255, 0.01);
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.trust-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 90%;
}

.trust-headline {
    text-align: center;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-purple);
    font-weight: 700;
    margin-bottom: 40px;
}

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

.stat-card {
    padding: 28px 24px;
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.3rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.gradient-cyan {
    background: linear-gradient(135deg, #FFF 30%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-purple {
    background: linear-gradient(135deg, #FFF 30%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 8px;
}

.stat-desc {
    font-size: 0.72rem;
}

/* 8. FEATURES SECTION GLOW CARDS */
.features-section {
    padding: 100px 0;
    position: relative;
}

.section-header-block {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header-block.text-center {
    text-align: center;
}

.feature-tag {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-cyan);
    font-weight: 700;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.4rem;
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 0.95rem;
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    width: 90%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Glow Card Animation & Hover Styling */
.feature-card {
    padding: 36px;
    position: relative;
    overflow: hidden;
}

.feature-card:nth-child(3n+1) {
    grid-column: span 1;
}

.feature-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.feature-icon-box.cyan {
    background: rgba(255, 51, 75, 0.1);
    color: var(--accent-cyan);
    border: 1px solid rgba(255, 51, 75, 0.2);
}

.feature-icon-box.purple {
    background: rgba(255, 47, 166, 0.1);
    color: var(--accent-purple);
    border: 1px solid rgba(255, 47, 166, 0.2);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.8rem;
    line-height: 1.6;
}

.feature-card .glow-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: var(--transition-smooth);
    pointer-events: none;
}

.feature-card:hover {
    border-color: var(--border-glow-purple);
    transform: translateY(-5px);
}

.feature-card:hover:nth-child(odd) {
    border-color: var(--border-glow-cyan);
}

.feature-card:hover .glow-bg {
    opacity: 0.08;
    transform: translate(-50%, -50%) scale(1);
}

.feature-card:hover:nth-child(odd) .glow-bg {
    background: radial-gradient(circle, var(--accent-cyan) 0%, transparent 60%);
}

.feature-card:hover:nth-child(even) .glow-bg {
    background: radial-gradient(circle, var(--accent-purple) 0%, transparent 60%);
}

/* 9. DASHBOARD SHOWCASE COMMAND PANEL */
.dashboard-showcase-section {
    padding: 100px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(20, 13, 31, 0.2) 100%);
}

.dashboard-showcase-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 90%;
}

.dashboard-mockup {
    width: 100%;
    display: grid;
    grid-template-columns: 200px 1fr;
    overflow: hidden;
    height: 600px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.7);
}

.mock-sidebar {
    background: var(--bg-secondary);
    border-right: 1px solid var(--border-glass);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-symbol.mini {
    width: 23px;
    height: 18px;
    border-radius: 0;
    background: none;
}

.sidebar-logo span {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sb-item {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--text-gray);
    text-decoration: none;
    padding: 10px 14px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-fast);
}

.sb-item.active {
    background: rgba(255, 255, 255, 0.03);
    color: var(--accent-cyan);
    border: 1px solid var(--border-glass);
}

.sb-item:hover:not(.active) {
    color: var(--text-white);
    background: rgba(255, 255, 255, 0.01);
}

.mock-main {
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    overflow-y: auto;
}

.mock-main-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.mock-header-left h3 {
    font-size: 1.3rem;
}

.mock-live-badge {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    background: rgba(39, 201, 63, 0.1);
    color: #27C93F;
    border: 1px solid rgba(39, 201, 63, 0.2);
    border-radius: 100px;
    padding: 2px 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.dashboard-tabs {
    background: var(--bg-input);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    padding: 4px;
    display: flex;
}

.db-tab-btn {
    background: none;
    border: none;
    color: var(--text-gray);
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.db-tab-btn.active {
    background: var(--bg-card);
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

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

.kpi-block {
    padding: 16px;
}

.kpi-label {
    font-size: 0.65rem;
    color: var(--text-gray);
    text-transform: uppercase;
}

.kpi-value-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-top: 6px;
}

.kpi-val {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
}

.kpi-trend {
    font-size: 0.68rem;
    font-weight: 600;
}

.kpi-trend.up { color: #27C93F; }
.kpi-trend.down { color: #FF5F56; }
.kpi-trend.neutral { color: var(--text-gray); }

.mock-dashboard-row {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 20px;
}

.mock-graph-panel {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.panel-heading-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.panel-heading-row h4 {
    font-size: 0.95rem;
}

.graph-legend {
    font-size: 0.7rem;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 6px;
}

.legend-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.legend-dot.cyan { background-color: var(--accent-cyan); }

.svg-graph-container {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dashboard-mockup-img {
    width: 100%;
    height: auto;
    max-height: 220px;
    object-fit: contain;
    border-radius: 8px;
}

.actual-svg-graph {
    width: 100%;
    height: 100%;
}

/* Dynamic svg line points transitions */
.actual-svg-graph path {
    transition: d 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Mock Agents List Panel */
.mock-agents-panel {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.agents-scroll-list {
    max-height: 190px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.agents-scroll-list::-webkit-scrollbar {
    width: 2px;
}

.agent-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.agent-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.agent-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.agent-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.72rem;
    font-family: var(--font-heading);
}

.agent-avatar.purple-bg { background-color: rgba(255, 47, 166, 0.2); color: var(--accent-purple); border: 1px solid rgba(255, 47, 166, 0.4); }
.agent-avatar.cyan-bg { background-color: rgba(255, 51, 75, 0.2); color: var(--accent-cyan); border: 1px solid rgba(255, 51, 75, 0.4); }
.agent-avatar.gold-bg { background-color: rgba(255, 189, 46, 0.2); color: #FFBD2E; border: 1px solid rgba(255, 189, 46, 0.4); }

.agent-name {
    font-size: 0.78rem;
    font-weight: 600;
}

.agent-campaign {
    font-size: 0.65rem;
    color: var(--text-gray);
}

.agent-status-tag {
    font-size: 0.65rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 100px;
}

.status-calling { background: rgba(255, 95, 86, 0.1); color: #FF5F56; border: 1px solid rgba(255, 95, 86, 0.2); }
.status-available { background: rgba(39, 201, 63, 0.1); color: #27C93F; border: 1px solid rgba(39, 201, 63, 0.2); }
.status-wrapup { background: rgba(255, 189, 46, 0.1); color: #FFBD2E; border: 1px solid rgba(255, 189, 46, 0.2); }
.status-offline { background: rgba(255, 255, 255, 0.03); color: var(--text-gray); border: 1px solid var(--border-glass); }

/* Playback Waveform Mock */
.live-playback-waveform {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.waveform-info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.info-block .mini-label {
    font-size: 0.65rem;
    color: var(--text-gray);
    text-transform: uppercase;
}

.info-block .caller-id {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--accent-cyan);
}

.playback-timer {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    color: var(--text-gray);
}

.audio-waveform-canvas {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 48px;
    width: 100%;
}

.waveform-bar {
    width: 3px;
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: var(--transition-fast);
}

.waveform-bar.passed {
    background: linear-gradient(180deg, var(--accent-cyan), var(--accent-purple));
    box-shadow: 0 0 4px var(--accent-cyan);
}

/* 11. COMPARISON MATRICES */
.comparison-section {
    padding: 100px 0;
}

.comparison-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 90%;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 20px;
}

.comparison-column {
    padding: 48px;
    position: relative;
}

.comparison-column.negative-glow {
    border-color: rgba(255, 95, 86, 0.1);
}

.comparison-column.positive-glow {
    border-color: rgba(255, 51, 75, 0.15);
}

.comparison-column.active-sys {
    border: 2px solid var(--accent-cyan);
    box-shadow: 0 20px 40px rgba(255, 51, 75, 0.05);
}

.column-header {
    margin-bottom: 36px;
}

.header-icon-lbl {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.header-icon-lbl.red { background-color: rgba(255, 95, 86, 0.1); color: #FF5F56; border: 1.5px solid rgba(255, 95, 86, 0.2); }
.header-icon-lbl.cyan { background-color: rgba(255, 51, 75, 0.1); color: var(--accent-cyan); border: 1.5px solid rgba(255, 51, 75, 0.2); }

.column-header h3 {
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.comp-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.comp-list li {
    display: flex;
    gap: 16px;
}

.comp-bullet {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-top: 6px;
    flex-shrink: 0;
}

.comp-bullet.border-red { background-color: #FF5F56; box-shadow: 0 0 6px #FF5F56; }
.comp-bullet.border-cyan { background-color: var(--accent-cyan); box-shadow: 0 0 6px var(--accent-cyan); }

.comp-list li strong {
    display: block;
    font-size: 0.9rem;
    color: var(--text-white);
    margin-bottom: 4px;
}

.comp-list li span {
    font-size: 0.78rem;
    color: var(--text-gray);
    line-height: 1.5;
    display: block;
}

/* 12. INDUSTRIES SECTORS CHIPS */
.industries-section {
    padding: 100px 0;
}

.industries-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 90%;
}

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

.industry-card {
    padding: 32px;
    position: relative;
}

.ind-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--accent-cyan);
    background: rgba(255, 51, 75, 0.1);
    border: 1px solid rgba(255, 51, 75, 0.2);
    padding: 3px 8px;
    border-radius: 4px;
}

.industry-card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
}

.industry-card p {
    font-size: 0.78rem;
}

.industry-card:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-3px);
}

/* 13. INTEGRATIONS Node Mesh */
.integrations-section {
    padding: 100px 0;
}

.integrations-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 90%;
}

.integrations-layout-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

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

.integrations-right-col {
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    border-radius: 20px;
}

.integrations-visual-wrapper {
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
}

.integrations-mockup-img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    transition: transform 0.5s ease-in-out;
}

.integrations-mockup-img:hover {
    transform: scale(1.03);
}

.integration-node {
    padding: 28px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.node-logo-wrapper {
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
}

.node-label-txt {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    background: linear-gradient(135deg, #FFF 30%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.integration-node p {
    font-size: 0.75rem;
    line-height: 1.5;
}

.integration-node:hover {
    border-color: var(--accent-purple);
    box-shadow: 0 0 20px rgba(255, 47, 166, 0.1);
}

/* 14. TESTIMONIALS SLIDER */
.testimonials-section {
    padding: 100px 0;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 90%;
}

.testimonials-slider {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.testimonial-card {
    padding: 40px;
}

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

.test-user-meta {
    display: flex;
    align-items: center;
    gap: 14px;
}

.user-avatar-placeholder {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: var(--font-heading);
    font-size: 0.85rem;
}

.user-avatar-placeholder.purple-bg { background-color: rgba(255, 47, 166, 0.2); color: var(--accent-purple); border: 1.5px solid rgba(255, 47, 166, 0.4); }
.user-avatar-placeholder.cyan-bg { background-color: rgba(255, 51, 75, 0.2); color: var(--accent-cyan); border: 1.5px solid rgba(255, 51, 75, 0.4); }

.user-name {
    font-size: 0.9rem;
    font-weight: 600;
}

.user-role {
    font-size: 0.7rem;
    color: var(--text-gray);
}

.test-metric-stamp {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent-cyan);
    background: rgba(255, 51, 75, 0.1);
    border: 1px solid rgba(255, 51, 75, 0.2);
    padding: 4px 10px;
    border-radius: 6px;
    font-family: var(--font-heading);
}

.test-body {
    font-size: 0.85rem;
    line-height: 1.7;
    font-style: italic;
}

/* 15. SaaS PRICING PLAN CARDS */
.pricing-section {
    padding: 100px 0;
}

.pricing-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 90%;
}

.billing-toggle-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background: var(--bg-input);
    border: 1px solid var(--border-glass);
    padding: 6px 16px;
    border-radius: 100px;
    margin-top: 10px;
}

.toggle-lbl {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-gray);
    transition: var(--transition-fast);
}

.toggle-lbl.active {
    color: var(--text-white);
}

.toggle-switch-container {
    width: 44px;
    height: 22px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    cursor: pointer;
    position: relative;
    transition: var(--transition-fast);
}

.toggle-switch-handle {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 16px;
    height: 16px;
    background: var(--accent-cyan);
    box-shadow: 0 0 6px var(--accent-cyan);
    border-radius: 50%;
    transition: var(--transition-smooth);
}

.discount-pill {
    font-size: 0.6rem;
    background: rgba(0, 255, 135, 0.15);
    color: #00FF87;
    padding: 2px 6px;
    border-radius: 100px;
    margin-left: 4px;
    border: 1px solid rgba(0, 255, 135, 0.3);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
    align-items: center;
}

.pricing-card {
    padding: 44px 36px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card-header {
    margin-bottom: 28px;
}

.pricing-card-header h3 {
    font-size: 1.4rem;
    margin-bottom: 6px;
}

.pricing-card-header p {
    font-size: 0.72rem;
    line-height: 1.4;
}

.pricing-rate-display {
    display: flex;
    align-items: baseline;
    margin-top: 16px;
}

.pricing-rate-display .dollar {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-cyan);
    align-self: flex-start;
}

.pricing-rate-display .rate-val {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text-white);
    line-height: 1;
}

.pricing-rate-display .period {
    font-size: 0.75rem;
    color: var(--text-gray);
    margin-left: 4px;
}

.pricing-features-list {
    margin-bottom: 36px;
}

.pricing-features-list ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pricing-features-list li {
    font-size: 0.78rem;
    color: var(--text-gray);
}

.pricing-cta-btn {
    width: 100%;
    height: 48px;
    border-radius: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-fast);
    margin-top: auto;
}

.pricing-cta-btn.primary {
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-purple) 100%);
    color: var(--text-dark);
    border: none;
    box-shadow: 0 4px 15px rgba(255, 51, 75, 0.2);
}

.pricing-cta-btn.primary:hover {
    box-shadow: 0 6px 20px rgba(255, 51, 75, 0.4);
    transform: translateY(-1px);
}

.pricing-cta-btn.secondary {
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-white);
    border: 1px solid var(--border-glass);
}

.pricing-cta-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--accent-cyan);
}

/* Most popular package styling */
.pricing-card.popular-tier {
    border: 2px solid var(--accent-purple);
    box-shadow: 0 25px 50px rgba(255, 47, 166, 0.06);
    position: relative;
    transform: scale(1.03);
}

.popular-ribbon {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--accent-purple);
    color: var(--text-white);
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 4px;
    letter-spacing: 0.05em;
}

/* 16. FINAL CTA & CYBER FOOTER */
.final-cta-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-mesh-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 51, 75, 0.05) 0%, transparent 80%);
    z-index: 1;
}

.final-cta-container {
    max-width: 1000px;
    margin: 0 auto;
    width: 90%;
    padding: 60px;
    text-align: center;
    position: relative;
    z-index: 5;
}

.final-cta-container h2 {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.final-cta-container p {
    max-width: 600px;
    margin: 0 auto 32px;
}

.final-cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.cyber-footer {
    border-top: 1px solid var(--border-glass);
    padding: 80px 0 40px;
    position: relative;
    background: var(--bg-secondary);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 90%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-brand-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 380px;
}

.footer-compliance-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.comp-badge {
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--text-gray);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    padding: 4px 8px;
    border-radius: 4px;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.links-column {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.links-column h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

.links-column a {
    font-size: 0.78rem;
    color: var(--text-gray);
    text-decoration: none;
    transition: var(--transition-fast);
}

.links-column a:hover {
    color: var(--accent-cyan);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    width: 90%;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.72rem;
    color: var(--text-gray);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: var(--text-gray);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-bottom-links a:hover {
    color: var(--accent-cyan);
}

/* 17. GLASS MODAL OVERLAYS */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(6, 4, 10, 0.8);
    backdrop-filter: blur(8px);
    z-index: 500;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.open {
    display: flex;
}

.modal-card {
    width: 100%;
    max-width: 480px;
    padding: 40px;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 51, 75, 0.2);
    animation: modalSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalSlideIn {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-gray);
    font-size: 1.6rem;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition-fast);
}

.modal-close-btn:hover {
    color: var(--accent-cyan);
}

.modal-card h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.modal-card p {
    font-size: 0.8rem;
    margin-bottom: 24px;
}

.modal-card form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}


/* ==========================================================================
   18. RESPONSIVE MEDIA QUERIES (Fluid Layout)
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }
    
    .hero-content {
        align-items: center;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        max-width: 100%;
    }

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

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

    .integrations-layout-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .business-growth-card {
        position: relative;
        bottom: 0;
        right: 0;
        margin: 30px auto 0;
        width: 280px;
    }

    .hero-3d-stack {
        max-width: 480px;
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 30px;
        align-items: center;
        perspective: none;
        transform-style: flat;
        margin: 0 auto;
    }
    
    .hero-agent-card-3d {
        position: relative;
        right: auto;
        top: auto;
        width: 280px;
        height: 340px;
        transform: none !important;
        margin-bottom: 0;
    }
    
    .hero-graph-card-3d {
        position: relative;
        left: auto;
        bottom: auto;
        width: 280px;
        transform: none !important;
    }

    .dashboard-mockup {
        grid-template-columns: 1fr;
        height: auto;
    }

    .mock-sidebar {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 16px 24px;
    }

    .sidebar-nav {
        flex-direction: row;
        gap: 10px;
    }

    .mock-main {
        max-height: 500px;
    }


    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        max-width: 480px;
        margin: 50px auto 0;
    }
    
    .pricing-card.popular-tier {
        transform: scale(1);
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .footer-links-grid {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-primary);
        border: 1px solid var(--border-glass);
        border-top: none;
        border-radius: 0 0 16px 16px;
        flex-direction: column;
        padding: 24px;
        gap: 16px;
    }

    .nav-menu.open {
        display: flex;
    }

    .mobile-toggle {
        display: flex;
    }

    .header-actions .nav-btn {
        display: none;
    }

    .hero-title {
        font-size: 2.2rem;
    }

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

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

    .mock-dashboard-row {
        grid-template-columns: 1fr;
    }

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

    .integrations-mesh-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-slider {
        grid-template-columns: 1fr;
    }

    .final-cta-container {
        padding: 36px 20px;
    }

    .final-cta-container h2 {
        font-size: 1.6rem;
    }

    .final-cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .final-cta-actions .btn {
        width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

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

    .mock-kpis {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   CLIENT LOGOS MARQUEE SECTION
   ========================================================================== */
.clients-section {
    padding: 70px 0 80px;
    overflow: hidden;
    position: relative;
}

.clients-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 90%;
}

.clients-header {
    text-align: center;
    margin-bottom: 52px;
}

.clients-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-white);
    margin: 12px 0 10px;
    letter-spacing: -0.02em;
}

.clients-subtitle {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin: 0;
}

/* Marquee wrapper – clips the overflow and holds fade masks */
.logos-marquee-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
}

/* Smooth fade masks left + right */
.marquee-fade {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}

.marquee-fade-left {
    left: 0;
    background: linear-gradient(to right, var(--bg-primary) 0%, transparent 100%);
}

.marquee-fade-right {
    right: 0;
    background: linear-gradient(to left, var(--bg-primary) 0%, transparent 100%);
}

/* Scrolling track — uses CSS animation */
.logos-track {
    display: flex;
    align-items: center;
    gap: 0;
    width: max-content;
    animation: marqueeScroll 36s linear infinite;
    will-change: transform;
}

.logos-track:hover {
    animation-play-state: paused;
}

@keyframes marqueeScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Individual logo card */
.logo-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    border-right: 1px solid var(--border-glass);
    min-width: 180px;
    height: 90px;
    flex-shrink: 0;
    transition: var(--transition-fast);
}

.logo-slide:hover .client-logo {
    transform: scale(1.06);
}

/* Logo image defaults — colourful */
.client-logo {
    max-height: 44px;
    max-width: 140px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: none;
    opacity: 1;
    transition: filter 0.3s ease, transform 0.3s ease;
    display: block;
}

/* Pop Club has a coloured square background — give it a pill crop */
.client-logo.logo-has-bg {
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 6px;
    max-height: 48px;
}

.client-logo.logo-rounded {
    border-radius: 10px;
}

/* ==========================================================================
   Multi-Page Website Support & Brand Redirects
   ========================================================================== */

.footer-logo-link,
.sidebar-logo-link {
    text-decoration: none;
    color: inherit;
    display: inline-block;
    transition: var(--transition-fast);
}

.footer-logo-link:hover,
.sidebar-logo-link:hover {
    opacity: 0.8;
}

.nav-link.active-page {
    color: var(--text-white) !important;
}

.nav-link.active-page::after {
    width: 100% !important;
}

/* ==========================================================================
   Card Gradient Text & Heading Override (#FF2FA6 to #FF334B)
   ========================================================================== */
.stat-number,
.stat-number span,
.feature-card h3,
.industry-card h3,
.node-label-txt,
.test-metric-stamp,
.pricing-card-header h3,
.kpi-val,
.stat-mini .val {
    background: linear-gradient(135deg, #FF2FA6 0%, #FF334B 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    display: inline-block !important;
    font-weight: 700;
}
/* ==========================================================================
   Realtime Monitor Dashboard Table Styling
   ========================================================================== */
.realtime-dashboard-container {
    width: 100%;
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid var(--border-glass);
    background: rgba(20, 13, 31, 0.25);
    margin-top: 10px;
}

.realtime-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.8rem;
}

.realtime-table th {
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1.5px solid var(--border-glass);
    padding: 14px 16px;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-white);
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.05em;
}

.realtime-table td {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    vertical-align: middle;
    color: var(--text-white);
    font-weight: 400;
}

.realtime-table tr:last-child td {
    border-bottom: none;
}

.realtime-table tr:hover {
    background: rgba(255, 255, 255, 0.015);
}

/* Status Badges */
.badge-status {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    text-transform: uppercase;
    display: inline-block;
    text-align: center;
    min-width: 65px;
}

.badge-break {
    background: rgba(255, 47, 166, 0.12);
    color: var(--accent-purple);
    border: 1px solid rgba(255, 47, 166, 0.2);
}

.badge-pause {
    background: rgba(51, 153, 255, 0.12);
    color: #3399FF;
    border: 1px solid rgba(51, 153, 255, 0.2);
}

.badge-acw {
    background: rgba(0, 255, 255, 0.12);
    color: #00E5FF;
    border: 1px solid rgba(0, 255, 255, 0.2);
}

.badge-available {
    background: rgba(39, 201, 63, 0.12);
    color: #27C93F;
    border: 1px solid rgba(39, 201, 63, 0.2);
    box-shadow: 0 0 8px rgba(39, 201, 63, 0.15);
}

/* Action Button */
.make-ready-btn {
    background: #27C93F !important;
    color: #FFF !important;
    border: none;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.65rem;
    padding: 6px 12px;
    cursor: pointer;
    transition: var(--transition-fast);
    text-transform: uppercase;
    font-family: var(--font-heading);
}

.make-ready-btn:hover {
    background: #23b238 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(39, 201, 63, 0.3);
}

/* Monitor Action Icons */
.monitor-actions-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.monitor-icon-btn {
    background: none;
    border: none;
    color: var(--text-gray);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    border-radius: 4px;
    transition: var(--transition-fast);
    position: relative;
}

.monitor-icon-btn svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.monitor-icon-btn:hover {
    color: var(--text-white);
    background: rgba(255, 255, 255, 0.05);
}

/* Simple Premium Tooltip */
.monitor-icon-btn::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 130%;
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    background: #06040A;
    color: var(--text-white);
    border: 1px solid var(--border-glass);
    font-size: 0.6rem;
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s ease;
    z-index: 100;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.monitor-icon-btn:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* =====================================================
   Live Control Center Inline Mini-Dashboard Widget
   ===================================================== */

.live-cc-panel {
    position: relative;
    background: rgba(255,255,255,0.72);
    border: 1.5px solid rgba(255,51,75,0.18);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 32px 72px rgba(0,0,0,0.14), 0 0 0 1px rgba(255,47,166,0.08);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    font-family: var(--font-body);
    color: var(--text-white);
    width: 100%;
}

/* Header */
.lcc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    background: linear-gradient(90deg, #FF334B 0%, #FF2FA6 100%);
    color: #fff;
}

.lcc-header-left {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.lcc-header-title {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.lcc-badge {
    background: rgba(255,255,255,0.25);
    color: #fff;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    padding: 2px 7px;
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.4);
}

.lcc-header-right {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255,255,255,0.95);
    background: rgba(255,255,255,0.16);
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.3);
}

.lcc-client-name {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

/* Pulse dot */
.lcc-pulse-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
    position: relative;
    flex-shrink: 0;
    animation: lccPulse 1.6s ease-in-out infinite;
}

@keyframes lccPulse {
    0%,100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.7); }
    50%      { box-shadow: 0 0 0 6px rgba(255,255,255,0); }
}

/* KPI strip */
.lcc-kpi-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-bottom: 1px solid rgba(21,12,33,0.07);
    background: rgba(255,255,255,0.55);
}

.lcc-kpi {
    padding: 10px 12px;
    text-align: center;
    border-right: 1px solid rgba(21,12,33,0.06);
}

.lcc-kpi:last-child { border-right: none; }

.lcc-kpi-val {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-white);
    line-height: 1;
    margin-bottom: 2px;
    letter-spacing: -0.02em;
}

.lcc-kpi-val.lcc-pink { color: #FF2FA6; }
.lcc-kpi-val.lcc-green { color: #22C55E; }
.lcc-kpi-val.lcc-amber { color: #F59E0B; }

.lcc-kpi-lbl {
    font-size: 0.6rem;
    font-weight: 500;
    color: var(--text-gray);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

/* Table */
.lcc-table-wrap {
    overflow-x: auto;
    max-height: 210px;
}

.lcc-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.72rem;
}

.lcc-table thead tr {
    background: rgba(255,47,166,0.06);
}

.lcc-table th {
    padding: 8px 12px;
    text-align: left;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-gray);
    border-bottom: 1px solid rgba(21,12,33,0.06);
    white-space: nowrap;
}

.lcc-row td {
    padding: 8px 12px;
    border-bottom: 1px solid rgba(21,12,33,0.04);
    color: var(--text-white);
    font-size: 0.73rem;
    vertical-align: middle;
    white-space: nowrap;
}

.lcc-row:hover td {
    background: rgba(255,47,166,0.04);
}

.lcc-row:last-child td { border-bottom: none; }

/* Status dots */
.lcc-agent-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: middle;
    flex-shrink: 0;
}

.lcc-dot-green { background: #22C55E; box-shadow: 0 0 5px rgba(34,197,94,0.6); animation: lccRowPulse 2s ease-in-out infinite; }
.lcc-dot-amber { background: #F59E0B; }
.lcc-dot-red   { background: #FF334B; }

@keyframes lccRowPulse {
    0%,100% { box-shadow: 0 0 4px rgba(34,197,94,0.5); }
    50%      { box-shadow: 0 0 9px rgba(34,197,94,0.9); }
}

/* Status badges */
.lcc-status-badge {
    display: inline-block;
    padding: 2px 9px;
    border-radius: 20px;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.lcc-s-connected { background: rgba(34,197,94,0.15); color: #16A34A; border: 1px solid rgba(34,197,94,0.3); }
.lcc-s-idle      { background: rgba(245,158,11,0.15); color: #B45309; border: 1px solid rgba(245,158,11,0.3); }
.lcc-s-break     { background: rgba(255,51,75,0.12);  color: #C8002C; border: 1px solid rgba(255,51,75,0.25); }

/* Action buttons */
.lcc-action-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 3px 5px;
    border-radius: 6px;
    transition: background 0.15s ease;
    line-height: 1;
}

.lcc-action-btn:hover {
    background: rgba(255,47,166,0.1);
}

/* Sparkline footer */
.lcc-footer {
    padding: 10px 14px 12px;
    border-top: 1px solid rgba(21,12,33,0.06);
    background: rgba(255,255,255,0.45);
}

.lcc-sparkline-label {
    font-size: 0.62rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--text-gray);
    margin-bottom: 6px;
}

.lcc-sparkline {
    width: 100%;
    height: 40px;
}

/* Dark mode overrides */
@media (prefers-color-scheme: dark) {
    .live-cc-panel {
        background: rgba(14,9,22,0.75);
        border-color: rgba(255,51,75,0.25);
        box-shadow: 0 32px 72px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,47,166,0.12);
    }

    .lcc-kpi-strip {
        background: rgba(14,9,22,0.5);
        border-bottom-color: rgba(255,255,255,0.06);
    }

    .lcc-kpi { border-right-color: rgba(255,255,255,0.05); }

    .lcc-table thead tr { background: rgba(255,47,166,0.08); }
    .lcc-table th { border-bottom-color: rgba(255,255,255,0.05); color: rgba(255,255,255,0.45); }
    .lcc-row td { border-bottom-color: rgba(255,255,255,0.04); }
    .lcc-row:hover td { background: rgba(255,47,166,0.06); }

    .lcc-footer { background: rgba(14,9,22,0.4); border-top-color: rgba(255,255,255,0.05); }

    .lcc-kpi-val.lcc-green { color: #4ADE80; }
    .lcc-s-connected { background: rgba(34,197,94,0.12); color: #4ADE80; }
    .lcc-s-idle      { background: rgba(245,158,11,0.12); color: #FCD34D; }
    .lcc-s-break     { background: rgba(255,51,75,0.12); color: #FF7083; }
}

/* =====================================================
   Realtime Dashboard Widget  (.rdt-*)
   ===================================================== */

.rdt-card {
    background: #FFFFFF;
    border-radius: 16px;
    border: 1px solid #E5E7EB;
    box-shadow: 0 8px 40px rgba(0,0,0,0.10), 0 2px 8px rgba(0,0,0,0.06);
    overflow: hidden;
    font-family: var(--font-body);
    color: #1F2937;
    width: 100%;
}

/* Top bar */
.rdt-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px 13px;
    border-bottom: 1px solid #F3F4F6;
    background: #FFFFFF;
}

.rdt-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #111827;
    letter-spacing: -0.01em;
}

.rdt-user-chip {
    display: flex;
    align-items: center;
    gap: 9px;
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 24px;
    padding: 5px 12px 5px 6px;
    cursor: pointer;
    transition: background 0.15s ease;
}
.rdt-user-chip:hover { background: #F3F4F6; }

.rdt-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF2FA6, #FF334B);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rdt-user-info {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.rdt-user-role {
    font-size: 0.58rem;
    font-weight: 500;
    color: #9CA3AF;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.rdt-user-org {
    font-size: 0.72rem;
    font-weight: 700;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
}
.rdt-user-org svg { color: #6B7280; flex-shrink: 0; }

/* Table wrapper */
.rdt-table-wrap {
    overflow-x: auto;
    overflow-y: auto;
    max-height: 320px;
}

/* Table */
.rdt-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.75rem;
    min-width: 680px;
}

.rdt-table thead {
    position: sticky;
    top: 0;
    z-index: 2;
}

.rdt-table thead tr {
    background: #F9FAFB;
    border-bottom: 1px solid #E5E7EB;
}

.rdt-table th {
    padding: 9px 12px;
    text-align: left;
    font-size: 0.68rem;
    font-weight: 600;
    color: #6B7280;
    white-space: nowrap;
    vertical-align: middle;
    line-height: 1.25;
    user-select: none;
}

.rdt-sort {
    font-size: 0.6rem;
    color: #D1D5DB;
    margin-left: 2px;
    vertical-align: middle;
}

/* Rows */
.rdt-row td {
    padding: 9px 12px;
    border-bottom: 1px solid #F3F4F6;
    color: #374151;
    font-size: 0.74rem;
    vertical-align: middle;
    white-space: nowrap;
}
.rdt-row:last-child td { border-bottom: none; }
.rdt-row:hover td { background: #FDF2FF; }

.rdt-dur {
    font-family: var(--font-heading);
    font-weight: 600;
    color: #111827;
    letter-spacing: -0.01em;
}

/* Status badges */
.rdt-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.rdt-break { background: #FCE7F3; color: #BE185D; border: 1px solid #F9A8D4; }
.rdt-pause { background: #EDE9FE; color: #6D28D9; border: 1px solid #C4B5FD; }
.rdt-acw   { background: #CCFBF1; color: #0F766E; border: 1px solid #99F6E4; }

/* Monitor cell */
.rdt-monitor-cell {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
}

.rdt-icons {
    display: flex;
    align-items: center;
    gap: 2px;
}

.rdt-icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    border-radius: 6px;
    color: #9CA3AF;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.14s ease, color 0.14s ease;
    flex-shrink: 0;
}
.rdt-icon-btn:hover { background: #F3F4F6; color: #374151; }

/* Make Ready */
.rdt-make-ready {
    background: #16A34A;
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    padding: 5px 11px;
    font-size: 0.65rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    letter-spacing: 0.01em;
    transition: background 0.15s ease, transform 0.1s ease;
    flex-shrink: 0;
}
.rdt-make-ready:hover { background: #15803D; transform: translateY(-1px); }

/* Scroll indicator */
.rdt-scroll-bar {
    height: 4px;
    background: #F3F4F6;
}

.rdt-scroll-thumb {
    height: 4px;
    width: 40%;
    background: linear-gradient(90deg, #FF2FA6, #FF334B);
    border-radius: 4px;
    animation: rdtScrollAnim 3s ease-in-out infinite alternate;
}

@keyframes rdtScrollAnim {
    0%   { margin-left: 0; }
    100% { margin-left: 60%; }
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
    .rdt-card { background: #0F0A18; border-color: rgba(255,255,255,0.08); box-shadow: 0 8px 40px rgba(0,0,0,0.45); color: #F9FAFB; }
    .rdt-topbar { background: #0F0A18; border-bottom-color: rgba(255,255,255,0.06); }
    .rdt-title { color: #F9FAFB; }
    .rdt-user-chip { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.1); }
    .rdt-user-chip:hover { background: rgba(255,255,255,0.1); }
    .rdt-user-role { color: #6B7280; }
    .rdt-user-org  { color: #E5E7EB; }
    .rdt-table thead tr { background: rgba(255,255,255,0.04); border-bottom-color: rgba(255,255,255,0.06); }
    .rdt-table th  { color: rgba(255,255,255,0.4); }
    .rdt-sort      { color: rgba(255,255,255,0.15); }
    .rdt-row td    { border-bottom-color: rgba(255,255,255,0.04); color: #D1D5DB; }
    .rdt-row:hover td { background: rgba(255,47,166,0.07); }
    .rdt-dur { color: #F9FAFB; }
    .rdt-break { background: rgba(236,72,153,0.15);  color: #F472B6; border-color: rgba(244,114,182,0.3); }
    .rdt-pause { background: rgba(139,92,246,0.15);  color: #A78BFA; border-color: rgba(167,139,250,0.3); }
    .rdt-acw   { background: rgba(20,184,166,0.15);  color: #2DD4BF; border-color: rgba(45,212,191,0.3); }
    .rdt-icon-btn        { color: rgba(255,255,255,0.3); }
    .rdt-icon-btn:hover  { background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.8); }
    .rdt-make-ready { background: #15803D; }
    .rdt-make-ready:hover { background: #166534; }
    .rdt-scroll-bar { background: rgba(255,255,255,0.05); }
}

/* ==========================================================================
   Ringingo Dashboard Views & Overview Card Layouts
   ========================================================================== */

.dashboard-view {
    display: none;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

.dashboard-view.active-view {
    display: flex;
}

/* Overview Header Row */
.overview-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.overview-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-white);
}

.overview-filter-tabs {
    background: var(--bg-input);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    padding: 4px;
    display: flex;
    gap: 4px;
}

.ov-tab-btn {
    background: none;
    border: none;
    color: var(--text-gray);
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.ov-tab-btn:hover {
    color: var(--text-white);
}

.ov-tab-btn.active {
    background: var(--bg-card);
    color: var(--text-white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Sections */
.overview-section-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.overview-section-title {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-gray);
    font-weight: 700;
    margin-bottom: 2px;
}

/* Grid Layouts */
.overview-grid-four {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
}

.overview-grid-five {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    width: 100%;
}

.overview-grid-eight {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 12px;
    width: 100%;
}

/* Card Styles */
.overview-card {
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition-smooth);
    min-height: 84px;
}

.overview-card:hover {
    transform: translateY(-2px);
}

.ov-card-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ov-card-label {
    font-size: 0.75rem;
    color: var(--text-gray);
    font-weight: 500;
    white-space: nowrap;
}

.ov-card-value {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-white);
    line-height: 1.2;
}

/* KPI Card Styles */
.overview-card-kpi {
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    transition: var(--transition-smooth);
    min-height: 128px;
}

.overview-card-kpi:hover {
    transform: translateY(-2px);
}

.kpi-card-value {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: -0.01em;
}

.kpi-card-label {
    font-size: 0.62rem;
    color: var(--text-gray);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

/* Icon themed wrappers */
.card-icon-wrapper {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.card-icon-wrapper.blue {
    background: rgba(37, 99, 235, 0.08);
    color: #2563eb;
    border: 1px solid rgba(37, 99, 235, 0.15);
}

.card-icon-wrapper.green {
    background: rgba(22, 163, 74, 0.08);
    color: #16a34a;
    border: 1px solid rgba(22, 163, 74, 0.15);
}

.card-icon-wrapper.orange {
    background: rgba(217, 119, 6, 0.08);
    color: #d97706;
    border: 1px solid rgba(217, 119, 6, 0.15);
}

.card-icon-wrapper.red {
    background: rgba(220, 38, 38, 0.08);
    color: #dc2626;
    border: 1px solid rgba(220, 38, 38, 0.15);
}

.card-icon-wrapper.purple {
    background: rgba(147, 51, 234, 0.08);
    color: #9333ea;
    border: 1px solid rgba(147, 51, 234, 0.15);
}

/* Dark mode overrides for cards */
@media (prefers-color-scheme: dark) {
    .ov-tab-btn.active {
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    }
    
    .card-icon-wrapper.blue {
        background: rgba(59, 130, 246, 0.15);
        color: #60a5fa;
        border-color: rgba(59, 130, 246, 0.3);
    }
    .card-icon-wrapper.green {
        background: rgba(34, 197, 94, 0.15);
        color: #4ade80;
        border-color: rgba(34, 197, 94, 0.3);
    }
    .card-icon-wrapper.orange {
        background: rgba(245, 158, 11, 0.15);
        color: #fbbf24;
        border-color: rgba(245, 158, 11, 0.3);
    }
    .card-icon-wrapper.red {
        background: rgba(248, 113, 113, 0.15);
        color: #f87171;
        border-color: rgba(248, 113, 113, 0.3);
    }
    .card-icon-wrapper.purple {
        background: rgba(192, 132, 252, 0.15);
        color: #c084fc;
        border-color: rgba(192, 132, 252, 0.3);
    }
}

/* Responsiveness */
@media (max-width: 1024px) {
    .overview-grid-eight {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .overview-grid-four {
        grid-template-columns: repeat(2, 1fr);
    }
    .overview-grid-five {
        grid-template-columns: repeat(2, 1fr);
    }
    .overview-grid-eight {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Custom Floating Particle Animations for Dialer Campaign performance card */
.floating-number-particle {
    position: absolute;
    pointer-events: none;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 6px;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
    opacity: 0;
    animation: floatUpParticle 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes floatUpParticle {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0.8);
    }
    15% {
        opacity: 1;
        transform: translateY(-10px) scale(1.1);
    }
    100% {
        opacity: 0;
        transform: translateY(-70px) scale(0.9);
    }
}
