/* 모바일 최적화 CSS */
:root {
    --primary-color: #1a3a5c;
    --secondary-color: #d4af37;
    --accent-color: #2c5f8d;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --text-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --success-color: #28a745;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 14px;
}

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

/* 네비게이션 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.logo img {
    height: 60px;
}

.nav-menu {
    display: none;
}

.mobile-menu-btn {
    font-size: 24px;
    color: var(--primary-color);
}

/* 히어로 */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    text-align: center;
    padding: 80px 20px 40px;
}

.hero-content {
    width: 100%;
}

.hero-logo img {
    width: 200px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 15px;
}

.hero-subtitle {
    font-size: 14px;
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.hero-description {
    font-size: 13px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.btn {
    display: inline-block;
    padding: 14px 30px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s;
    width: 100%;
    max-width: 280px;
    text-align: center;
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--text-dark);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.scroll-indicator {
    display: none;
}

/* 섹션 */
section {
    padding: 50px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-tag {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-title {
    font-size: 24px;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-description {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
}

/* 회사소개 - 통계 4개 가로 */
.about-section {
    background: var(--bg-light);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 40px;
}

.stat-item {
    background: white;
    padding: 20px 15px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.stat-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 12px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

.stat-number {
    font-size: 28px;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 12px;
    color: var(--text-light);
}

/* 강점 4개 가로 */
.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
}

.feature-item i {
    font-size: 28px;
    color: var(--secondary-color);
}

.feature-item h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-color);
}

.feature-item p {
    display: none;
}

/* 서비스 - 2열 */
.services-section {
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.service-card {
    background: white;
    padding: 20px 15px;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    text-align: center;
}

.service-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 12px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

.service-card h3 {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.service-card p {
    font-size: 11px;
    color: var(--text-light);
    line-height: 1.5;
}

/* 상담종류 - 2x2 */
.consultation-types-section {
    background: var(--bg-light);
}

.consultation-types-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 30px;
}

.consultation-type-card {
    background: white;
    padding: 20px 15px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}

.consultation-type-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.consultation-type-card.premium::before {
    background: linear-gradient(90deg, var(--secondary-color), #f0c040);
}

.consultation-type-card.venture::before {
    background: linear-gradient(90deg, #6a11cb, #2575fc);
}

.consultation-type-card.small-business::before {
    background: linear-gradient(90deg, #28a745, #20c997);
}

.type-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 9px;
    font-weight: 700;
    margin-bottom: 10px;
}

.premium .type-badge {
    background: linear-gradient(90deg, var(--secondary-color), #f0c040);
    color: var(--text-dark);
}

.venture .type-badge {
    background: linear-gradient(90deg, #6a11cb, #2575fc);
    color: white;
}

.basic .type-badge {
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    color: white;
}

.small-business .type-badge {
    background: linear-gradient(90deg, #28a745, #20c997);
    color: white;
}

.type-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 10px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary-color);
}

.premium .type-icon {
    color: var(--secondary-color);
}

.consultation-type-card h3 {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    text-align: center;
}

.type-features {
    list-style: none;
    margin-bottom: 10px;
}

.type-features li {
    padding: 6px 0;
    font-size: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid var(--border-color);
}

.type-features li:last-child {
    border-bottom: none;
}

.type-features i {
    color: var(--success-color);
    font-size: 12px;
}

.type-description {
    text-align: center;
    color: var(--text-light);
    font-size: 10px;
    margin-top: 10px;
    line-height: 1.4;
}

/* 폼 */
.form-section {
    background: white;
}

.form-container {
    background: white;
    padding: 30px 20px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.consultation-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary-color);
}

.form-section-title i {
    color: var(--secondary-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

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

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 13px;
}

.required {
    color: #dc3545;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
}

.radio-label input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--secondary-color);
}

.checkbox-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--secondary-color);
}

.privacy-consent {
    padding: 15px;
    background: var(--bg-light);
    border-radius: 8px;
    border: 2px solid var(--border-color);
}

.privacy-notice {
    margin-top: 10px;
    padding: 12px;
    background: white;
    border-radius: 8px;
    font-size: 11px;
    line-height: 1.6;
}

.privacy-notice p {
    margin-bottom: 6px;
}

.btn-submit {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    border-radius: 50px;
    margin-top: 15px;
}

/* 연락처 */
.contact-section {
    background: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.contact-card {
    background: white;
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.contact-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
}

.contact-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.contact-card p {
    font-size: 14px;
    margin-bottom: 6px;
}

.contact-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.contact-time {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 10px;
}

/* 푸터 */
.footer {
    background: var(--primary-color);
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.footer-logo img {
    height: 70px;
    margin-top: 15px;
}

.footer-info {
    text-align: center;
}

.footer-info h4 {
    font-size: 18px;
    margin-bottom: 6px;
    color: var(--secondary-color);
    font-weight: 700;
}

.footer-slogan {
    color: var(--secondary-color) !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    margin-bottom: 12px !important;
}

.footer-info p {
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 6px;
    opacity: 0.9;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 13px;
    opacity: 0.9;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 11px;
    opacity: 0.8;
}

/* 모달 */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    padding: 30px 20px;
    border-radius: 16px;
    text-align: center;
    max-width: 300px;
    margin: 0 20px;
}

.modal-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: var(--success-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
}

.modal-content h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.modal-content p {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 20px;
}

/* 데스크톱 */
@media (min-width: 769px) {
    .about-stats {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }
    
    .about-features {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    
    .consultation-types-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .nav-menu {
        display: flex;
        list-style: none;
        gap: 40px;
    }
    
    .nav-menu a {
        text-decoration: none;
        color: var(--text-dark);
        font-weight: 500;
        font-size: 16px;
    }
    
    .mobile-menu-btn {
        display: none;
    }
    
    .logo img {
        height: 100px;
    }
    
    section {
        padding: 100px 0;
    }
    
    .footer-content {
        grid-template-columns: 2fr 2fr 1fr;
        gap: 60px;
    }
    
    .footer-logo {
        align-items: flex-start;
    }
    
    .footer-info {
        text-align: left;
    }
    
    .footer-links {
        align-items: flex-start;
    }
}
