/* Reset and Base Styles */
:root {
    --text-strong: #282A31; /* 가장 진한 제목/주요 텍스트 */
    --text-primary: #3C3E48; /* 일반 본문 */
    --text-secondary: #4A4C54; /* 보조 본문 */
    --text-tertiary: #9396A2; /* 설명/보조 */
    --text-muted: #A7A9B2; /* 비활성/힌트 */
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-strong);
}

/* Logo image sizes to match previous text logo scale */
.header .logo-img {
    height: 28px;
    width: auto;
    display: block;
}

.logo-icon {
    font-size: 28px;
}

.nav {
    display: flex;
    gap: 30px;
    margin: 0 auto;
    transform: translateX(-40px);
}

.nav-link {
    text-decoration: none;
    color: var(--text-strong);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #FFE63C;
}

.header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn-login {
    background: white;
    border: 2px solid #FFE63C;
    color: #2c3e50;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background: #FFE63C;
    color: white;
}

.btn-primary {
    background: #FFE63C;
    color: #282A31;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #FFDE00;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #FFF5B1 0%, #FFE63C 50%, #FFDE00 100%);
    overflow: hidden;
    padding: 100px 0 40px 0; /* 헤더 높이만큼 상단 여백 추가 */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(180px 180px at 18% 22%, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0) 65%),
        radial-gradient(220px 220px at 82% 28%, rgba(255,255,255,0.45) 0%, rgba(255,255,255,0) 68%),
        radial-gradient(140px 140px at 28% 78%, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 62%),
        radial-gradient(200px 200px at 72% 82%, rgba(255,255,255,0.35) 0%, rgba(255,255,255,0) 66%),
        radial-gradient(100px 100px at 50% 50%, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 60%),
        linear-gradient(135deg, #FFF5B1 0%, #FFE63C 50%, #FFDE00 100%);
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.25);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-strong);
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(1.4rem, 5vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.15;
    white-space: nowrap;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.95;
    line-height: 1.5;
    color: var(--text-secondary);
}

.hero-actions {
    display: inline-flex;
    gap: 15px;
    justify-content: center;
    margin: 0 auto 35px auto;
    flex-wrap: wrap;
    padding: 20px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(0, 0, 0, 0.1);
    width: fit-content;
}

.btn-app-store,
.btn-google-play {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #000;
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transform: scale(1);
}

.btn-app-store:hover,
.btn-google-play:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-app-store i,
.btn-google-play i {
    font-size: 24px;
}

.btn-text-small {
    display: block;
    font-size: 12px;
    opacity: 0.8;
}

.btn-text-large {
    display: block;
    font-size: 16px;
    font-weight: 600;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.hero-stats-separator {
    font-weight: 50;
    opacity: 0.3;
    font-size: 3rem;
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.stats-item {
    text-align: center;
}

.stats-number,
.stats-rating {
    display: block;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.stats-rating {
    text-align: center;
}

.stats-label {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Slight left nudge for the second stats label */
.stats-label-left {
    display: inline-block;
    transform: translateX(-4px);
}

.hero-testimonial {
    background: rgba(255, 255, 255, 0.38);
    padding: 24px;
    border-radius: 12px;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(40, 42, 49, 0.18);
    box-shadow: 0 12px 28px rgba(40, 42, 49, 0.14), 0 1px 0 rgba(255,255,255,0.7) inset;
    max-width: 600px;
    margin: 0 auto;
}

.hero-testimonial blockquote {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 12px;
    line-height: 1.6;
    color: var(--text-strong);
}

.hero-testimonial cite {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-strong);
}

.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    color: #3C3E48;
    margin-bottom: 30px;
    font-weight: 500;
}

/* Introduction Section */
.intro {
    padding: 100px 0;
    background: white;
}

.intro-content {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 5px;
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.intro-text p {
    margin-bottom: 20px;
}

.intro-visual {
    display: flex;
    justify-content: center;
}

.intro-images {
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.intro-image {
    max-width: 380px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.intro-image:hover {
    transform: translateY(-5px);
}

/* 모바일에서 이미지 반응형 */
@media (max-width: 768px) {
    .intro-images {
        flex-direction: column;
        gap: 20px;
        margin-top: 40px;
    }
    
    .intro-image {
        max-width: 100%;
        width: 70%;
    }
}

/* Features Section */
.features {
    padding: 100px 0;
    background: #f8f9fa;
}

.features-grid {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    margin-top: 60px;
    padding-bottom: 40px;
    position: relative;
    flex-wrap: wrap;
    min-height: 200px;
}

/* 순서 제거 */

.feature-card {
    background: white;
    padding: 35px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position: relative;
    margin-bottom: 20px;
    width: 300px;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
}

.feature-card.animate {
    visibility: visible;
    animation: fadeIn 0.5s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* 딜레이 제거됨 */

/* 애니메이션 제거됨 */

/* 말풍선 꼬리 - 첫 번째 카드 (왼쪽 → 로디 중앙으로) */
.feature-card:nth-child(1)::after {
    content: '';
    position: absolute;
    bottom: -15px;
    right: 30%;
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid white;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
    z-index: 1;
}

/* 말풍선 꼬리 - 두 번째 카드 (중앙 → 로디 중앙으로) */
.feature-card:nth-child(2)::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid white;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
    z-index: 1;
}

/* 말풍선 꼬리 - 세 번째 카드 (오른쪽 → 로디 중앙으로) */
.feature-card:nth-child(3)::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 30%;
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid white;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
    z-index: 1;
}

/* 호버 효과 제거 */

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.feature-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
    color: #2c3e50;
    line-height: 1.4;
    text-align: center;
}

/* 슬픈 로디 이미지 */
.sad-lody-container {
    display: flex;
    justify-content: center;
    margin-top: -10px;
    position: relative;
}

.sad-lody {
    width: 180px;
    height: auto;
    opacity: 0;
}

.sad-lody.animate {
    animation: sadAppear 0.8s ease-out forwards, sadFloat 3s ease-in-out 4s infinite;
}

@keyframes sadAppear {
    0% {
        opacity: 0;
        transform: scale(0.5) translateY(20px);
    }
    100% {
        opacity: 0.9;
        transform: scale(1) translateY(0);
    }
}

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

/* 모바일에서 말풍선 스타일 */
@media (max-width: 768px) {
    .features-grid {
        gap: 15px;
        padding-bottom: 30px;
        flex-direction: row;
        align-items: flex-start;
        justify-content: center;
        flex-wrap: wrap;
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .feature-card {
        padding: 20px 15px;
        margin-bottom: 10px;
        border-radius: 16px;
        width: calc(50% - 7.5px);
        min-height: 140px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        visibility: hidden;
        opacity: 0;
    }
    
    .feature-card:nth-child(3) {
        width: calc(50% - 7.5px);
        max-width: none;
        margin: 0;
    }
    
    .feature-card.animate {
        visibility: visible;
        animation: fadeIn 0.5s ease-out forwards;
    }
    
    /* 모바일에서는 모든 말풍선 꼬리를 중앙으로 */
    .feature-card:nth-child(1)::after,
    .feature-card:nth-child(2)::after,
    .feature-card:nth-child(3)::after {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        border-left: 16px solid transparent;
        border-right: 16px solid transparent;
        border-top: 16px solid white;
        bottom: -12px;
        filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.1));
        z-index: 1;
    }
    
    .feature-icon {
        font-size: 2rem;
        margin-bottom: 10px;
    }
    
    .feature-card h3 {
        font-size: 0.9rem;
        margin: 0;
        line-height: 1.2;
        text-align: center;
    }
    
    .sad-lody {
        width: 140px;
    }
    
    .sad-lody-container {
        margin-top: -5px;
    }
}

/* How to Use Section */
.howto {
    padding: 100px 0;
    background: white;
}

.steps {
    max-width: 800px;
    margin: 0 auto;
    margin-top: 60px;
}

.guide-images-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.guide-image-item {
    flex: 1;
    max-width: 280px;
    min-width: 250px;
}

.guide-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.guide-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Responsive for guide images */
@media (max-width: 768px) {
    .guide-images-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .guide-image-item {
        max-width: 70%;
        min-width: auto;
    }
}

/* Reviews Section */
.reviews {
    padding: 100px 0;
    background: #f8f9fa;
}

/* Effects Section */
.effects {
    padding: 100px 0;
    background: #f8f9fa;
}

.effects .section-title,
.effects .section-subtitle {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.effects .section-title.animate,
.effects .section-subtitle.animate {
    opacity: 1;
    transform: translateY(0);
}



.effects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Effects 모바일 반응형 */
@media (max-width: 768px) {
    .effects {
        padding: 40px 0;
    }
    
    .effects-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4px;
        margin-top: 20px;
    }
    
    .effect-card.effect-wide {
        grid-column: 1 / -1;
        max-width: none;
        margin: 0;
    }
    
    .effect-card {
        padding: 4px 3px;
    }
    
    .effect-number {
        font-size: 0.7rem;
        gap: 1px;
    }
    
    .effect-number .unit {
        font-size: 0.6rem;
    }
    
    .effect-number .arrow {
        font-size: 0.5rem;
    }
    
    .effect-card h3 {
        font-size: 0.45rem;
        line-height: 1.1;
    }
    
    .effect-source {
        font-size: 0.4rem;
    }
}

.effect-card {
    background: white;
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    opacity: 0;
    transform: scale(0.8) translateY(50px);
}

.effect-card.animate {
    animation: effectCardAppear 0.8s ease-out forwards;
}

.effect-card:hover {
    transform: translateY(-5px);
}

@keyframes effectCardAppear {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(50px);
    }
    70% {
        opacity: 1;
        transform: scale(1.05) translateY(-5px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}


.effect-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    background: #FFE63C;
    color: #282A31;
    font-weight: 600;
    font-size: 0.8rem;
    margin-bottom: 15px;
}

.effect-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-strong);
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 6px;
}

.effect-number .count {
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.8s ease-out;
}

.effect-number .count.animate {
    opacity: 1;
    transform: scale(1);
}

.effect-number .unit { 
    font-size: 1.6rem; 
    opacity: 0.8; 
}
.effect-number .arrow { 
    font-size: 1.2rem; 
    color: #27ae60; 
}
.effect-number .arrow.down { 
    color: #FFDE00; 
}

.effect-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-strong);
}

.effect-source {
    color: var(--text-tertiary);
    font-size: 0.8rem;
    line-height: 1.6;
}

.reviews-grid-container {
    margin-top: 60px;
    margin-bottom: 40px;
    width: 100%;
    overflow: hidden;
}

.reviews-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
    margin: 0 auto;
    max-width: 1200px;
}

.review-card-new {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.review-card-new:nth-child(1) { animation-delay: 0.1s; }
.review-card-new:nth-child(2) { animation-delay: 0.2s; }
.review-card-new:nth-child(3) { animation-delay: 0.3s; }
.review-card-new:nth-child(4) { animation-delay: 0.4s; }
.review-card-new:nth-child(5) { animation-delay: 0.5s; }
.review-card-new:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.review-card-new:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.reviewer-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #FFE63C, #FFDE00);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-right: 12px;
}

.reviewer-info {
    flex: 1;
}

.reviewer-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 16px;
    margin-bottom: 4px;
}

.review-stars {
    color: #FFD700;
    font-size: 14px;
}

.review-text {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
    font-size: 15px;
}

.review-date {
    color: var(--text-quaternary);
    font-size: 13px;
    opacity: 0.7;
}

/* Responsive design for reviews */
@media (max-width: 768px) {
    .reviews-masonry {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .review-card-new {
        padding: 15px;
    }
    
    .reviewer-avatar {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .reviewer-name {
        font-size: 14px;
    }
    
    .review-text {
        font-size: 13px;
    }
}

/* Old review styles removed - using new masonry grid */

.rating-summary {
    text-align: center;
    margin: 40px 0 60px 0;
}

.rating-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.rating-star {
    color: #FFD700;
    font-size: 18px;
    font-weight: bold;
}

.rating-number {
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
}

.rating-count {
    color: var(--text-secondary);
    font-size: 18px;
    font-weight: 500;
}

.rating-trusted {
    color: var(--text-tertiary);
    font-size: 18px;
    font-weight: 500;
}

/* Responsive for rating */
@media (max-width: 768px) {
    .rating-info {
        gap: 12px;
    }
    
    .rating-star,
    .rating-number,
    .rating-count,
    .rating-trusted {
        font-size: 16px;
    }
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #FFF5B1 0%, #FFE63C 50%, #FFDE00 100%);
    color: var(--text-strong);
    text-align: center;
}

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

.cta-title-break {
    display: none;
}

.cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: 20px;
    opacity: 0.9;
    line-height: 1.6;
}

.cta-logo {
    text-align: center;
    margin: 10px 0;
}

.cta-logo-img {
    height: 40px;
    width: auto;
    opacity: 1;
}

.cta-actions {
    display: inline-flex;
    gap: 20px;
    justify-content: center;
    margin: 20px auto 30px auto;
    flex-wrap: wrap;
    padding: 20px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(0, 0, 0, 0.1);
    width: fit-content;
}


.cta-footer {
    font-size: 1rem;
    opacity: 0.9;
    color: var(--text-secondary);
}

/* Footer */
.footer {
    background: #4A4C54;
    color: white;
    padding: 40px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 700;
}

.footer .logo-img {
    height: 20px;
    width: auto;
    display: block;
}

.footer-links {
    display: flex;
    gap: 30px;
    margin-left: auto;
}

.footer-link {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-link:hover {
    opacity: 1;
}

/* Slightly lower the Instagram icon */
.footer-instagram i {
    position: relative;
    top: 2px;
}

/* Popup */
.popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    max-width: 300px;
    display: none;
}

.popup-content {
    position: relative;
}

.popup-close {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #FFE63C;
    color: #282A31;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
}

.popup p {
    margin: 0;
    color: #2c3e50;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: 8px 0;
        position: relative;
    }
    
    .header .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 15px;
        padding: 0 20px;
    }
    
    .header .logo-img {
        width: 60px;
        height: auto;
    }
    
    .nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
        background: none;
        border: none;
        font-size: 18px;
        color: #282A31;
        cursor: pointer;
        padding: 4px;
    }
    
    .nav.mobile-nav-active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        padding: 20px;
        gap: 15px;
        z-index: 1000;
    }
    
    .nav-link {
        font-size: 14px;
        padding: 8px 12px;
    }
    
    .hero {
        min-height: 50vh;
        max-height: none;
        padding: 100px 0 40px 0; /* 헤더 높이만큼 상단 여백 추가 */
    }
    
    .hero-content {
        margin-top: 0px; /* 상단 여백 제거 */
        padding-top: 0px; /* 상단 패딩 제거 */
    }
    
    .hero-title {
        font-size: 1.6rem;
        white-space: normal;
        line-height: 1.3;
        text-align: center;
        word-break: keep-all;
        margin-bottom: 30px;
        padding: 0 20px;
        margin-top: 0px; /* 상단 여백 제거 */
    }
    
    .hero-subtitle {
        font-size: 0.8rem;
        margin-bottom: 25px;
        line-height: 1.3;
        padding: 0 20px;
        text-align: center;
    }
    
    .features,
    .intro,
    .howto,
    .reviews,
    .cta {
        padding: 60px 0;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .cta-title {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }
    
    .cta-subtitle {
        font-size: 0.8rem;
        margin-bottom: 15px;
        line-height: 1.3;
        padding: 0 20px;
    }
    
    .cta-logo {
        margin: 15px 0;
    }
    
    .cta-logo-img {
        height: 30px;
    }
    
    .hero-actions,
    .cta-actions {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 10px;
        width: 100%;
        flex-wrap: wrap;
    }
    
    .btn-app-store,
    .btn-google-play {
        padding: 6px 8px;
        font-size: 9px;
        min-width: 120px;
        flex: 1;
        max-width: 130px;
    }
    
    .btn-text-small {
        font-size: 8px;
        line-height: 1;
    }
    
    .btn-text-large {
        font-size: 10px;
        line-height: 1;
    }
    
    .hero-stats {
        gap: 15px;
        margin-bottom: 25px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-stats-separator {
        font-size: 2.5rem;
        height: 3rem;
    }
    
    .stats-item {
        margin: 0 5px;
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }
    
    .stats-number {
        font-size: 1.5rem;
    }
    
    .stats-label {
        font-size: 0.8rem;
    }
    
    .hero-testimonial {
        padding: 12px;
        margin: 20px 20px 100px 20px;
        font-size: 0.4rem;
        line-height: 1.2;
    }
    
    .hero-testimonial blockquote {
        font-size: 0.7rem;
        line-height: 1.2;
        margin: 0;
    }
    
    .hero-testimonial cite {
        font-size: 0.35rem;
        line-height: 1.2;
        margin-top: 5px;
        display: block;
    }
    
    
    .intro-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .phone-mockup {
        width: 250px;
        height: 500px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: nowrap;
        justify-content: center;
        gap: 10px;
    }
    
    .footer-link {
        font-size: 0.7rem;
    }
    
    .footer-instagram i {
        font-size: 16px !important;
    }
}

/* 771x761 이하 화면에서 hero title이 헤더에 가려지지 않도록 추가 여백 */
@media (max-width: 771px) {
    .hero {
        padding: 120px 0 40px 0; /* 더 많은 상단 여백 */
    }
    
    .hero-content {
        margin-top: 0px;
        padding-top: 0px;
    }
}

@media (max-width: 375px) {
    .cta-title-break {
        display: block;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .phone-mockup {
        width: 200px;
        height: 400px;
    }
    
    .popup {
        bottom: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
}
