/**
 * Crazy Techsol Pvt. Ltd. — AI Solutions Consultant Design System
 * Cyber Red Glow, Glassmorphism, Floating Widget & Morphism Landing Page
 */

:root {
    --cts-red-primary: #dc2626;
    --cts-red-glow: #ef4444;
    --cts-red-dark: #991b1b;
    --cts-red-gradient: linear-gradient(135deg, #ef4444 0%, #dc2626 50%, #b91c1c 100%);
    --cts-red-gradient-hover: linear-gradient(135deg, #f87171 0%, #ef4444 50%, #dc2626 100%);
    --cts-bg-glass: rgba(18, 4, 7, 0.92);
    --cts-bg-card: rgba(14, 3, 5, 0.95);
    --cts-red-border: rgba(220, 38, 38, 0.38);
    --cts-red-border-bright: rgba(239, 68, 68, 0.65);
    --cts-text-main: #f8fafc;
    --cts-text-muted: #94a3b8;
    --cts-font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --cts-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ==========================================================================
   1. FLOATING ACTION BUTTON (footer.php)
   ========================================================================== */
.cts-floating-widget-btn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999999 !important;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(18, 4, 7, 0.95);
    border: 1px solid var(--cts-red-border-bright);
    border-radius: 50px;
    padding: 7px 18px 7px 8px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.7), 0 0 25px rgba(220, 38, 38, 0.4);
    text-decoration: none !important;
    color: #ffffff !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    font-family: var(--cts-font-body);
}

.cts-floating-widget-btn:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.8), 0 0 35px rgba(239, 68, 68, 0.6);
    border-color: #ef4444;
}

.cts-float-icon-wrap {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--cts-red-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.6);
    flex-shrink: 0;
}

.cts-float-mic {
    font-size: 19px;
    color: #ffffff;
}

.cts-float-ping {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.5);
    animation: cts-radar-ping 2.2s infinite;
    pointer-events: none;
}

@keyframes cts-radar-ping {
    0% { transform: scale(1); opacity: 0.8; }
    70% { transform: scale(1.65); opacity: 0; }
    100% { transform: scale(1.65); opacity: 0; }
}

.cts-float-label {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.cts-float-title {
    font-family: var(--cts-font-heading);
    font-size: 14.5px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.cts-float-sub {
    font-size: 11px;
    color: #f87171;
    font-weight: 500;
}

/* ==========================================================================
   2. FLOATING CHAT MODAL (footer.php)
   ========================================================================== */
.cts-widget-modal {
    position: fixed;
    bottom: 95px;
    right: 28px;
    z-index: 999998 !important;
    width: 400px;
    max-width: calc(100vw - 32px);
    height: 590px;
    max-height: calc(100vh - 120px);
    background: var(--cts-bg-glass);
    border: 1px solid var(--cts-red-border);
    border-radius: 24px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.85), 0 0 45px rgba(220, 38, 38, 0.25);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    display: none;
    flex-direction: column;
    overflow: hidden;
    font-family: var(--cts-font-body);
    animation: cts-modal-pop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.cts-widget-modal.show {
    display: flex !important;
}

.cts-widget-modal.fullscreen {
    width: 95vw !important;
    max-width: 1200px !important;
    height: 90vh !important;
    max-height: 90vh !important;
    bottom: 5vh !important;
    right: calc(50vw - 47.5vw) !important;
    left: calc(50vw - 47.5vw) !important;
    border-radius: 24px !important;
}

@keyframes cts-modal-pop {
    0% { opacity: 0; transform: translateY(25px) scale(0.95); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* Header */
.cts-widget-header {
    background: rgba(24, 6, 9, 0.95);
    border-bottom: 1px solid var(--cts-red-border);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.cts-header-profile {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cts-header-info {
    display: flex;
    flex-direction: column;
}

.cts-header-name {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--cts-font-heading);
    font-size: 15.5px;
    font-weight: 700;
    color: #ffffff;
}

.cts-verified-badge {
    color: #22c55e;
    font-size: 11px;
}

.cts-header-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    color: #94a3b8;
}

.cts-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 8px #22c55e;
}

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

.cts-widget-action-btn,
.cts-creative-close-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cts-widget-action-btn:hover,
.cts-creative-close-btn:hover {
    background: rgba(220, 38, 38, 0.25);
    border-color: rgba(220, 38, 38, 0.6);
    color: #ffffff;
}

/* Modal Body */
.cts-widget-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 16px;
    position: relative;
}

.cts-lead-gate-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 8px 4px;
    margin: auto 0;
}

.cts-gate-header-mini h4 {
    font-family: var(--cts-font-heading);
    font-size: 19px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 6px;
}

.cts-gate-header-mini p {
    font-size: 13px;
    color: #94a3b8;
    margin: 0;
    line-height: 1.45;
}

/* Active Consultation Workspace */
.cts-consultation-workspace {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Active Client Bar */
.cts-active-client-bar {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    min-height: 38px !important;
    background: rgba(28, 6, 10, 0.85) !important;
    border: 1px solid var(--cts-red-border) !important;
    border-radius: 12px !important;
    padding: 6px 12px !important;
    margin-bottom: 12px !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
}

.cts-client-info-preview {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #e2e8f0 !important;
}

.cts-greeting-name {
    color: #ffffff !important;
    letter-spacing: 0.1px !important;
}

.cts-greeting-name strong {
    color: #fca5a5 !important;
    font-weight: 700 !important;
}

.cts-guest-dot {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background: #94a3b8 !important;
    display: inline-block !important;
    flex-shrink: 0 !important;
}

.cts-guest-text {
    color: #94a3b8 !important;
    font-size: 12px !important;
}

.cts-live-indicator {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background: #22c55e !important;
    box-shadow: 0 0 10px #22c55e !important;
    flex-shrink: 0 !important;
    animation: cts-dot-pulse 1.8s infinite !important;
}

@keyframes cts-dot-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.cts-edit-profile-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: max-content !important;
    min-width: unset !important;
    margin-left: auto !important;
    white-space: nowrap !important;
    background: rgba(220, 38, 38, 0.12) !important;
    background-color: rgba(220, 38, 38, 0.12) !important;
    border: 1px solid rgba(220, 38, 38, 0.35) !important;
    color: #fca5a5 !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    font-family: var(--cts-font-body) !important;
    padding: 4px 12px !important;
    border-radius: 20px !important;
    cursor: pointer !important;
    gap: 5px !important;
    line-height: 1.2 !important;
    height: auto !important;
    box-shadow: none !important;
    outline: none !important;
    text-decoration: none !important;
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.cts-edit-profile-btn:hover {
    background: rgba(220, 38, 38, 0.28) !important;
    background-color: rgba(220, 38, 38, 0.28) !important;
    border-color: #ef4444 !important;
    color: #ffffff !important;
    transform: translateY(-1px) scale(1.03) !important;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.35) !important;
}

.cts-edit-profile-btn.cts-btn-add-details {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.25) 0%, rgba(220, 38, 38, 0.15) 100%) !important;
    border-color: rgba(239, 68, 68, 0.5) !important;
    color: #fca5a5 !important;
}

.cts-edit-profile-btn.cts-btn-add-details:hover {
    background: #dc2626 !important;
    color: #ffffff !important;
    border-color: #ef4444 !important;
}

/* Mode Switcher */
.cts-mode-switch {
    display: flex;
    gap: 8px;
    background: rgba(10, 2, 4, 0.6);
    padding: 4px;
    border-radius: 10px;
    margin-bottom: 12px;
    flex-shrink: 0;
}

.cts-mode-btn {
    flex: 1;
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 12.5px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.cts-mode-btn.active {
    background: var(--cts-red-gradient);
    color: #ffffff;
}

/* Mini Voice Orb */
.cts-ai-orb-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 0 6px;
    text-align: center;
}

.cts-consultation-workspace.text-mode .cts-ai-orb-wrapper {
    display: none !important;
}

.cts-ai-orb {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #ef4444 0%, #dc2626 50%, #7f1d1d 100%);
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.7);
    color: #ffffff;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cts-ai-orb.active-pulse,
.cts-ai-orb.active-speaking {
    animation: cts-orb-glow 1.5s infinite;
}

@keyframes cts-orb-glow {
    0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.8); }
    70% { box-shadow: 0 0 0 20px rgba(239, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.cts-equalizer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 22px;
    margin: 8px 0 4px;
}

.cts-eq-bar {
    width: 3.5px;
    height: 5px;
    background: #ef4444;
    border-radius: 3px;
    transition: height 0.15s ease;
}

.cts-equalizer.active .cts-eq-bar:nth-child(1) { animation: cts-eq-anim 0.8s infinite alternate 0.1s; }
.cts-equalizer.active .cts-eq-bar:nth-child(2) { animation: cts-eq-anim 0.8s infinite alternate 0.3s; }
.cts-equalizer.active .cts-eq-bar:nth-child(3) { animation: cts-eq-anim 0.8s infinite alternate 0.5s; }
.cts-equalizer.active .cts-eq-bar:nth-child(4) { animation: cts-eq-anim 0.8s infinite alternate 0.2s; }
.cts-equalizer.active .cts-eq-bar:nth-child(5) { animation: cts-eq-anim 0.8s infinite alternate 0.4s; }

@keyframes cts-eq-anim {
    0% { height: 5px; }
    100% { height: 20px; background: #fca5a5; }
}

.cts-status-text {
    font-size: 12px;
    color: #cbd5e1;
    font-weight: 500;
}

/* Transcript Panel */
.cts-transcript-panel {
    flex: 1;
    background: rgba(10, 2, 4, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 12px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 12px;
    min-height: 140px;
}

.cts-chat-msg {
    display: flex;
    max-width: 85%;
}

.cts-chat-msg.agent {
    align-self: flex-start;
}

.cts-chat-msg.user {
    align-self: flex-end;
}

.cts-msg-bubble {
    padding: 8px 14px;
    font-size: 13px;
    line-height: 1.45;
    border-radius: 14px;
}

.cts-chat-msg.agent .cts-msg-bubble {
    background: rgba(24, 6, 9, 0.95);
    border: 1px solid rgba(220, 38, 38, 0.3);
    color: #ffffff;
    border-bottom-left-radius: 2px;
}

.cts-chat-msg.user .cts-msg-bubble {
    background: var(--cts-red-gradient);
    color: #ffffff;
    border-bottom-right-radius: 2px;
}

/* ==========================================================================
   3. CHATGPT / CLAUDE STYLE INPUT BAR (Side-by-Side Mic & Send)
   ========================================================================== */
.cts-input-bar,
.cts-console-input-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(14, 3, 6, 0.95);
    border: 1px solid rgba(220, 38, 38, 0.35);
    border-radius: 24px;
    padding: 5px 8px 5px 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: all 0.25s ease;
    position: relative;
    z-index: 5;
    flex-shrink: 0 !important;
    margin-top: auto;
}

.cts-input-bar:focus-within,
.cts-console-input-bar:focus-within {
    border-color: #ef4444;
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.4), 0 12px 35px rgba(0, 0, 0, 0.6);
}

.cts-input-bar input,
.cts-console-input-bar input {
    flex: 1;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    color: #ffffff;
    font-size: 14px;
    font-family: var(--cts-font-body);
    padding: 7px 4px;
    min-width: 0;
}

.cts-input-bar input::placeholder,
.cts-console-input-bar input::placeholder {
    color: #94a3b8;
    opacity: 0.85;
}

.cts-input-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.cts-input-mic-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cts-input-mic-btn:hover {
    background: rgba(220, 38, 38, 0.25);
    border-color: rgba(220, 38, 38, 0.6);
    color: #ffffff;
    transform: scale(1.08);
}

.cts-input-mic-btn.active-voice {
    background: radial-gradient(circle at 35% 35%, #ef4444 0%, #dc2626 60%, #991b1b 100%);
    border-color: rgba(255, 255, 255, 0.8);
    color: #ffffff;
    box-shadow: 0 0 16px rgba(239, 68, 68, 0.85);
    animation: cts-mic-pulse 1.4s infinite;
}

@keyframes cts-mic-pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    50% { transform: scale(1.1); box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

/* ==========================================================================
   Claude & ChatGPT Style Multi-Bar Waveform Voice Icon
   ========================================================================== */
.cts-wave-icon-bars {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 2.5px;
    height: 16px;
    vertical-align: middle;
}

.cts-wave-icon-bars span {
    display: block;
    width: 2.5px;
    background: currentColor;
    border-radius: 2px;
    transition: all 0.2s ease;
}

.cts-wave-icon-bars span:nth-child(1) { height: 6px; }
.cts-wave-icon-bars span:nth-child(2) { height: 13px; }
.cts-wave-icon-bars span:nth-child(3) { height: 16px; }
.cts-wave-icon-bars span:nth-child(4) { height: 8px; }

/* Large Wave Icon for Central Orb */
.cts-wave-icon-bars.large {
    gap: 4px;
    height: 26px;
}
.cts-wave-icon-bars.large span {
    width: 4px;
    border-radius: 3px;
}
.cts-wave-icon-bars.large span:nth-child(1) { height: 9px; }
.cts-wave-icon-bars.large span:nth-child(2) { height: 18px; }
.cts-wave-icon-bars.large span:nth-child(3) { height: 26px; }
.cts-wave-icon-bars.large span:nth-child(4) { height: 18px; }
.cts-wave-icon-bars.large span:nth-child(5) { height: 9px; }

/* Dynamic Live Animation — ONLY when active/speaking */
.cts-input-mic-btn.active-voice .cts-wave-icon-bars.active span,
.cts-voice-orb-mini.active .cts-wave-icon-bars span,
.cts-inline-audio-wave.active span {
    animation: cts-soundwave-dance 0.85s infinite ease-in-out alternate;
}

/* Central Real-Time Animated Soundwave Visualizer in Voice Bar */
.cts-inline-audio-wave {
    display: flex;
    align-items: center;
    gap: 3px;
    height: 22px;
}

.cts-inline-audio-wave span {
    display: block;
    width: 3px;
    height: 4px;
    background: #64748b;
    border-radius: 3px;
    opacity: 0.4;
    transition: all 0.25s ease;
}

/* Speaking User (Cyan / Blue Glow) */
.cts-inline-audio-wave.speaking-user span {
    background: #38bdf8;
    box-shadow: 0 0 8px rgba(56, 189, 248, 0.8);
    opacity: 1;
    animation: cts-soundwave-dance-user 0.75s infinite ease-in-out alternate;
}

/* Speaking Agent (Red / Amber Glow) */
.cts-inline-audio-wave.speaking-agent span {
    background: #ef4444;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.85);
    opacity: 1;
    animation: cts-soundwave-dance-agent 0.85s infinite ease-in-out alternate;
}

.cts-inline-audio-wave span:nth-child(1) { animation-delay: 0.1s !important; }
.cts-inline-audio-wave span:nth-child(2) { animation-delay: 0.35s !important; }
.cts-inline-audio-wave span:nth-child(3) { animation-delay: 0.15s !important; }
.cts-inline-audio-wave span:nth-child(4) { animation-delay: 0.45s !important; }
.cts-inline-audio-wave span:nth-child(5) { animation-delay: 0.25s !important; }
.cts-inline-audio-wave span:nth-child(6) { animation-delay: 0.5s !important; }
.cts-inline-audio-wave span:nth-child(7) { animation-delay: 0.2s !important; }

@keyframes cts-soundwave-dance-user {
    0% { height: 4px; transform: scaleY(0.4); opacity: 0.7; }
    50% { height: 22px; transform: scaleY(1.3); opacity: 1; }
    100% { height: 6px; transform: scaleY(0.5); opacity: 0.8; }
}

@keyframes cts-soundwave-dance-agent {
    0% { height: 4px; transform: scaleY(0.4); opacity: 0.7; }
    50% { height: 24px; transform: scaleY(1.4); opacity: 1; }
    100% { height: 6px; transform: scaleY(0.5); opacity: 0.8; }
}

.cts-live-pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 8px #22c55e;
    display: inline-block;
    animation: cts-live-blink 1.2s infinite ease-in-out;
}

@keyframes cts-live-blink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.8); }
}

/* System Call Notice Pill */
.cts-system-notice {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px 0;
    width: 100%;
    clear: both;
}

.cts-system-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 3px 12px;
    font-size: 11px;
    color: #94a3b8;
    letter-spacing: 0.2px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.cts-send-btn,
.cts-console-send-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--cts-red-gradient);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13.5px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    flex-shrink: 0;
}

.cts-send-btn:hover,
.cts-console-send-btn:hover {
    background: var(--cts-red-gradient-hover);
    transform: scale(1.08);
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.6);
}

/* ==========================================================================
   4. FULL-PAGE MORPHISM (ai-consultant.php)
   ========================================================================== */
.cts-morphism-page-wrapper {
    position: relative;
    background: #070204;
    color: #ffffff;
    font-family: var(--cts-font-body);
    padding: 80px 0 120px;
    overflow: hidden;
    min-height: 100vh;
}

.cts-glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.35;
}

.cts-glow-orb-1 {
    top: 5%;
    left: 10%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, #dc2626 0%, rgba(220, 38, 38, 0) 70%);
}

.cts-glow-orb-2 {
    top: 25%;
    right: 5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #991b1b 0%, rgba(153, 27, 27, 0) 70%);
}

.cts-morphism-hero {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.cts-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(220, 38, 38, 0.15);
    border: 1px solid var(--cts-red-border-bright);
    color: #fca5a5;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 18px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.cts-hero-title {
    font-family: var(--cts-font-heading);
    font-size: clamp(32px, 5vw, 54px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.cts-gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, #fca5a5 50%, #ef4444 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cts-hero-desc {
    font-size: 17px;
    color: #cbd5e1;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

.cts-morphism-card,
.cts-workspace-card {
    background: rgba(18, 4, 7, 0.9);
    border: 1px solid var(--cts-red-border-bright);
    border-radius: 24px;
    padding: 36px 32px;
    box-shadow: 0 35px 90px rgba(0, 0, 0, 0.85), 0 0 45px rgba(220, 38, 38, 0.2);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.cts-glass-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cts-glass-input-box {
    position: relative;
    display: flex;
    align-items: center;
}

.cts-field-icon {
    position: absolute;
    left: 18px;
    color: #94a3b8;
    font-size: 16px;
    pointer-events: none;
}

.cts-glass-input-box input {
    width: 100%;
    background: rgba(10, 2, 4, 0.85);
    border: 1px solid rgba(220, 38, 38, 0.3);
    border-radius: 14px;
    padding: 13px 18px 13px 48px;
    color: #ffffff;
    font-size: 14.5px;
    font-family: var(--cts-font-body);
    outline: none;
    transition: all 0.25s ease;
}

.cts-glass-input-box input:focus {
    border-color: #ef4444;
    box-shadow: 0 0 16px rgba(220, 38, 38, 0.4);
}

.cts-glass-submit-btn,
.cts-gate-cta-btn {
    background: var(--cts-red-gradient);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-family: var(--cts-font-heading);
    font-size: 16px;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.5);
    transition: all 0.3s ease;
}

.cts-glass-submit-btn:hover,
.cts-gate-cta-btn:hover {
    background: var(--cts-red-gradient-hover);
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(220, 38, 38, 0.7);
}

/* Landing Page Console Stage */
.cts-orb-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 0 14px;
    text-align: center;
}

.cts-orb-button {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #ef4444 0%, #dc2626 50%, #7f1d1d 100%);
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 15px 40px rgba(220, 38, 38, 0.7);
    color: #ffffff;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cts-orb-button.active-pulse,
.cts-orb-button.active-speaking {
    animation: cts-orb-glow 1.5s infinite;
}

.cts-wave-equalizer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    height: 26px;
    margin: 12px 0 6px;
}

.cts-wave-bar {
    width: 4px;
    height: 6px;
    background: #ef4444;
    border-radius: 4px;
    transition: height 0.15s ease;
}

.cts-wave-equalizer.active .cts-wave-bar:nth-child(1) { animation: cts-eq-anim 0.8s infinite alternate 0.1s; }
.cts-wave-equalizer.active .cts-wave-bar:nth-child(2) { animation: cts-eq-anim 0.8s infinite alternate 0.3s; }
.cts-wave-equalizer.active .cts-wave-bar:nth-child(3) { animation: cts-eq-anim 0.8s infinite alternate 0.5s; }
.cts-wave-equalizer.active .cts-wave-bar:nth-child(4) { animation: cts-eq-anim 0.8s infinite alternate 0.2s; }
.cts-wave-equalizer.active .cts-wave-bar:nth-child(5) { animation: cts-eq-anim 0.8s infinite alternate 0.4s; }

.cts-console-status {
    font-size: 13.5px;
    color: #cbd5e1;
    font-weight: 500;
}

.cts-console-stream {
    background: rgba(10, 2, 4, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 20px;
    min-height: 220px;
    max-height: 380px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 10px 0 16px;
}

.cts-stream-bubble {
    display: flex;
    max-width: 85%;
}

.cts-stream-bubble.agent {
    align-self: flex-start;
}

.cts-stream-bubble.user {
    align-self: flex-end;
}

.cts-bubble-content {
    padding: 12px 18px;
    font-size: 14px;
    line-height: 1.55;
    border-radius: 16px;
}

.cts-stream-bubble.agent .cts-bubble-content {
    background: rgba(24, 6, 9, 0.95);
    border: 1px solid rgba(220, 38, 38, 0.35);
    color: #ffffff;
    border-bottom-left-radius: 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.cts-stream-bubble.user .cts-bubble-content {
    background: var(--cts-red-gradient);
    color: #ffffff;
    border-bottom-right-radius: 4px;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
}

.cts-starter-chips {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 12px 0 16px;
}

.cts-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(220, 38, 38, 0.12);
    border: 1px solid rgba(220, 38, 38, 0.35);
    color: #f1f5f9;
    font-size: 13px;
    font-weight: 500;
    padding: 7px 16px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    backdrop-filter: blur(8px);
}

.cts-chip:hover {
    background: rgba(220, 38, 38, 0.3);
    border-color: #ef4444;
    color: #ffffff;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 18px rgba(220, 38, 38, 0.4);
}

.cts-verify-card,
.cts-contact-card {
    background: rgba(24, 6, 9, 0.98);
    border: 1px solid var(--cts-red-border-bright);
    border-radius: 18px;
    padding: 24px;
    margin-top: 16px;
}

.cts-verify-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.cts-verify-header i {
    color: #ef4444;
    font-size: 20px;
    margin-top: 2px;
}

.cts-verify-header h4 {
    font-family: var(--cts-font-heading);
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 4px;
}

.cts-verify-header p {
    font-size: 13px;
    color: #94a3b8;
    margin: 0;
}

.cts-verify-grid,
.cts-contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 16px 0;
}

.cts-verify-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
}

.cts-verify-field label {
    font-size: 12.5px;
    font-weight: 600;
    color: #cbd5e1;
}

.cts-verify-field input,
.cts-contact-form-grid input {
    width: 100%;
    background: rgba(10, 2, 4, 0.9);
    border: 1px solid rgba(220, 38, 38, 0.35);
    border-radius: 10px;
    padding: 11px 14px;
    color: #ffffff;
    font-size: 13.5px;
    outline: none;
    transition: all 0.2s ease;
}

.cts-verify-field input:focus {
    border-color: #ef4444;
    box-shadow: 0 0 14px rgba(220, 38, 38, 0.4);
}

.cts-verify-submit-btn,
.cts-contact-submit-btn {
    width: 100%;
    background: var(--cts-red-gradient);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: #ffffff;
    font-family: var(--cts-font-heading);
    font-weight: 700;
    padding: 13px 20px;
    cursor: pointer;
    font-size: 14.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.25s ease;
}

.cts-verify-submit-btn:hover,
.cts-contact-submit-btn:hover {
    background: var(--cts-red-gradient-hover);
    box-shadow: 0 8px 24px rgba(220, 38, 38, 0.6);
}

/* ==========================================================================
   5. CHATGPT APP STYLE VOICE POP MODAL OVERLAY (INSIDE CHATBOX CONTAINER)
   ========================================================================== */
.cts-voice-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1000005;
    background: rgba(4, 1, 3, 0.88);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: cts-fade-in 0.25s ease forwards;
}

/* Scoped specifically inside Floating Chatbox Widget */
.cts-widget-modal .cts-voice-modal-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 99 !important;
    background: rgba(12, 2, 5, 0.97) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    padding: 10px !important;
    border-radius: 24px !important;
}

@keyframes cts-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.cts-voice-modal-card {
    width: 380px;
    max-width: 92vw;
    background: radial-gradient(circle at 50% 20%, rgba(35, 8, 14, 0.96) 0%, rgba(14, 3, 6, 0.98) 100%);
    border: 1px solid rgba(239, 68, 68, 0.45);
    border-radius: 36px;
    padding: 28px 24px;
    box-shadow: 0 35px 100px rgba(0, 0, 0, 0.95), 0 0 60px rgba(220, 38, 38, 0.35);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: cts-card-pop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.cts-widget-modal .cts-voice-modal-card {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    background: radial-gradient(circle at 50% 15%, rgba(32, 6, 12, 0.98) 0%, rgba(12, 2, 5, 0.99) 100%) !important;
    border: 1px solid rgba(239, 68, 68, 0.38) !important;
    border-radius: 18px !important;
    padding: 14px 14px 16px !important;
    box-shadow: inset 0 0 25px rgba(0, 0, 0, 0.7), 0 8px 30px rgba(0, 0, 0, 0.6) !important;
    justify-content: space-between !important;
}

@keyframes cts-card-pop {
    0% { transform: scale(0.85) translateY(20px); opacity: 0; }
    100% { transform: scale(1) translateY(0); opacity: 1; }
}

.cts-voice-modal-top {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.cts-widget-modal .cts-voice-modal-top {
    margin-bottom: 8px !important;
}

.cts-voice-modal-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--cts-font-heading);
    font-size: 14.5px;
    font-weight: 700;
    color: #e2e8f0;
}

.cts-voice-modal-close {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #94a3b8;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cts-voice-modal-close:hover {
    background: rgba(220, 38, 38, 0.3);
    border-color: #ef4444;
    color: #ffffff;
}

/* Stage & Orb */
.cts-voice-modal-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
    padding: 15px 0 25px;
}

.cts-widget-modal .cts-voice-modal-stage {
    padding: 6px 0 10px !important;
    flex: 1 !important;
}

.cts-voice-orb-glow {
    position: absolute;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(239, 68, 68, 0.4) 0%, rgba(220, 38, 38, 0) 70%);
    filter: blur(25px);
    pointer-events: none;
    animation: cts-glow-pulse 2.2s infinite ease-in-out alternate;
}

.cts-widget-modal .cts-voice-orb-glow {
    width: 125px !important;
    height: 125px !important;
    filter: blur(18px) !important;
}

@keyframes cts-glow-pulse {
    0% { transform: scale(0.9); opacity: 0.5; }
    100% { transform: scale(1.3); opacity: 0.9; }
}

.cts-voice-orb-blob {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #ff6b6b 0%, #dc2626 50%, #7f1d1d 100%);
    box-shadow: 0 15px 45px rgba(220, 38, 38, 0.8), inset 0 2px 4px rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    animation: cts-chatgpt-fluid 3.5s infinite ease-in-out;
}

.cts-widget-modal .cts-voice-orb-blob {
    width: 86px !important;
    height: 86px !important;
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.7), inset 0 2px 4px rgba(255, 255, 255, 0.5) !important;
}

@keyframes cts-chatgpt-fluid {
    0% { border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%; transform: scale(1); }
    33% { border-radius: 60% 40% 55% 45% / 45% 55% 45% 55%; transform: scale(1.05); }
    66% { border-radius: 45% 55% 40% 60% / 55% 45% 60% 40%; transform: scale(0.98); }
    100% { border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%; transform: scale(1); }
}

.cts-voice-orb-core {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 22px;
}

.cts-widget-modal .cts-voice-orb-core {
    width: 40px !important;
    height: 40px !important;
    font-size: 18px !important;
}

.cts-voice-wave-bars {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    height: 24px;
    margin: 20px 0 12px;
}

.cts-widget-modal .cts-voice-wave-bars {
    margin: 10px 0 6px !important;
    height: 18px !important;
}

.cts-voice-wave-bars span {
    width: 4px;
    height: 6px;
    background: #ef4444;
    border-radius: 4px;
    transition: height 0.15s ease;
}

.cts-voice-wave-bars.active span:nth-child(1) { animation: cts-eq-anim 0.8s infinite alternate 0.1s; }
.cts-voice-wave-bars.active span:nth-child(2) { animation: cts-eq-anim 0.8s infinite alternate 0.3s; }
.cts-voice-wave-bars.active span:nth-child(3) { animation: cts-eq-anim 0.8s infinite alternate 0.5s; }
.cts-voice-wave-bars.active span:nth-child(4) { animation: cts-eq-anim 0.8s infinite alternate 0.2s; }
.cts-voice-wave-bars.active span:nth-child(5) { animation: cts-eq-anim 0.8s infinite alternate 0.4s; }

.cts-voice-modal-status {
    font-family: var(--cts-font-heading);
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
}

.cts-widget-modal .cts-voice-modal-status {
    font-size: 14.5px !important;
    margin-bottom: 3px !important;
}

.cts-voice-modal-subtext {
    font-size: 12.5px;
    color: #94a3b8;
    line-height: 1.4;
}

.cts-widget-modal .cts-voice-modal-subtext {
    font-size: 11px !important;
    max-width: 250px !important;
    line-height: 1.3 !important;
}

/* Actions */
.cts-voice-modal-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;
    margin-top: 10px;
}

.cts-widget-modal .cts-voice-modal-actions {
    margin-top: 6px !important;
    gap: 14px !important;
}

.cts-voice-action-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cts-widget-modal .cts-voice-action-btn {
    width: 44px !important;
    height: 44px !important;
    font-size: 16px !important;
}

.cts-voice-action-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.08);
}

.cts-voice-action-btn.muted {
    background: rgba(239, 68, 68, 0.2);
    border-color: #ef4444;
    color: #ef4444;
}

.cts-voice-end-btn {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 60%, #991b1b 100%);
    border: 2px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.7);
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cts-widget-modal .cts-voice-end-btn {
    width: 52px !important;
    height: 52px !important;
    font-size: 18px !important;
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.6) !important;
}

.cts-voice-end-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 14px 40px rgba(239, 68, 68, 0.9);
}

/* ==========================================================================
   6. AI CONSULTANT FULL-PAGE ARENA & HERO EXPANDED STYLES
   ========================================================================== */
.cts-morphism-hero .cts-hero-headline {
    font-family: var(--cts-font-heading);
    font-size: clamp(30px, 4.5vw, 52px);
    font-weight: 800;
    line-height: 1.18;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
    color: #ffffff;
}

.cts-morphism-hero .cts-hero-subtext {
    font-size: 16.5px;
    color: #cbd5e1;
    max-width: 680px;
    margin: 0 auto 24px;
    line-height: 1.6;
}

.cts-feature-pills-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 36px;
}

.cts-pill-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(18, 4, 7, 0.85);
    border: 1px solid rgba(220, 38, 38, 0.35);
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 12.5px;
    font-weight: 600;
    color: #f1f5f9;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.cts-pill-tag i {
    color: #ef4444;
}

.cts-morphism-arena {
    max-width: 860px;
    margin: 0 auto 60px;
    position: relative;
    z-index: 5;
}

.cts-gate-card {
    background: rgba(18, 4, 7, 0.9);
    border: 1px solid var(--cts-red-border-bright);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 35px 90px rgba(0, 0, 0, 0.85), 0 0 50px rgba(220, 38, 38, 0.25);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.cts-gate-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cts-gate-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--cts-red-gradient);
    border: 2px solid rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 26px;
    box-shadow: 0 10px 25px rgba(220, 38, 38, 0.6);
    margin-bottom: 16px;
}

.cts-gate-header h3 {
    font-family: var(--cts-font-heading);
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.cts-gate-header p {
    font-size: 14px;
    color: #94a3b8;
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.5;
}

.cts-gate-form-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
}

.cts-gate-input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
}

.cts-gate-input-group label {
    font-size: 13px;
    font-weight: 600;
    color: #e2e8f0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.cts-gate-input-group label i {
    color: #ef4444;
}

.cts-gate-input-group input {
    width: 100%;
    background: rgba(10, 2, 4, 0.85);
    border: 1px solid rgba(220, 38, 38, 0.35);
    border-radius: 12px;
    padding: 13px 16px;
    color: #ffffff;
    font-size: 14.5px;
    font-family: var(--cts-font-body);
    outline: none;
    transition: all 0.25s ease;
}

.cts-gate-input-group input:focus {
    border-color: #ef4444;
    box-shadow: 0 0 18px rgba(220, 38, 38, 0.4);
}

.cts-gate-footer-note {
    font-size: 12px;
    color: #94a3b8;
    text-align: center;
    margin-top: 6px;
}

/* Morphism 3-Step Process Grid */
.cts-morphism-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
    position: relative;
    z-index: 2;
}

.cts-step-card {
    background: rgba(18, 4, 7, 0.75);
    border: 1px solid rgba(220, 38, 38, 0.25);
    border-radius: 20px;
    padding: 30px 24px;
    backdrop-filter: blur(20px);
    position: relative;
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
}

.cts-step-card:hover {
    transform: translateY(-6px);
    border-color: rgba(239, 68, 68, 0.6);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(220, 38, 38, 0.25);
}

.cts-step-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    font-family: var(--cts-font-heading);
    font-size: 20px;
    font-weight: 800;
    color: rgba(239, 68, 68, 0.35);
}

.cts-step-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(220, 38, 38, 0.15);
    border: 1px solid rgba(220, 38, 38, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ef4444;
    font-size: 22px;
    margin-bottom: 18px;
}

.cts-step-card h4 {
    font-family: var(--cts-font-heading);
    font-size: 19px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.cts-step-card p {
    font-size: 14px;
    color: #94a3b8;
    line-height: 1.6;
    margin: 0;
}

/* Success Card */
.cts-verify-success {
    background: rgba(24, 6, 9, 0.98);
    border: 1px solid #22c55e;
    border-radius: 20px;
    padding: 28px 24px;
    text-align: center;
    margin-top: 14px;
}

.cts-success-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.15);
    border: 2px solid #22c55e;
    color: #22c55e;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
}

.cts-verify-success h4 {
    font-family: var(--cts-font-heading);
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.cts-verify-success p {
    font-size: 14px;
    color: #cbd5e1;
    margin-bottom: 18px;
}

.cts-success-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.cts-btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13.5px;
    transition: all 0.2s ease;
}

.cts-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
}

.cts-btn-whatsapp {
    background: #25d366;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.cts-btn-whatsapp:hover {
    background: #20ba5a;
    color: #ffffff;
}

@media (max-width: 991px) {
    .cts-morphism-steps-grid {
        grid-template-columns: 1fr;
    }
    .cts-gate-card {
        padding: 28px 20px;
    }
}

/* ==========================================================================
   Integrated Inline Live Voice Bar (100% Unobstructed Chat)
   ========================================================================== */
.cts-inline-voice-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.22) 0%, rgba(20, 5, 10, 0.96) 100%);
    border: 1px solid rgba(239, 68, 68, 0.45);
    border-radius: 14px;
    padding: 10px 14px;
    margin-bottom: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: cts-fade-slide-down 0.25s ease-out;
    flex-shrink: 0;
}

@keyframes cts-fade-slide-down {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.cts-voice-bar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cts-voice-orb-mini {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #ef4444 0%, #dc2626 65%, #7f1d1d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 14px rgba(239, 68, 68, 0.75);
    animation: cts-orb-glow-pulse 2s infinite ease-in-out;
}

.cts-voice-orb-mini .cts-wave-icon-bars span {
    background: #ffffff;
    width: 2px;
}

.cts-voice-bar-info {
    display: flex;
    flex-direction: column;
}

.cts-voice-bar-status {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.2px;
}

.cts-voice-bar-subtext {
    font-size: 11px;
    color: #cbd5e1;
    line-height: 1.3;
}

.cts-voice-bar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cts-voice-bar-btn {
    border: none;
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cts-voice-bar-btn.mute {
    background: rgba(255, 255, 255, 0.1);
    color: #f1f5f9;
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.cts-voice-bar-btn.mute:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: scale(1.05);
}

.cts-voice-bar-btn.mute.muted {
    background: #dc2626;
    color: #ffffff;
    border-color: #ef4444;
}

.cts-voice-bar-btn.end {
    background: #dc2626;
    color: #ffffff;
    border: 1px solid #ef4444;
}

.cts-voice-bar-btn.end:hover {
    background: #b91c1c;
    transform: scale(1.05);
    box-shadow: 0 0 12px rgba(220, 38, 38, 0.6);
}

