/* ==================== 홈페이지 (Wrap Studio 스타일) ==================== */

/* Hero 섹션 - Wrap Studio 스타일 */
.hero-section {
    padding: 4rem 0 3rem;
    /* 모바일: 64px 0 48px */
    text-align: center;
    background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
}

.hero-title {
    font-size: 2rem;
    /* 모바일: 32px */
    font-weight: 800;
    line-height: 1.2;
    color: #111827;
    margin-bottom: 1.125rem;
    /* 18px */
    padding: 0;
}

.hero-subtitle {
    font-size: 1rem;
    /* 16px */
    color: #6B7280;
    line-height: 1.5;
    margin-top: 1.125rem;
    /* 18px */
    margin-bottom: 2rem;
    /* 32px */
    padding: 0;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    /* 12px */
    justify-content: center;
    align-items: stretch;
    padding: 0;
    margin-top: 2rem;
    /* 32px */
}

@media (min-width: 768px) {
    .hero-section {
        padding: 5rem 0 4rem;
        /* 태블릿: 80px 0 64px */
    }

    .hero-title {
        font-size: 2.75rem;
        /* 44px */
        margin-bottom: 1.125rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
        /* 18px */
        margin-top: 1.125rem;
        margin-bottom: 2.5rem;
        /* 40px */
    }

    .hero-cta {
        flex-direction: row;
        gap: 1rem;
        /* 16px */
        align-items: center;
        justify-content: center;
        margin-top: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-section {
        padding: 7rem 0 5.5rem;
        /* 데스크탑: 112px 0 88px */
    }

    .hero-title {
        font-size: 3.5rem;
        /* 56px */
        font-weight: 800;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1.125rem;
        /* 18px */
        margin-top: 1.125rem;
        margin-bottom: 2.5rem;
    }
}

/* 콘텐츠 섹션 - 섹션 간 리듬 통일 */
.content-section {
    padding: clamp(4rem, 6vw, 6rem) 0;
}

.section-title {
    font-size: 1.875rem;
    /* 모바일: 30px */
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    /* 16px */
    color: #111827;
    padding: 0;
}

/* 섹션 설명 텍스트 - 공통 패턴으로 정리 */
.section-text,
.section-intro {
    max-width: 640px;
    margin: 1rem auto 3rem;
    font-size: 1rem;
    /* 16px */
    color: #6B7280;
    text-align: center;
    line-height: 1.6;
    padding: 0;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.25rem;
        /* 36px */
        margin-bottom: 1.5rem;
        /* 24px */
    }

    .section-text,
    .section-intro {
        font-size: 1.125rem;
        /* 18px */
        margin: 1rem auto 3rem;
    }
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 2.5rem;
        /* 40px */
        margin-bottom: 1.5rem;
    }

    .section-text,
    .section-intro {
        font-size: 1.125rem;
        margin: 1rem auto 3rem;
    }
}

/* Feature 블록 - Wrap Studio 카드 스타일 */
.feature-blocks {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1.25rem, 2vw, 2.5rem);
    margin-top: 2.5rem;
    /* 40px */
    padding: 0;
}

.feature-block {
    background: #ffffff;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 2rem;
    /* 32px */
    transition: box-shadow 200ms ease-in-out;
    text-align: left;
}

/* PC에서만 hover 효과 - Wrap Studio subtle 스타일 */
@media (hover: hover) and (pointer: fine) {
    .feature-block:hover {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    }
}

@media (min-width: 768px) {
    .feature-blocks {
        grid-template-columns: repeat(2, 1fr);
        gap: clamp(1.25rem, 2vw, 2.5rem);
        margin-top: 3rem;
        /* 48px */
    }

    .feature-block {
        padding: 2rem;
        /* 32px */
    }
}

@media (min-width: 1024px) {
    .feature-blocks {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: clamp(1.25rem, 2vw, 2.5rem);
        margin-top: 3.5rem;
        /* 56px */
    }
}

.feature-icon {
    font-size: 2.25rem;
    /* 36px */
    margin-bottom: 1rem;
    /* 16px - 아이콘과 타이틀 간 간격 축소 */
    line-height: 1;
}

.feature-content {
    text-align: left;
}

.feature-title {
    font-size: 1.25rem;
    /* 20px */
    font-weight: 600;
    margin-bottom: 0.75rem;
    /* 12px */
    color: #111827;
    line-height: 1.4;
}

.feature-description {
    font-size: 1rem;
    /* 16px */
    color: #6B7280;
    line-height: 1.5;
}

/* Why BADUM 그리드 - Wrap Studio 카드 스타일 */
.why-badum-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1.25rem, 2vw, 2.5rem);
    margin-top: 2.5rem;
    /* 40px */
    padding: 0;
}

.why-badum-item {
    text-align: center;
    padding: 2rem;
    /* 32px */
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #E5E7EB;
    transition: box-shadow 200ms ease-in-out;
}

/* PC에서만 hover 효과 - Wrap Studio subtle 스타일 */
@media (hover: hover) and (pointer: fine) {
    .why-badum-item:hover {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    }
}

@media (min-width: 768px) {
    .why-badum-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: clamp(1.25rem, 2vw, 2.5rem);
        margin-top: 2.5rem;
        /* 40px */
        padding: 0;
    }

    .why-badum-item {
        padding: 2rem;
        /* 32px */
    }
}

@media (min-width: 1024px) {
    .why-badum-grid {
        gap: clamp(1.25rem, 2vw, 2.5rem);
        margin-top: 2.5rem;
        /* 40px */
    }
}

.why-badum-icon {
    font-size: 2.25rem;
    /* 36px */
    margin-bottom: 0.75rem;
    /* 12px - 아이콘과 타이틀 간 간격 축소 */
    line-height: 1;
}

.why-badum-title {
    font-size: 1.25rem;
    /* 20px */
    font-weight: 600;
    margin-bottom: 0.5rem;
    /* 8px */
    color: #111827;
    line-height: 1.4;
}

.why-badum-description {
    font-size: 1rem;
    /* 16px */
    color: #6B7280;
    line-height: 1.5;
}

/* FAQ 섹션 - 차분하고 체계적인 도구 톤 유지 */
.faq-title {
    margin: 5rem 0 3rem;
    /* 80px 0 48px */
    text-align: center;
}

.faq-title h2 {
    font-size: 1.75rem;
    /* 28px */
    font-weight: 700;
    margin-bottom: 0.5rem;
    /* 8px */
    color: var(--color-text-main);
    line-height: 1.3;
}

.faq-title p {
    font-size: var(--font-size-sm);
    color: var(--color-text-sub);
    margin: 0;
}

/* FAQ 리스트 - 읽기 리듬 중심 */
.faq-list {
    max-width: 100%;
    margin: 0 auto 7.5rem;
    /* 120px */
    padding: 0;
}

.faq-item {
    padding: 2rem 0;
    /* 32px 상하 */
    border-bottom: 1px solid var(--color-border-light);
    background: transparent;
    margin-bottom: 0;
}

.faq-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

/* 질문: 제목처럼 */
.faq-question {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--color-text-main);
    margin-bottom: 0.75rem;
    /* 12px - 질문과 답변 사이 리듬 정리 */
    line-height: 1.5;
}

/* 답변: 설명처럼 */
.faq-answer {
    font-size: var(--font-size-base);
    line-height: 1.7;
    color: var(--color-text-sub);
    margin: 0;
}

/* 마지막 답변의 핵심 문구 강조 */
.faq-answer strong {
    font-weight: 600;
    color: var(--color-text-main);
}

/* 태블릿 이상: 가로 폭 줄여서 읽기 편하게 */
@media (min-width: 768px) {
    .faq-list {
        max-width: 720px;
        margin: 0 auto 7.5rem;
        /* 120px */
    }

    .faq-item {
        padding: 2rem 0;
        /* 32px */
    }
}

/* 데스크톱: 타이틀 여백 조정 */
@media (min-width: 1024px) {
    .faq-title {
        margin: 5rem 0 3rem;
        /* 80px 0 48px */
    }
}

/* 사용자 후기 섹션 - 조용히 설득하는 톤 유지 */
.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    /* 모바일: 24px */
    margin-top: 2.5rem;
    /* 40px */
    padding: 0;
}

.testimonial-item {
    padding: 2rem;
    /* 32px */
    background: #ffffff;
    border: 1px solid var(--color-border-light);
    border-radius: 14px;
    transition: box-shadow 200ms ease-in-out;
}

/* 가운데 카드만 살짝 강조 - 조용한 강조 유지 */
.testimonial-item.is-highlight {
    border-color: var(--color-border, #d1d5db);
    background: #ffffff;
}

/* PC에서만 hover 효과 - subtle 스타일 */
@media (hover: hover) and (pointer: fine) {
    .testimonial-item:hover {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    }
}

@media (min-width: 768px) {
    .testimonial-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
        /* 32px */
        margin-top: 3rem;
        /* 48px */
    }
}

/* 인용부호로 후기 느낌 강화 */
.testimonial-text {
    font-size: 1.125rem;
    /* 18px */
    line-height: 1.6;
    color: var(--color-text-main);
    margin-bottom: 1.25rem;
    /* 20px */
    position: relative;
    padding-left: 0;
}

/* 인용부호 스타일 */
.testimonial-text::before {
    content: '\201C';
    font-size: 2rem;
    /* 32px */
    color: var(--color-text-sub);
    margin-right: 0.25rem;
    /* 4px */
    line-height: 0;
    vertical-align: -0.3em;
    display: inline-block;
}

.testimonial-text::after {
    content: '\201D';
    font-size: 2rem;
    /* 32px */
    color: var(--color-text-sub);
    margin-left: 0.25rem;
    /* 4px */
    line-height: 0;
    vertical-align: -0.3em;
    display: inline-block;
}

/* 핵심 단어 강조 */
.testimonial-text strong {
    font-weight: 600;
    color: var(--color-text-main);
}

.testimonial-author {
    font-size: var(--font-size-sm);
    color: var(--color-text-sub);
    text-align: right;
    line-height: 1.5;
    margin: 0;
    text-align: right;
    line-height: 1.5;
}
