/* ==========================================================================
   ORBIT AI ASSISTANT v2.0 - Neural Intelligence Engine
   Iconic Orbit Official Colors: #0091FF, #00D1FF, #05070D, #0A0E1A
   ========================================================================== */

:root {
    --orbit-primary: #0091FF;
    --orbit-cyan: #00D1FF;
    --orbit-glow: rgba(0, 145, 255, 0.45);
    --orbit-bg-dark: #07090E;
    --orbit-card-bg: rgba(10, 15, 28, 0.85);
    --orbit-glass-border: rgba(0, 145, 255, 0.25);
    --orbit-text-muted: #94A3B8;
    --orbit-success: #10B981;
    --orbit-warning: #F59E0B;
    --orbit-danger: #EF4444;
}

/* ==================== 1. FLOATING LAUNCHER (BOTTOM-RIGHT) ==================== */
.orbit-floating-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99999;
    display: flex;
    align-items: center;
    gap: 16px;
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    user-select: none;
}

/* Notification Badge */
.orbit-notif-badge {
    position: absolute;
    top: -6px;
    right: -4px;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #EF4444, #DC2626);
    color: #FFF;
    font-size: 11px;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.6);
    animation: orbitBadgePop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* Speech Bubble */
.orbit-speech-bubble {
    background: rgba(10, 15, 28, 0.88);
    border: 1px solid var(--orbit-glass-border);
    backdrop-filter: blur(24px) saturate(1.6);
    -webkit-backdrop-filter: blur(24px) saturate(1.6);
    border-radius: 50px;
    padding: 10px 18px 10px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 145, 255, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: orbitBubbleFloat 4s ease-in-out infinite;
}

.orbit-speech-bubble:hover {
    transform: translateY(-3px) scale(1.02);
    border-color: var(--orbit-cyan);
    box-shadow: 0 15px 50px rgba(0, 145, 255, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.orbit-bubble-wave {
    font-size: 18px;
    display: inline-block;
    animation: waveHand 2s infinite;
    transform-origin: 70% 70%;
}

.orbit-bubble-text strong {
    color: var(--orbit-cyan);
}

.orbit-bubble-close {
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: #94A3B8;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.2s;
    margin-left: 4px;
}

.orbit-bubble-close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #FFF;
}

/* ==================== FLOATING 3D ORB TRIGGER ==================== */
.orbit-orb-trigger {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7), 0 0 40px rgba(0, 145, 255, 0.5);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.orbit-orb-trigger:hover {
    transform: scale(1.12) rotate(5deg);
    box-shadow: 0 15px 50px rgba(0, 209, 255, 0.7), 0 0 80px rgba(0, 145, 255, 0.8);
}

/* Primary Outer Rotating Ring */
.orbit-trigger-ring {
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #0091FF, #00D1FF, #0066FF, #00f2fe, #0091FF);
    animation: orbitSpin 3s linear infinite;
    z-index: 1;
}

/* Secondary Rotating Ring */
.orbit-trigger-ring-2 {
    position: absolute;
    inset: -7px;
    border-radius: 50%;
    border: 1px dashed rgba(0, 209, 255, 0.35);
    animation: orbitSpinReverse 8s linear infinite;
    z-index: 0;
}

.orbit-trigger-inner-mask {
    position: absolute;
    inset: 2px;
    border-radius: 50%;
    background: #05070D;
    z-index: 2;
}

/* 3D Sphere Trigger */
.orbit-trigger-sphere {
    position: relative;
    z-index: 3;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #0c1a2d 0%, #040810 70%, #000205 100%) !important;
    border: 1.5px solid rgba(0, 209, 255, 0.5) !important;
    box-shadow: 0 0 25px rgba(0, 145, 255, 0.6), inset 0 0 15px rgba(0, 209, 255, 0.25) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden;
}

.orbit-trigger-sphere::after {
    display: none !important;
}

/* Pulse Ring Effect */
.orbit-trigger-pulse {
    position: absolute;
    inset: -12px;
    border-radius: 50%;
    border: 2px solid rgba(0, 145, 255, 0.4);
    animation: orbitPulseRing 2s ease-out infinite;
    z-index: 0;
}

/* ==================== 2. MAIN AI ASSISTANT MODAL ==================== */
.orbit-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(10px) saturate(1.2);
    -webkit-backdrop-filter: blur(10px) saturate(1.2);
    z-index: 100000;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

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

/* Normal Compact Modern Widget Frame */
.orbit-modal-window {
    width: 390px;
    height: 625px;
    max-height: calc(100vh - 36px);
    background: linear-gradient(165deg, rgba(14, 20, 36, 0.98) 0%, rgba(6, 9, 16, 0.99) 100%);
    border: 1px solid rgba(0, 209, 255, 0.35);
    border-radius: 24px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.85), 0 0 50px rgba(0, 145, 255, 0.25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    transform: translateY(40px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}

.orbit-modal-overlay.active .orbit-modal-window {
    transform: translateY(0) scale(1);
}

/* Animated Gradient Border */
.orbit-border-glow {
    position: absolute;
    inset: -1px;
    border-radius: 24px;
    background: linear-gradient(45deg, #0091FF, #00D1FF, #0066FF, #00f2fe, #7c3aed, #0091FF);
    background-size: 400% 400%;
    animation: orbitBorderFlow 6s linear infinite;
    z-index: -1;
    opacity: 0.7;
}

/* Background Ambient Glow */
.orbit-modal-glow {
    position: absolute;
    top: -80px;
    right: -80px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(0, 145, 255, 0.3), transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    animation: orbitAmbientPulse 5s ease-in-out infinite alternate;
}

.orbit-modal-glow-2 {
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 209, 255, 0.15), transparent 70%);
    border-radius: 50%;
    filter: blur(50px);
    pointer-events: none;
    animation: orbitAmbientPulse 7s ease-in-out infinite alternate-reverse;
}

/* Noise Texture Overlay */
.orbit-noise-overlay {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
    border-radius: 36px;
    opacity: 0.4;
}

/* Particle Canvas */
.orbit-particles-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    border-radius: 24px;
}

/* ==================== HEADER ==================== */
.orbit-modal-header {
    padding: 16px 20px 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 10;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.orbit-notch {
    display: none !important;
}

.orbit-speaker {
    width: 35px;
    height: 4px;
    background: #1e293b;
    border-radius: 3px;
}

.orbit-camera {
    width: 7px;
    height: 7px;
    background: #0f172a;
    border-radius: 50%;
    border: 1px solid #1e293b;
}

.orbit-header-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.orbit-mini-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #00f2fe, #0091FF, #001f4d);
    box-shadow: 0 0 18px rgba(0, 145, 255, 0.6);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: orbitAvatarBreathe 3s ease-in-out infinite;
}

.orbit-avatar-ring {
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: #00D1FF;
    border-bottom-color: #0091FF;
    animation: orbitSpin 4s linear infinite;
}

.orbit-profile-info h4 {
    color: #FFF;
    font-size: 15px;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.orbit-status-tag {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #10B981;
    font-weight: 600;
}

.orbit-status-tag .dot {
    width: 6px;
    height: 6px;
    background: #10B981;
    border-radius: 50%;
    box-shadow: 0 0 8px #10B981;
    animation: orbitDotPulse 2s ease-in-out infinite;
}

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

.orbit-btn-circle {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #CBD5E1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s ease;
    backdrop-filter: blur(8px);
}

.orbit-btn-circle:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #EF4444;
    border-color: rgba(239, 68, 68, 0.4);
    transform: rotate(90deg);
}

/* ==================== AI STATUS BAR ==================== */
.orbit-status-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 24px;
    font-size: 10.5px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 10;
    letter-spacing: 0.3px;
}

.orbit-status-dot {
    width: 5px;
    height: 5px;
    background: var(--orbit-success);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--orbit-success);
    animation: orbitDotPulse 2s infinite;
}

.orbit-response-time {
    margin-left: auto;
    color: rgba(255, 255, 255, 0.5);
}

/* ==================== 3. SCREEN VIEWS CONTAINER ==================== */
.orbit-screens-container {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    padding: 10px 18px 8px 18px;
    z-index: 5;
}

.orbit-screen {
    display: none;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    animation: orbitScreenSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

#orbit-screen-welcome,
#orbit-screen-lead {
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
}

#orbit-screen-chat {
    flex: 1;
    min-height: 0;
    height: 100%;
    overflow: hidden;
}

/* ==================== SCREEN 1: WELCOME & 3D SPHERE ==================== */
.orbit-welcome-view {
    align-items: center;
    justify-content: space-between;
    text-align: center;
    padding: 2px 0 8px 0;
}

.orbit-welcome-sub {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 600;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.orbit-welcome-title {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.18;
    margin-bottom: 16px;
}

.orbit-welcome-title span {
    background: linear-gradient(135deg, #0091FF, #00f2fe, #7c3aed);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: orbitGradientShift 4s linear infinite;
}

.orbit-welcome-footer {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 6px;
    font-weight: 500;
}

/* ==================== 3D ANIMATED SPHERE ==================== */
.orbit-core-sphere-wrapper {
    position: relative;
    width: 165px;
    height: 165px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 34px auto 16px auto;
    cursor: pointer;
}

/* Floating Holographic Labels */
.orbit-holo-label {
    position: absolute;
    font-size: 8.5px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #FFFFFF;
    background: rgba(0, 145, 255, 0.2);
    border: 1px solid rgba(0, 209, 255, 0.5);
    backdrop-filter: blur(6px);
    padding: 2.5px 8px;
    border-radius: 20px;
    pointer-events: none;
    z-index: 5;
    text-shadow: 0 0 8px rgba(0, 209, 255, 0.6);
}

.orbit-holo-1 {
    top: 5px; left: 50%;
    transform: translateX(-50%);
    animation: orbitHoloFloat1 6s ease-in-out infinite;
}
.orbit-holo-2 {
    right: -5px; top: 50%;
    transform: translateY(-50%);
    animation: orbitHoloFloat2 7s ease-in-out infinite;
}
.orbit-holo-3 {
    bottom: 5px; left: 50%;
    transform: translateX(-50%);
    animation: orbitHoloFloat3 5.5s ease-in-out infinite;
}
.orbit-holo-4 {
    left: -5px; top: 50%;
    transform: translateY(-50%);
    animation: orbitHoloFloat4 8s ease-in-out infinite;
}

/* Outer Spinning Rings */
.orbit-ring-1 {
    position: absolute;
    inset: -18px;
    border-radius: 50%;
    border: 2px dashed rgba(0, 209, 255, 0.3);
    animation: orbitSpin 14s linear infinite;
}

.orbit-ring-2 {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 1.5px solid transparent;
    border-top-color: #0091FF;
    border-bottom-color: #00f2fe;
    animation: orbitSpinReverse 6s linear infinite;
}

.orbit-ring-3 {
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 145, 255, 0.25) 0%, transparent 70%);
    animation: coreEnergyPulse 3s ease-in-out infinite alternate;
}

.orbit-ring-4 {
    position: absolute;
    inset: -25px;
    border-radius: 50%;
    border: 1px solid transparent;
    border-left-color: rgba(124, 58, 237, 0.3);
    border-right-color: rgba(0, 145, 255, 0.3);
    animation: orbitSpin 20s linear infinite;
}

/* 3D Plasma Ball */
.orbit-3d-plasma-ball {
    width: 155px;
    height: 155px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #80e5ff 0%, #0091FF 30%, #0044bb 65%, #020b1e 100%);
    box-shadow: inset -12px -12px 35px rgba(0, 0, 0, 0.9),
                inset 8px 8px 25px rgba(255, 255, 255, 0.7),
                0 0 50px rgba(0, 145, 255, 0.7),
                0 0 100px rgba(0, 209, 255, 0.35),
                0 0 150px rgba(0, 145, 255, 0.15);
    position: relative;
    overflow: hidden;
    animation: floatSphere 4s ease-in-out infinite;
}

.orbit-plasma-swirl {
    position: absolute;
    inset: -50%;
    background: radial-gradient(circle at 50% 50%, transparent 20%, rgba(0, 242, 254, 0.5) 40%, transparent 60%),
                radial-gradient(circle at 70% 30%, rgba(0, 145, 255, 0.7) 0%, transparent 50%);
    animation: plasmaRotate 5s linear infinite;
    mix-blend-mode: color-dodge;
}

.orbit-plasma-swirl-2 {
    position: absolute;
    inset: -30%;
    background: radial-gradient(circle at 30% 70%, rgba(124, 58, 237, 0.3) 0%, transparent 50%);
    animation: plasmaRotate 8s linear infinite reverse;
    mix-blend-mode: screen;
}

/* Aurora Borealis Effect */
.orbit-aurora {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        transparent 30%,
        rgba(0, 242, 254, 0.3) 45%,
        rgba(124, 58, 237, 0.2) 55%,
        transparent 70%
    );
    animation: orbitAuroraShift 4s ease-in-out infinite alternate;
    mix-blend-mode: overlay;
}

.orbit-plasma-reflection {
    position: absolute;
    top: 15px;
    left: 20px;
    width: 45px;
    height: 25px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    filter: blur(3px);
    transform: rotate(-35deg);
    pointer-events: none;
}

/* ==================== ACTION PILL BUTTON ==================== */
.orbit-action-pill {
    position: relative;
    background: rgba(0, 145, 255, 0.1);
    border: 1.5px solid rgba(0, 145, 255, 0.4);
    border-radius: 50px;
    padding: 14px 32px;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.3), 0 0 25px rgba(0, 145, 255, 0.15);
    overflow: hidden;
}

.orbit-pill-glow {
    position: absolute;
    inset: -2px;
    border-radius: 50px;
    background: linear-gradient(45deg, #0091FF, #00D1FF, #7c3aed, #0091FF);
    background-size: 300% 300%;
    animation: orbitBorderFlow 4s linear infinite;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: -1;
}

.orbit-action-pill:hover .orbit-pill-glow {
    opacity: 0.6;
}

.orbit-action-pill:hover {
    background: rgba(0, 145, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 145, 255, 0.4);
}

.orbit-pill-arrow {
    transition: transform 0.3s;
}

.orbit-action-pill:hover .orbit-pill-arrow {
    transform: translateX(4px);
}

/* ==================== SCREEN 2: LEAD CAPTURE FORM ==================== */
.orbit-form-progress {
    height: 3px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    margin-bottom: 16px;
    overflow: hidden;
}

.orbit-form-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #0091FF, #00D1FF, #00f2fe);
    border-radius: 10px;
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 10px rgba(0, 209, 255, 0.5);
}

.orbit-lead-intro {
    background: rgba(0, 145, 255, 0.06);
    border: 1px solid rgba(0, 145, 255, 0.15);
    border-radius: 14px;
    padding: 10px 14px;
    font-size: 12px;
    color: #CBD5E1;
    line-height: 1.45;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    backdrop-filter: blur(8px);
}

.orbit-lead-intro-icon {
    width: 30px;
    height: 30px;
    min-width: 30px;
    border-radius: 8px;
    background: rgba(0, 145, 255, 0.12);
    border: 1px solid rgba(0, 145, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.orbit-privacy-note {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 10.5px;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 6px;
    font-weight: 600;
}

.orbit-form-group {
    margin-bottom: 9px;
    text-align: left;
}

/* Float Label Input Wrapper */
.orbit-input-wrapper {
    position: relative;
}

.orbit-input-wrapper label {
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    font-size: 13px;
    font-weight: 600;
    color: #64748B;
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2;
}

.orbit-input-wrapper label span {
    color: #00D1FF;
}

/* Float up on focus or when filled */
.orbit-input:focus ~ label,
.orbit-input:not(:placeholder-shown) ~ label {
    top: -8px;
    left: 12px;
    font-size: 10px;
    font-weight: 700;
    color: #00D1FF;
    background: #0b1120;
    padding: 0 6px;
    letter-spacing: 0.3px;
}

/* Validation Checkmark */
.orbit-input-check {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--orbit-success);
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    z-index: 2;
}

.orbit-input-check.visible {
    opacity: 1;
    transform: translateY(-50%) scale(1);
    animation: orbitCheckPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Error Messages */
.orbit-input-error {
    display: block;
    font-size: 11px;
    color: var(--orbit-danger);
    margin-top: 4px;
    padding-left: 4px;
    font-weight: 600;
    min-height: 0;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.25s ease;
}

.orbit-input-error.visible {
    opacity: 1;
    max-height: 24px;
    margin-top: 4px;
}

/* ==================== INPUT FIELDS (CRITICAL DARK THEME) ==================== */
.orbit-input,
#orbit-lead-form input,
#orbit-lead-form .orbit-input {
    width: 100% !important;
    height: 42px !important;
    background-color: #0b1120 !important;
    background: #0b1120 !important;
    border: 1px solid rgba(0, 145, 255, 0.25) !important;
    border-radius: 12px !important;
    padding: 8px 36px 8px 14px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
    caret-color: #00D1FF !important;
    outline: none !important;
    box-shadow: none !important;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease !important;
    font-family: inherit !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    position: relative;
    z-index: 1;
}

.orbit-input:focus,
.orbit-input:active,
#orbit-modal-window input:focus,
#orbit-modal-window input:active,
#orbit-modal-window input[type="text"]:focus,
#orbit-modal-window input[type="email"]:focus,
#orbit-modal-window input[type="tel"]:focus {
    background-color: #0f172a !important;
    background: #0f172a !important;
    border-color: #00D1FF !important;
    box-shadow: 0 0 20px rgba(0, 209, 255, 0.25), inset 0 0 0 1px rgba(0, 209, 255, 0.1) !important;
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
    outline: none !important;
}

#orbit-lead-form input::placeholder {
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
}

#orbit-chat-input::placeholder,
.orbit-chat-field::placeholder {
    color: rgba(255, 255, 255, 0.45) !important;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.45) !important;
    font-size: 13px !important;
}

/* Chrome/Safari/Edge Autofill Fix */
.orbit-input:-webkit-autofill,
.orbit-input:-webkit-autofill:hover,
.orbit-input:-webkit-autofill:focus,
.orbit-input:-webkit-autofill:active,
#orbit-modal-window input:-webkit-autofill,
#orbit-modal-window input:-webkit-autofill:hover,
#orbit-modal-window input:-webkit-autofill:focus,
#orbit-modal-window input:-webkit-autofill:active {
    -webkit-text-fill-color: #FFFFFF !important;
    -webkit-box-shadow: 0 0 0px 1000px #0b1120 inset !important;
    box-shadow: 0 0 0px 1000px #0b1120 inset !important;
    background-color: #0b1120 !important;
    caret-color: #00D1FF !important;
    border-color: rgba(0, 145, 255, 0.4) !important;
    transition: background-color 5000s ease-in-out 0s !important;
    font-size: 14px !important;
    font-family: inherit !important;
}

/* Input field with error */
.orbit-input.orbit-input-invalid {
    border-color: var(--orbit-danger) !important;
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.2) !important;
}

/* Text selection */
#orbit-modal-window input::selection {
    background: rgba(0, 145, 255, 0.6) !important;
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
}

/* ==================== SUBMIT BUTTON ==================== */
.orbit-submit-btn {
    position: relative;
    width: 100%;
    background: linear-gradient(135deg, #0091FF, #00D1FF);
    border: none;
    border-radius: 12px;
    padding: 12px;
    color: #FFF;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 145, 255, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 4px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.orbit-btn-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 60%);
    transform: rotate(45deg);
    transition: transform 0.6s;
    opacity: 0;
}

.orbit-submit-btn:hover .orbit-btn-glow {
    opacity: 1;
    transform: rotate(45deg) translate(30%, 30%);
}

.orbit-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 45px rgba(0, 145, 255, 0.5);
}

/* ==================== SCREEN 3: CHAT ENGINE ==================== */
.orbit-chat-messages {
    flex: 1;
    min-height: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px 6px 14px 6px;
    margin-bottom: 6px;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 145, 255, 0.3) transparent;
    mask-image: linear-gradient(to bottom, transparent 0%, black 14px, black calc(100% - 10px), transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 14px, black calc(100% - 10px), transparent 100%);
}

#orbit-screen-lead::-webkit-scrollbar,
#orbit-screen-welcome::-webkit-scrollbar,
.orbit-screens-container::-webkit-scrollbar,
.orbit-chat-messages::-webkit-scrollbar {
    width: 3px !important;
}

#orbit-screen-lead::-webkit-scrollbar-track,
#orbit-screen-welcome::-webkit-scrollbar-track,
.orbit-screens-container::-webkit-scrollbar-track,
.orbit-chat-messages::-webkit-scrollbar-track {
    background: transparent !important;
}

#orbit-screen-lead::-webkit-scrollbar-thumb,
#orbit-screen-welcome::-webkit-scrollbar-thumb,
.orbit-screens-container::-webkit-scrollbar-thumb,
.orbit-chat-messages::-webkit-scrollbar-thumb {
    background: rgba(0, 145, 255, 0.35) !important;
    border-radius: 4px !important;
}

/* Messages */
.orbit-msg {
    max-width: 88%;
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 13.5px;
    line-height: 1.5;
    animation: orbitMsgSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    position: relative;
}

.orbit-msg-bot {
    align-self: flex-start;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(0, 145, 255, 0.15);
    border-left: 3px solid #0091FF;
    color: #F1F5F9;
    border-bottom-left-radius: 4px;
    backdrop-filter: blur(8px);
}

.orbit-msg-user {
    align-self: flex-end;
    background: linear-gradient(135deg, #0091FF, #0066FF);
    color: #FFFFFF;
    font-weight: 600;
    border-bottom-right-radius: 4px;
    box-shadow: 0 4px 20px rgba(0, 145, 255, 0.3);
}

.orbit-msg-content {
    position: relative;
}

/* Timestamp */
.orbit-msg-time {
    display: block;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.35);
    margin-top: 4px;
    font-weight: 500;
}

.orbit-msg-user .orbit-msg-time {
    color: rgba(255, 255, 255, 0.5);
    text-align: right;
}

/* Typing Indicator */
.orbit-typing-indicator {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 14px 18px;
    align-self: flex-start;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(0, 145, 255, 0.15);
    border-left: 3px solid #0091FF;
    border-radius: 18px;
    border-bottom-left-radius: 4px;
}

.orbit-typing-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #0091FF;
    animation: orbitTypingBounce 1.4s ease-in-out infinite;
}

.orbit-typing-dot:nth-child(2) { animation-delay: 0.15s; }
.orbit-typing-dot:nth-child(3) { animation-delay: 0.3s; }

/* Typewriter Cursor */
.orbit-typewriter-cursor {
    display: inline-block;
    width: 2px;
    height: 1em;
    background: #00D1FF;
    margin-left: 2px;
    animation: orbitCursorBlink 0.8s step-end infinite;
    vertical-align: text-bottom;
}

/* Confidence Meter */
.orbit-confidence-meter {
    display: none !important;
}

.orbit-confidence-fill {
    height: 100%;
    border-radius: 4px;
    background: linear-gradient(90deg, #0091FF, #00D1FF);
    transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Sentiment Indicator */
.orbit-sentiment-dot {
    display: none !important;
    vertical-align: middle;
}

.orbit-sentiment-positive { background: var(--orbit-success); box-shadow: 0 0 6px var(--orbit-success); }
.orbit-sentiment-neutral { background: var(--orbit-warning); box-shadow: 0 0 6px var(--orbit-warning); }
.orbit-sentiment-negative { background: var(--orbit-danger); box-shadow: 0 0 6px var(--orbit-danger); }

/* ==================== OPTION CARDS ==================== */
.orbit-options-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 5px;
}

.orbit-option-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: left;
    backdrop-filter: blur(8px);
    position: relative;
    overflow: hidden;
}

.orbit-option-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 145, 255, 0.12), rgba(124, 58, 237, 0.08), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.orbit-option-card:hover::before {
    opacity: 1;
}

.orbit-option-card:hover {
    border-color: rgba(0, 209, 255, 0.4);
    transform: translateX(4px);
    box-shadow: 0 4px 20px rgba(0, 145, 255, 0.2);
}

.orbit-opt-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(0, 145, 255, 0.12);
    border: 1px solid rgba(0, 145, 255, 0.25);
    color: #00D1FF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
    transition: transform 0.3s, box-shadow 0.3s;
}

.orbit-option-card:hover .orbit-opt-icon {
    transform: scale(1.08);
    box-shadow: 0 0 15px rgba(0, 145, 255, 0.3);
}

.orbit-opt-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #FFFFFF;
}

.orbit-opt-desc {
    font-size: 11.5px;
    color: #94A3B8;
}

.orbit-opt-arrow {
    margin-left: auto;
    color: rgba(255, 255, 255, 0.3);
    font-size: 11px;
    transition: transform 0.3s, color 0.3s;
}

.orbit-option-card:hover .orbit-opt-arrow {
    color: #00D1FF;
    transform: translateX(3px);
}

/* ==================== SMART SUGGESTIONS ==================== */
.orbit-smart-suggestions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    padding: 6px 2px;
    min-height: 0;
    max-height: 75px;
    overflow-y: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.orbit-smart-suggestions::-webkit-scrollbar { display: none; }
.orbit-smart-suggestions:empty { display: none; }

.orbit-suggestion-chip {
    white-space: nowrap;
    background: rgba(0, 145, 255, 0.1);
    border: 1px solid rgba(0, 145, 255, 0.3);
    border-radius: 16px;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 600;
    color: #00D1FF;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
    line-height: 1.25;
}

.orbit-suggestion-chip:hover {
    background: rgba(0, 145, 255, 0.25);
    border-color: #00D1FF;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 145, 255, 0.3);
}

/* ==================== CHAT INPUT BAR ==================== */
.orbit-chat-input-bar {
    padding: 12px 0;
    display: flex;
    gap: 8px;
    align-items: center;
    position: relative;
    z-index: 10;
}

.orbit-voice-btn {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.25s;
}

.orbit-voice-btn:hover {
    background: rgba(0, 145, 255, 0.15);
    border-color: rgba(0, 145, 255, 0.4);
    color: #00D1FF;
}

.orbit-voice-btn.orbit-voice-active {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.5);
    color: #EF4444;
    animation: orbitVoicePulse 1.5s ease-in-out infinite;
}

.orbit-chat-field {
    flex: 1;
    background: rgba(255, 255, 255, 0.08) !important;
    background-color: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(0, 145, 255, 0.35) !important;
    border-radius: 25px !important;
    padding: 10px 16px !important;
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
    caret-color: #00D1FF !important;
    font-size: 13.5px !important;
    outline: none !important;
    font-family: inherit !important;
    transition: all 0.25s ease !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.orbit-chat-field:focus {
    border-color: #00D1FF !important;
    box-shadow: 0 0 16px rgba(0, 209, 255, 0.35), inset 0 2px 4px rgba(0, 0, 0, 0.2) !important;
    background: rgba(255, 255, 255, 0.14) !important;
    background-color: rgba(255, 255, 255, 0.14) !important;
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
}

.orbit-chat-field::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.5) !important;
}

.orbit-send-btn {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0091FF, #00D1FF);
    border: none;
    color: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(0, 145, 255, 0.4);
    transition: all 0.25s;
    font-size: 13px;
}

.orbit-send-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 25px rgba(0, 145, 255, 0.5);
}

/* Commands Hint */
.orbit-commands-hint {
    text-align: center;
    font-size: 10.5px;
    color: rgba(255, 255, 255, 0.35);
    padding: 4px 0 2px 0;
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* ==================== AI SCANNER & SERVICES ==================== */
.orbit-scan-box {
    background: linear-gradient(135deg, rgba(0, 145, 255, 0.1), rgba(0, 209, 255, 0.04));
    border: 1px solid rgba(0, 145, 255, 0.25);
    border-radius: 14px;
    padding: 14px 16px;
    margin: 8px 0;
    position: relative;
    overflow: hidden;
}

.orbit-scan-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
    font-weight: 700;
    color: #00D1FF;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.orbit-scan-header i {
    animation: orbitSpin 2s linear infinite;
}

.orbit-scan-bar-bg {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
}

.orbit-scan-bar-fill {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #0091FF, #00f2fe, #0091FF);
    border-radius: 10px;
    animation: scanSweep 1.5s ease-in-out infinite;
}

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

/* Service Picker Grid */
.orbit-service-picker-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.orbit-service-card {
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(0, 145, 255, 0.15);
    border-radius: 12px;
    padding: 11px 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

/* Holographic Shimmer on Hover */
.orbit-service-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(0, 209, 255, 0.05) 40%,
        rgba(124, 58, 237, 0.08) 45%,
        rgba(0, 242, 254, 0.05) 50%,
        transparent 60%
    );
    transform: rotate(0deg);
    transition: transform 0.6s;
    pointer-events: none;
}

.orbit-service-card:hover::after {
    transform: rotate(180deg);
}

.orbit-service-card:hover {
    background: rgba(0, 145, 255, 0.12);
    border-color: rgba(0, 209, 255, 0.4);
    transform: translateX(4px);
    box-shadow: 0 4px 18px rgba(0, 145, 255, 0.2);
}

.orbit-service-card-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.orbit-srv-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(0, 145, 255, 0.12);
    border: 1px solid rgba(0, 145, 255, 0.25);
    color: #00D1FF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.orbit-srv-info h5 {
    color: #FFF;
    font-size: 13px;
    font-weight: 700;
    margin: 0 0 2px 0;
}

.orbit-srv-info p {
    color: #94A3B8;
    font-size: 11px;
    margin: 0;
}

.orbit-srv-arrow {
    color: #64748B;
    font-size: 12px;
    transition: transform 0.2s, color 0.2s;
}

.orbit-service-card:hover .orbit-srv-arrow {
    color: #00D1FF;
    transform: translateX(3px);
}

/* Service Detail Box */
.orbit-service-detail-box {
    background: linear-gradient(145deg, rgba(14, 20, 36, 0.92), rgba(8, 12, 22, 0.96));
    border: 1px solid rgba(0, 145, 255, 0.25);
    border-radius: 16px;
    padding: 16px;
    margin: 10px 0;
    position: relative;
    overflow: hidden;
}

/* Animated Corner Accents */
.orbit-service-detail-box::before,
.orbit-service-detail-box::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border: 2px solid rgba(0, 209, 255, 0.3);
    pointer-events: none;
}

.orbit-service-detail-box::before {
    top: 8px; left: 8px;
    border-right: none; border-bottom: none;
    border-radius: 6px 0 0 0;
}

.orbit-service-detail-box::after {
    bottom: 8px; right: 8px;
    border-left: none; border-top: none;
    border-radius: 0 0 6px 0;
}

.orbit-srv-detail-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 10px;
}

.orbit-srv-detail-title {
    font-size: 15px;
    font-weight: 800;
    color: #FFFFFF;
}

.orbit-srv-features-list {
    list-style: none;
    margin: 0 0 12px 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.orbit-srv-features-list li {
    font-size: 12px;
    color: #CBD5E1;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.4;
}

.orbit-srv-features-list li i {
    color: #00D1FF;
    font-size: 11px;
    margin-top: 2px;
}

.orbit-srv-tech-tag {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}

.orbit-tech-badge {
    background: rgba(0, 145, 255, 0.1);
    border: 1px solid rgba(0, 145, 255, 0.2);
    color: #00D1FF;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 10.5px;
    font-weight: 700;
}

.orbit-detail-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.orbit-btn-action {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 145, 255, 0.25);
    border-radius: 10px;
    padding: 9px 10px;
    color: #FFF;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s;
}

.orbit-btn-action:hover {
    background: linear-gradient(135deg, #0091FF, #00D1FF);
    border-color: transparent;
    color: #FFF;
    transform: translateY(-1px);
}

.orbit-btn-whatsapp {
    background: rgba(37, 211, 102, 0.1) !important;
    border-color: rgba(37, 211, 102, 0.3) !important;
    color: #25D366 !important;
}

.orbit-btn-whatsapp:hover {
    background: #25D366 !important;
    color: #000 !important;
}

/* ==================== KEYFRAME ANIMATIONS ==================== */
@keyframes orbitSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes orbitSpinReverse {
    0% { transform: rotate(360deg); }
    100% { transform: rotate(0deg); }
}

@keyframes spherePulse {
    0% { transform: scale(0.96); box-shadow: inset -4px -4px 10px rgba(0, 0, 0, 0.8), inset 4px 4px 12px rgba(255, 255, 255, 0.6), 0 0 20px rgba(0, 209, 255, 0.6); }
    100% { transform: scale(1.04); box-shadow: inset -4px -4px 10px rgba(0, 0, 0, 0.8), inset 4px 4px 12px rgba(255, 255, 255, 0.6), 0 0 40px rgba(0, 209, 255, 0.9); }
}

@keyframes coreEnergyPulse {
    0% { opacity: 0.3; transform: scale(0.9); }
    100% { opacity: 0.7; transform: scale(1.1); }
}

@keyframes floatSphere {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(3deg); }
}

@keyframes plasmaRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes orbitBubbleFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes waveHand {
    0%, 100% { transform: rotate(0deg); }
    20%, 60% { transform: rotate(14deg); }
    40%, 80% { transform: rotate(-10deg); }
}

@keyframes orbitScreenSlideIn {
    0% { opacity: 0; transform: translateY(15px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes orbitMsgSlideUp {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes orbitBorderFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes orbitAmbientPulse {
    0% { opacity: 0.5; transform: scale(0.95); }
    100% { opacity: 1; transform: scale(1.1); }
}

@keyframes orbitAvatarBreathe {
    0%, 100% { box-shadow: 0 0 15px rgba(0, 145, 255, 0.5); }
    50% { box-shadow: 0 0 25px rgba(0, 145, 255, 0.8), 0 0 40px rgba(0, 209, 255, 0.3); }
}

@keyframes orbitDotPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

@keyframes orbitGradientShift {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

@keyframes orbitPulseRing {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.6); opacity: 0; }
}

@keyframes orbitBadgePop {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}

@keyframes orbitTypingBounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-6px); opacity: 1; }
}

@keyframes orbitCursorBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@keyframes orbitVoicePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.3); }
    50% { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
}

@keyframes orbitCheckPop {
    0% { transform: translateY(-50%) scale(0); }
    60% { transform: translateY(-50%) scale(1.2); }
    100% { transform: translateY(-50%) scale(1); }
}

@keyframes orbitAuroraShift {
    0% { transform: rotate(0deg) scale(1); }
    100% { transform: rotate(30deg) scale(1.1); }
}

@keyframes orbitHoloFloat1 {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.7; }
    50% { transform: translateX(-50%) translateY(-8px); opacity: 1; }
}

@keyframes orbitHoloFloat2 {
    0%, 100% { transform: translateY(-50%) translateX(0); opacity: 0.6; }
    50% { transform: translateY(-50%) translateX(6px); opacity: 1; }
}

@keyframes orbitHoloFloat3 {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.6; }
    50% { transform: translateX(-50%) translateY(6px); opacity: 1; }
}

@keyframes orbitHoloFloat4 {
    0%, 100% { transform: translateY(-50%) translateX(0); opacity: 0.5; }
    50% { transform: translateY(-50%) translateX(-8px); opacity: 1; }
}

/* ==================== REDUCED MOTION ==================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==================== MOBILE RESPONSIVE ==================== */
@media (max-width: 480px) {
    .orbit-floating-widget {
        bottom: 20px;
        right: 15px;
    }
    .orbit-speech-bubble {
        display: none;
    }
    .orbit-modal-overlay {
        padding: 0;
    }
    .orbit-modal-window {
        width: 100%;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
        border: none;
    }
    .orbit-border-glow {
        display: none;
    }
    .orbit-notch {
        display: none;
    }
    .orbit-holo-label {
        display: none;
    }
    .orbit-trigger-ring-2,
    .orbit-trigger-pulse,
    .orbit-ring-4 {
        display: none;
    }
}

/* Modern Contact Card */
.orbit-contact-card { background: rgba(0, 145, 255, 0.05); border: 1px solid rgba(0, 145, 255, 0.15); border-radius: 12px; padding: 12px; margin-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.orbit-contact-hub-header { display: flex; align-items: center; justify-content: space-between; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; padding-bottom: 5px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); margin-bottom: 3px; }
.orbit-contact-item { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: rgba(255, 255, 255, 0.9); }
.orbit-contact-item i { color: #00D1FF; width: 16px; text-align: center; font-size: 13px; flex-shrink: 0; }
.orbit-contact-item a { color: rgba(255, 255, 255, 0.95); text-decoration: none; transition: all 0.2s; }
.orbit-contact-item a:hover { color: #00D1FF; text-decoration: underline; }

/* 3D Animated Orbit Logo */
.orbit-anim-logo { position: absolute; top: 0; left: 0; right: 0; bottom: 0; margin: auto; width: 70%; height: 70%; display: flex; align-items: center; justify-content: center; transform-style: preserve-3d; perspective: 500px; }
.core-o { position: absolute; width: 45%; height: 75%; border: 2px solid #0091FF; border-radius: 50%; box-shadow: 0 0 8px rgba(0,145,255,0.8), inset 0 0 8px rgba(0,145,255,0.8); }
.ring-container { position: absolute; width: 100%; height: 100%; transform-style: preserve-3d; }
.rc-1 { transform: rotateX(65deg) rotateY(35deg); }
.rc-2 { transform: rotateX(65deg) rotateY(-35deg); }
.anim-ring { position: relative; width: 100%; height: 100%; border: 2px solid rgba(0, 209, 255, 0.3); border-radius: 50%; animation: orbitSpinZ 3s linear infinite; transform-style: preserve-3d; box-sizing: border-box; }
.rc-2 .anim-ring { border-color: rgba(0, 145, 255, 0.3); animation-direction: reverse; animation-duration: 4s; }
.orbit-dot { position: absolute; top: -3px; left: calc(50% - 3px); width: 6px; height: 6px; background: #fff; border-radius: 50%; box-shadow: 0 0 10px #fff, 0 0 15px #00D1FF; }
.orbit-anim-logo.small { width: 24px; height: 24px; }
.orbit-anim-logo.small .core-o { border-width: 1px; }
.orbit-anim-logo.small .anim-ring { border-width: 1px; }
.orbit-anim-logo.small .orbit-dot { width: 3px; height: 3px; top: -1.5px; left: calc(50% - 1.5px); }
@keyframes orbitSpinZ { 0% { transform: rotateZ(0deg); } 100% { transform: rotateZ(360deg); } }

/* ==================== AUTHENTIC BRAND LOGO ANIMATIONS ==================== */
.orbit-exact-logo { display: block; user-select: none; pointer-events: none; image-rendering: -webkit-optimize-contrast; }
.orbit-mini-avatar { position: relative; width: 34px; height: 34px; border-radius: 50%; background: rgba(0, 145, 255, 0.1); border: 1px solid rgba(0, 209, 255, 0.4); display: flex !important; align-items: center !important; justify-content: center !important; }
.orbit-exact-logo-header { width: 22px; height: 22px; object-fit: contain; filter: drop-shadow(0 0 6px #00D1FF); animation: orbitLogoHeaderFloat 3s ease-in-out infinite alternate; }
@keyframes orbitLogoHeaderFloat { 0% { transform: scale(0.95); } 100% { transform: scale(1.06); filter: drop-shadow(0 0 10px #00D1FF); } }
.orbit-authentic-trigger { background: radial-gradient(circle at 35% 35%, #0e2238 0%, #05070d 75%, #000000 100%) !important; box-shadow: 0 0 25px rgba(0, 145, 255, 0.6), inset 0 0 15px rgba(0, 209, 255, 0.3) !important; display: flex !important; align-items: center !important; justify-content: center !important; overflow: hidden !important; }
.orbit-spin-track { position: absolute; inset: 4px; border-radius: 50%; border: 1.5px dashed rgba(0, 209, 255, 0.5); animation: orbitSpinTrack 8s linear infinite; pointer-events: none; }
.orbit-exact-logo-launcher { width: 38px !important; height: 38px !important; object-fit: contain !important; position: relative !important; z-index: 3; filter: drop-shadow(0 0 6px rgba(0, 209, 255, 0.8)) brightness(1.25) contrast(1.15) !important; animation: orbitLogoLauncherPulse 2.5s ease-in-out infinite alternate; }
@keyframes orbitLogoLauncherPulse { 0% { transform: scale(0.95); filter: drop-shadow(0 0 6px rgba(0, 209, 255, 0.7)) brightness(1.2) contrast(1.15); } 100% { transform: scale(1.05); filter: drop-shadow(0 0 12px rgba(0, 209, 255, 1)) brightness(1.35) contrast(1.2); } }
.orbit-authentic-big-core {
    width: 122px !important;
    height: 122px !important;
    border-radius: 50% !important;
    background: radial-gradient(circle at 35% 30%, #0d2847 0%, #061527 45%, #020710 80%, #000205 100%) !important;
    box-shadow: 
        0 0 35px rgba(0, 145, 255, 0.5),
        0 0 70px rgba(0, 209, 255, 0.2),
        inset 0 0 25px rgba(0, 209, 255, 0.3),
        inset -8px -8px 20px rgba(0, 0, 0, 0.9),
        inset 6px 6px 18px rgba(255, 255, 255, 0.15) !important;
    border: 1.5px solid rgba(0, 209, 255, 0.55) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    overflow: hidden !important;
    transform-style: preserve-3d !important;
    animation: coreFloat 4s ease-in-out infinite alternate !important;
}
.orbit-core-radar {
    position: absolute;
    inset: -20%;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent 0deg, rgba(0, 209, 255, 0.22) 50deg, transparent 80deg);
    animation: radarSpin 5s linear infinite;
    pointer-events: none;
    z-index: 1;
}
.orbit-core-plasma-nebula {
    position: absolute;
    width: 130%;
    height: 130%;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 209, 255, 0.3) 0%, rgba(0, 145, 255, 0.15) 40%, transparent 70%);
    animation: nebulaPulse 3s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 2;
}
.orbit-3d-gyro-ring {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    transform-style: preserve-3d;
}
.orbit-3d-gyro-ring-1 {
    width: 145px !important;
    height: 145px !important;
    border: 1.5px solid transparent;
    border-top: 2px solid #00D1FF;
    border-bottom: 2px solid #0091FF;
    animation: gyroSpin1 6s linear infinite;
    filter: drop-shadow(0 0 6px #00D1FF);
    z-index: 4;
}
.orbit-3d-gyro-ring-2 {
    width: 158px !important;
    height: 158px !important;
    border: 1.5px dashed rgba(0, 209, 255, 0.45);
    animation: gyroSpin2 10s linear infinite;
    z-index: 4;
}
.orbit-exact-logo-big {
    width: 80px !important;
    height: 80px !important;
    object-fit: contain !important;
    position: relative !important;
    z-index: 5 !important;
    filter: drop-shadow(0 0 10px rgba(0, 209, 255, 0.95)) drop-shadow(0 0 20px rgba(0, 145, 255, 0.75)) !important;
    animation: logo3DSpinTilt 6s ease-in-out infinite alternate !important;
}
@keyframes coreFloat {
    0% { transform: translateY(-3px) scale(0.98); }
    100% { transform: translateY(3px) scale(1.02); }
}
@keyframes radarSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@keyframes nebulaPulse {
    0% { transform: scale(0.85); opacity: 0.5; }
    100% { transform: scale(1.15); opacity: 1; }
}
@keyframes gyroSpin1 {
    0% { transform: rotateX(65deg) rotateY(30deg) rotateZ(0deg); }
    100% { transform: rotateX(65deg) rotateY(30deg) rotateZ(360deg); }
}
@keyframes gyroSpin2 {
    0% { transform: rotateX(65deg) rotateY(-30deg) rotateZ(360deg); }
    100% { transform: rotateX(65deg) rotateY(-30deg) rotateZ(0deg); }
}
@keyframes logo3DSpinTilt {
    0% { transform: scale(0.95) rotateY(-12deg) rotateX(6deg); }
    50% { transform: scale(1.02) rotateY(0deg) rotateX(0deg); }
    100% { transform: scale(1.05) rotateY(12deg) rotateX(-6deg); }
}

/* ==================== ALL DEVICES RESPONSIVENESS ==================== */

/* Tablet & Smaller Laptops (481px to 768px) */
@media (max-width: 768px) {
    .orbit-modal-overlay {
        padding: 16px !important;
    }
    .orbit-modal-window {
        width: min(370px, calc(100vw - 32px)) !important;
        height: min(570px, calc(100vh - 32px)) !important;
        max-height: calc(100vh - 32px) !important;
        border-radius: 20px !important;
    }
    .orbit-welcome-title {
        font-size: 20px !important;
        margin-bottom: 14px !important;
    }
    .orbit-core-sphere-wrapper {
        width: 150px !important;
        height: 150px !important;
        margin: 28px auto 12px auto !important;
    }
    .orbit-authentic-big-core {
        width: 112px !important;
        height: 112px !important;
    }
    .orbit-exact-logo-big {
        width: 72px !important;
        height: 72px !important;
    }
    .orbit-3d-gyro-ring-1 {
        width: 132px !important;
        height: 132px !important;
    }
    .orbit-3d-gyro-ring-2 {
        width: 144px !important;
        height: 144px !important;
    }
}

/* Mobile Devices (<= 480px) */
@media (max-width: 480px) {
    .orbit-floating-widget {
        bottom: 16px !important;
        right: 14px !important;
    }
    .orbit-speech-bubble {
        display: none !important;
    }
    .orbit-modal-overlay {
        padding: 0 !important;
        background: rgba(0, 0, 0, 0.85) !important;
    }
    .orbit-modal-window {
        width: 100% !important;
        height: 100% !important;
        height: 100dvh !important;
        max-height: 100dvh !important;
        border-radius: 0 !important;
        border: none !important;
        transform: translateY(100%) !important;
        padding-top: env(safe-area-inset-top, 0px) !important;
        padding-bottom: env(safe-area-inset-bottom, 0px) !important;
    }
    .orbit-modal-overlay.active .orbit-modal-window {
        transform: translateY(0) !important;
    }
    .orbit-border-glow,
    .orbit-notch,
    .orbit-trigger-ring-2,
    .orbit-trigger-pulse,
    .orbit-ring-4 {
        display: none !important;
    }
    .orbit-modal-header {
        padding: 14px 16px 10px 16px !important;
    }
    .orbit-screens-container {
        padding: 10px 14px !important;
    }
    .orbit-welcome-view {
        padding: 4px 0 10px 0 !important;
    }
    .orbit-welcome-title {
        font-size: 20px !important;
        margin-bottom: 12px !important;
    }
    .orbit-core-sphere-wrapper {
        width: 140px !important;
        height: 140px !important;
        margin: 26px auto 12px auto !important;
    }
    .orbit-authentic-big-core {
        width: 105px !important;
        height: 105px !important;
    }
    .orbit-exact-logo-big {
        width: 68px !important;
        height: 68px !important;
    }
    .orbit-3d-gyro-ring-1 {
        width: 124px !important;
        height: 124px !important;
    }
    .orbit-3d-gyro-ring-2 {
        width: 136px !important;
        height: 136px !important;
    }
    .orbit-holo-label {
        font-size: 7.5px !important;
        padding: 2px 6px !important;
    }
    .orbit-action-pill {
        width: 100% !important;
        padding: 12px 18px !important;
        font-size: 13.5px !important;
    }
    .orbit-chat-messages {
        padding: 10px 4px !important;
    }
}
