/* 기본 스타일 리셋 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* 헤더 스타일 */
.header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px 0;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
}

.logo i {
    font-size: 2.5rem;
    color: #4CAF50;
    animation: bounce 2s infinite;
}

.logo h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.subtitle {
    font-size: 1.2rem;
    color: #fff;
    opacity: 0.9;
}

/* 메인 콘텐츠 */
.main-content {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    backdrop-filter: blur(10px);
}

/* 히어로 섹션 */
.hero-section {
    text-align: center;
    margin-bottom: 50px;
    padding: 30px;
    background: linear-gradient(45deg, #FF6B6B, #4ECDC4);
    border-radius: 15px;
    color: white;
}

.hero-section h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.hero-section p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* 제품 섹션 */
.products-section {
    margin-bottom: 50px;
}

.product-card {
    display: flex;
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 3px solid transparent;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border-color: #4CAF50;
}

.product-image {
    flex: 0 0 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, #FFD93D, #FF6B6B);
    border-radius: 50%;
    margin-right: 30px;
    width: 120px;
    height: 120px;
}

.product-image i {
    font-size: 3rem;
    color: white;
}

.product-info {
    flex: 1;
}

.product-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #333;
    font-weight: 600;
}

.product-info p {
    color: #666;
    margin-bottom: 20px;
    font-size: 1rem;
}

/* 버튼 그룹 */
.button-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(45deg, #4CAF50, #45a049);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(45deg, #45a049, #4CAF50);
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
}

.btn-secondary {
    background: linear-gradient(45deg, #2196F3, #1976D2);
    color: white;
}

.btn-secondary:hover {
    background: linear-gradient(45deg, #1976D2, #2196F3);
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(33, 150, 243, 0.4);
}

/* 특징 섹션 */
.features-section {
    text-align: center;
    padding: 40px 0;
}

.features-section h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #333;
    font-weight: 600;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature {
    padding: 30px 20px;
    background: #f8f9fa;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature i {
    font-size: 2.5rem;
    color: #4CAF50;
    margin-bottom: 15px;
}

.feature h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333;
    font-weight: 600;
}

.feature p {
    color: #666;
    font-size: 0.95rem;
}

/* 푸터 */
.footer {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    color: #fff;
    opacity: 0.8;
}

/* 애니메이션 */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .main-content {
        padding: 25px;
    }
    
    .logo h1 {
        font-size: 2rem;
    }
    
    .hero-section h2 {
        font-size: 1.5rem;
    }
    
    .product-card {
        flex-direction: column;
        text-align: center;
        padding: 25px;
    }
    
    .product-image {
        margin-right: 0;
        margin-bottom: 20px;
        align-self: center;
    }
    
    .button-group {
        justify-content: center;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .logo {
        flex-direction: column;
        gap: 10px;
    }
    
    .logo h1 {
        font-size: 1.8rem;
    }
    
    .hero-section {
        padding: 20px;
    }
    
    .hero-section h2 {
        font-size: 1.3rem;
    }
    
    .product-info h3 {
        font-size: 1.3rem;
    }
    
    .button-group {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
}

/* 접근성 개선 */
.btn:focus {
    outline: 3px solid #FFD93D;
    outline-offset: 2px;
}

.product-card:focus-within {
    outline: 3px solid #4CAF50;
    outline-offset: 2px;
}

/* 다크 모드 지원 */
@media (prefers-color-scheme: dark) {
    .main-content {
        background: rgba(30, 30, 30, 0.95);
        color: #fff;
    }
    
    .product-card {
        background: #2a2a2a;
        color: #fff;
    }
    
    .product-info h3 {
        color: #fff;
    }
    
    .product-info p {
        color: #ccc;
    }
    
    .feature {
        background: #2a2a2a;
        color: #fff;
    }
    
    .feature p {
        color: #ccc;
    }
} 