/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 6rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
}


.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.15rem;
    opacity: 0.95;
    margin-bottom: 2.5rem;
    font-weight: 400;
    line-height: 1.6;
}


/* 무료 체험 안내 */
.free-trial-notice {
    margin-top: 2rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 193, 7, 0.15);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 15px;
    display: inline-flex;
    align-items: center;
    backdrop-filter: blur(10px);
}

.free-trial-notice i {
    color: #ffc107;
    font-size: 1.2rem;
}

.free-trial-notice span {
    font-size: 0.95rem;
    font-weight: 500;
}

.free-trial-notice strong {
    color: #ffd700;
}

/* 배경 장식 */
.hero-bg-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    animation: float 6s ease-in-out infinite;
}

.decoration-circle-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.decoration-circle-2 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 5%;
    animation-delay: 2s;
}

.decoration-circle-3 {
    width: 100px;
    height: 100px;
    top: 50%;
    left: 15%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero-actions {
    margin: 2rem 0;
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
}

.hero-btn {
    background: #ffffff;
    border: none;
    color: #1e3c72;
    font-weight: 600;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 56px;
    font-size: 1.1rem;
}

.hero-btn:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    color: #1e3c72;
}

.hero-btn i {
    font-size: 1.1rem;
}

/* 자세히 알아보기 버튼 */
.hero-actions .btn-outline-secondary {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: white;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    font-size: 1.1rem;
}

.hero-actions .btn-outline-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    color: white;
}

/* Features Section */
.features-section {
    padding: 4rem 0;
    background: #ffffff;
}

.feature-card {
    background: #ffffff;
    padding: 3rem 2rem;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #e9ecef;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-color: #007bff;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.feature-title {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.feature-desc {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 0;
}



/* Preview Section */
.preview-section {
    padding: 5rem 0;
    background: white;
}

.section-title {
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.section-subtitle {
    color: #6c757d;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.preview-container {
    max-width: 800px;
    margin: 0 auto;
}

.preview-image {
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    max-width: 100%;
    height: 800px;
    object-fit: contain;
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(30, 60, 114, 0.8);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    border: none;
}

.carousel-control-prev {
    left: -25px;
}

.carousel-control-next {
    right: -25px;
}

.preview-info {
    margin-top: 2rem;
}

.preview-buttons {
    margin: 1rem 0;
}

.preview-buttons .btn {
    margin: 0.5rem;
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
}

.preview-description {
    margin-top: 1.5rem;
}



/* How-to Section */
.howto-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.howto-steps {
    max-width: 600px;
    margin: 0 auto;
}

.step-item {
    display: flex;
    align-items: center;
    background: white;
    padding: 1.5rem 2rem;
    margin-bottom: 1rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.step-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.step-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
    color: #28a745;
}

.step-item span {
    font-size: 1.1rem;
    font-weight: 500;
    color: #2c3e50;
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background: #ffffff;
}

.faq-section .section-title {
    margin-bottom: 1rem;
}

.faq-section .section-subtitle {
    margin-bottom: 3rem;
}

.accordion-item {
    border: 1px solid #e9ecef;
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.accordion-button {
    background: #f8f9fa;
    border: none;
    padding: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    border-color: transparent;
}

.accordion-button:hover {
    background: #e9ecef;
}

.accordion-button:not(.collapsed):hover {
    background: linear-gradient(135deg, #2a5298, #1e3c72);
}

.accordion-body {
    padding: 1.5rem;
    color: #6c757d;
    line-height: 1.6;
    background: white;
    font-size: 1rem;
}

/* FAQ 접근성 개선 */
.accordion-button[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

.accordion-button::after {
    transition: transform 0.3s ease;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.cta-btn {
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
    font-weight: 600;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    background: rgba(255,255,255,0.3);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 4rem 0 3rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    
    .hero-actions {
        flex-direction: row;
        gap: 1.5rem;
        align-items: center;
        justify-content: center;
    }
    
    .hero-actions .btn {
        width: auto;
        max-width: none;
        font-size: 1.1rem;
        border-radius: 30px;
        min-height: 52px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .free-trial-notice {
        margin-top: 1.5rem;
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .decoration-circle-1 {
        width: 100px;
        height: 100px;
    }
    
    .decoration-circle-2 {
        width: 80px;
        height: 80px;
    }
    
    .decoration-circle-3 {
        width: 60px;
        height: 60px;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .features-section,
    .preview-section,
    .howto-section,
    .faq-section,
    .cta-section {
        padding: 3rem 0;
    }
    
    /* 모바일에서 견적서 미리보기 섹션 숨김 */
    .preview-section {
        display: none;
    }
    
    .step-item {
        padding: 1rem 1.5rem;
    }
    
    .step-item span {
        font-size: 1rem;
    }
    
    .accordion-button {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .accordion-body {
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 3rem 0 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    
    .hero-actions {
        flex-direction: column;
        gap: 1.25rem;
        align-items: center;
    }
    
    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
        padding: 0.875rem 2rem;
        font-size: 1rem;
        border-radius: 25px;
    }
    
    /* 모바일에서 버튼 터치 영역 개선 */
    .hero-btn {
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-actions .btn-outline-secondary {
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .free-trial-notice {
        margin-top: 1.25rem;
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }
    
    .decoration-circle-1 {
        width: 80px;
        height: 80px;
    }
    
    .decoration-circle-2 {
        width: 60px;
        height: 60px;
    }
    
    .decoration-circle-3 {
        width: 40px;
        height: 40px;
    }
    
    .section-title {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }
    
    .features-section,
    .preview-section,
    .howto-section,
    .faq-section,
    .cta-section {
        padding: 2rem 0;
    }
    
    /* 모바일에서 견적서 미리보기 섹션 숨김 */
    .preview-section {
        display: none;
    }
    
    .feature-card {
        padding: 2rem 1rem;
    }
    
    .step-item {
        padding: 0.75rem 1rem;
    }
    
    .step-item span {
        font-size: 0.9rem;
    }
    
    .accordion-button {
        padding: 0.875rem;
        font-size: 0.95rem;
    }
    
    .accordion-body {
        padding: 0.875rem;
    }
}

/* 7일 무료 팝업창 스타일 */
.free-trial-modal {
    border: none;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    overflow: hidden;
}

.free-trial-modal .modal-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: none;
}

.free-trial-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: white;
    font-size: 2.5rem;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
}

.free-trial-title {
    color: #2c3e50;
    font-weight: 700;
    font-size: 1.8rem;
}

.free-trial-desc {
    color: #6c757d;
    font-size: 1.1rem;
    line-height: 1.6;
}

.free-trial-features {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border: 1px solid rgba(0, 123, 255, 0.1);
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    color: #495057;
}

.feature-item:last-child {
    margin-bottom: 0;
}

.feature-item i {
    font-size: 1.1rem;
}

.free-trial-actions {
    margin: 2rem 0;
}

.free-trial-actions .btn {
    border-radius: 50px;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.free-trial-actions .btn-primary {
    background: linear-gradient(135deg, #007bff, #0056b3);
    border: none;
    box-shadow: 0 5px 20px rgba(0, 123, 255, 0.3);
}

.free-trial-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.4);
}

.free-trial-actions .btn-outline-secondary {
    border: 2px solid #6c757d;
}

.free-trial-actions .btn-outline-secondary:hover {
    background: #6c757d;
    border-color: #6c757d;
    transform: translateY(-2px);
}

.free-trial-note {
    border-top: 1px solid #e9ecef;
    padding-top: 1rem;
}

/* 팝업 애니메이션 */
.free-trial-modal .modal-dialog {
    transform: scale(0.7);
    transition: transform 0.3s ease-out;
}

.free-trial-modal.show .modal-dialog {
    transform: scale(1);
}

/* 모바일 반응형 */
@media (max-width: 576px) {
    .free-trial-modal .modal-dialog {
        margin: 1rem;
    }
    
    .free-trial-title {
        font-size: 1.5rem;
    }
    
    .free-trial-desc {
        font-size: 1rem;
    }
    
    .free-trial-actions .btn {
        display: block;
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .free-trial-actions .btn:last-child {
        margin-bottom: 0;
    }
    
    .free-trial-features {
        padding: 1rem;
    }
    
    .feature-item {
        font-size: 0.9rem;
    }
}