/* ====================================================
   FEATURE DETAIL PAGE STYLES
   기능 상세 페이지 스타일
   ==================================================== */

/* 히어로 섹션 */
.feature-hero {
    position: relative;
    padding: 8rem 0 6rem;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    overflow: hidden;
}

.feature-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.feature-hero .container {
    position: relative;
    z-index: 1;
}

.feature-hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    color: white;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    margin-bottom: 2rem;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateX(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.feature-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.feature-description {
    font-size: 1.25rem;
    line-height: 1.8;
    opacity: 0.95;
    margin-bottom: 0;
}

/* 메인 컨텐츠 섹션 */
.feature-content {
    padding: 6rem 0;
    background: white;
}

.content-section {
    margin-bottom: 5rem;
}

.content-section:last-child {
    margin-bottom: 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 2rem;
    letter-spacing: -0.01em;
}

.section-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--gray-700);
    margin-bottom: 2rem;
}

/* 이미지/비디오 컨테이너 */
.media-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12), 0 8px 16px rgba(0, 0, 0, 0.08);
    margin: 3rem 0;
}

.media-container img,
.media-container video {
    width: 100%;
    height: auto;
    display: block;
}

.media-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-600);
    font-size: 1.125rem;
    font-weight: 600;
}

/* 기능 혜택 섹션 */
.benefits-section {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(59, 130, 246, 0.08) 100%);
    border-radius: 20px;
    padding: 3rem;
    margin: 4rem 0;
}

.benefits-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 2rem;
    text-align: center;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.benefit-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.15);
}

.benefit-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
}

.benefit-content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.benefit-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-600);
    margin: 0;
}

/* 특징 리스트 */
.features-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.features-list li:last-child {
    border-bottom: none;
}

.features-list li::before {
    content: '✓';
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1rem;
}

.features-list li span {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--gray-700);
}

/* CTA 섹션 */
.feature-cta {
    text-align: center;
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.03) 0%, rgba(59, 130, 246, 0.05) 100%);
    border-radius: 20px;
    margin: 4rem 0 0;
}

.feature-cta h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
}

.feature-cta p {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.detail-img {
    display: flex;
    justify-content: center;
}

.detail-img img {
    max-width: 100%;
    height: auto;
}

/* 반응형 디자인 - 모바일 (768px 이하) */
@media (max-width: 768px) {
    .feature-hero {
        padding: 6rem 0 4rem;
    }

    .feature-title {
        font-size: 2.25rem;
    }

    .feature-description {
        font-size: 1.0625rem;
    }

    .feature-content {
        padding: 4rem 0;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-text {
        font-size: 1rem;
    }

    .benefits-section {
        padding: 2rem 1.5rem;
    }

    .benefits-title {
        font-size: 1.5rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .benefit-item {
        padding: 1.5rem;
    }

    .feature-cta {
        padding: 3rem 1.5rem;
    }

    .feature-cta h2 {
        font-size: 1.5rem;
    }

    .feature-cta p {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    .detail-img img {
        width: 90%;   /* 혹은 80% 등 원하는 비율로 조정 가능 */
        max-width: 350px; /* 너무 커지는 것 방지: 적당한 최대 너비 */
    }
    

}

/* 태블릿 (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .feature-title {
        font-size: 3rem;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
