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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: hidden;
    background: #ffffff;
}

/* 프레젠테이션 컨테이너 */
.presentation-container {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* 슬라이드 */
.slide {
    width: 90%;
    max-width: 1200px;
    height: 85vh;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    padding: 60px;
    display: none;
    animation: slideIn 0.5s ease-out;
    overflow-y: auto;
}

.slide.active {
    display: block;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 공통 애니메이션 */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

/* 히어로 섹션 */
.hero {
    text-align: center;
    padding: 60px 20px;
    animation: fadeIn 1s ease-in;
}

.hero h1 {
    font-size: 3em;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.3em;
    opacity: 0.9;
    line-height: 1.6;
}

/* 기능 카드 */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.feature-card {
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: slideUp 0.6s ease-out forwards;
}

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

.feature-card h3 {
    font-size: 1.4em;
    margin-bottom: 15px;
    text-align: center;
}

.feature-card p {
    line-height: 1.8;
    text-align: center;
    color: #555;
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5em;
    margin: 0 auto 20px;
    color: white;
}

/* 제품 섹션 */
.products {
    background: #fff;
    border-radius: 20px;
    padding: 50px;
    margin: 40px 0;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
}

.products h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 40px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.product-item {
    text-align: center;
    padding: 30px;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.product-item:hover {
    transform: scale(1.05);
}

.product-item .icon {
    font-size: 3em;
    margin-bottom: 15px;
}

.product-item h4 {
    font-size: 1.2em;
    color: #333;
}

/* CTA 이미지 */
.cta {
    text-align: center;
    padding: 60px 0;
}

.cta-image {
    width: 100%;
    max-width: 800px;
    height: 400px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 1.2em;
    color: #666;
}

/* 스마트팜 테마 */
#smartfarm {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
}

#smartfarm .hero {
    color: #2e7d32;
}

#smartfarm .feature-card {
    background: #f8fff8;
}

#smartfarm .feature-icon {
    background: linear-gradient(135deg, #66bb6a 0%, #43a047 100%);
}

#smartfarm .products h2 {
    color: #2e7d32;
}

#smartfarm .product-item {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
}

#smartfarm .cta-image {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
}

/* 스마트팩토리 테마 */
#smartfactory {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
}

#smartfactory .hero {
    color: #1565c0;
}

#smartfactory .feature-card {
    background: #f5faff;
}

#smartfactory .feature-icon {
    background: linear-gradient(135deg, #42a5f5 0%, #1565c0 100%);
}

#smartfactory .products h2 {
    color: #1565c0;
}

#smartfactory .product-item {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
}

#smartfactory .cta-image {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
}

/* 네비게이션 버튼 */
.navigation {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 100;
}

.nav-btn {
    background: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: #667eea;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.nav-btn:active {
    transform: translateY(-1px);
}

/* 슬라이드 카운터 */
.slide-counter {
    position: fixed;
    top: 30px;
    right: 30px;
    background: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    color: #667eea;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 100;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .slide {
        width: 95%;
        height: 90vh;
        padding: 30px 20px;
    }
    
    .hero h1 { 
        font-size: 2em; 
    }
    
    .hero p { 
        font-size: 1.1em; 
    }
    
    .products { 
        padding: 30px 20px; 
    }
    
    .nav-btn { 
        padding: 12px 25px; 
        font-size: 14px; 
    }
}