/* ===== VideoMaster Product Styles ===== */

/* Hero Section */
.videomaster-hero {
    background:
        linear-gradient(135deg,
            rgba(8, 12, 40, 0.92) 0%,
            rgba(20, 30, 70, 0.88) 25%,
            rgba(15, 20, 55, 0.9) 50%,
            rgba(8, 12, 40, 0.92) 100%),
        url('/static/images/videomaster/kv_bg.png') center/cover no-repeat;
    background-size: cover, cover;
}

.videomaster-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(ellipse at 15% 30%, rgba(79,110,247,0.4) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 20%, rgba(59,130,246,0.35) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(99,102,241,0.3) 0%, transparent 45%),
        radial-gradient(ellipse at 70% 60%, rgba(79,110,247,0.2) 0%, transparent 40%);
    pointer-events: none;
    animation: vmGlowPulse 6s ease-in-out infinite;
}

@keyframes vmGlowPulse {
    0%, 100% { opacity: 0.85; }
    50% { opacity: 1; }
}

.videomaster-hero .hero-badge {
    background: linear-gradient(135deg, rgba(79,110,247,0.35), rgba(59,130,246,0.3));
    border: 1px solid rgba(79,110,247,0.6);
    color: #fff;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    font-weight: 700;
    padding: 10px 24px;
    box-shadow: 0 6px 30px rgba(79,110,247,0.4), 0 0 40px rgba(79,110,247,0.2);
    font-size: 0.9375rem;
    text-shadow: 0 0 20px rgba(79,110,247,0.5), 0 2px 4px rgba(0,0,0,0.3);
}

.videomaster-hero .hero-badge i {
    color: #bfdbfe;
    font-size: 1rem;
    filter: drop-shadow(0 0 8px rgba(79,110,247,0.8));
}

.videomaster-hero .hero-title {
    background: linear-gradient(135deg, #ffffff 0%, #dbeafe 25%, #93c5fd 50%, #60a5fa 75%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 40px rgba(79,110,247,0.7)) drop-shadow(0 0 80px rgba(59,130,246,0.4)) drop-shadow(0 4px 10px rgba(0,0,0,0.5));
    font-weight: 800;
    letter-spacing: -0.02em;
    font-size: clamp(2.25rem, 5.5vw, 3.75rem);
}

.videomaster-hero .hero-desc {
    color: #fff;
    font-size: 1.25rem;
    line-height: 2;
    text-shadow: 0 2px 16px rgba(0,0,0,0.6), 0 0 60px rgba(79,110,247,0.4);
    font-weight: 400;
    letter-spacing: 0.02em;
}

.videomaster-hero .btn-hero-primary {
    background: linear-gradient(135deg, #4f6ef7, #3b82f6);
    box-shadow: 0 6px 30px rgba(79,110,247,0.5), 0 0 60px rgba(79,110,247,0.2);
    font-size: 1.0625rem;
    padding: 16px 36px;
}

.videomaster-hero .btn-hero-primary:hover {
    box-shadow: 0 8px 40px rgba(79,110,247,0.6), 0 0 80px rgba(79,110,247,0.3);
    transform: translateY(-3px);
}

.videomaster-hero .btn-hero-secondary {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
    backdrop-filter: blur(10px);
}

.videomaster-hero .btn-hero-secondary:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.4);
    color: #fff;
}

/* Feature Module Cards - Enhanced */
.feature-module-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 24px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: inherit;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

/* Top gradient bar */
.feature-module-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #4f6ef7, #3b82f6, #60a5fa);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover glow background */
.feature-module-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(79,110,247,0.06) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.feature-module-card:hover {
    transform: translateY(-8px);
    border-color: rgba(79,110,247,0.25);
    box-shadow:
        0 12px 40px rgba(79,110,247,0.15),
        0 4px 16px rgba(79,110,247,0.08),
        0 0 0 1px rgba(79,110,247,0.05);
}

.feature-module-card:hover::before {
    opacity: 1;
}

.feature-module-card:hover::after {
    opacity: 1;
}

.feature-module-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(79,110,247,0.12), rgba(59,130,246,0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-module-card:hover .feature-module-icon {
    background: linear-gradient(135deg, #4f6ef7, #3b82f6);
    color: #fff;
    transform: scale(1.1) rotateY(10deg);
    box-shadow: 0 8px 25px rgba(79,110,247,0.35);
}

.feature-module-icon i {
    font-size: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-module-card:hover .feature-module-icon i {
    filter: drop-shadow(0 2px 8px rgba(255,255,255,0.4));
}

.feature-module-card h3 {
    font-size: 1.1875rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.feature-module-card:hover h3 {
    color: var(--primary);
}

.feature-module-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

/* Arrow indicator on hover */
.feature-module-card .card-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(79,110,247,0.08);
    color: var(--primary);
    margin-top: 16px;
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-module-card:hover .card-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Floating animation for icon */
@keyframes vmIconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.feature-module-card:hover .feature-module-icon {
    animation: vmIconFloat 2s ease-in-out infinite;
}

/* Shimmer effect on hover */
@keyframes vmShimmer {
    0% { left: -100%; }
    100% { left: 200%; }
}

.feature-module-card:hover .shimmer-line {
    animation: vmShimmer 1.2s ease-in-out;
}

.shimmer-line {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(79,110,247,0.06), transparent);
    pointer-events: none;
}

/* Feature Tab Styles */
.videomaster-feature-icon {
    background: linear-gradient(135deg, rgba(79,110,247,0.15), rgba(59,130,246,0.1)) !important;
    color: #4f6ef7 !important;
}

/* Feature Hero Section */
.feature-hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 60px;
}

.feature-hero .hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
}

/* Responsive */
@media (max-width: 768px) {
    .feature-module-card {
        padding: 28px 20px 24px;
    }

    .feature-module-icon {
        width: 60px;
        height: 60px;
        border-radius: 16px;
        font-size: 1.5rem;
    }

    .feature-module-icon i {
        font-size: 1.5rem;
    }

    .feature-module-card h3 {
        font-size: 1.0625rem;
    }

    .feature-module-card p {
        font-size: 0.8125rem;
    }
}
