/* Enhanced Work Together Section - Modern Design 2.0 */
.work-together.enhanced-section {
    position: relative;
    padding: 180px 0;
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #080814;
    min-height: 100vh;
}

.work-together.enhanced-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1600px;
    position: relative;
    z-index: 5;
}

.work-together.enhanced-section .work-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-left: 0;
    text-align: center;
    width: 100%;
}

.ambient-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at top, rgba(6, 8, 36, 0.97) 0%, rgba(4, 2, 20, 0.97) 100%);
    z-index: -1;
}

.ambient-background::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(125, 128, 255, 0.15) 0%, rgba(125, 128, 255, 0) 50%);
    z-index: 0;
    animation: ambient-glow 20s ease infinite alternate;
    filter: blur(40px);
}

.ambient-background::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 95, 11, 0.15) 0%, rgba(255, 95, 11, 0) 50%);
    z-index: 0;
    animation: ambient-glow 15s ease-in-out infinite alternate-reverse;
    filter: blur(40px);
}

@keyframes ambient-glow {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(5%, 5%);
    }
}

/* Modern floating elements with glass morphism */
.floating-element {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.18;
    z-index: 1;
    pointer-events: none;
    mix-blend-mode: screen;
}

.floating-element-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #4F56FF, #9452FF);
    top: 5%;
    left: 0;
    animation: float-slow 25s ease-in-out infinite alternate;
    transform-origin: center;
}

.floating-element-2 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, #FF5F0B, #FF9D4A);
    bottom: 15%;
    right: 5%;
    animation: float-slow 30s ease-in-out infinite alternate-reverse;
    transform-origin: center;
}

.floating-element-3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #3D7EFF, #2ED4FF);
    bottom: 5%;
    left: 5%;
    animation: float-slow 20s ease-in-out infinite;
    transform-origin: center;
}

@keyframes float-slow {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    50% {
        transform: translate(30px, 20px) rotate(5deg) scale(1.05);
    }
    100% {
        transform: translate(-30px, -20px) rotate(-5deg) scale(1);
    }
}

/* Modern badge with glass morphism */
.section-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 40px;
    padding: 12px 24px;
    margin-bottom: 40px;
    transform: translateY(0);
    animation: float 3s ease-in-out infinite;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.section-badge::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0.1) 50%, 
        rgba(255, 255, 255, 0) 100%
    );
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.section-badge:before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: linear-gradient(90deg, #7d80ff, #ff5f0b);
    border-radius: 44px;
    z-index: -1;
    opacity: 0.3;
    filter: blur(12px);
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.5; }
}

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

.badge-text {
    color: white;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: linear-gradient(90deg, #ffffff, #e0e0ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.work-together.enhanced-section h2 {
    max-width: 850px;
    margin: 0 auto 30px;
}

.animated-heading {
    position: relative;
    background: linear-gradient(90deg, #ffffff 0%, #e0e0ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: text-shimmer 3s linear infinite;
    background-size: 200% 100%;
    font-size: 84px;
    line-height: 1;
    letter-spacing: -0.03em;
    text-shadow: 0 10px 30px rgba(125, 128, 255, 0.5);
}

@keyframes text-shimmer {
    0% { background-position: -100% 0; }
    100% { background-position: 100% 0; }
}

.subtitle-enhanced {
    font-size: 22px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto 60px;
    animation: fade-in 1s ease-out;
}

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

/* Modern glass morphism video container */
.video-container.enhanced {
    margin: 40px auto;
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1100px;
    aspect-ratio: 16/9;
    height: auto !important;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
    transform: perspective(1000px) rotateY(0deg) translateZ(0);
    transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
    overflow: visible;
    border-radius: 20px;
}

.video-container.enhanced:hover {
    transform: perspective(1000px) rotateY(3deg) translateY(-10px) scale(1.02);
    box-shadow: 
        0 50px 100px rgba(0, 0, 0, 0.5), 
        0 0 40px rgba(125, 128, 255, 0.3),
        0 0 20px rgba(255, 95, 11, 0.2);
}

.video-frame {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

/* Glowing border effect */
.video-frame::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #7d80ff, #ff5f0b, #7d80ff);
    background-size: 200% 200%;
    z-index: -1;
    border-radius: 22px;
    animation: gradient-border 10s ease infinite;
    opacity: 0.5;
    filter: blur(5px);
}

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

/* Frame corners - hidden as requested */
.frame-corner {
    display: none;
}

.frame-corner::before,
.frame-corner::after {
    display: none;
}

.top-left, .top-right, .bottom-left, .bottom-right {
    display: none;
}

.video-frame video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

/* Modern glass UI for call interface - without background */
.call-interface.modern {
    background: transparent;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 20px;
}

/* Remove background from call header */
.call-header {
    display: flex;
    align-items: center;
    padding: 20px 24px;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 20px 20px 0 0;
    border-bottom: none;
}

.meeting-status {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.status-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #7d80ff;
    border-radius: 50%;
    margin-right: 5px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(125, 128, 255, 0.7);
    }
    
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(125, 128, 255, 0);
    }
    
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(125, 128, 255, 0);
    }
}

.status-text {
    font-size: 12px;
    font-weight: 600;
    color: #7d80ff;
}

.call-title {
    font-size: 20px;
    font-weight: 600;
    margin-right: 15px;
}

.participant-count {
    font-weight: 600;
}

/* Remove background from call actions */
.call-actions {
    position: absolute;
    bottom: 24px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 16px;
    padding: 20px;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 0 0 20px 20px;
    border-top: none;
}

/* Modern glassmorphic buttons */
.call-btn.hover-effect {
    aspect-ratio: 1;
    height: 56px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    transform: translateY(0);
    position: relative;
    overflow: hidden;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.call-btn.hover-effect::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.call-btn.hover-effect:hover {
    transform: translateY(-3px) scale(1.05);
    background-color: rgba(125, 128, 255, 0.25);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4), 0 0 15px rgba(125, 128, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.call-btn.hover-effect:hover::before {
    opacity: 1;
}

.call-btn.call-end {
    background-color: rgba(61, 126, 255, 0.25);
}

.call-btn.call-end:hover {
    background-color: rgba(61, 126, 255, 0.4);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4), 0 0 15px rgba(61, 126, 255, 0.5);
}

/* Modern text styling */
.enhanced-text {
    font-size: 24px;
    font-weight: 300;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    max-width: 900px;
    margin: 80px auto 100px;
    text-align: center;
    position: relative;
    padding: 0 20px;
}

.enhanced-text::before,
.enhanced-text::after {
    content: '';
    position: absolute;
    height: 2px;
    width: 150px;
    background: linear-gradient(90deg, transparent, rgba(125, 128, 255, 0.5), transparent);
}

.enhanced-text::before {
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
}

.enhanced-text::after {
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
}

/* Modern grid layout - improved centering */
.work-together.enhanced-section .animated-grid {
    opacity: 0;
    transform: translateY(30px);
    animation: fade-in-up 0.8s ease forwards;
    animation-delay: 0.3s;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 20px;
}

@keyframes fade-in-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modern glass card design - improved centering */
.work-together.enhanced-section .feature {
    flex: 0 0 calc(33.333% - 40px);
    max-width: 350px;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 50px 30px;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.work-together.enhanced-section .feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(125, 128, 255, 0.05), rgba(255, 95, 11, 0.05));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.work-together.enhanced-section .feature:hover {
    transform: translateY(-20px) scale(1.03);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3), 0 0 20px rgba(125, 128, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.1);
}

.work-together.enhanced-section .feature:hover::before {
    opacity: 1;
}

.work-together.enhanced-section .feature-icon {
    background: linear-gradient(135deg, var(--color-blue) 0%, var(--color-orange) 100%);
    border-radius: 50%;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 36px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.work-together.enhanced-section .feature-icon::after {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    background: inherit;
    border-radius: 50%;
    filter: blur(15px);
    opacity: 0.5;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.work-together.enhanced-section .feature:hover .feature-icon {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(125, 128, 255, 0.4);
}

.work-together.enhanced-section .feature:hover .feature-icon::after {
    opacity: 0.7;
}

.work-together.enhanced-section .feature h3 {
    font-size: 26px;
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
    z-index: 1;
    background: linear-gradient(90deg, #ffffff, #e0e0ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    width: 100%;
}

.work-together.enhanced-section .feature p {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
    position: relative;
    z-index: 1;
    text-align: center;
    width: 100%;
}

/* Enhanced starfield effect */
.starfield {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    perspective: 500px;
}

.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    opacity: 0;
    animation: twinkle var(--duration) infinite;
    animation-delay: var(--delay);
    transform: translateZ(var(--depth)) scale(var(--scale));
}

@keyframes twinkle {
    0%, 100% { opacity: 0; }
    50% { opacity: var(--opacity); }
}

/* Enhanced floating particles */
.particle {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    animation: float-particle var(--duration) infinite ease-in-out;
    animation-delay: var(--delay);
    filter: blur(var(--blur));
}

@keyframes float-particle {
    0% {
        transform: translate(0, 0) scale(0.8);
        opacity: 0;
    }
    25% {
        opacity: var(--opacity);
        transform: scale(1);
    }
    75% {
        opacity: var(--opacity);
        transform: scale(1);
    }
    100% {
        transform: translate(var(--translate-x), var(--translate-y)) scale(0.8);
        opacity: 0;
    }
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .animated-heading {
        font-size: 72px;
    }
    
    .video-container.enhanced {
        max-width: 90%;
    }
}

@media (max-width: 992px) {
    .work-together.enhanced-section .feature {
        flex: 0 0 calc(50% - 40px);
        margin: 0 auto;
    }
    
    .animated-heading {
        font-size: 56px;
    }
    
    .subtitle-enhanced {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .work-together.enhanced-section {
        padding: 120px 0;
    }
    
    .subtitle-enhanced {
        font-size: 18px;
        margin-bottom: 40px;
    }
    
    .video-container.enhanced {
        margin: 30px auto;
    }
    
    .enhanced-text {
        font-size: 20px;
        margin: 60px auto 70px;
    }
    
    .work-together.enhanced-section .feature {
        flex: 0 0 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .animated-heading {
        font-size: 40px;
    }
    
    .call-actions {
        gap: 12px;
    }
    
    .call-btn.hover-effect {
        height: 48px;
    }
} 