/* ============================================
   NFC Hero Section Widget Styles
   ============================================ */

/* Reset */
.nfc-hero-section *,
.nfc-hero-section *::before,
.nfc-hero-section *::after {
    box-sizing: border-box;
}

/* Main Container */
.nfc-hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    width: 100%;
}

/* Animated Gradient Overlay */
.nfc-hero-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    animation: nfcGradientMove 8s ease infinite;
    background-size: 300% 300%;
}

@keyframes nfcGradientMove {
    0% {
        background-position: 0% 50%;
    }
    25% {
        background-position: 50% 0%;
    }
    50% {
        background-position: 100% 50%;
    }
    75% {
        background-position: 50% 100%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Inner Container */
.nfc-hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    width: 100%;
    margin: 0 auto;
}

.nfc-hero-inner.nfc-boxed {
    max-width: 1280px;
}

.nfc-hero-inner.nfc-full-width {
    max-width: 100%;
}

/* Left Column */
.nfc-hero-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Right Column */
.nfc-hero-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Subtitle */
.nfc-hero-subtitle {
    display: inline-flex;
    align-items: center;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 20px;
}

.nfc-hero-subtitle.has-line::before {
    content: '';
    display: inline-block;
    width: 40px;
    height: 2px;
    margin-right: 14px;
    flex-shrink: 0;
}

/* Heading */
.nfc-hero-heading {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 24px 0;
    padding: 0;
}

.nfc-heading-line {
    display: block;
}

.nfc-hero-heading em {
    font-style: italic;
    display: block;
}

/* Description */
.nfc-hero-desc {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.7;
    margin: 0 0 36px 0;
}

/* Buttons */
.nfc-hero-buttons {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.nfc-hero-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    outline: none;
}

.nfc-hero-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(46, 124, 246, 0.3);
}

.nfc-hero-btn-primary .nfc-btn-icon {
    display: inline-flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.nfc-hero-btn-primary:hover .nfc-btn-icon {
    transform: translateX(4px);
}

.nfc-hero-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    transition: color 0.3s ease;
    cursor: pointer;
    background: none;
    border: none;
    outline: none;
}

/* Statistics */
.nfc-hero-stats {
    display: flex;
    gap: 40px;
    padding-top: 30px;
    border-top: 1px solid;
    flex-wrap: wrap;
}

.nfc-stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nfc-stat-value {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 28px;
    line-height: 1.2;
}

.nfc-stat-label {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 13px;
}

/* ============================================
   Video Card
   ============================================ */
.nfc-hero-video-card {
    border: 1px solid;
    overflow: hidden;
    width: 100%;
    max-width: 480px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.nfc-video-preview {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    cursor: pointer;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.nfc-video-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.nfc-video-play-area {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.nfc-video-play-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nfc-video-play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(74, 159, 217, 0.3);
}

.nfc-video-play-btn svg {
    width: 24px;
    height: 24px;
}

.nfc-video-play-text {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
}

/* Video Footer */
.nfc-video-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-top: 1px solid rgba(26, 45, 71, 0.5);
}

.nfc-video-bottom-text {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 400;
}

.nfc-video-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Video Iframe (when playing) */
.nfc-video-preview iframe,
.nfc-video-preview video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    border: none;
}

/* ============================================
   Entrance Animations
   ============================================ */
.nfc-anim-item {
    opacity: 0;
    transition-property: opacity, transform;
    transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nfc-anim-item.nfc-animated {
    opacity: 1;
    transform: none !important;
}

/* Fade Up */
.nfc-hero-section[data-anim-type="fade-up"] .nfc-anim-item {
    transform: translateY(40px);
}

/* Fade In */
.nfc-hero-section[data-anim-type="fade-in"] .nfc-anim-item {
    transform: none;
}

/* Fade from Left */
.nfc-hero-section[data-anim-type="fade-left"] .nfc-anim-item {
    transform: translateX(-40px);
}

/* Fade from Right */
.nfc-hero-section[data-anim-type="fade-right"] .nfc-anim-item {
    transform: translateX(40px);
}

/* Zoom In */
.nfc-hero-section[data-anim-type="zoom-in"] .nfc-anim-item {
    transform: scale(0.9);
}

/* No animation mode */
.nfc-hero-section[data-animate="false"] .nfc-anim-item {
    opacity: 1;
    transform: none;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    .nfc-hero-inner {
        flex-direction: column;
        gap: 40px;
    }

    .nfc-hero-left {
        flex: 0 0 100% !important;
        text-align: center;
        align-items: center;
    }

    .nfc-hero-right {
        width: 100%;
    }

    .nfc-hero-buttons {
        justify-content: center;
    }

    .nfc-hero-stats {
        justify-content: center;
    }

    .nfc-hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .nfc-hero-video-card {
        max-width: 100%;
    }

    .nfc-video-preview {
        min-height: 220px;
    }
}

@media (max-width: 600px) {
    .nfc-hero-video-card {
        max-width: 100%;
    }

    .nfc-video-preview {
        min-height: 180px;
        aspect-ratio: 16 / 9;
    }

    .nfc-video-play-btn {
        width: 50px !important;
        height: 50px !important;
    }

    .nfc-video-play-text {
        font-size: 12px;
    }

    .nfc-video-footer {
        padding: 12px 16px;
    }

    .nfc-video-bottom-text {
        font-size: 11px;
    }

    .nfc-video-badge {
        font-size: 9px;
        padding: 4px 10px;
    }

    .nfc-hero-stats {
        gap: 24px;
    }

    .nfc-stat-item {
        flex: 0 0 calc(50% - 12px);
        align-items: center;
        text-align: center;
    }

    .nfc-hero-buttons {
        flex-direction: column;
        gap: 16px;
    }

    .nfc-video-footer {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}
