/* =========================================
   Visual Enhancement (BEM Modifiers)
   ========================================= */

:root {
    /* Visual Colors */
    --color-accent-gradient: linear-gradient(135deg, #2563EB 0%, #7C3AED 100%);
    --color-text-gradient: linear-gradient(90deg, #0F172A 0%, #2563EB 50%, #7C3AED 100%);
    --shadow-glow: 0 0 20px rgba(37, 99, 235, 0.4);
    --shadow-float: 0 20px 40px -5px rgba(0, 0, 0, 0.15);

    /* Animation */
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* 0. 3D Background Container */
#hero-3d-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    /* 텍스트 뒤로 배치 */
    opacity: 0.6;
    /* 너무 강하지 않게 */
    overflow: hidden;
    pointer-events: auto;
    /* 마우스 인터랙션을 위해 필요 */
}

/* 1. Typography Modifiers */
.hero-title--gradient {
    background: var(--color-text-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    /* 그라디언트 적용을 위해 필요할 수 있음 */
}

.text-highlight {
    position: relative;
    z-index: 1;
    color: var(--color-primary);
    font-weight: 800;
}

.text-highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -2px;
    right: -2px;
    height: 30%;
    background-color: rgba(37, 99, 235, 0.2);
    z-index: -1;
    border-radius: 4px;
}

/* 2. Button Modifiers */
.btn--glow {
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    animation: pulse-glow 3s infinite;
    border: none;
    /* 기존 border 제거 혹은 덮어쓰기 */
}

.btn--glow:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px) scale(1.02);
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(37, 99, 235, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
    }
}

/* 3. Card Modifiers */
.problem-card--float {
    transition: transform 0.4s var(--ease-bounce), box-shadow 0.4s ease;
}

.problem-card--float:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-float);
    border-color: rgba(124, 58, 237, 0.2);
    /* Slight purple tint on hover */
}

/* 4. Glassmorphism Modifier */
.logo-box--glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* 5. Animation Modifiers */
.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 6. Section Background Modifiers */
.section--diagonal {
    position: relative;
    z-index: 0;
    overflow: hidden;
}

.section--diagonal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #F8FAFC 0%, #EFF6FF 100%);
    transform: skewY(-3deg);
    transform-origin: top left;
    z-index: -1;
}