/* [V14-PREMIUM-HERO] Stacking-Context Solved */
@import url('https://fonts.googleapis.com/css2?family=Pretendard:wght@100;400;700;900&display=swap');

.premium-hero {
    width: 100%;
    margin: 40px auto 0px;
    padding: 100px 20px 0px;
    text-align: center;
    position: relative;
    font-family: 'Pretendard', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    background: transparent;
    
    /* [V29-FIX] Isolation creates a local stacking context.
       z-index: -1 on children will stay ABOVE the global background
       but BEHIND the hero content. */
    isolation: isolate; 
}

.glow-sphere-1 {
    position: absolute;
    top: -100px;
    left: -100px;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.4) 0%, transparent 65%);
    filter: blur(80px);
    z-index: -1; /* Inside isolate, this is still visible */
    pointer-events: none;
    animation: floating-glow-1 15s ease-in-out infinite alternate;
}

.glow-sphere-2 {
    position: absolute;
    bottom: -150px;
    right: -150px;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.35) 0%, transparent 65%);
    filter: blur(80px);
    z-index: -1;
    pointer-events: none;
    animation: floating-glow-2 18s ease-in-out infinite alternate;
}

.glow-badge {
    position: relative;
    z-index: 2; /* Explicitly above glows */
    display: inline-block;
    padding: 7px 20px;
    background: rgba(6, 182, 212, 0.12);
    border: 1px solid rgba(6, 182, 212, 0.4);
    border-radius: 100px;
    color: #22d3ee;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.15);
}

.hero-title {
    position: relative;
    z-index: 2;
    font-size: 4.2rem;
    font-weight: 950;
    color: white;
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.hero-title span.neon-text {
    background: linear-gradient(135deg, #22d3ee, #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 20px rgba(34, 211, 238, 0.4));
}

.hero-desc {
    position: relative;
    z-index: 2;
    font-size: 1.15rem;
    color: #94a3b8;
    max-width: 600px;
    line-height: 1.7;
}

.hero-desc strong {
    color: #f8fafc;
    font-weight: 700;
}

.action-group {
    position: relative;
    z-index: 5; /* Above glows, clickable */
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

/* [내 종목 분석] Style Button */
.hero-btn-primary {
    background: linear-gradient(135deg, #4f84f8 0%, #a26df8 100%);
    color: white;
    padding: 16px 24px;
    min-width: 180px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 15px;
    box-shadow: 0 4px 20px rgba(79, 132, 248, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 30px rgba(79, 132, 248, 0.6);
}

.hero-btn-secondary {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 16px 24px;
    min-width: 180px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 15px;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-btn-secondary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.6);
}

@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .action-group { flex-direction: column; width: 100%; max-width: 300px; }
}
