/* NFC Card Hero Section */
.nfccard-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.nfccard-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="%23ffffff08" points="0,0 1000,1000 0,1000"/></svg>');
    background-size: cover;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.welcome-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-item i {
    font-size: 1.5rem;
    color: #fff;
}

.hero-cta {
    margin-top: 2rem;
}

.hero-image-container {
    position: relative;
    text-align: center;
}

.hero-image {
    width: 100%;
    max-width: 400px;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    transform: perspective(1000px) rotateY(5deg) rotateX(5deg);
    transition: transform 0.3s ease;
    border: 8px solid white;
}

.hero-image:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.card-badges {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.card-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

/* Works Section */
.works-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #000;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
}

.works-steps {
    padding: 2rem;
}

.work-step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #667eea;
    transition: transform 0.3s ease;
}

.work-step:hover {
    transform: translateX(10px);
}

.step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
}

.step-content h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #000;
}

.step-content p {
    color: #6c757d;
    margin: 0;
    line-height: 1.6;
}

/* Demo Container */
.demo-container {
    text-align: center;
}

.demo-card {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.demo-image {
    width: 100%;
    max-width: 300px;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.demo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.nfc-zone, .qr-zone {
    position: absolute;
    background: rgba(102, 126, 234, 0.9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.demo-card:hover .nfc-zone,
.demo-card:hover .qr-zone {
    opacity: 1;
    transform: scale(1);
}

.nfc-zone {
    top: 40%;
    left: 20%;
}

.qr-zone {
    bottom: 30%;
    right: 20%;
}

.demo-text {
    max-width: 400px;
    margin: 0 auto;
}

.demo-text p {
    color: #6c757d;
    font-style: italic;
}

/* Compatibility Section */
.compatibility-section {
    padding: 80px 0;
    background: white;
}

.device-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    height: 100%;
    margin-bottom: 2rem;
}

.device-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.ios-card:hover {
    border-color: #000;
}

.android-card:hover {
    border-color: #3ddc84;
}

.device-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.device-icon {
    font-size: 2.5rem;
}

.ios-card .device-icon {
    color: #000;
}

.android-card .device-icon {
    color: #3ddc84;
}

.device-header h3 {
    font-size: 1.8rem;
    margin: 0;
    color: #000;
}

.device-badge {
    background: #e9ecef;
    color: #495057;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: auto;
}

.device-content p {
    color: #6c757d;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.device-image-container {
    position: relative;
    margin: 1.5rem 0;
    text-align: center;
}

.device-image {
    width: 100%;
    max-width: 200px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.hotspot {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(255, 0, 0, 0.3);
    border: 2px solid #ff0000;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.8); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
    100% { transform: scale(0.8); opacity: 1; }
}

.compatibility-list h5 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #000;
}

.models-grid, .brands-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin-top: 1rem;
}

.model-tag, .brand-tag {
    background: #f8f9fa;
    color: #495057;
    padding: 0.5rem;
    border-radius: 8px;
    font-size: 0.8rem;
    text-align: center;
    font-weight: 600;
}

/* Universal Features */
.universal-features {
    margin-top: 3rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 20px;
}

.feature-box {
    padding: 2rem 1rem;
}

.feature-box i {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.feature-box h5 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #000;
}

.feature-box p {
    color: #6c757d;
    margin: 0;
}

/* CTA Section */
.nfccard-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.cta-card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.cta-card h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-card p {
    font-size: 1.2rem;
    color: #6c757d;
    margin-bottom: 2rem;
}

.cta-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cta-features span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #495057;
    font-weight: 500;
}

.cta-features i {
    color: #28a745;
}

.cta-buttons .btn {
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-buttons .btn i {
    margin-right: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .nfccard-hero {
        padding: 80px 0 60px;
    }
    
    .work-step {
        flex-direction: column;
        text-align: center;
    }
    
    .models-grid, .brands-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-card {
        padding: 2rem;
    }
    
    .hero-image {
        transform: none;
    }
    
    .card-badges {
        position: relative;
        margin-top: 1rem;
    }
}

/* Animations */
[data-aos] {
    opacity: 0;
    transition: all 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
}