/* ===================================
   매직블루 나노코팅 - 모던 디자인 오버레이
   최신 디자인 트렌드 적용
   ================================== */

/* 히어로 섹션 - 최신 디자인 */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #0066FF 0%, #00A3FF 50%, #667EEA 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 140px 0 80px;
}

/* Inner pages should not use the full-viewport hero.
   In this app, pages rendered inside `layouts/default.vue` already have top padding
   for the fixed navbar. Use `.page-hero` to keep the visual size consistent with the reference design. */
.hero-section.page-hero {
    min-height: 420px;
    padding: 48px 0 56px;
}

.hero-section.page-hero .hero-content {
    max-width: 900px;
    padding: 0;
}

.hero-section.page-hero h1 {
    font-size: 2.75rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 0.75rem;
}

.hero-section.page-hero p {
    font-size: 1.125rem;
    opacity: 0.95;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><path fill="rgba(255,255,255,0.03)" d="M0,300 Q300,200 600,300 T1200,300 L1200,600 L0,600 Z"/></svg>');
    background-size: cover;
    animation: subtleFloat 20s ease-in-out infinite;
}

@keyframes subtleFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9375rem;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.2;
    color: white;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
    letter-spacing: -2px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.hero-title .highlight {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.375rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
    font-weight: 400;
}

.hero-subtitle strong {
    font-weight: 700;
    color: white;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 3rem;
    animation: fadeInUp 0.8s ease-out 0.8s backwards;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.hero-stat-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    padding: 2rem 1.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-stat-card:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.hero-stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: #FFD700;
    margin-bottom: 0.5rem;
    display: block;
    letter-spacing: -1px;
}

.hero-stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 섹션 공통 스타일 - 더 넓은 간격 */
section {
    padding: 120px 0;
    position: relative;
}

section.alt-bg {
    background: linear-gradient(180deg, #FAFBFC 0%, #F0F4F8 100%);
}

/* 섹션 헤더 - 더 큰 타이포그래피 */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, #0066FF 0%, #00A3FF 100%);
    color: white;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.section-header h2 {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--black);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -1.5px;
}

.section-header p {
    font-size: 1.25rem;
    color: var(--gray);
    line-height: 1.8;
    font-weight: 400;
}

/* 카드 디자인 - 글래스모피즘 */
.modern-card {
    background: white;
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(15, 23, 42, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.modern-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0066FF 0%, #00A3FF 100%);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.modern-card:hover::before {
    transform: translateX(0);
}

.modern-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.15);
    border-color: rgba(0, 102, 255, 0.1);
}

/* 버튼 스타일 - 더 현대적인 디자인 */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.125rem 2.5rem;
    background: linear-gradient(135deg, #0066FF 0%, #00A3FF 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.0625rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(0, 102, 255, 0.3);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #00A3FF 0%, #667EEA 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 102, 255, 0.4);
}

.btn-primary span,
.btn-primary i {
    position: relative;
    z-index: 1;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.125rem 2.5rem;
    background: white;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    border-radius: 12px;
    font-size: 1.0625rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 102, 255, 0.3);
}

/* 그리드 레이아웃 개선 */
.modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.modern-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.modern-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

/* 아이콘 스타일 */
.icon-box {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0066FF 0%, #00A3FF 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 24px rgba(0, 102, 255, 0.25);
    transition: all 0.3s ease;
}

.icon-box i {
    font-size: 2.5rem;
    color: white;
}

.modern-card:hover .icon-box {
    transform: rotateY(360deg) scale(1.1);
    box-shadow: 0 12px 32px rgba(0, 102, 255, 0.35);
}

/* 배지 스타일 */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 102, 255, 0.1);
    color: var(--primary-blue);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
}

.badge.badge-gold {
    background: rgba(255, 215, 0, 0.15);
    color: #D97706;
}

.badge.badge-success {
    background: rgba(16, 185, 129, 0.15);
    color: #059669;
}

/* 스크롤 애니메이션 */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 모바일 반응형 */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .section-header h2 {
        font-size: 3rem;
    }

    .modern-grid-3,
    .modern-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    section {
        padding: 80px 0;
    }

    .hero-section {
        padding: 120px 0 60px;
        min-height: auto;
    }

    .hero-title {
        font-size: 2.5rem;
        letter-spacing: -1px;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .section-header h2 {
        font-size: 2.25rem;
    }

    .section-header p {
        font-size: 1.0625rem;
    }

    .modern-grid-3,
    .modern-grid-4,
    .hero-stats {
        grid-template-columns: 1fr;
    }

    .modern-card {
        padding: 2rem;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 1.875rem;
    }

    .hero-stat-number {
        font-size: 2.5rem;
    }
}