/* ========================================================================== 
   서울비디치과 - 비용 안내 페이지 전용 스타일 (다크 테마)
   pricing.html에서 분리된 외부 CSS 파일
   v1.0.0 - 2024-12-10
   ========================================================================== */

/* ===== 기본 페이지 레이아웃 ===== */
.pricing-page {
    min-height: 100vh;
    background: linear-gradient(180deg, #0a0a0a 0%, #1a1510 100%);
    color: #e5e5e5;
}

/* ===== Hero Section ===== */
.pricing-hero {
    position: relative;
    padding: 140px 5% 100px;
    background: linear-gradient(135deg, rgba(139, 90, 43, 0.15) 0%, rgba(201, 169, 98, 0.1) 100%);
    overflow: hidden;
}

.pricing-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: radial-gradient(ellipse at 30% 20%, rgba(201, 169, 98, 0.15) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 80%, rgba(139, 90, 43, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.pricing-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to top, #0a0a0a, transparent);
    pointer-events: none;
}

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

.pricing-hero .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: rgba(201, 169, 98, 0.15);
    border: 1px solid rgba(201, 169, 98, 0.3);
    border-radius: 50px;
    color: #C9A962;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.pricing-hero .hero-badge i {
    font-size: 1.1rem;
}

.pricing-hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 0%, #e5e5e5 50%, #C9A962 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.pricing-hero .lead {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

/* ===== Trust Badges ===== */
.trust-badges {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: rgba(26, 20, 16, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(201, 169, 98, 0.2);
    border-radius: 16px;
    transition: all 0.3s;
}

.trust-badge:hover {
    border-color: rgba(201, 169, 98, 0.5);
    transform: translateY(-2px);
}

.trust-badge .icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #8B5A2B, #C9A962);
    border-radius: 12px;
    font-size: 1.2rem;
}

.trust-badge-text {
    text-align: left;
}

.trust-badge-text .label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.trust-badge-text .value {
    font-weight: 700;
    color: #fff;
}

/* ===== 가격 정책 카드 섹션 ===== */
.policy-section {
    padding: 100px 5%;
    background: #0a0a0a;
}

.pricing-page .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.pricing-page .section-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.pricing-page .section-header p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
}

.policy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.policy-card {
    background: rgba(26, 20, 16, 0.6);
    border: 1px solid rgba(139, 90, 43, 0.2);
    border-radius: 24px;
    padding: 36px;
    text-align: center;
    transition: all 0.3s;
}

.policy-card:hover {
    border-color: rgba(201, 169, 98, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.policy-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(139, 90, 43, 0.3), rgba(201, 169, 98, 0.2));
    border-radius: 20px;
    margin: 0 auto 24px;
    font-size: 2rem;
}

.policy-card h3 {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.policy-card p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ===== 가격표 섹션 ===== */
.pricing-section {
    padding: 100px 5%;
    background: linear-gradient(180deg, #0a0a0a 0%, #12100d 100%);
}

.pricing-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.pricing-tab {
    padding: 14px 28px;
    background: rgba(26, 20, 16, 0.8);
    border: 1px solid rgba(139, 90, 43, 0.3);
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s;
}

.pricing-tab:hover {
    border-color: rgba(201, 169, 98, 0.5);
    color: #C9A962;
}

.pricing-tab.active {
    background: linear-gradient(135deg, #8B5A2B, #C9A962);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 8px 30px rgba(139, 90, 43, 0.4);
}

.pricing-content {
    display: none;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-content.active {
    display: block;
    animation: fadeInUp 0.4s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== 가격표 테이블 ===== */
.pricing-table-wrapper {
    background: rgba(26, 20, 16, 0.6);
    border: 1px solid rgba(139, 90, 43, 0.2);
    border-radius: 24px;
    overflow: hidden;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
}

.pricing-table thead {
    background: linear-gradient(135deg, rgba(139, 90, 43, 0.4), rgba(201, 169, 98, 0.3));
}

.pricing-table th {
    padding: 20px 24px;
    text-align: left;
    font-weight: 700;
    color: #fff;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-table tbody tr {
    border-bottom: 1px solid rgba(139, 90, 43, 0.15);
    transition: background 0.3s;
}

.pricing-table tbody tr:last-child {
    border-bottom: none;
}

.pricing-table tbody tr:hover {
    background: rgba(201, 169, 98, 0.08);
}

.pricing-table td {
    padding: 20px 24px;
    color: rgba(255, 255, 255, 0.8);
}

.treatment-name {
    font-weight: 600;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.treatment-name i {
    color: #C9A962;
    font-size: 0.9rem;
}

.price {
    font-weight: 700;
    font-size: 1.15rem;
    color: #C9A962;
}

.note {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.popular-badge {
    display: inline-block;
    padding: 4px 10px;
    background: linear-gradient(135deg, #8B5A2B, #C9A962);
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #fff;
    margin-left: 8px;
    text-transform: uppercase;
}

/* ===== 보험 섹션 ===== */
.insurance-section {
    padding: 100px 5%;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(5, 150, 105, 0.08) 100%);
    position: relative;
    overflow: hidden;
}

.insurance-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(16, 185, 129, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

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

.insurance-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 24px;
    font-size: 2.5rem;
    margin: 0 auto 24px;
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.3);
}

.insurance-section h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.insurance-section > .insurance-content > p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 40px;
}

.insurance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.insurance-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 24px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 16px;
    transition: all 0.3s;
}

.insurance-item:hover {
    border-color: rgba(16, 185, 129, 0.4);
    background: rgba(16, 185, 129, 0.15);
}

.insurance-item i {
    color: #10b981;
    font-size: 1.2rem;
}

.insurance-item span {
    color: #fff;
    font-weight: 500;
}

/* ===== 결제 섹션 ===== */
.payment-section {
    padding: 100px 5%;
    background: #0a0a0a;
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.payment-card {
    background: rgba(26, 20, 16, 0.6);
    border: 1px solid rgba(139, 90, 43, 0.2);
    border-radius: 24px;
    padding: 36px;
    text-align: center;
    transition: all 0.3s;
}

.payment-card:hover {
    border-color: rgba(201, 169, 98, 0.4);
    transform: translateY(-5px);
}

.payment-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(139, 90, 43, 0.3), rgba(201, 169, 98, 0.2));
    border-radius: 18px;
    margin: 0 auto 20px;
    font-size: 1.8rem;
}

.payment-card h3 {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.payment-card p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ===== 주의사항 ===== */
.notice-section {
    padding: 80px 5%;
    background: linear-gradient(180deg, #0a0a0a 0%, #12100d 100%);
}

.notice-box {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(201, 169, 98, 0.08);
    border: 1px solid rgba(201, 169, 98, 0.2);
    border-radius: 24px;
    padding: 40px;
}

.notice-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.notice-header i {
    color: #C9A962;
    font-size: 1.5rem;
}

.notice-header h3 {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
}

.notice-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.notice-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    border-bottom: 1px solid rgba(139, 90, 43, 0.1);
}

.notice-list li:last-child {
    border-bottom: none;
}

.notice-list li::before {
    content: '※';
    color: #C9A962;
    font-weight: 700;
    flex-shrink: 0;
}

/* ===== CTA 섹션 ===== */
.pricing-page .cta-section {
    padding: 100px 5%;
    background: linear-gradient(135deg, rgba(139, 90, 43, 0.2) 0%, rgba(201, 169, 98, 0.15) 100%);
    position: relative;
    overflow: hidden;
}

.pricing-page .cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(201, 169, 98, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.pricing-page .cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.pricing-page .cta-section h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.pricing-page .cta-section p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 36px;
}

.pricing-page .cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 36px;
    border-radius: 16px;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
}

.cta-btn.primary {
    background: linear-gradient(135deg, #8B5A2B, #C9A962);
    color: #fff;
    box-shadow: 0 10px 40px rgba(139, 90, 43, 0.4);
}

.cta-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(139, 90, 43, 0.5);
}

.cta-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
}

.cta-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
}

/* ===== Footer (pricing page specific) ===== */
.pricing-page .footer {
    background: #0a0908;
    border-top: 1px solid rgba(139, 90, 43, 0.2);
    padding: 60px 5% 30px;
}

.pricing-page .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.pricing-page .footer h3, 
.pricing-page .footer h4 {
    color: #C9A962;
    margin-bottom: 16px;
}

.pricing-page .footer p, 
.pricing-page .footer a {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
}

.pricing-page .footer a:hover {
    color: #C9A962;
}

.pricing-page .footer-copyright {
    text-align: center;
    padding-top: 40px;
    margin-top: 40px;
    border-top: 1px solid rgba(139, 90, 43, 0.15);
    color: rgba(255, 255, 255, 0.4);
}

/* ========================================================================== 
   반응형 스타일
   ========================================================================== */
@media (max-width: 768px) {
    .pricing-hero {
        padding: 120px 5% 80px;
    }
    
    .trust-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .trust-badge {
        width: 100%;
        max-width: 300px;
    }
    
    .pricing-table-wrapper {
        overflow-x: auto;
    }
    
    .pricing-table {
        min-width: 500px;
    }
    
    .pricing-page .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .policy-section,
    .pricing-section,
    .insurance-section,
    .payment-section {
        padding: 60px 5%;
    }
    
    .notice-box {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .pricing-hero h1 {
        font-size: 2rem;
    }
    
    .pricing-hero .lead {
        font-size: 1rem;
    }
    
    .pricing-tabs {
        gap: 8px;
    }
    
    .pricing-tab {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
    
    .pricing-table th,
    .pricing-table td {
        padding: 12px 16px;
    }
    
    .policy-card,
    .payment-card {
        padding: 24px;
    }
}
