* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* 헤더 스타일 */
header {
    position: fixed;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
}

.nav-links a {
    margin-left: 2rem;
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #3498db;
}

/* 히어로 섹션 */
.hero {
    min-height: 80vh;
    background: linear-gradient(135deg, #3498db, #2c3e50);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 8rem 1rem 6rem;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding-top: 2rem;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.8;
    word-break: keep-all;
    word-wrap: break-word;
    white-space: pre-line;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: #e74c3c;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.cta-button:hover {
    background: #c0392b;
}

/* 기능 섹션 */
.features {
    padding: 5rem 1rem;
    background: #f9f9f9;
    position: relative;
}

.features h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.carousel-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding: 0 40px;
}

.carousel {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding-bottom: 20px;
}

.carousel-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s ease;
}

.feature-card {
    flex: 0 0 auto;
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px -5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin: 1rem 0;
}

.feature-card img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    margin-bottom: 1rem;
    border-radius: 10px;
}

.feature-card h3 {
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-size: 1.2rem;
}

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

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2c3e50;
    z-index: 10;
}

.carousel-button:hover {
    background: #f0f0f0;
}

.carousel-button.prev {
    left: 0;
}

.carousel-button.next {
    right: 0;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    gap: 0.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background: #3498db;
}

/* 다운로드 섹션 */
.download {
    padding: 5rem 1rem;
    text-align: center;
    background: #2c3e50;
    color: white;
}

.download h2 {
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.download-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.store-button {
    display: flex;
    align-items: center;
    line-height: 0;
}

.store-button img {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

.store-button:hover img {
    transform: scale(1.05);
}

/* 문의하기 섹션 */
.contact {
    padding: 5rem 1rem;
    text-align: center;
    background: #f9f9f9;
}

.contact h2 {
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.contact p {
    margin-bottom: 2rem;
}

.contact-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.contact-button:hover {
    background: #2980b9;
}

/* 푸터 */
footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 1rem 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-links a {
    display: block;
    color: white;
    text-decoration: none;
    margin-bottom: 0.5rem;
}

.footer-social a {
    color: white;
    text-decoration: none;
    margin-right: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* 반응형 디자인 */
@media (min-width: 768px) {
    .feature-card {
        width: calc((100% - 4rem) / 3);  /* 3개의 카드와 2개의 여백을 고려 */
        margin: 1rem 0;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero {
        min-height: 70vh;
        padding: 6rem 1rem 4rem;
    }
    
    .hero-content {
        padding-top: 1rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
        word-break: keep-all;
        word-wrap: break-word;
        white-space: pre-line;
    }
    
    .carousel-container {
        padding: 0 30px;
    }
    
    .carousel-button {
        width: 30px;
        height: 30px;
    }
    
    .feature-card {
        width: calc(83.333% - 1rem);
        margin: 1rem 0.5rem;
    }
    
    .feature-card img {
        max-height: 300px;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
} 