/* ===============================================
   청춘드라이브 - 운전연수비용 페이지 스타일
   =============================================== */

/* Hero Section */
.page-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 120px 0 80px;
    margin-top: 76px;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('/img/pattern.png') repeat;
    opacity: 0.1;
}

.hero-overlay {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
   font-family:'Malgun Gothic',"맑은 고딕",AppleGothic,Dotum,"돋움", sans-serif;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Section Headers */
.section-header {
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 15px;
   font-family:'Malgun Gothic',"맑은 고딕",AppleGothic,Dotum,"돋움", sans-serif;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-600);
}

/* Price Category */
.price-category {
    position: relative;
}

.category-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
   font-family:'Malgun Gothic',"맑은 고딕",AppleGothic,Dotum,"돋움", sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.badge-label {
    background: var(--primary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(255, 107, 157, 0.3);
}

/* Price Cards */
.price-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-100);
    height: 100%;
}

.price-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.price-card-img {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: var(--gray-50);
}

.price-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.price-card:hover .price-card-img img {
    transform: scale(1.05);
}

.price-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--secondary-color);
    color: var(--gray-900);
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(254, 202, 87, 0.5);
}

.price-badge.highlight {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 10px rgba(255, 107, 157, 0.5);
}

.price-card-body {
    padding: 30px;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 20px;
   font-family:'Malgun Gothic',"맑은 고딕",AppleGothic,Dotum,"돋움", sans-serif;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.feature-list li {
    padding: 10px 0;
    color: var(--gray-600);
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-list i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.price-tag {
    background: var(--gray-50);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 2px solid var(--gray-100);
}

.price-label {
    font-size: 0.95rem;
    color: var(--gray-600);
    font-weight: 500;
}

.price-amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
   font-family:'Malgun Gothic',"맑은 고딕",AppleGothic,Dotum,"돋움", sans-serif;
}

.price-amount small {
    font-size: 1rem;
    font-weight: 500;
    margin-left: 3px;
}

.age-notice {
    margin-top: 15px;
    padding: 12px;
    background: rgba(255, 107, 157, 0.1);
    border-radius: 10px;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.age-notice i {
    font-size: 1rem;
}

/* Price Table */
.price-table-wrapper {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--gray-100);
}

.price-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border-radius: 15px;
}

.price-table thead {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.price-table th {
    padding: 20px;
    color: white;
    font-weight: 600;
    text-align: center;
    font-size: 1.1rem;
    border: none;
}

.price-table tbody tr {
    border-bottom: 1px solid var(--gray-100);
}

.price-table tbody tr:last-child {
    border-bottom: none;
}

.price-table td {
    padding: 25px 20px;
    text-align: center;
    vertical-align: middle;
    background: white;
}

.price-table tbody tr:hover {
    background: var(--gray-50);
}

.table-label {
    font-weight: 600;
    color: var(--gray-700);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.label-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.label-badge.own {
    background: var(--secondary-color);
    color: var(--gray-900);
}

.label-badge.training {
    background: var(--primary-color);
    color: white;
}

.price-cell {
    font-size: 1.2rem;
    color: var(--gray-700);
}

.price-cell .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
   font-family:'Malgun Gothic',"맑은 고딕",AppleGothic,Dotum,"돋움", sans-serif;
}

.table-notice {
    text-align: center;
}

.table-notice p {
    font-size: 1rem;
    color: var(--gray-700);
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.table-notice i {
    color: var(--secondary-color);
}

/* Important Notice */
.notice-important {
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.05) 0%, rgba(254, 202, 87, 0.05) 100%);
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.notice-important::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 107, 157, 0.05) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.notice-important .notice-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 30px;
   font-family:'Malgun Gothic',"맑은 고딕",AppleGothic,Dotum,"돋움", sans-serif;
    display: flex;
    align-items: center;
    gap: 10px;
}

.notice-important .notice-title i {
    font-size: 1.5rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.notice-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    padding: 20px;
    background: white;
    border-radius: 15px;
    height: 100%;
}

.notice-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.notice-item h4 {
    font-size: 1.2rem;
    color: var(--gray-900);
    margin-bottom: 10px;
    font-weight: 600;
}

.notice-item p {
    color: var(--gray-600);
    margin: 0;
    line-height: 1.6;
}

/* Package Cards */
.package-cards {
    margin-top: 40px;
}

.package-card {
    background: white;
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    height: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-100);
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.package-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--gray-50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.package-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.package-card:hover .package-icon {
    background: var(--primary-color);
    transform: scale(1.1);
}

.package-card:hover .package-icon i {
    color: white;
}

.package-card h4 {
    font-size: 1.3rem;
    color: var(--gray-900);
    margin-bottom: 15px;
   font-family:'Malgun Gothic',"맑은 고딕",AppleGothic,Dotum,"돋움", sans-serif;
}

.package-card p {
    color: var(--gray-600);
    line-height: 1.6;
    margin: 0;
}

/* FAQ Accordion */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    border: 1px solid var(--gray-200);
    border-radius: 12px !important;
    margin-bottom: 15px;
    overflow: hidden;
}

.accordion-button {
    background: white;
    color: var(--gray-900);
    font-weight: 600;
    padding: 20px 25px;
    font-size: 1.1rem;
    border: none;
    display: flex;
    align-items: center;
    gap: 12px;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.1) 0%, rgba(254, 202, 87, 0.1) 100%);
    color: var(--primary-color);
    box-shadow: none;
}

.accordion-button i {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.accordion-button::after {
    background-image: none;
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed)::after {
    content: '−';
    transform: rotate(0);
}

.accordion-body {
    padding: 25px;
    color: var(--gray-600);
    line-height: 1.7;
    background: var(--gray-50);
}

/* CTA Section */
.cta-section {
    background: var(--gray-50);
    padding: 80px 0;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 15px;
   font-family:'Malgun Gothic',"맑은 고딕",AppleGothic,Dotum,"돋움", sans-serif;
}

.cta-subtitle {
    font-size: 1.2rem;
    color: var(--gray-600);
    margin-bottom: 30px;
}

.cta-buttons-inline {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 992px) {
    .price-table-wrapper {
        padding: 25px;
        overflow-x: auto;
    }
    
    .price-table {
        min-width: 500px;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 80px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .category-title {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 10px;
    }
    
    .price-card-img {
        height: 200px;
    }
    
    .price-card-body {
        padding: 20px;
    }
    
    .card-title {
        font-size: 1.2rem;
    }
    
    .price-amount {
        font-size: 1.5rem;
    }
    
    .price-table th,
    .price-table td {
        padding: 15px 10px;
        font-size: 0.9rem;
    }
    
    .table-label {
        flex-direction: column;
        gap: 5px;
    }
    
    .notice-important {
        padding: 25px;
    }
    
    .notice-item {
        flex-direction: column;
        text-align: center;
    }
    
    .package-card {
        padding: 25px 20px;
    }
    
    .accordion-button {
        padding: 15px 20px;
        font-size: 1rem;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .cta-buttons-inline {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons-inline .btn {
        width: 100%;
        max-width: 300px;
    }
}