/* ============================================
   Pricing Page Styles - NobleHR
   브랜드 컬러: 골드(#C8A865), 다크 네이비(#0E2044), 하늘색(#5DADE2)
   ============================================ */

:root {
    --brand-gold: #C8A865;
    --brand-navy: #0E2044;
    --brand-sky: #5DADE2;
    --pastel-gold: #F5EBDC;
    --pastel-sky: #E8F4FA;
    --pastel-navy: #E6EAF0;
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --gray: #6C757D;
    --text-primary: #0E2044;
    --text-secondary: #6C757D;
    --transition: all 0.3s ease;
}

/* ============================================
   Hero Section
   ============================================ */
.pricing-hero {
    background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-sky) 100%);
    color: white;
    padding: 6rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pricing-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/images/hero-background-01.png') center/cover no-repeat;
    filter: blur(3px);
    opacity: 0.3;
    animation: heroBackgroundMove 30s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
}

@keyframes heroBackgroundMove {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.05) translate(-2%, -2%); }
}

.pricing-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(14, 32, 68, 0.7) 0%, rgba(93, 173, 226, 0.5) 50%, rgba(14, 32, 68, 0.6) 100%);
    pointer-events: none;
    z-index: 1;
}

.pricing-hero .circle-bg {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.15);
    pointer-events: none;
    animation: circleFloat 15s ease-in-out infinite;
    z-index: 2;
}

.pricing-hero .circle-bg:nth-child(1) { width: 300px; height: 300px; top: 10%; left: 5%; animation-duration: 20s; }
.pricing-hero .circle-bg:nth-child(2) { width: 200px; height: 200px; top: 50%; right: 10%; animation-duration: 18s; animation-delay: 2s; }
.pricing-hero .circle-bg:nth-child(3) { width: 150px; height: 150px; bottom: 15%; left: 50%; animation-duration: 22s; animation-delay: 4s; }
.pricing-hero .circle-bg:nth-child(4) { width: 250px; height: 250px; top: 30%; right: 30%; animation-duration: 19s; animation-delay: 1s; }

@keyframes circleFloat {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0; }
    10% { opacity: 0.3; }
    50% { transform: translate(30px, -30px) scale(1.1); opacity: 0.5; }
    90% { opacity: 0.3; }
}

.pricing-hero .line-bg {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    pointer-events: none;
    z-index: 2;
}

.pricing-hero .line-bg:nth-child(5) { width: 2px; height: 100%; left: 20%; animation: lineFloat1 12s ease-in-out infinite; }
.pricing-hero .line-bg:nth-child(6) { width: 2px; height: 100%; left: 50%; animation: lineFloat2 15s ease-in-out infinite; animation-delay: 3s; }
.pricing-hero .line-bg:nth-child(7) { width: 2px; height: 100%; right: 25%; animation: lineFloat3 18s ease-in-out infinite; animation-delay: 6s; }
.pricing-hero .line-bg:nth-child(8) { width: 100%; height: 2px; top: 30%; animation: lineFloat4 14s ease-in-out infinite; animation-delay: 2s; }

@keyframes lineFloat1 {
    0%, 100% { opacity: 0; transform: translateY(0); }
    50% { opacity: 0.5; transform: translateY(20px); }
}

@keyframes lineFloat2 {
    0%, 100% { opacity: 0; transform: translateY(0); }
    50% { opacity: 0.6; transform: translateY(-20px); }
}

@keyframes lineFloat3 {
    0%, 100% { opacity: 0; transform: translateY(0); }
    50% { opacity: 0.5; transform: translateY(15px); }
}

@keyframes lineFloat4 {
    0%, 100% { opacity: 0; transform: translateX(0); }
    50% { opacity: 0.4; transform: translateX(10px); }
}

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

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.25);
    padding: 0.6rem 1.8rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: white;
}

.pricing-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    color: white;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.8;
    color: white;
    opacity: 0.95;
}

/* ============================================
   탭 섹션
   ============================================ */
.pricing-tabs-section {
    padding: 4rem 0;
    background: var(--light-gray);
}

.pricing-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    border-bottom: 2px solid rgba(200, 168, 101, 0.2);
}

.tab-button {
    padding: 1rem 3rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gray);
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    bottom: -2px;
}

.tab-button:hover {
    color: var(--brand-gold);
}

.tab-button.active {
    color: var(--brand-navy);
    border-bottom-color: var(--brand-gold);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

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

/* ============================================
   기본 요금 안내 카드
   ============================================ */
.pricing-info-card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: 0 10px 40px rgba(14, 32, 68, 0.1);
}

.pricing-info-card .section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--brand-navy);
    margin-bottom: 2rem;
    text-align: center;
}

.basic-pricing {
    text-align: center;
}

.pricing-formula {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 2rem;
    background: var(--pastel-gold);
    border-radius: 15px;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.formula-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.formula-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--brand-gold);
}

.formula-plus {
    font-size: 1.5rem;
    color: var(--brand-gold);
    font-weight: 600;
}

.pricing-note {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-align: center;
    margin-top: 1rem;
}

/* ============================================
   요금 계산기
   ============================================ */
.calculator-section {
    margin-bottom: 3rem;
}

.calculator-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.calculator-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(14, 32, 68, 0.1);
    overflow: hidden;
}

.calculator-image {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.calculator-image img {
    width: 100%;
    height: auto;
    max-width: 500px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(14, 32, 68, 0.15);
}

.calculator-header {
    background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-sky) 100%);
    padding: 2rem;
    text-align: center;
    color: white;
}

.calculator-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.calculator-desc {
    font-size: 1rem;
    opacity: 0.9;
}

.calculator-body {
    padding: 2.5rem;
}

.calculator-input-group {
    margin-bottom: 2rem;
}

.calculator-input-group label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper input {
    flex: 1;
    padding: 1rem 1.5rem;
    font-size: 1.2rem;
    border: 2px solid rgba(200, 168, 101, 0.3);
    border-radius: 10px;
    transition: var(--transition);
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--brand-gold);
}

.input-unit {
    position: absolute;
    right: 1.5rem;
    font-size: 1rem;
    color: var(--text-secondary);
    pointer-events: none;
}

.calculator-result {
    background: var(--pastel-gold);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
}

.result-label {
    font-size: 1rem;
    color: var(--text-secondary);
}

.result-value {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
}

.result-divider {
    height: 2px;
    background: rgba(200, 168, 101, 0.3);
    margin: 0.5rem 0;
}

.result-row.total {
    border-top: 2px solid rgba(200, 168, 101, 0.3);
    padding-top: 1rem;
    margin-top: 0.5rem;
}

.result-row.total .result-label,
.result-row.total .result-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--brand-gold);
}

.result-row.vat .result-label {
    font-size: 0.95rem;
}

.result-row.vat .result-value {
    font-size: 1.1rem;
    color: var(--brand-sky);
}

.calculator-note {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-align: center;
}

/* ============================================
   경쟁사 비교
   ============================================ */
.competitor-comparison {
    margin-top: 3rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--brand-navy);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.comparison-table-wrapper {
    overflow-x: auto;
    margin-bottom: 2rem;
}

.comparison-table {
    width: 100%;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(14, 32, 68, 0.08);
}

.comparison-table thead {
    background: var(--brand-navy);
    color: white;
}

.comparison-table th {
    padding: 1.2rem;
    font-weight: 600;
    text-align: left;
}

.comparison-table td {
    padding: 1.2rem;
    border-bottom: 1px solid rgba(200, 168, 101, 0.1);
}

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

.noblehr-row {
    background: var(--pastel-gold);
}

.noblehr-row td {
    font-weight: 600;
}

.competitor-row {
    background: white;
}

.comparison-table .badge {
    display: inline-block;
    background: var(--brand-gold);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    margin-left: 0.5rem;
}

.savings {
    font-size: 0.85rem;
    color: #28a745;
    margin-top: 0.3rem;
}

.comparison-note {
    text-align: center;
    margin-top: 2rem;
}

.comparison-note p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0.3rem 0;
}

/* ============================================
   노무법인 요금
   ============================================ */
.basic-pricing.labor-firm .pricing-highlight {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 2.5rem;
    background: var(--pastel-sky);
    border-radius: 15px;
    margin-bottom: 1rem;
}

.highlight-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}

.highlight-label {
    font-size: 1rem;
    color: var(--text-secondary);
}

.highlight-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--brand-navy);
}

.highlight-value.free {
    color: var(--brand-sky);
    font-size: 2.2rem;
}

.highlight-divider {
    width: 2px;
    height: 60px;
    background: rgba(200, 168, 101, 0.3);
}

.labor-firm-details {
    margin-top: 3rem;
}

.details-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--brand-navy);
    margin-bottom: 2rem;
    text-align: center;
}

.labor-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.labor-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 5px 20px rgba(14, 32, 68, 0.08);
    transition: var(--transition);
    position: relative;
}

.labor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(14, 32, 68, 0.15);
}

.labor-card.highlight {
    border: 2px solid var(--brand-gold);
}

.labor-card .card-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--brand-gold);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.labor-card .card-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
}

.labor-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-navy);
    text-align: center;
    margin-bottom: 1.5rem;
}

.labor-card .card-price {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--pastel-gold);
    border-radius: 10px;
}

.price-big {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--brand-gold);
}

.price-unit {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-left: 0.5rem;
}

.labor-card .card-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.labor-card .card-features li {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    padding-left: 1.5rem;
    position: relative;
}

.labor-card .card-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--brand-gold);
    font-weight: bold;
}

.example-box {
    background: var(--pastel-navy);
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.example-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--brand-navy);
    margin-bottom: 1rem;
    text-align: center;
}

.example-row {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    font-size: 0.95rem;
}

.example-row span:first-child {
    color: var(--text-secondary);
}

.example-row span:last-child {
    font-weight: 600;
    color: var(--brand-navy);
}

.example-row.deduction span:last-child {
    color: #dc3545;
}

.example-row.total {
    border-top: 2px solid rgba(200, 168, 101, 0.3);
    padding-top: 1rem;
    margin-top: 0.5rem;
}

.example-row.total span {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--brand-gold);
}

.example-divider {
    height: 1px;
    background: rgba(200, 168, 101, 0.2);
    margin: 0.5rem 0;
}

.labor-firm-cta {
    background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-sky) 100%);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    color: white;
}

.labor-firm-cta h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.labor-firm-cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.labor-firm-cta .cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.labor-firm-cta .btn-primary,
.labor-firm-cta .btn-outline {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.labor-firm-cta .btn-primary {
    background: var(--brand-gold);
    color: white;
    border: 2px solid var(--brand-gold);
}

.labor-firm-cta .btn-primary:hover {
    background: #D4B78C;
    transform: translateY(-2px);
}

.labor-firm-cta .btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.labor-firm-cta .btn-outline:hover {
    background: white;
    color: var(--brand-navy);
}

/* ============================================
   FAQ Section
   ============================================ */
.pricing-faq-section {
    padding: 5rem 0;
    background: white;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--light-gray);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: 0 5px 20px rgba(14, 32, 68, 0.08);
}

.faq-question {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--brand-navy);
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.q-badge {
    background: var(--brand-gold);
    color: white;
    padding: 0.3rem 0.7rem;
    border-radius: 5px;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.faq-answer {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-left: 2.5rem;
}

/* ============================================
   CTA Section
   ============================================ */
.pricing-cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-sky) 100%);
    color: white;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #FFD700;
}

.cta-content > p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.btn-white {
    background: white;
    color: var(--brand-navy);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.btn-white:hover {
    background: var(--brand-gold);
    color: white;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.btn-outline:hover {
    background: white;
    color: var(--brand-navy);
}

/* ============================================
   FAQ Section (탭 안)
   ============================================ */
.faq-section {
    margin-top: 4rem;
    padding: 3rem 0;
}

.faq-section .section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--brand-navy);
    margin-bottom: 2rem;
    text-align: center;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--light-gray);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: 0 5px 20px rgba(14, 32, 68, 0.08);
}

.faq-question {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--brand-navy);
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.q-badge {
    background: var(--brand-gold);
    color: white;
    padding: 0.3rem 0.7rem;
    border-radius: 5px;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.faq-answer {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-left: 2.5rem;
}

/* ============================================
   반응형
   ============================================ */
@media (max-width: 768px) {
    .pricing-hero h1 {
        font-size: 2rem;
    }
    
    .pricing-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-button {
        width: 100%;
        max-width: 300px;
    }
    
    .pricing-formula {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .pricing-highlight {
        flex-direction: column !important;
        gap: 1.5rem !important;
    }
    
    .highlight-divider {
        width: 80% !important;
        height: 2px !important;
    }
    
    .calculator-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .calculator-image {
        order: -1;
    }
    
    .labor-cards {
        grid-template-columns: 1fr;
    }
    
    .comparison-table {
        font-size: 0.85rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.8rem 0.5rem;
    }
}
