/* 디자인 토큰 import */
@import url('variables.css');

/* 랜딩 페이지 스타일 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
    color: #333;
    overflow-x: hidden;
}

.landing-container {
    width: 100%;
    min-height: 100vh;
}

/* 헤더 */
.landing-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.logo {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    letter-spacing: -0.5px;
    color: var(--color-text-primary);
}

.header-buttons {
    display: flex;
    gap: 12px;
}

/* 버튼 스타일 */
.btn-primary,
.btn-secondary,
.btn-outline,
.btn-large {
    padding: 12px 24px;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-text-inverse);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: var(--color-bg-primary);
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
    background: var(--color-primary-light);
}

.btn-outline {
    background: var(--color-bg-primary);
    color: var(--color-text-primary);
    border: 2px solid var(--color-border-light);
}

.btn-outline:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

/* 히어로 섹션 */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 100vh;
    padding: 120px 40px 80px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    gap: 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #1a1a1a;
}

.gradient-text {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: var(--font-size-xl);
    line-height: 1.8;
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-4xl);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

/* 통계 */
.hero-stats {
    display: flex;
    gap: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    font-size: var(--font-size-base);
    color: var(--color-text-secondary);
}

/* 이미지 쇼케이스 */
.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.image-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 280px 280px;
    gap: 16px;
    width: 520px;
    height: 576px;
}

.showcase-main,
.showcase-secondary,
.showcase-tertiary {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.showcase-main {
    grid-column: 1;
    grid-row: 1 / 3;
}

.showcase-secondary {
    grid-column: 2;
    grid-row: 1;
}

.showcase-tertiary {
    grid-column: 2;
    grid-row: 2;
}

.showcase-main:hover,
.showcase-secondary:hover,
.showcase-tertiary:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.image-showcase img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.showcase-main:hover img,
.showcase-secondary:hover img,
.showcase-tertiary:hover img {
    transform: scale(1.08);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    color: white;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.showcase-main:hover .image-overlay,
.showcase-secondary:hover .image-overlay,
.showcase-tertiary:hover .image-overlay {
    opacity: 1;
}

.overlay-tag,
.overlay-weather {
    font-size: 13px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    padding: 6px 12px;
    border-radius: 10px;
    display: inline-block;
    width: fit-content;
}

/* 기능 섹션 */
.features {
    padding: 120px 40px;
    background: white;
}

.features-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

.section-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.section-description {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    position: relative;
    background: #f8f9fa;
    border-radius: 24px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.feature-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.feature-card:hover .feature-image img {
    transform: scale(1.1);
}

.feature-icon {
    position: absolute;
    top: 160px;
    left: 24px;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
    z-index: 2;
}

.feature-icon svg {
    stroke: white;
    stroke-width: 2;
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin: 48px 24px 12px;
    color: #1a1a1a;
}

.feature-card p {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
    margin: 0 24px 24px;
}

/* CTA 섹션 */
.cta {
    padding: 100px 40px;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.cta h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta p {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.9;
}

.cta .btn-primary {
    background: white;
    color: #667eea;
}

.cta .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

/* 푸터 */
.landing-footer {
    padding: 60px 40px;
    background: #1a1a1a;
    color: white;
    text-align: center;
}

.footer-logo {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-text {
    font-size: 16px;
    margin-bottom: 24px;
    opacity: 0.8;
}

.footer-copyright {
    font-size: 14px;
    opacity: 0.6;
}

/* 반응형 */
@media (max-width: 768px) {
    .landing-header {
        padding: 16px 20px;
    }
    
    .logo {
        font-size: 20px;
    }
    
    .header-buttons .btn-secondary {
        padding: 10px 16px;
        font-size: 14px;
    }
    
    .hero {
        flex-direction: column;
        padding: 100px 20px 60px;
        text-align: center;
        gap: 40px;
    }
    
    .hero::before {
        width: 600px;
        height: 600px;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-badge {
        font-size: 13px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .btn-large {
        padding: 14px 24px;
        font-size: 15px;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 24px;
    }
    
    .stat-number {
        font-size: 24px;
    }
    
    .stat-label {
        font-size: 13px;
    }
    
    .image-showcase {
        width: 100%;
        max-width: 360px;
        height: 420px;
        grid-template-rows: 200px 200px;
        gap: 12px;
    }
    
    .image-overlay {
        padding: 16px;
    }
    
    .overlay-tag,
    .overlay-weather {
        font-size: 11px;
        padding: 5px 10px;
    }
    
    .features {
        padding: 80px 20px;
    }
    
    .features-header {
        margin-bottom: 48px;
    }
    
    .section-badge {
        font-size: 13px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .section-description {
        font-size: 16px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .cta {
        padding: 80px 20px;
    }
    
    .cta h2 {
        font-size: 32px;
    }
    
    .cta p {
        font-size: 16px;
    }
    
    .landing-footer {
        padding: 48px 20px;
    }
    
    .footer-logo {
        font-size: 24px;
    }
}

