/* 
 * Blog & Contact Pages - Additional Styles
 * 한국기업금융솔루션
 */

/* ==================== Page Hero ==================== */
.page-hero {
    background: linear-gradient(135deg, #0A2342 0%, #2C5F8D 100%);
    color: white;
    padding: 80px 0 60px;
    text-align: center;
}

.page-hero-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
}

.page-hero-subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
}

/* ==================== Blog Categories ==================== */
.blog-categories-section {
    padding: 40px 0;
    background-color: #F5F7FA;
    border-bottom: 1px solid #E2E8F0;
}

.blog-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.blog-category-btn {
    padding: 12px 24px;
    border: 2px solid #0A2342;
    background: white;
    color: #0A2342;
    font-size: 15px;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.blog-category-btn:hover {
    background: #0A2342;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(10, 35, 66, 0.2);
}

.blog-category-btn.active {
    background: #0A2342;
    color: white;
    box-shadow: 0 4px 12px rgba(10, 35, 66, 0.2);
}

/* ==================== Featured Posts ==================== */
.featured-posts-section {
    padding: 60px 0;
    background: white;
}

.section-title-left {
    font-size: 32px;
    font-weight: 700;
    color: #0A2342;
    margin-bottom: 40px;
}

.featured-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.featured-post-card {
    background: white;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s ease;
}

.featured-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(10, 35, 66, 0.15);
}

.featured-post-badge {
    display: inline-block;
    padding: 6px 14px;
    background: linear-gradient(135deg, #D4AF37 0%, #F4D03F 100%);
    color: #0A2342;
    font-size: 13px;
    font-weight: 700;
    border-radius: 20px;
    margin-bottom: 12px;
}

.featured-post-date {
    font-size: 14px;
    color: #718096;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.featured-post-title {
    font-size: 24px;
    font-weight: 700;
    color: #0A2342;
    margin-bottom: 16px;
    line-height: 1.4;
}

.featured-post-excerpt {
    font-size: 15px;
    line-height: 1.7;
    color: #4A5568;
    margin-bottom: 20px;
}

.featured-post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #E2E8F0;
}

.post-views {
    font-size: 14px;
    color: #718096;
    display: flex;
    align-items: center;
    gap: 6px;
}

.post-read-more {
    color: #2C5F8D;
    font-weight: 600;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.post-read-more:hover {
    color: #D4AF37;
    transform: translateX(3px);
}

/* ==================== Latest Posts ==================== */
.latest-posts-section {
    padding: 60px 0;
    background: #F5F7FA;
}

.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.blog-post-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #E2E8F0;
    transition: all 0.3s ease;
    animation: fadeIn 0.5s ease-in-out;
}

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

.blog-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(10, 35, 66, 0.12);
}

.blog-post-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.blog-post-category {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.category-notice {
    background: #FED7D7;
    color: #C53030;
}

.category-news {
    background: #BEE3F8;
    color: #2C5F8D;
}

.category-guide {
    background: #C6F6D5;
    color: #22543D;
}

.category-case {
    background: #FEEBC8;
    color: #C05621;
}

.blog-post-date {
    font-size: 13px;
    color: #718096;
}

.blog-post-title {
    font-size: 18px;
    font-weight: 700;
    color: #0A2342;
    margin-bottom: 12px;
    line-height: 1.5;
}

.blog-post-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: #4A5568;
    margin-bottom: 16px;
}

.blog-post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid #E2E8F0;
}

.blog-post-views {
    font-size: 13px;
    color: #718096;
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-post-link {
    color: #2C5F8D;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.3s ease;
}

.blog-post-link:hover {
    color: #D4AF37;
}

/* ==================== External Blog CTA ==================== */
.external-blog-cta-section {
    padding: 60px 0;
    background: white;
}

.external-blog-cta-card {
    background: linear-gradient(135deg, #0A2342 0%, #2C5F8D 100%);
    color: white;
    padding: 50px;
    border-radius: 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.external-blog-cta-icon {
    font-size: 60px;
    color: #D4AF37;
}

.external-blog-cta-title {
    font-size: 28px;
    font-weight: 700;
    color: white;
}

.external-blog-cta-description {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}

/* ==================== Contact Options ==================== */
.contact-options-section {
    padding: 60px 0;
    background: white;
}

.contact-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.contact-option-card {
    background: white;
    border: 2px solid #E2E8F0;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.contact-option-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(10, 35, 66, 0.15);
    border-color: #2C5F8D;
}

.contact-option-card.highlight {
    border-color: #D4AF37;
    background: linear-gradient(135deg, #FFF9E6 0%, white 100%);
}

.contact-option-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #D4AF37 0%, #F4D03F 100%);
    color: #0A2342;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.contact-option-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #0A2342 0%, #2C5F8D 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
}

.contact-option-title {
    font-size: 24px;
    font-weight: 700;
    color: #0A2342;
    margin-bottom: 12px;
}

.contact-option-description {
    font-size: 15px;
    line-height: 1.6;
    color: #4A5568;
    margin-bottom: 20px;
}

.contact-option-hours {
    font-size: 13px;
    color: #718096;
    margin-top: 12px;
}

/* ==================== Consultation Form ==================== */
.consultation-form-section {
    padding: 80px 0;
    background: #F5F7FA;
}

.consultation-form-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.form-benefits {
    background: linear-gradient(135deg, #0A2342 0%, #2C5F8D 100%);
    padding: 50px;
    border-radius: 16px;
    color: white;
}

.form-benefits-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #FFFFFF;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.form-benefits-description {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.form-benefits-list {
    list-style: none;
    margin-bottom: 40px;
}

.form-benefits-list li {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.form-benefits-list i {
    font-size: 24px;
    color: #D4AF37;
    flex-shrink: 0;
}

.form-benefits-list strong {
    font-size: 16px;
    color: white;
    display: block;
    margin-bottom: 6px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.form-benefits-list p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.form-trust-badge {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.trust-stat {
    flex: 1;
    text-align: center;
}

.trust-stat-number {
    font-size: 28px;
    font-weight: 700;
    color: #D4AF37;
    margin-bottom: 6px;
}

.trust-stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.consultation-form-container {
    background: white;
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(10, 35, 66, 0.1);
}

.consultation-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group-full {
    grid-column: 1 / -1;
}

.form-label {
    font-size: 15px;
    font-weight: 600;
    color: #0A2342;
    margin-bottom: 8px;
}

.required {
    color: #E53E3E;
}

.form-input,
.form-select,
.form-textarea {
    padding: 14px 16px;
    border: 2px solid #E2E8F0;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
    font-family: 'Pretendard', sans-serif;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #2C5F8D;
    box-shadow: 0 0 0 3px rgba(44, 95, 141, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.form-checkbox {
    width: 20px;
    height: 20px;
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 2px;
}

.form-checkbox-label {
    font-size: 14px;
    color: #4A5568;
    cursor: pointer;
    line-height: 1.6;
}

.form-privacy-note {
    font-size: 12px;
    color: #718096;
    margin-top: 8px;
    line-height: 1.5;
}

.btn-submit {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #D4AF37 0%, #F4D03F 100%);
    color: #0A2342;
    font-size: 18px;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-message {
    display: none;
    text-align: center;
    padding: 40px;
}

.form-message-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.form-success .form-message-icon {
    color: #48BB78;
}

.form-error .form-message-icon {
    color: #F56565;
}

.form-message-title {
    font-size: 24px;
    font-weight: 700;
    color: #0A2342;
    margin-bottom: 12px;
}

.form-message-description {
    font-size: 16px;
    line-height: 1.7;
    color: #4A5568;
}

/* ==================== CTA Section ==================== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0A2342 0%, #2C5F8D 100%);
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: 36px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

.cta-description {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

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

/* ==================== Responsive Design ==================== */
@media (max-width: 768px) {
    .page-hero {
        padding: 60px 0 40px;
    }
    
    .page-hero-title {
        font-size: 32px;
    }
    
    .page-hero-subtitle {
        font-size: 16px;
    }
    
    .blog-categories {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 10px;
    }
    
    .blog-category-btn {
        white-space: nowrap;
    }
    
    .featured-posts-grid,
    .blog-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .consultation-form-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .form-benefits {
        padding: 30px;
    }
    
    .consultation-form-container {
        padding: 30px 20px;
    }
    
    .consultation-form {
        grid-template-columns: 1fr;
    }
    
    .external-blog-cta-card {
        padding: 30px 20px;
    }
    
    .cta-title {
        font-size: 28px;
    }
    
    .cta-description {
        font-size: 16px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 480px) {
    .contact-options-grid {
        grid-template-columns: 1fr;
    }
    
    .form-trust-badge {
        flex-direction: column;
        gap: 16px;
    }
}

/* ==================== Footer ==================== */
.main-footer {
    background: linear-gradient(135deg, #0A2342 0%, #1a3a5c 100%);
    color: white;
    padding: 60px 0 30px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.footer-tagline {
    font-size: 14px;
    color: #D4AF37;
    margin-bottom: 16px;
    font-weight: 500;
}

.footer-description {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 12px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-links-column {
    display: flex;
    flex-direction: column;
}

.footer-links-title {
    font-size: 16px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

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

.footer-links-list li {
    margin-bottom: 12px;
}

.footer-links-list a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links-list a:hover {
    color: #D4AF37;
    transform: translateX(3px);
}

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

.footer-contact-list li {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact-list i {
    color: #D4AF37;
    width: 16px;
}

.footer-bottom {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 40px;
    align-items: center;
    padding-top: 30px;
}

.footer-info {
    font-size: 13px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
}

.footer-info p {
    margin: 4px 0;
}

.footer-info strong {
    color: white;
}

.footer-copyright {
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 18px;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: #D4AF37;
    color: #0A2342;
    transform: translateY(-3px);
}

/* Footer Responsive */
@media (max-width: 992px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .main-footer {
        padding: 40px 0 20px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}