/* css/about.css - 기관 안내 페이지 전용 스타일 */

/* 1. Immersive Glassmorphism Hero */
.about-glass-hero {
    position: relative;
    padding: 180px 0 120px;
    background: radial-gradient(circle at 20% 30%, rgba(51, 132, 255, 0.15), transparent 40%),
                radial-gradient(circle at 80% 70%, rgba(255, 107, 53, 0.1), transparent 50%),
                var(--color-bg-gray);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-glass-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(51, 132, 255, 0.08) 0%, transparent 60%);
    border-radius: 50%;
    animation: floatBlob 10s ease-in-out infinite alternate;
}

@keyframes floatBlob {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(100px, 50px) scale(1.1); }
}

.hero-glass-card {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    border-radius: 32px;
    padding: 60px 80px;
    text-align: center;
    max-width: 800px;
    width: 90%;
}

.hero-glass-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.hero-glass-desc {
    font-size: 1.25rem;
    color: var(--color-text-main);
    font-weight: 500;
    line-height: 1.6;
}

/* 2. Bento Box Grid Section */
.bento-section {
    padding: 100px 0;
    background-color: var(--color-bg-white);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 240px;
    gap: 24px;
}

.bento-box {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 24px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    position: relative;
    overflow: hidden;
}

.bento-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    border-color: rgba(51, 132, 255, 0.3);
}

.bento-large {
    grid-column: span 2;
    grid-row: span 2;
    background: linear-gradient(145deg, #f8fafe 0%, #ffffff 100%);
    justify-content: flex-start;
}

.bento-wide {
    grid-column: span 3;
    background: var(--color-bg-gray);
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* 미션 타이포 */
.bento-mission-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--color-text-main);
}

.bento-mission-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--color-text-main);
}

.bento-mission-list {
    margin-top: 30px;
    list-style: none;
    padding: 0;
}

.bento-mission-list li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text-main);
}

.bento-mission-list li svg {
    margin-right: 12px;
    color: var(--color-primary);
}

/* 통계 디자인 */
.bento-stat {
    align-items: center;
    text-align: center;
}

.stat-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(51, 132, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--color-primary);
}

.bento-stat.orange .stat-circle {
    background: rgba(255, 107, 53, 0.1);
    color: var(--color-secondary);
}

.bento-stat-num {
    font-size: 3rem;
    font-weight: 900;
    color: var(--color-text-main);
    line-height: 1;
    margin-bottom: 8px;
}

.bento-stat-label {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    font-weight: 600;
}

/* 설립 목적 */
.bento-wide-content {
    flex: 1;
}

.bento-wide-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.bento-wide-desc {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--color-text-main);
}

.bento-quote {
    flex: 0 0 300px;
    background: var(--color-primary);
    color: white;
    padding: 30px;
    border-radius: 16px;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.5;
    position: relative;
}

.bento-quote::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    opacity: 0.2;
    font-family: Georgia, serif;
}

/* 3. Interactive Tab View Section */
.vision-tabs-section {
    padding: 100px 0;
    background-color: #fcfcfd;
}

.vision-header {
    text-align: center;
    margin-bottom: 40px;
}

.vision-title {
    font-size: 2.25rem;
    font-weight: 800;
}

.vision-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

.vision-tab-btn {
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text-muted);
    background: transparent;
    border: none;
    position: relative;
    cursor: pointer;
    transition: color 0.3s ease;
}

.vision-tab-btn.active {
    color: var(--color-primary);
}

.vision-tab-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--color-primary);
    transition: width 0.3s ease;
    border-radius: 3px;
}

.vision-tab-btn.active::after {
    width: 80%;
}

.vision-tab-content {
    display: none;
    animation: fadeIn 0.5s ease forwards;
    text-align: center;
}

.vision-tab-content.active {
    display: block;
}

.vision-tab-content img {
    max-width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: transform 0.5s ease;
}

.vision-tab-content img:hover {
    transform: scale(1.02);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 4. Vibrant CTA Section */
.vibrant-cta {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, #1e5dd6 100%);
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.vibrant-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="1.5" fill="rgba(255,255,255,0.1)"/></svg>');
}

.vibrant-cta-content {
    position: relative;
    z-index: 2;
}

.vibrant-cta h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.vibrant-cta .cta-num {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 32px;
    display: inline-block;
    background: linear-gradient(to right, #fff, #b3d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-glass {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: white;
    padding: 18px 40px;
    font-size: 1.25rem;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    color: white;
}

/* 반응형 (Responsive) */
@media (max-width: 992px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .bento-large {
        grid-column: span 2;
    }
    .bento-wide {
        grid-column: span 2;
        flex-direction: column;
    }
    .bento-quote {
        flex: auto;
        width: 100%;
    }
}

@media (max-width: 768px) {
    /* 1. Hero 최적화 */
    .about-glass-hero { padding: 120px 0 60px; }
    .hero-glass-card { padding: 32px 20px; width: 95%; border-radius: 24px; }
    .hero-glass-title { font-size: 2rem; margin-bottom: 16px; }
    .hero-glass-desc { font-size: 0.95rem; line-height: 1.5; }
    
    /* 2. 인사말 섹션 (인라인 스타일 강제 덮어쓰기) */
    .president-greeting { padding: 40px 0 !important; }
    .president-greeting > .container > div {
        flex-direction: column !important;
        gap: 32px !important;
    }
    .president-greeting > .container > div > div {
        min-width: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    .president-greeting h2 { font-size: 1.8rem !important; }
    
    /* 3. Bento Grid 최적화 */
    .bento-section { padding: 60px 0; }
    .bento-box { padding: 24px; border-radius: 20px; }
    .bento-mission-title { font-size: 1.5rem; margin-bottom: 12px; }
    .bento-mission-text { font-size: 1rem; line-height: 1.6; }
    .bento-mission-list { margin-top: 20px; }
    .bento-mission-list li { font-size: 0.95rem; align-items: flex-start; }
    .bento-mission-list li svg { width: 16px; height: 16px; margin-top: 4px; flex-shrink: 0; }
    
    .bento-stat-num { font-size: 2.5rem; }
    .bento-wide { gap: 24px; }
    .bento-wide-title { font-size: 1.4rem; }
    .bento-wide-desc { font-size: 0.95rem; }
    .bento-quote { padding: 24px; font-size: 1.1rem; border-radius: 12px; }
    
    .bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
        gap: 16px;
    }
    .bento-large, .bento-wide {
        grid-column: span 1;
    }
    .bento-large {
        grid-row: span 1;
    }
    
    /* 4. 부지협 스토리 탭 (가로 스크롤-스와이프 지원) */
    .vision-tabs-section { padding: 60px 0; }
    .vision-title { font-size: 1.8rem; }
    .vision-tabs {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        -ms-overflow-style: none;
        scrollbar-width: none;
        gap: 8px;
        justify-content: flex-start;
        white-space: nowrap;
        padding-bottom: 12px;
        margin-bottom: 24px;
    }
    .vision-tabs::-webkit-scrollbar { display: none; }
    .vision-tab-btn {
        flex: 0 0 auto;
        width: auto;
        padding: 10px 20px;
        font-size: 0.95rem;
        background: #f1f5f9;
        border-radius: 100px;
        border: none;
        color: var(--color-text-muted);
    }
    .vision-tab-btn.active {
        background: var(--color-primary);
        color: white;
    }
    .vision-tab-btn::after { display: none; }
    
    /* 5. Vibrant CTA */
    .vibrant-cta { padding: 60px 0; }
    .vibrant-cta h2 { font-size: 1.8rem; }
    .vibrant-cta .cta-num { font-size: 2.8rem; margin-bottom: 24px; }
    .btn-glass { font-size: 1.05rem; padding: 14px 24px; width: 100%; display: block; box-sizing: border-box; }
}
