/* ==========================================================================
   정평세무컨설팅 B2B 업무제휴 랜딩 페이지 공식 스타일시트 (style.css)
   ========================================================================== */

/* 1. 초기화 및 기본 선언 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
}

html {
    scroll-behavior: smooth;
    background-color: #f8fafc;
    color: #334155;
    font-size: 16px;
    line-height: 1.6;
}

body {
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* 2. 공통 컴포넌트 */
.badge {
    display: inline-block;
    padding: 6px 14px;
    background-color: #e0f2fe;
    color: #0369a1;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 50px;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.highlight {
    color: #38bdf8;
    position: relative;
    display: inline-block;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.2rem;
    color: #0f172a;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 16px;
}

.section-title p {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 700px;
    margin: 0 auto;
}

/* 버튼 스타일 정의 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #0284c7;
    color: #ffffff;
    border: 1px solid #0284c7;
}

.btn-primary:hover {
    background-color: #0369a1;
    border-color: #0369a1;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(2, 132, 199, 0.15);
}

.btn-secondary {
    background-color: #ffffff;
    color: #334155;
    border: 1px solid #cbd5e1;
}

.btn-secondary:hover {
    background-color: #f1f5f9;
    border-color: #94a3b8;
    transform: translateY(-2px);
}

/* 3. 상단 헤더 네비게이션 영역 */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
}

.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo-area {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.logo-sub {
    font-size: 0.75rem;
    font-weight: 600;
    color: #0284c7;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: -2px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-menu a {
    font-size: 1rem;
    font-weight: 600;
    color: #475569;
}

.nav-menu a:hover {
    color: #0284c7;
}

.nav-menu .cta-nav-btn {
    background-color: #0f172a;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 6px;
}

.nav-menu .cta-nav-btn:hover {
    background-color: #0284c7;
    color: #ffffff;
}

/* 4. 히어로 섹션 */
.hero-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 180px 0 120px 0;
    color: #ffffff;
    text-align: center;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(2, 132, 199, 0.15) 1px, transparent 0);
    background-size: 24px 24px;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-section h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.hero-subtext {
    font-size: 1.25rem;
    color: #94a3b8;
    max-width: 800px;
    margin: 0 auto 40px auto;
    font-weight: 400;
}

.hero-btn-group {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* 5. 문제 제기 섹션 */
.problem-section {
    padding: 100px 0;
    background-color: #ffffff;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 20px;
}

.problem-card {
    background-color: #f8fafc;
    padding: 40px 32px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.05);
    border-color: #cbd5e1;
}

.problem-card h3 {
    font-size: 1.3rem;
    color: #0f172a;
    font-weight: 700;
    margin-bottom: 16px;
}

.problem-card p {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
}

/* 6. 업종별 특화 솔루션 섹션 */
.solutions-section {
    padding: 100px 0;
    background-color: #f1f5f9;
}

.solution-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.solution-box {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sol-header {
    margin-bottom: 18px;
}

.sol-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #0284c7;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.solution-box h3 {
    font-size: 1.5rem;
    color: #0f172a;
    font-weight: 700;
}

.sol-desc {
    font-size: 1rem;
    color: #475569;
    line-height: 1.65;
}

/* 7. 기술 경쟁력 섹션 */
.tech-section {
    padding: 100px 0;
    background-color: #ffffff;
}

.tech-flex {
    display: flex;
    align-items: center;
    gap: 64px;
}

.tech-text {
    flex: 1;
}

.tech-text h2 {
    font-size: 2.4rem;
    color: #0f172a;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.tech-p-desc {
    font-size: 1.1rem;
    color: #475569;
    margin-bottom: 32px;
}

.tech-list {
    list-style: none;
}

.tech-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 16px;
    font-size: 1rem;
    color: #334155;
}

.tech-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #0284c7;
    font-weight: 900;
    font-size: 1.1rem;
}

.tech-image-area {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tech-image-area img {
    width: 100%;
    max-width: 540px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.15);
}

/* 8. 제휴 신청 폼 섹션 (구글설문지 가폐화 양식) */
.form-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
}

.form-container-box {
    max-width: 760px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 60px 50px;
    border-radius: 20px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.form-header-text {
    text-align: center;
    margin-bottom: 40px;
}

.form-header-text h2 {
    font-size: 2rem;
    color: #0f172a;
    font-weight: 800;
    margin-bottom: 12px;
}

.form-header-text p {
    color: #64748b;
    font-size: 1rem;
}

.alliance-native-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group label {
    font-size: 0.95rem;
    font-weight: 700;
    color: #334155;
}

.input-group .required {
    color: #ef4444;
    margin-left: 2px;
}

.input-group input[type="text"],
.input-group input[type="tel"],
.input-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 1rem;
    color: #0f172a;
    background-color: #f8fafc;
    transition: all 0.2s ease;
}

.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    border-color: #0284c7;
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 8px;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    cursor: pointer;
}

.checkbox-group label {
    font-size: 0.9rem;
    color: #475569;
    cursor: pointer;
    user-select: none;
}

.form-submit-btn {
    width: 100%;
    background-color: #0f172a;
    color: #ffffff;
    border: none;
    padding: 16px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 12px;
}

.form-submit-btn:hover {
    background-color: #0284c7;
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(2, 132, 199, 0.2);
}

/* 성공 메시지 박스 */
.success-message-box {
    text-align: center;
    padding: 40px 20px;
    animation: fadeIn 0.5s ease forwards;
}

.success-icon {
    width: 72px;
    height: 72px;
    background-color: #dcfce7;
    color: #15803d;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 24px;
}

.success-message-box h3 {
    font-size: 1.6rem;
    color: #0f172a;
    font-weight: 800;
    margin-bottom: 16px;
}

.success-message-box p {
    font-size: 1.05rem;
    color: #475569;
    line-height: 1.6;
    max-width: 580px;
    margin: 0 auto;
}

/* 9. 하단 푸터 영역 */
.main-footer {
    background-color: #0f172a;
    color: #94a3b8;
    padding: 80px 0 60px 0;
    border-top: 1px solid #1e293b;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 64px;
}

.footer-info-block h3 {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.address-text {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.contact-text {
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.contact-text a {
    color: #cbd5e1;
    font-weight: 600;
}

.contact-text a:hover {
    color: #38bdf8;
}

.copyright {
    font-size: 0.85rem;
    color: #64748b;
}

.footer-links-block h4 {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-link-box {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link-box a {
    font-size: 0.95rem;
    color: #94a3b8;
}

.footer-link-box a:hover {
    color: #38bdf8;
    padding-left: 4px;
}

/* 10. 키프레임 애니메이션 및 반응형 미디어 쿼리 */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1024px) {
    .solution-container {
        grid-template-columns: 1fr;
    }
    .tech-flex {
        flex-direction: column;
        gap: 40px;
    }
    .tech-image-area {
        width: 100%;
    }
}

@media (max-width: 768px) {
    html { font-size: 14px; }
    .header-flex { padding: 0; }
    .nav-menu { display: none; } /* 모바일 간소화 */
    .hero-section h1 { font-size: 2.4rem; }
    .problem-grid { grid-template-columns: 1fr; }
    .form-container-box { padding: 40px 20px; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
}