/* 리셋 및 기본 스타일 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6366f1;
    --secondary-color: #764ba2;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --dark: #1a202c;
    --gray: #4a5568;
    --light-gray: #e2e8f0;
    --bg-light: #f8f9fa;
    --white: #ffffff;
}

body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 헤더 */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    z-index: 1000;
}

.navbar {
    padding: 15px 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.cta-btn-nav {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(99, 102, 241, 0.3);
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* 히어로 섹션 */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.hero-content {
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--dark);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 50px;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.feature-item {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.feature-item p {
    color: var(--gray);
    font-size: 0.95rem;
}

.hero-cta {
    margin-bottom: 50px;
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4);
}

.cta-note {
    margin-top: 15px;
    color: var(--warning-color);
    font-weight: 600;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 60px;
}

.badge-item {
    text-align: center;
}

.badge-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.badge-label {
    color: var(--gray);
    font-size: 0.9rem;
}

/* 섹션 헤더 공통 */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--gray);
    font-size: 1.1rem;
}

/* 서비스 소개 */
.service-intro {
    padding: 100px 0;
}

.service-types {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

.service-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
}

.card-header {
    padding: 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.type-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.card-header h3 {
    font-size: 1.5rem;
}

.card-content {
    padding: 30px;
}

.recommend-for,
.service-features {
    margin-bottom: 30px;
}

.card-content h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.card-content ul {
    list-style: none;
}

.card-content li {
    padding: 5px 0;
    color: var(--gray);
}

.card-content li i {
    color: var(--success-color);
    margin-right: 8px;
}

.pricing {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 20px;
}

.price-tag {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.unit {
    color: var(--gray);
}

.price-note {
    color: var(--gray);
    font-size: 0.9rem;
    margin-top: 5px;
}

.btn-service {
    display: block;
    text-align: center;
    background: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-service:hover {
    background: var(--secondary-color);
}

/* 차별점 섹션 */
.why-different {
    background: var(--bg-light);
    padding: 60px;
    border-radius: 20px;
}

.why-different h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
}

.comparison {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: center;
}

.compare-item {
    background: white;
    padding: 30px;
    border-radius: 12px;
}

.compare-item.other {
    border: 2px solid var(--danger-color);
}

.compare-item.ours {
    border: 2px solid var(--success-color);
}

.compare-item h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.compare-item ul {
    list-style: none;
}

.compare-item li {
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
}

.compare-item li:before {
    position: absolute;
    left: 0;
}

.compare-item.other li:before {
    content: "×";
    color: var(--danger-color);
    font-weight: bold;
}

.compare-item.ours li:before {
    content: "✓";
    color: var(--success-color);
    font-weight: bold;
}

.vs {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray);
}

/* 프로세스 섹션 */
.process {
    padding: 100px 0;
    background: var(--bg-light);
}

.process-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto 50px;
}

.process-step {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-right: 30px;
}

.step-content {
    background: white;
    padding: 25px 30px;
    border-radius: 12px;
    flex: 1;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.step-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.step-content p {
    color: var(--gray);
    margin-bottom: 10px;
}

.duration {
    display: inline-block;
    background: var(--bg-light);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
}

.process-cta {
    text-align: center;
}

.process-cta p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--gray);
}

/* 포트폴리오 섹션 */
.portfolio {
    padding: 100px 0;
}

.case-studies {
    display: grid;
    gap: 40px;
    margin-bottom: 60px;
}

.case-card {
    background: white;
    border: 2px solid var(--light-gray);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
}

.case-card:hover {
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.case-header {
    padding: 25px 30px;
    background: var(--bg-light);
    border-bottom: 2px solid var(--light-gray);
}

.case-category {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.case-header h3 {
    font-size: 1.4rem;
}

.case-content {
    padding: 30px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.case-problem h4 {
    color: var(--danger-color);
    margin-bottom: 15px;
}

.case-solution h4 {
    color: var(--warning-color);
    margin-bottom: 15px;
}

.case-result h4 {
    color: var(--success-color);
    margin-bottom: 15px;
}

.result-highlight {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.result-list {
    list-style: none;
}

.result-list li {
    padding: 5px 0;
    position: relative;
    padding-left: 20px;
}

.result-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

.case-proof {
    padding: 20px 30px;
    background: var(--bg-light);
    text-align: center;
}

.btn-proof {
    background: none;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-proof:hover {
    background: var(--primary-color);
    color: white;
}

.portfolio-cta {
    text-align: center;
    background: var(--bg-light);
    padding: 60px;
    border-radius: 20px;
}

.portfolio-cta h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.portfolio-cta p {
    color: var(--gray);
    margin-bottom: 30px;
}

/* FAQ 섹션 */
.faq {
    padding: 100px 0;
    background: var(--bg-light);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    cursor: pointer;
    transition: background 0.3s;
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question h3 {
    font-size: 1.1rem;
}

.faq-question i {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 30px 25px;
    max-height: 500px;
}

.faq-answer p {
    color: var(--gray);
    line-height: 1.8;
}

/* CTA 섹션 */
.contact-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.cta-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.cta-content {
    color: white;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.offer-box {
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 12px;
    border: 2px solid rgba(255,255,255,0.3);
}

.offer-label {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.offer-box h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.offer-box p {
    opacity: 0.9;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.form-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
    text-align: center;
}

.form-description {
    color: var(--gray);
    text-align: center;
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.form-section {
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e5e5e5;
}

.form-section:last-of-type {
    border-bottom: none;
}

.section-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title:before {
    content: "";
    width: 4px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 2px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
    font-family: 'Pretendard', sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: #fafbff;
}

/* 체크박스 그룹 스타일 */
.checkbox-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 10px;
    border-radius: 8px;
    transition: background-color 0.3s;
}

.checkbox-label:hover {
    background-color: var(--bg-light);
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-right: 8px;
    cursor: pointer;
}

.checkbox-label span {
    font-size: 0.95rem;
    color: var(--dark);
}

/* 라디오 버튼 그룹 스타일 */
.radio-group {
    display: flex;
    gap: 20px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 12px 20px;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    transition: all 0.3s;
    background: white;
    flex: 1;
    min-width: 120px;
    justify-content: center;
}

.radio-label:hover {
    border-color: var(--primary-color);
    background-color: #fafbff;
}

.radio-label input[type="radio"] {
    width: auto;
    margin-right: 8px;
    cursor: pointer;
}

.radio-label input[type="radio"]:checked + span {
    color: var(--primary-color);
    font-weight: 600;
}

.radio-label:has(input[type="radio"]:checked) {
    border-color: var(--primary-color);
    background-color: #f0f2ff;
}

.radio-label span {
    font-size: 0.95rem;
    color: var(--dark);
}

.other-input {
    margin-top: 10px;
}

/* 알림 메시지 */
.form-notice {
    background: var(--bg-light);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.form-notice p {
    margin: 5px 0;
    font-size: 0.85rem;
    color: var(--gray);
}

.form-notice p:first-child {
    color: var(--danger-color);
    font-weight: 500;
}

.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

.btn-submit i {
    font-size: 1.2rem;
}

.form-note {
    margin-top: 20px;
    text-align: center;
}

.form-note p {
    color: var(--gray);
    font-size: 0.95rem;
    margin: 5px 0;
}

/* 푸터 */
.footer {
    background: var(--dark);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 30px;
}

.footer-info h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.footer-info p,
.footer-contact p {
    opacity: 0.8;
    margin-bottom: 8px;
}

.footer-contact i {
    margin-right: 8px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.6;
}

/* 플로팅 CTA */
.floating-cta {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.btn-floating {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.5);
    font-weight: 600;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-features {
        grid-template-columns: 1fr;
    }

    .trust-badges {
        flex-direction: column;
        gap: 20px;
    }

    .service-types {
        grid-template-columns: 1fr;
    }

    .comparison {
        grid-template-columns: 1fr;
    }

    .vs {
        text-align: center;
        padding: 20px 0;
    }

    .case-content {
        grid-template-columns: 1fr;
    }

    .cta-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .floating-cta {
        display: block;
    }

    /* 폼 반응형 스타일 */
    .checkbox-group {
        grid-template-columns: 1fr;
    }

    .radio-group {
        flex-direction: column;
    }

    .radio-label {
        width: 100%;
    }

    .contact-form {
        padding: 25px 20px;
    }

    .form-title {
        font-size: 1.4rem;
    }

    .section-title {
        font-size: 1.1rem;
    }

    .form-group label {
        font-size: 0.9rem;
    }

    .form-section {
        margin-bottom: 25px;
        padding-bottom: 20px;
    }
}