/* 기본 설정 */
:root {
    --main-pink: #E9546B;
    --main-beige: #FAD6D6;
    --text-dark: #222222;
    --bg-warm: #FFF9F8;
}

/* 전역 스타일 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-warm);
    line-height: 1.6;
}

/* 컨테이너 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 타이포그래피 */
h1, h2, h3 {
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
    font-weight: 700;
}

/* Hero 섹션 */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

/* 이미지 대체 스타일 */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                linear-gradient(45deg, var(--main-pink), var(--main-beige));
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    padding: 20px;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* CTA 버튼 */
.cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin: 10px;
}

.cta-button.primary {
    background-color: var(--main-pink);
    color: white;
}

.cta-button.secondary {
    background-color: var(--main-beige);
    color: var(--text-dark);
}

.cta-button.large {
    padding: 20px 40px;
    font-size: 1.2rem;
}

/* 섹션 공통 스타일 */
section {
    padding: 100px 0;
}

.difference {
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
}

.difference h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 30px;
    text-align: center;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 30px;
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 1.2rem;
}

/* 특징 그리드 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.feature-card h3 {
    color: var(--main-pink);
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, var(--main-pink), var(--main-beige));
    border-radius: 50%;
    font-size: 2.5rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    box-shadow: 0 4px 15px rgba(233, 84, 107, 0.3);
}

/* 심리학 섹션 */
.psychology-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.psychology-image {
    width: 100%;
    min-height: 300px;
    border-radius: 15px;
    background: linear-gradient(45deg, var(--main-beige), var(--main-pink));
}

/* 후기 섹션 */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.review-text {
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-style: italic;
}

/* 이벤트 정보 */
.event-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.event-card {
    background: white;
    padding: 20px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.event-icon {
    font-size: 2rem;
    margin-right: 15px;
}

/* 모달 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 1000;
}

.modal-content {
    position: relative;
    background: white;
    margin: 50px auto;
    padding: 20px;
    width: 90%;
    max-width: 800px;
    border-radius: 15px;
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 30px;
    cursor: pointer;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1.3rem;
    }
    
    .difference h2, .section-title {
        font-size: 2.8rem;
    }
    
    .section-intro {
        font-size: 1.3rem;
    }
    
    .feature-card h3 {
        font-size: 1.6rem;
    }
    
    .feature-card p {
        font-size: 1.1rem;
    }
    
    .review-text {
        font-size: 1.3rem;
    }
    
    .event-card {
        font-size: 1.4rem;
        padding: 25px 20px;
    }
    
    .event-card h3 {
        font-size: 1.6rem;
        font-weight: 700;
    }
    
    .event-card p {
        font-size: 1.3rem;
        line-height: 1.4;
    }
    
    .event-icon {
        font-size: 2.5rem;
    }
    
    .psychology-content {
        grid-template-columns: 1fr;
    }
    
    .event-details {
        grid-template-columns: 1fr;
    }
    
    .cta-button {
        display: block;
        margin: 10px auto;
        width: 80%;
    }
}

/* 아이폰 SE, 매우 작은 안드로이드 (≤ 320px) 최적화 */
@media (max-width: 320px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .hero-description {
        font-size: 1.4rem;
    }
    
    .difference h2, .section-title {
        font-size: 3.2rem;
    }
    
    .section-intro {
        font-size: 1.5rem;
    }
    
    .feature-card h3 {
        font-size: 2rem;
    }
    
    .feature-card p {
        font-size: 1.3rem;
    }
    
    .event-card {
        font-size: 3.8rem;
        padding: 45px 40px;
    }
    
    .event-card h3 {
        font-size: 4.5rem;
        font-weight: 700;
        margin-bottom: 30px;
    }
    
    .event-card p {
        font-size: 4rem;
        line-height: 1.2;
        font-weight: 600;
    }
    
    .event-icon {
        font-size: 6.5rem;
        margin-right: 25px;
    }
}

/* 아이폰 12 미니, 갤럭시 S 작은 버전 (321px - 375px) 최적화 */
@media (min-width: 321px) and (max-width: 375px) {
    .event-card {
        font-size: 3.2rem;
        padding: 40px 35px;
    }
    
    .event-card h3 {
        font-size: 4rem;
        font-weight: 700;
        margin-bottom: 25px;
    }
    
    .event-card p {
        font-size: 3.5rem;
        line-height: 1.3;
        font-weight: 600;
    }
    
    .event-icon {
        font-size: 6rem;
        margin-right: 22px;
    }
}

/* 갤럭시 S, 아이폰 12/13/14 (376px - 415px) 최적화 */
@media (min-width: 376px) and (max-width: 415px) {
    .event-card {
        font-size: 2.8rem;
        padding: 35px 30px;
    }
    
    .event-card h3 {
        font-size: 3.5rem;
        font-weight: 700;
        margin-bottom: 20px;
    }
    
    .event-card p {
        font-size: 3rem;
        line-height: 1.3;
        font-weight: 600;
    }
    
    .event-icon {
        font-size: 5.5rem;
        margin-right: 20px;
    }
}

/* 아이폰 SE, 매우 작은 안드로이드 (≤ 320px) 최적화 - 320/375 = 0.853배 */
@media (max-width: 320px) {
    /* 히어로 섹션 - 2줄 표시 최적화 */
    .hero-title {
        font-size: 20px !important;
        line-height: 1.3 !important;
        word-break: keep-all !important;
    }
    
    .hero-subtitle {
        font-size: 11px !important;
        word-break: keep-all !important;
    }
    
    .hero-description {
        font-size: 11px !important;
    }
    
    /* 로맨틱 파티 정보 섹션 */
    .event-card {
        font-size: 0.94rem !important;
        padding: 17px 13px !important;
    }
    
    .event-card h3 {
        font-size: 1.19rem !important;
        font-weight: 700 !important;
        margin-bottom: 10px !important;
    }
    
    .event-card p {
        font-size: 1.02rem !important;
        line-height: 1.4 !important;
        font-weight: 600 !important;
    }
    
    .event-icon {
        font-size: 1.88rem !important;
        margin-right: 12px !important;
    }
    
    /* 다른 모든 섹션 */
    .difference h2, .section-title {
        font-size: 1.02rem !important;
        word-break: keep-all !important;
    }
    
    .section-intro {
        font-size: 0.94rem !important;
        word-break: keep-all !important;
    }
    
    .feature-card h3 {
        font-size: 1.02rem !important;
    }
    
    .feature-card p {
        font-size: 0.94rem !important;
        line-height: 1.4 !important;
    }
    
    .review-text {
        font-size: 0.94rem !important;
    }
}

/* 아이폰 12 미니, 갤럭시 S 작은 버전 (321px - 375px) 최적화 */
@media (min-width: 321px) and (max-width: 375px) {
    /* 히어로 섹션 - 2줄 표시 최적화 */
    .hero-title {
        font-size: 22px !important;
        line-height: 1.3 !important;
        word-break: keep-all !important;
    }
    
    .hero-subtitle {
        font-size: 13px !important;
        word-break: keep-all !important;
    }
    
    .hero-description {
        font-size: 13px !important;
    }
    
    /* 로맨틱 파티 정보 섹션 */
    .event-card {
        font-size: 1.1rem !important;
        padding: 20px 15px !important;
    }
    
    .event-card h3 {
        font-size: 1.4rem !important;
        font-weight: 700 !important;
        margin-bottom: 12px !important;
    }
    
    .event-card p {
        font-size: 1.2rem !important;
        line-height: 1.4 !important;
        font-weight: 600 !important;
    }
    
    .event-icon {
        font-size: 2.2rem !important;
        margin-right: 14px !important;
    }
    
    /* 다른 모든 섹션 - 폰트 크기 한 단계 낮춤 */
    .difference h2, .section-title {
        font-size: 1.2rem !important;
        word-break: keep-all !important;
    }
    
    .section-intro {
        font-size: 1.1rem !important;
        word-break: keep-all !important;
    }
    
    .feature-card h3 {
        font-size: 1.2rem !important;
    }
    
    .feature-card p {
        font-size: 1.1rem !important;
        line-height: 1.4 !important;
    }
    
    .review-text {
        font-size: 1.1rem !important;
    }
}

/* 갤럭시 S, 아이폰 12/13/14 (376px - 415px) 최적화 - 400/375 = 1.067배 */
@media (min-width: 376px) and (max-width: 415px) {
    /* 히어로 섹션 - 2줄 표시 최적화 */
    .hero-title {
        font-size: 25px !important;
        line-height: 1.3 !important;
        word-break: keep-all !important;
    }
    
    .hero-subtitle {
        font-size: 15px !important;
        word-break: keep-all !important;
    }
    
    .hero-description {
        font-size: 15px !important;
    }
    
    /* 로맨틱 파티 정보 섹션 */
    .event-card {
        font-size: 1.18rem !important;
        padding: 21px 16px !important;
    }
    
    .event-card h3 {
        font-size: 1.49rem !important;
        font-weight: 700 !important;
        margin-bottom: 13px !important;
    }
    
    .event-card p {
        font-size: 1.28rem !important;
        line-height: 1.4 !important;
        font-weight: 600 !important;
    }
    
    .event-icon {
        font-size: 2.35rem !important;
        margin-right: 15px !important;
    }
    
    /* 다른 모든 섹션 */
    .difference h2, .section-title {
        font-size: 1.28rem !important;
        word-break: keep-all !important;
    }
    
    .section-intro {
        font-size: 1.18rem !important;
        word-break: keep-all !important;
    }
    
    .feature-card h3 {
        font-size: 1.28rem !important;
    }
    
    .feature-card p {
        font-size: 1.18rem !important;
        line-height: 1.4 !important;
    }
    
    .review-text {
        font-size: 1.18rem !important;
    }
}

/* 큰 안드로이드 폰, 아이폰 Pro Max (416px - 480px) 최적화 - 450/375 = 1.2배 */
@media (min-width: 416px) and (max-width: 480px) {
    /* 히어로 섹션 - 2줄 표시 최적화 */
    .hero-title {
        font-size: 28px !important;
        line-height: 1.3 !important;
        word-break: keep-all !important;
    }
    
    .hero-subtitle {
        font-size: 16px !important;
        word-break: keep-all !important;
    }
    
    .hero-description {
        font-size: 16px !important;
    }
    
    /* 로맨틱 파티 정보 섹션 */
    .event-card {
        font-size: 1.32rem !important;
        padding: 24px 18px !important;
    }
    
    .event-card h3 {
        font-size: 1.68rem !important;
        font-weight: 700 !important;
        margin-bottom: 14px !important;
    }
    
    .event-card p {
        font-size: 1.44rem !important;
        line-height: 1.4 !important;
        font-weight: 600 !important;
    }
    
    .event-icon {
        font-size: 2.64rem !important;
        margin-right: 17px !important;
    }
    
    /* 다른 모든 섹션 */
    .difference h2, .section-title {
        font-size: 1.44rem !important;
        word-break: keep-all !important;
    }
    
    .section-intro {
        font-size: 1.32rem !important;
        word-break: keep-all !important;
    }
    
    .feature-card h3 {
        font-size: 1.44rem !important;
    }
    
    .feature-card p {
        font-size: 1.32rem !important;
        line-height: 1.4 !important;
    }
    
    .review-text {
        font-size: 1.32rem !important;
    }
}

/* 태블릿 소형 (481px - 768px) 최적화 - 600/375 = 1.6배 */
@media (min-width: 481px) and (max-width: 768px) {
    /* 히어로 섹션 - 2줄 표시 최적화 */
    .hero-title {
        font-size: 38px !important;
        line-height: 1.3 !important;
        word-break: keep-all !important;
    }
    
    .hero-subtitle {
        font-size: 21px !important;
        word-break: keep-all !important;
    }
    
    .hero-description {
        font-size: 21px !important;
    }
    
    /* 로맨틱 파티 정보 섹션 */
    .event-card {
        font-size: 1.76rem !important;
        padding: 32px 24px !important;
    }
    
    .event-card h3 {
        font-size: 2.24rem !important;
        font-weight: 700 !important;
        margin-bottom: 19px !important;
    }
    
    .event-card p {
        font-size: 1.92rem !important;
        line-height: 1.4 !important;
        font-weight: 500 !important;
    }
    
    .event-icon {
        font-size: 3.52rem !important;
        margin-right: 22px !important;
    }
    
    /* 다른 모든 섹션 */
    .difference h2, .section-title {
        font-size: 1.92rem !important;
        word-break: keep-all !important;
    }
    
    .section-intro {
        font-size: 1.76rem !important;
        word-break: keep-all !important;
    }
    
    .feature-card h3 {
        font-size: 1.92rem !important;
    }
    
    .feature-card p {
        font-size: 1.76rem !important;
        line-height: 1.4 !important;
    }
    
    .review-text {
        font-size: 1.76rem !important;
    }
} 