/* 기본 스타일 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 히어로 섹션 */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-headline {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 24px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.before-text {
    color: #dc2626;
    text-decoration: line-through;
}

.after-text {
    color: #2563eb;
}

.hero-subheadline {
    font-size: 1.5rem;
    color: #ffffff;
    max-width: 800px;
    margin: 0 auto 48px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* 버튼 */
.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.btn {
    padding: 16px 32px;
    font-size: 1.125rem;
    font-weight: bold;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #2563eb;
    color: white;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: scale(1.05);
}

.btn-secondary {
    background: white;
    color: #2563eb;
    border: 2px solid #2563eb;
}

.btn-secondary:hover {
    background: #eff6ff;
    transform: scale(1.05);
}

.btn-cta {
    background: #fbbf24;
    color: #1f2937;
}

.btn-cta:hover {
    background: #f59e0b;
    transform: scale(1.05);
}

/* 문제점 섹션 */
.problem-section {
    padding: 80px 20px;
    background: white;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 48px;
    color: #111827;
}

.tab-menu {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 48px;
}

.tab-btn {
    padding: 16px 32px;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f3f4f6;
    color: #4b5563;
}

.tab-btn.active {
    background: #2563eb;
    color: white;
}

.tab-btn:hover {
    background: #e5e7eb;
}

.tab-btn.active:hover {
    background: #1d4ed8;
}

.tab-content {
    background: #f9fafb;
    border-radius: 12px;
    padding: 48px;
}

.tab-content.hidden {
    display: none;
}

.problem-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.problem-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.check-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.problem-item p {
    font-size: 1.25rem;
    color: #4b5563;
    line-height: 1.8;
    flex: 1;
}

.transition-text {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    margin-top: 48px;
    color: #111827;
}

/* 솔루션 섹션 */
.solution-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #2563eb 0%, #4338ca 100%);
    color: white;
}

.section-title.white {
    color: white;
}

.highlight {
    color: #fbbf24;
}

.solution-description {
    font-size: 1.5rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 64px;
    line-height: 1.8;
}

.process-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.process-step {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    flex: 1;
    min-width: 200px;
    max-width: 250px;
}

.highlight-step {
    background: rgba(255, 255, 255, 0.2);
}

.step-icon {
    font-size: 4rem;
    margin-bottom: 16px;
}

.process-step h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.process-step p {
    font-size: 1.125rem;
    opacity: 0.9;
}

.arrow {
    font-size: 2rem;
    color: #fbbf24;
    font-weight: bold;
}

/* 작동 원리 섹션 */
.how-it-works-section {
    padding: 80px 20px;
    background: #f9fafb;
}

.section-subtitle {
    font-size: 1.5rem;
    text-align: center;
    color: #6b7280;
    margin-bottom: 64px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.step-card {
    background: white;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.step-card:hover {
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

.step-number {
    font-size: 0.875rem;
    font-weight: bold;
    color: #2563eb;
    margin-bottom: 8px;
}

.step-icon-large {
    font-size: 4rem;
    margin-bottom: 16px;
}

.step-card h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 16px;
    color: #111827;
}

.step-card p {
    font-size: 1.125rem;
    color: #6b7280;
    line-height: 1.8;
}

/* 가치 제안 섹션 */
.value-section {
    padding: 80px 20px;
    background: white;
}

.value-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.value-card {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.value-card:hover {
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
    transform: scale(1.05);
}

.value-icon {
    font-size: 4rem;
    margin-bottom: 24px;
}

.value-card h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 16px;
    color: #111827;
}

.value-card p {
    font-size: 1.125rem;
    color: #4b5563;
    line-height: 1.8;
}

/* 사회적 증거 섹션 */
.social-proof-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f9fafb 0%, #eff6ff 100%);
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 32px;
    margin-bottom: 64px;
}

.testimonial-card {
    background: white;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.stars {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 1.125rem;
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 24px;
}

.testimonial-author {
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.testimonial-author strong {
    display: block;
    font-size: 1.125rem;
    color: #111827;
    margin-bottom: 4px;
}

.testimonial-author span {
    color: #6b7280;
}

.trust-badges {
    text-align: center;
}

.trust-text {
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 24px;
}

.badges {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.badge {
    background: white;
    padding: 12px 24px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* FAQ 섹션 */
.faq-section {
    padding: 80px 20px;
    background: white;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 16px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: #f9fafb;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f3f4f6;
}

.faq-icon {
    font-size: 1.5rem;
    color: #6b7280;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 24px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 20px 24px;
}

.faq-answer p {
    color: #4b5563;
    line-height: 1.8;
    font-size: 1.125rem;
}

/* 최종 CTA 섹션 */
.final-cta-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #2563eb 0%, #4338ca 100%);
    color: white;
    text-align: center;
}

.cta-description {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto 48px;
    line-height: 1.8;
}

/* 모달 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid #e5e7eb;
}

.modal-header h2 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #111827;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: #6b7280;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
}

.modal-close:hover {
    color: #111827;
}

.modal-body {
    padding: 24px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1.125rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.calculation-result {
    background: #eff6ff;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 24px;
}

.result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    font-size: 1.125rem;
}

.result-row.total {
    border-top: 2px solid #dbeafe;
    padding-top: 16px;
    margin-top: 8px;
    font-size: 1.25rem;
    font-weight: bold;
}

.result-value {
    font-size: 1.5rem;
    font-weight: bold;
}

.result-value.red {
    color: #dc2626;
}

.result-value.blue {
    color: #2563eb;
}

.result-value.green {
    color: #059669;
}

.result-row.total .result-value {
    font-size: 2rem;
}

.success-icon {
    font-size: 4rem;
    text-align: center;
    margin-bottom: 16px;
}

.success-text {
    font-size: 1.25rem;
    text-align: center;
    color: #111827;
    line-height: 1.8;
}

.hidden {
    display: none;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .hero-headline {
        font-size: 2rem;
    }

    .hero-subheadline {
        font-size: 1.25rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-buttons {
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .tab-menu {
        flex-direction: column;
    }

    .tab-btn {
        width: 100%;
    }

    .process-steps {
        flex-direction: column;
    }

    .arrow {
        transform: rotate(90deg);
    }

    .steps-grid,
    .value-cards {
        grid-template-columns: 1fr;
    }

    .testimonials {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 1.5rem;
    }

    .hero-subheadline {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .tab-content {
        padding: 24px;
    }

    .problem-item p {
        font-size: 1rem;
    }

    .transition-text {
        font-size: 1.25rem;
    }
}

/* 기업정보 섹션 */
.company-info-section {
    background: #1f2937;
    color: #ffffff;
    padding: 48px 20px;
    border-top: 1px solid #374151;
}

.company-info {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.company-info p {
    font-size: 0.95rem;
    line-height: 2;
    margin: 8px 0;
    color: #d1d5db;
}

.company-info strong {
    color: #ffffff;
    font-weight: 600;
    margin-right: 8px;
}

.company-info a {
    color: #60a5fa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.company-info a:hover {
    color: #93c5fd;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .company-info {
        text-align: left;
    }
    
    .company-info p {
        font-size: 0.875rem;
    }
}

