/* Smart Connect NFC Section */
.smart-connect-section {
    background: linear-gradient(135deg, rgba(10,25,41,0.95) 0%, rgba(20,40,70,0.95) 100%);
    position: relative;
    overflow: hidden;
}

.smart-connect-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(74,144,226,0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(74,144,226,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.smart-connect-content {
    position: relative;
    z-index: 2;
}

.smart-features {
    margin-top: 2rem;
}

.smart-feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(74,144,226,0.05);
    border-radius: 12px;
    border-left: 3px solid var(--primary-color);
    transition: all 0.3s ease;
}

.smart-feature:hover {
    background: rgba(74,144,226,0.1);
    transform: translateX(10px);
}

.smart-feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, rgba(74,144,226,0.8) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.smart-feature-icon i {
    font-size: 1.5rem;
    color: white;
}

.smart-feature-content h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.smart-feature-content p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

.smart-connect-visual {
    position: relative;
    height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-mockup {
    position: relative;
    width: 300px;
    height: 600px;
    background: linear-gradient(135deg, rgba(20,40,70,0.9) 0%, rgba(10,25,41,0.9) 100%);
    border-radius: 45px;
    border: 4px solid var(--primary-color);
    box-shadow: 0 20px 60px rgba(74,144,226,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.phone-mockup i {
    font-size: 5rem;
    color: var(--primary-color);
}

/* Phone Frame Video Player */
.phone-mockup-video {
    position: relative;
    width: 300px;
    height: 600px;
    z-index: 2;
}

.phone-frame {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(20,40,70,0.95) 0%, rgba(10,25,41,0.95) 100%);
    border-radius: 45px;
    border: 4px solid var(--primary-color);
    box-shadow: 0 20px 60px rgba(74,144,226,0.3);
    padding: 12px;
    overflow: hidden;
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 30px;
    background: linear-gradient(135deg, rgba(20,40,70,0.95) 0%, rgba(10,25,41,0.95) 100%);
    border-radius: 0 0 18px 18px;
    z-index: 10;
}

.phone-screen {
    position: relative;
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 33px;
    overflow: hidden;
    cursor: pointer;
}

.phone-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease, background 0.3s ease;
    z-index: 5;
    pointer-events: auto;
}

.video-play-overlay.hidden {
    opacity: 0;
    background: rgba(0, 0, 0, 0);
    pointer-events: auto; /* Keep clickable even when hidden so video can be paused */
}

.play-button {
    width: 90px;
    height: 90px;
    background: rgba(74,144,226,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(74,144,226,0.5);
}

.play-button i {
    font-size: 2.5rem;
    color: white;
    margin-left: 5px;
}

.video-play-overlay:hover .play-button {
    transform: scale(1.1);
    background: rgba(74,144,226,1);
    box-shadow: 0 15px 40px rgba(74,144,226,0.7);
}

.play-hint {
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    margin: 0;
    opacity: 0.9;
}

.phone-mockup-video .nfc-wave {
    position: absolute;
    width: 225px;
    height: 225px;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: nfcPulse 2s ease-out infinite;
    opacity: 0;
    z-index: 1;
}

.nfc-wave {
    position: absolute;
    width: 225px;
    height: 225px;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: nfcPulse 2s ease-out infinite;
    opacity: 0;
}

.nfc-wave:nth-child(2) {
    animation-delay: 0.5s;
}

.nfc-wave:nth-child(3) {
    animation-delay: 1s;
}

@keyframes nfcPulse {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

.nfc-chip-icon {
    position: absolute;
    bottom: 60px;
    right: 60px;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-color) 0%, rgba(74,144,226,0.6) 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(74,144,226,0.4);
    animation: float 3s ease-in-out infinite;
}

.nfc-chip-icon i {
    font-size: 3.5rem;
    color: white;
}

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

@media (max-width: 768px) {
    .smart-connect-visual {
        height: 550px;
        margin-top: 3rem;
    }

    .phone-mockup {
        width: 220px;
        height: 440px;
        border-radius: 35px;
    }

    .phone-mockup i {
        font-size: 4rem;
    }

    .phone-mockup-video {
        width: 220px;
        height: 440px;
    }

    .phone-frame {
        border-radius: 35px;
        padding: 10px;
    }

    .phone-screen {
        border-radius: 25px;
    }

    .phone-notch {
        width: 70px;
        height: 25px;
        border-radius: 0 0 15px 15px;
    }

    .play-button {
        width: 70px;
        height: 70px;
    }

    .play-button i {
        font-size: 2rem;
    }

    .play-hint {
        font-size: 0.9rem;
    }

    .phone-mockup-video .nfc-wave,
    .nfc-wave {
        width: 180px;
        height: 180px;
    }

    .nfc-chip-icon {
        width: 90px;
        height: 90px;
        bottom: 40px;
        right: 40px;
    }

    .nfc-chip-icon i {
        font-size: 2.5rem;
    }

    .smart-feature {
        flex-direction: column;
        text-align: center;
    }

    .smart-feature-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

