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

:root {
    --bg-dark: #0a0e27;
    --bg-secondary: #1a1f3a;
    --accent-primary: #00d9ff;
    --accent-secondary: #7c3aed;
    --text-primary: #ffffff;
    --text-secondary: #a0aec0;
    --success: #10b981;
    --warning: #f59e0b;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.presentation-container {
    scroll-behavior: smooth;
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
}

.slide {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    scroll-snap-align: start;
    position: relative;
}

.slide::before {
    display: none;
}

.content {
    max-width: 1400px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.content.center {
    text-align: center;
}

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

/* Typography */
h1 {
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 1rem;
    text-align: center;
}

h2 {
    font-size: 3rem;
    font-weight: 600;
    color: var(--accent-primary);
    margin-bottom: 2rem;
    text-align: center;
}

h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 1.8rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 3rem;
}

/* Section 1 - Intro */
.intro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.intro-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 217, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: border-color 0.2s ease;
}

.intro-item:hover {
    border-color: var(--accent-primary);
}

.intro-item .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.intro-item .label {
    font-size: 1.2rem;
    color: var(--text-primary);
    font-weight: 500;
}

/* Two column layout */
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.column {
    display: flex;
    flex-direction: column;
}

/* Lists */
.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 1rem;
    margin-bottom: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border-left: 4px solid var(--accent-primary);
    border-radius: 8px;
    font-size: 1.1rem;
}

.feature-list li:hover {
    background: rgba(0, 217, 255, 0.1);
}

.feature-list li strong {
    color: var(--accent-primary);
}

/* Video container */
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(0, 217, 255, 0.3);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-container.large {
    max-width: 1000px;
    margin: 0 auto;
}

/* Specs grid */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.spec-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 217, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
    transition: border-color 0.2s ease;
}

.spec-card:hover {
    border-color: var(--accent-primary);
}

.spec-card h3 {
    color: var(--accent-primary);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.spec-detail {
    padding: 0.8rem;
    margin-bottom: 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    font-size: 1.1rem;
}

/* Highlight box */
.highlight-box {
    background: rgba(124, 58, 237, 0.1);
    border: 2px solid var(--accent-secondary);
    border-radius: 16px;
    padding: 2rem;
}

.advantage {
    padding: 0.8rem;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    color: var(--text-primary);
}

/* Sensor grid */
.sensor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.sensor-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 217, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
    transition: border-color 0.2s ease;
}

.sensor-card:hover {
    border-color: var(--accent-primary);
}

.sensor-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.sensor-card p {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 1rem;
}

.info-box {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(124, 58, 237, 0.1);
    border-left: 4px solid var(--accent-secondary);
    border-radius: 8px;
    font-size: 1.1rem;
}

/* Applications grid */
.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.app-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 217, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
    transition: border-color 0.2s ease;
    text-align: center;
}

.app-card:hover {
    border-color: var(--accent-primary);
}

.app-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.app-card h3 {
    color: var(--accent-primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.app-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

/* Case studies */
.case-studies {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.case {
    background: rgba(255, 255, 255, 0.05);
    border-left: 4px solid var(--accent-primary);
    border-radius: 12px;
    padding: 2rem;
}

.case:hover {
    background: rgba(0, 217, 255, 0.1);
}

.case h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.case p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Conclusion */
.conclusion {
    max-width: 900px;
    margin: 2rem auto 4rem;
}

.conclusion-point {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 217, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.conclusion-point h3 {
    color: var(--accent-primary);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.conclusion-point p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    line-height: 1.6;
}

.thanks {
    margin-top: 4rem;
}

.thanks h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.thanks p {
    font-size: 2rem;
    color: var(--text-secondary);
}

/* Section indicators */
.section-indicators {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    z-index: 100;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background 0.2s ease;
}

.indicator:hover {
    background: rgba(0, 217, 255, 0.6);
}

.indicator.active {
    background: var(--accent-primary);
    box-shadow: 0 0 10px var(--accent-primary);
}

/* Connection status */
.connection-status {
    position: fixed;
    top: 2rem;
    right: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.7);
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 100;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ef4444;
}

.connection-status.connected .status-dot {
    background: var(--success);
}

.status-text {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 1024px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .two-column {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .intro-grid,
    .specs-grid,
    .applications-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .slide {
        padding: 2rem 1rem;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .section-indicators {
        display: none;
    }
}
