/**
 * About & Service 페이지 공통 스타일
 * 모든 서브 페이지에서 재사용되는 컴포넌트
 */

/* ========================================
   Page Hero (서브 페이지 공통)
   ======================================== */
.page-hero {
    padding: var(--space-20) 0 var(--space-16);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, rgba(10, 15, 25, 0) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
    animation: hero-pulse 4s ease-in-out infinite;
}

@keyframes hero-pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.8;
    }
}

.page-hero__title {
    font-size: var(--text-5xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-6);
    line-height: 1.2;
    position: relative;
    z-index: 1;
    opacity: 0;
    animation: fade-in-up 0.8s ease-out forwards;
}

.page-hero__subtitle {
    font-size: var(--text-xl);
    color: var(--text-secondary);
    line-height: 1.8;
    position: relative;
    z-index: 1;
    opacity: 0;
    animation: fade-in-up 0.8s ease-out 0.2s forwards;
}

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

/* ========================================
   Section 공통
   ======================================== */
.section {
    padding: var(--space-20) 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-16);
}

.section-title {
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-6);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-gold);
    border-radius: var(--radius-full);
}

.section-description {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    line-height: 1.8;
}

.section-description strong {
    color: var(--accent-gold);
    font-weight: 600;
}

/* ========================================
   CTA Box (서브 페이지 공통)
   ======================================== */
.cta-box {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: var(--space-16);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, rgba(10, 15, 25, 0.9) 100%);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
    animation: cta-pulse 3s ease-in-out infinite;
}

@keyframes cta-pulse {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.05) rotate(5deg);
        opacity: 0.8;
    }
}

.cta-box__title {
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-4);
    position: relative;
    z-index: 1;
}

.cta-box__description {
    font-size: var(--text-xl);
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-8);
    position: relative;
    z-index: 1;
}

.cta-box__buttons {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* ========================================
   카드 그리드 공통 (3열)
   ======================================== */
.card-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
    max-width: 1200px;
    margin: 0 auto;
}

.card-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
    max-width: 900px;
    margin: 0 auto;
}

/* ========================================
   넘버 카드 (01, 02, 03 스타일)
   ======================================== */
.number-card {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, rgba(10, 15, 25, 0.8) 100%);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.number-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-gold);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.number-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-gold);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.2);
}

.number-card:hover::before {
    opacity: 1;
}

.number-card:hover .number-card__number {
    opacity: 0.6;
    transform: scale(1.1);
}

.number-card__number {
    font-size: var(--text-5xl);
    font-weight: 700;
    color: var(--accent-gold);
    opacity: 0.3;
    margin-bottom: var(--space-4);
    line-height: 1;
    transition: all var(--transition-base);
}

.number-card__title {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-4);
}

.number-card__subtitle {
    font-size: var(--text-sm);
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-6);
}

.number-card__description {
    font-size: var(--text-base);
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========================================
   리스트 아이템 (체크마크 스타일)
   ======================================== */
.check-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
    max-width: 900px;
    margin: 0 auto;
    list-style: none;
    padding: 0;
}

.check-list-item {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-5);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.03) 0%, rgba(10, 15, 25, 0.6) 100%);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.check-list-item:hover {
    border-color: var(--accent-gold);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, rgba(10, 15, 25, 0.8) 100%);
    transform: translateX(8px);
}

.check-list-item__icon {
    font-size: var(--text-2xl);
    color: var(--accent-gold);
    font-weight: 700;
    flex-shrink: 0;
}

.check-list-item__text {
    font-size: var(--text-lg);
    color: var(--text-primary);
    font-weight: 500;
}

/* ========================================
   하이라이트 인용구
   ======================================== */
.highlight-quote {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: var(--space-8);
    background: rgba(212, 175, 55, 0.05);
    border-left: 4px solid var(--accent-gold);
    border-radius: var(--radius-md);
}

.highlight-quote p {
    font-size: var(--text-2xl);
    font-weight: 600;
    color: var(--accent-gold);
    line-height: 1.6;
    margin: 0;
}

/* ========================================
   스크롤 진행 바
   ======================================== */
.scroll-progress {
    position: fixed;
    top: var(--navbar-height);
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--gradient-gold);
    z-index: var(--z-fixed);
    transition: width 0.1s ease-out;
}

/* ========================================
   반응형 (Tablet - 1024px 이하)
   ======================================== */
@media (max-width: 1024px) {
    .page-hero {
        padding: var(--space-16) 0 var(--space-12);
    }

    .page-hero__title {
        font-size: var(--text-4xl);
    }

    .page-hero__subtitle {
        font-size: var(--text-lg);
    }

    .section {
        padding: var(--space-16) 0;
    }

    .section-title {
        font-size: var(--text-3xl);
    }

    .section-description {
        font-size: var(--text-base);
    }

    .card-grid-3 {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-6);
    }

    .cta-box {
        padding: var(--space-12);
    }

    .cta-box__title {
        font-size: var(--text-3xl);
    }

    .cta-box__description {
        font-size: var(--text-lg);
    }
}

/* ========================================
   반응형 (Mobile - 768px 이하)
   ======================================== */
@media (max-width: 768px) {
    .page-hero {
        padding: var(--space-12) 0 var(--space-10);
    }

    .page-hero__title {
        font-size: var(--text-3xl);
    }

    .page-hero__subtitle {
        font-size: var(--text-base);
    }

    .section {
        padding: var(--space-12) 0;
    }

    .section-header {
        margin-bottom: var(--space-10);
    }

    .section-title {
        font-size: var(--text-2xl);
    }

    .card-grid-3,
    .card-grid-2 {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

    .check-list {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }

    .check-list-item {
        padding: var(--space-4);
    }

    .cta-box {
        padding: var(--space-8);
    }

    .cta-box__title {
        font-size: var(--text-2xl);
    }

    .cta-box__description {
        font-size: var(--text-base);
    }

    .cta-box__buttons {
        flex-direction: column;
    }

    .cta-box__buttons .btn {
        width: 100%;
    }
}

/* ========================================
   반응형 (Small Mobile - 480px 이하)
   ======================================== */
@media (max-width: 480px) {
    .page-hero {
        padding: var(--space-10) 0 var(--space-8);
    }

    .page-hero__title {
        font-size: var(--text-2xl);
    }

    .page-hero__subtitle {
        font-size: var(--text-sm);
    }

    .section {
        padding: var(--space-10) 0;
    }

    .section-title {
        font-size: var(--text-xl);
    }

    .section-title::after {
        width: 40px;
        height: 3px;
    }

    .number-card {
        padding: var(--space-6);
    }

    .number-card__number {
        font-size: var(--text-4xl);
    }

    .number-card__title {
        font-size: var(--text-xl);
    }

    .check-list-item__icon {
        font-size: var(--text-xl);
    }

    .check-list-item__text {
        font-size: var(--text-base);
    }

    .highlight-quote p {
        font-size: var(--text-lg);
    }

    .cta-box {
        padding: var(--space-6);
    }

    .cta-box__title {
        font-size: var(--text-xl);
    }

    .cta-box__description {
        font-size: var(--text-sm);
    }
}
