/* Device Switcher Section Styles */
.device-showcase {
    padding: 100px 0;
    background: linear-gradient(180deg, #f8f9fe 0%, #ffffff 100%);
    overflow: hidden;
    position: relative;
}

.device-showcase::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(76, 56, 252, 0.05) 0%, rgba(76, 56, 252, 0) 70%);
    top: 0;
    right: -200px;
}

.device-showcase::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(76, 56, 252, 0.05) 0%, rgba(76, 56, 252, 0) 70%);
    bottom: -100px;
    left: -100px;
}

.device-showcase-inner {
    position: relative;
    z-index: 2;
}

.device-headline {
    text-align: center;
    margin-bottom: 60px;
}

.device-headline h2 {
    font-size: 36px;
    font-weight: 800;
    color: #333;
    margin-bottom: 20px;
}

.device-headline h2 span {
    background: linear-gradient(135deg, #2d1bae 0%, #4c38fc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.device-headline p {
    font-size: 18px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.device-switcher {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    gap: 10px;
}

.device-option {
    padding: 12px 18px;
    background: rgba(76, 56, 252, 0.8);
    border-radius: 12px;
    display: flex;
    align-items: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
}

.device-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(45, 27, 174, 0.03) 0%, rgba(76, 56, 252, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.device-option i {
    margin-right: 10px;
    font-size: 18px;
    color: white;
    transition: all 0.3s ease;
}

.device-option span {
    font-size: 14px;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease;
}

.device-option:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.device-option.active {
    background: rgba(76, 56, 252, 1);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-3px);
}

.device-option.active i {
    color: white;
}

.device-option.active span {
    color: white;
}

.device-displays {
    position: relative;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.device-display-container {
    position: relative;
    height: 500px;
    margin-bottom: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    opacity: 1;
    transition: opacity 0.5s ease;
    z-index: 1;
    pointer-events: auto;
}

.device-frame {
    position: relative;
    opacity: 1;
    pointer-events: auto;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.25);
}

.tv-frame {
    width: 85%;
    max-width: 900px;
    height: auto;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 15px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25), 0 0 30px rgba(45, 27, 174, 0.15);
    overflow: hidden;
    border: 2px solid #333;
    position: relative;
    transform: perspective(1000px) rotateX(2deg);
    transition: all 0.5s ease;
    display: block;
}

.tv-frame:hover {
    transform: perspective(1000px) rotateX(0deg) scale(1.01);
    box-shadow: 0 40px 70px rgba(0, 0, 0, 0.3), 0 0 40px rgba(45, 27, 174, 0.2);
}

.tv-frame::before {
    content: '';
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 15px;
    background: linear-gradient(90deg, #222, #444, #222);
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.tv-frame::after {
    content: '';
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle at center, rgba(76, 56, 252, 0.15) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.tv-frame:hover::after {
    opacity: 1;
}

.tv-screen {
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    position: relative;
}

.tv-screen img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    display: block;
}

.tablet-frame {
    width: 600px;
    height: 430px;
    background: #000;
    border-radius: 20px;
    border: 12px solid #333;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.tablet-screen {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tablet-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.smartphone-frame {
    width: 250px;
    height: 520px;
    background: #111;
    border-radius: 36px;
    border: 10px solid #333;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    position: relative;
}

.smartphone-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    height: 20px;
    background: #333;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    z-index: 1;
}

.smartphone-screen {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.smartphone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.device-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 80px;
}

.device-feature-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    border: 1px solid rgba(230, 230, 240, 0.7);
    height: 100%;
    min-height: 380px;
    display: flex;
    flex-direction: column;
}

.device-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(45, 27, 174, 0.15);
    border-color: rgba(45, 27, 174, 0.3);
}

.device-feature-card.premium-card {
    position: relative;
    z-index: 1;
}

.device-feature-card.premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(135deg, rgba(76, 56, 252, 0.03) 0%, rgba(45, 27, 174, 0.07) 100%);
    border-radius: 20px;
    z-index: -1;
}

.feature-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #2d1bae 0%, #4c38fc 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(45, 27, 174, 0.3);
    animation: pulse 2s infinite;
}

.device-feature-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, rgba(45, 27, 174, 0.1) 0%, rgba(76, 56, 252, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px auto 10px;
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 25px rgba(45, 27, 174, 0.15);
}

.device-feature-icon::before {
    content: '';
    position: absolute;
    top: -5px;
    right: -5px;
    bottom: -5px;
    left: -5px;
    background: linear-gradient(135deg, rgba(45, 27, 174, 0.05) 0%, rgba(76, 56, 252, 0.05) 100%);
    border-radius: 50%;
    z-index: -1;
    animation: pulseLight 2s infinite;
    opacity: 0.5;
}

.device-feature-icon i {
    font-size: 34px;
    color: var(--primary-color);
    background: linear-gradient(135deg, #2d1bae 0%, #4c38fc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.device-feature-content {
    padding: 25px 25px 30px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.device-feature-card h3 {
    font-size: 22px;
    margin-bottom: 16px;
    color: #333;
    font-weight: 800;
    background: linear-gradient(135deg, #2d1bae 0%, #4c38fc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.device-feature-card p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 15px;
    flex: 1;
}

.compatibility-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 15px;
    background-color: rgba(45, 27, 174, 0.08);
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 600;
    border-radius: 20px;
    margin-top: auto;
    transition: all 0.3s ease;
    border: 1px solid rgba(45, 27, 174, 0.1);
}

.compatibility-tag i {
    margin-right: 5px;
    font-size: 12px;
    color: #2d1bae;
}

.device-feature-card:hover .compatibility-tag {
    background-color: rgba(45, 27, 174, 0.12);
    transform: translateY(-3px);
}

@keyframes pulseLight {
    0% {
        transform: scale(0.95);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
    100% {
        transform: scale(0.95);
        opacity: 0.5;
    }
}

/* Animation */
@keyframes deviceFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.floating-animation {
    animation: deviceFloat 4s ease-in-out infinite;
}

/* Responsive styles */
@media (max-width: 992px) {
    .device-display-container {
        height: 400px;
    }
    
    .tv-frame {
        width: 700px;
        height: 400px;
    }
    
    .tablet-frame {
        width: 550px;
        height: 400px;
    }
    
    .device-features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .device-feature-card {
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    .device-option {
        margin: 5px;
        padding: 12px 18px;
    }
    
    .device-display-container {
        height: 350px;
    }
    
    .tv-frame {
        width: 500px;
        height: 300px;
    }
    
    .tablet-frame {
        width: 450px;
        height: 320px;
    }
    
    .device-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .device-feature-card {
        min-height: 350px;
    }
    
    .device-feature-card h3 {
        font-size: 20px;
    }
    
    .device-feature-icon {
        width: 80px;
        height: 80px;
        margin: 25px auto 5px;
    }
    
    .device-feature-icon i {
        font-size: 30px;
    }
}

/* Remove these classes as we're using a simpler approach */

/* Mobile devices - Special styles */
@media (max-width: 576px) {
    .device-showcase {
        padding: 70px 0;
    }
    
    .device-display-container {
        height: 450px;
    }
    
    .device-headline h2 {
        font-size: 28px;
    }
    
    .device-headline p {
        font-size: 16px;
    }
    
    .tv-frame {
        width: 320px;
        height: 180px;
    }
    
    .tablet-frame {
        width: 320px;
        height: 230px;
    }
    
    .device-features-grid {
        grid-template-columns: 1fr;
        gap: 35px;
        margin-top: 60px;
    }
    
    .device-feature-card {
        min-height: auto;
    }
    
    .device-feature-icon {
        width: 75px;
        height: 75px;
        margin: 25px auto 5px;
        background: #f0f0f0;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .device-feature-icon::before,
    .device-feature-icon::after {
        content: none;
    }

    .device-feature-icon i {
        font-size: 30px;
        color: #4c38fc;
        background: none;
        -webkit-text-fill-color: currentColor;
    }
    
    .device-feature-card h3 {
        font-size: 19px;
        margin-bottom: 12px;
    }
    
    .device-feature-card p {
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    .device-switcher {
        flex-wrap: wrap;
        margin-bottom: 30px;
    }
    
    .device-option {
        margin: 3px;
        padding: 10px 15px;
    }
}
