/* Landing Page Styles - Droven Demo */

/* Reset and Base */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Geist', system-ui, -apple-system, sans-serif;
    background: #0f0f0f;
    color: #f5f5f5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* Design System Variables */
:root {
    --onyx-black: #0a0a0a;
    --onyx-text-primary: #f5f5f5;
    --onyx-text-secondary: #a8a8a8;
    --onyx-text-muted: #7a7a7a;
    --accent-blue: #3b82f6;
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 96px;
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 2rem;
    --text-4xl: 2.5rem;
    --text-5xl: 3.5rem;
    --transition-fast: 0.15s ease;
    --transition-medium: 0.25s ease;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 120px;
    background: #0f0f0f;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-4xl) var(--space-lg);
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(1rem, 4vw, 1.25rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-description {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.6;
    color: white;
}

.hero-description p {
    margin-bottom: 1rem;
}

.hero-description p:last-child {
    margin-bottom: 0;
}

/* Demo Section */
.demo-section {
    background: #0f0f0f;
    padding: var(--space-4xl) 0;
}

.demo-section .section-header {
    text-align: center;
    margin-bottom: var(--space-4xl);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.demo-section .section-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    color: var(--onyx-text-primary);
    margin-bottom: var(--space-xl);
    letter-spacing: -0.02em;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--onyx-text-primary) 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.demo-section .section-subtitle {
    font-size: var(--text-xl);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    text-align: center;
    color: #f5f5f5;
}

/* Demo Features */
.demo-feature {
    margin-bottom: var(--space-4xl);
}

.demo-feature:last-child {
    margin-bottom: 0;
}

.demo-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.demo-feature.reverse .demo-content {
    grid-template-columns: 1fr 1fr;
}

.demo-feature.reverse .demo-text {
    order: 2;
}

.demo-feature.reverse .demo-visual {
    order: 1;
}

.demo-text {
    padding: var(--space-lg);
}

.demo-feature-title {
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--onyx-text-primary);
    line-height: 1.2;
    margin-bottom: var(--space-lg);
}

.demo-feature-description {
    font-size: var(--text-lg);
    color: var(--onyx-text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-xl);
}

.demo-feature-points {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.feature-point {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-size: var(--text-base);
    color: var(--onyx-text-secondary);
}

.point-icon {
    color: #22c55e;
    flex-shrink: 0;
}

.demo-visual {
    position: relative;
}

.demo-video-container {
    position: relative;
    width: 100%;
    max-width: 750px;
    margin: 0 auto;
    aspect-ratio: 16/10;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.demo-video-container:hover {
    transform: scale(1.02);
    border-color: rgba(255, 255, 255, 0.3);
}

.demo-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-fallback {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 26, 26, 0.9);
    color: var(--onyx-text-secondary);
    font-size: var(--text-sm);
    text-align: center;
    padding: var(--space-lg);
}

/* Technology Stack Section */
#tech-stack.demo-section .section-header {
    text-align: center;
    margin-bottom: var(--space-4xl);
}

#tech-stack.demo-section .section-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    color: var(--onyx-text-primary);
    margin-bottom: var(--space-xl);
    letter-spacing: -0.02em;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--onyx-text-primary) 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#tech-stack.demo-section .section-subtitle {
    font-size: var(--text-xl);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    text-align: center;
    color: #f5f5f5;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .demo-content {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .demo-feature.reverse .demo-text,
    .demo-feature.reverse .demo-visual {
        order: unset;
    }
    
    .demo-text {
        text-align: center;
        padding: var(--space-md);
    }
    
    .demo-feature-title {
        font-size: var(--text-2xl);
    }
    
    .demo-feature-description {
        font-size: var(--text-base);
    }
}

@media (max-width: 768px) {
    .section-container {
        padding: var(--space-2xl) var(--space-lg);
    }
    
    .demo-feature {
        margin-bottom: var(--space-3xl);
    }
    
    .demo-content {
        gap: var(--space-2xl);
        display: flex;
        flex-direction: column;
    }
    
    .demo-text {
        padding: var(--space-lg);
        order: 1;
    }
    
    .demo-visual {
        order: 2;
        width: 100%;
    }
    
    .demo-feature-title {
        font-size: var(--text-xl);
        margin-bottom: var(--space-md);
    }
    
    .demo-feature-description {
        font-size: var(--text-base);
        margin-bottom: var(--space-lg);
    }
    
    .demo-feature-points {
        gap: var(--space-md);
    }
    
    .feature-point {
        font-size: var(--text-sm);
        gap: var(--space-sm);
    }
    
    .demo-video-container {
        width: 100%;
        max-width: 100%;
        height: auto;
        aspect-ratio: 16/10;
        margin: 0;
        border-radius: 12px;
        transform: none;
    }
    
    .demo-video-container:hover {
        transform: none;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding-top: 100px;
        min-height: 100vh;
    }
    
    .section-container {
        padding: var(--space-lg) var(--space-md);
    }
    
    .hero-title {
        font-size: clamp(1.75rem, 7vw, 2.5rem);
        line-height: 1.2;
        margin-bottom: var(--space-lg);
    }
    
    .hero-subtitle {
        font-size: clamp(1rem, 4vw, 1.25rem);
        line-height: 1.5;
        margin-bottom: var(--space-xl);
        padding: 0 var(--space-sm);
    }
    
    .demo-feature-title {
        font-size: var(--text-lg);
    }
    
    .demo-feature-description {
        font-size: var(--text-xs);
    }
    
    .feature-point {
        font-size: var(--text-xs);
    }
    
    .demo-video-container {
        border-radius: 12px;
    }
}
