.enlarge-hero {
    background: 
        linear-gradient(135deg, 
            rgba(59, 7, 100, 0.92) 0%, 
            rgba(88, 28, 135, 0.88) 25%, 
            rgba(217, 70, 239, 0.75) 50%, 
            rgba(88, 28, 135, 0.88) 75%, 
            rgba(59, 7, 100, 0.92) 100%),
        url('/static/images/enlarge/kv_bg.png') center/cover no-repeat;
    position: relative;
    overflow: hidden;
}

.enlarge-hero .hero-content {
    position: relative;
    z-index: 2;
}

.enlarge-hero .hero-badge {
    animation: enlarge-fade-in-up 0.8s ease-out 0.1s forwards, enlarge-badge-glow 2s ease-in-out infinite 1s;
    opacity: 0;
}

.enlarge-hero .hero-title {
    animation: enlarge-fade-in-up 0.8s ease-out 0.2s forwards, enlarge-title-shimmer 3s ease-in-out infinite 1.5s;
    opacity: 0;
    background-size: 200% 100%;
}

.enlarge-hero .hero-desc {
    animation: enlarge-fade-in-up 0.8s ease-out 0.3s forwards;
    opacity: 0;
}

.enlarge-hero .hero-actions {
    animation: enlarge-fade-in-up 0.8s ease-out 0.4s forwards;
    opacity: 0;
}

.enlarge-hero .hero-visual {
    animation: enlarge-fade-in-scale 1s ease-out 0.3s forwards;
    opacity: 0;
}

@keyframes enlarge-fade-in-scale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes enlarge-fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes enlarge-badge-glow {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(217, 70, 239, 0.3);
    }
    50% {
        box-shadow: 0 4px 30px rgba(217, 70, 239, 0.5), 0 0 20px rgba(217, 70, 239, 0.3);
    }
}

@keyframes enlarge-title-shimmer {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

[data-theme="enlarge"] .btn-hero-primary {
    animation: enlarge-btn-pulse 2s ease-in-out infinite 1s;
}

@keyframes enlarge-btn-pulse {
    0%, 100% {
        box-shadow: 0 8px 32px rgba(217, 70, 239, 0.3);
    }
    50% {
        box-shadow: 0 8px 40px rgba(217, 70, 239, 0.5), 0 0 20px rgba(217, 70, 239, 0.3);
    }
}

[data-theme="enlarge"] .hero-particle {
    animation: enlarge-particle-float 6s ease-in-out infinite;
}

[data-theme="enlarge"] .hero-particle:nth-child(1) { animation-delay: 0s; }
[data-theme="enlarge"] .hero-particle:nth-child(2) { animation-delay: 0.75s; }
[data-theme="enlarge"] .hero-particle:nth-child(3) { animation-delay: 1.5s; }
[data-theme="enlarge"] .hero-particle:nth-child(4) { animation-delay: 2.25s; }
[data-theme="enlarge"] .hero-particle:nth-child(5) { animation-delay: 3s; }
[data-theme="enlarge"] .hero-particle:nth-child(6) { animation-delay: 3.75s; }
[data-theme="enlarge"] .hero-particle:nth-child(7) { animation-delay: 4.5s; }
[data-theme="enlarge"] .hero-particle:nth-child(8) { animation-delay: 5.25s; }

@keyframes enlarge-particle-float {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.6;
    }
    25% {
        transform: translateY(-20px) scale(1.1);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-10px) scale(0.9);
        opacity: 0.5;
    }
    75% {
        transform: translateY(-30px) scale(1.05);
        opacity: 0.7;
    }
}

.enlarge-hero::before {
    background: 
        radial-gradient(ellipse at 15% 30%, rgba(217, 70, 239, 0.25) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 70%, rgba(139, 92, 246, 0.18) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(240, 171, 252, 0.12) 0%, transparent 60%);
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.enlarge-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(217, 70, 239, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 35%);
    pointer-events: none;
    animation: enlarge-hero-pulse 8s ease-in-out infinite alternate;
}

@keyframes enlarge-hero-pulse {
    0% { opacity: 0.6; }
    100% { opacity: 1; }
}

.enlarge-hero .hero-title {
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 50%, #fdf4ff 80%, #fae8ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    font-size: clamp(2.25rem, 5.5vw, 3.75rem);
    filter: none;
    letter-spacing: -0.02em;
    line-height: 1.1;
    font-weight: 800;
}

.enlarge-hero .hero-desc {
    color: #ffffff;
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.7;
    font-weight: 600;
    text-shadow: none;
}

.enlarge-hero .hero-badge {
    background: linear-gradient(135deg, rgba(217, 70, 239, 0.4), rgba(139, 92, 246, 0.35));
    border: 1px solid rgba(217, 70, 239, 0.6);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 20px rgba(217, 70, 239, 0.3);
}

.enlarge-hero .hero-badge i {
    font-size: 1rem;
}

.enlarge-feature-icon {
    background: linear-gradient(135deg, rgba(217, 70, 239, 0.2), rgba(139, 92, 246, 0.15));
    box-shadow: 0 8px 32px rgba(217, 70, 239, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(217, 70, 239, 0.2);
}

.enlarge-cta {
    background: linear-gradient(135deg, #a21caf, #d946ef);
    box-shadow: 0 8px 32px rgba(217, 70, 239, 0.25);
}

.enlarge-compare {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(217, 70, 239, 0.15);
}

.enlarge-compare-label {
    position: absolute;
    top: 12px;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
}

.enlarge-compare-label.before {
    left: 12px;
    background: rgba(100, 116, 139, 0.8);
    color: #fff;
}

.enlarge-compare-label.after {
    right: 12px;
    background: rgba(217, 70, 239, 0.8);
    color: #fff;
}

.enlarge-scale-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(217, 70, 239, 0.1);
    border: 1px solid rgba(217, 70, 239, 0.2);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.875rem;
    color: #f0abfc;
    font-weight: 600;
}

.enlarge-ai-badge {
    background: linear-gradient(135deg, #d946ef, #8b5cf6);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

[data-theme="enlarge"] .btn-hero-primary {
    background: linear-gradient(135deg, #d946ef, #c026d3);
    box-shadow: 0 8px 32px rgba(217, 70, 239, 0.3);
    color: #ffffff;
    font-weight: 700;
    transition: all 0.3s ease;
}

[data-theme="enlarge"] .btn-hero-primary:hover {
    background: linear-gradient(135deg, #e879f9, #d946ef);
    box-shadow: 0 12px 40px rgba(217, 70, 239, 0.4);
    transform: translateY(-2px);
}

[data-theme="enlarge"] .btn-hero-secondary {
    background: rgba(217, 70, 239, 0.15);
    border: 1px solid rgba(217, 70, 239, 0.4);
    color: #ffffff;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    font-weight: 600;
}

[data-theme="enlarge"] .btn-hero-secondary:hover {
    background: rgba(217, 70, 239, 0.25);
    border-color: rgba(217, 70, 239, 0.6);
    color: #ffffff;
}

[data-theme="enlarge"] .hero-particle {
    background: radial-gradient(circle, rgba(217, 70, 239, 0.6) 0%, transparent 70%);
}

[data-theme="enlarge"] .hero-grid-bg {
    background-image: 
        linear-gradient(rgba(217, 70, 239, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(217, 70, 239, 0.03) 1px, transparent 1px);
}

.enlarge-hero-visual {
    position: relative;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.enlarge-hero-main {
    position: relative;
    z-index: 2;
    width: 85%;
    max-width: 380px;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(88, 28, 135, 0.6), rgba(59, 7, 100, 0.7));
    border: 1px solid rgba(217, 70, 239, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(217, 70, 239, 0.2);
    animation: enlarge-main-float 4s ease-in-out infinite;
}

.enlarge-hero-main img {
    width: 100%;
    height: auto;
    display: block;
}

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

.enlarge-floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: linear-gradient(135deg, rgba(217, 70, 239, 0.25), rgba(139, 92, 246, 0.2));
    border: 1px solid rgba(217, 70, 239, 0.4);
    border-radius: 12px;
    backdrop-filter: blur(12px);
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(217, 70, 239, 0.2);
    z-index: 3;
}

.enlarge-floating-card i {
    font-size: 1.125rem;
    color: #e879f9;
}

.enlarge-card-1 {
    top: 20px;
    left: 0;
    animation: enlarge-card-float-1 5s ease-in-out infinite;
}

.enlarge-card-2 {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    animation: enlarge-card-float-2 5s ease-in-out infinite 1s;
}

.enlarge-card-3 {
    bottom: 80px;
    left: 0;
    animation: enlarge-card-float-3 5s ease-in-out infinite 2s;
}

.enlarge-card-4 {
    bottom: 20px;
    right: 20px;
    animation: enlarge-card-float-4 5s ease-in-out infinite 1.5s;
}

@keyframes enlarge-card-float-1 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(10px, -8px); }
}

@keyframes enlarge-card-float-2 {
    0%, 100% { transform: translateY(-50%) translateX(0); }
    50% { transform: translateY(-50%) translateX(-10px); }
}

@keyframes enlarge-card-float-3 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(15px, -5px); }
}

@keyframes enlarge-card-float-4 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-8px, -10px); }
}

.enlarge-data-flow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.enlarge-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, rgba(217, 70, 239, 0.8) 0%, transparent 70%);
    border-radius: 50%;
    animation: enlarge-particle-flow 8s linear infinite;
}

.enlarge-particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.enlarge-particle:nth-child(2) { left: 30%; animation-delay: 1.6s; }
.enlarge-particle:nth-child(3) { left: 50%; animation-delay: 3.2s; }
.enlarge-particle:nth-child(4) { left: 70%; animation-delay: 4.8s; }
.enlarge-particle:nth-child(5) { left: 90%; animation-delay: 6.4s; }

@keyframes enlarge-particle-flow {
    0% {
        top: 100%;
        opacity: 0;
        transform: scale(0.5);
    }
    10% {
        opacity: 1;
        transform: scale(1);
    }
    90% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        top: 0;
        opacity: 0;
        transform: scale(0.5);
    }
}
