/* MTV Craft - Main CSS File */
/* ================================= */

/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* CSS Variables - Artistic & Premium Color Scheme */
:root {
    /* Primary Color Palette - Deep Purple to Violet */
    --primary-color: #7c3aed;      /* Rich violet */
    --primary-dark: #5b21b6;       /* Deep purple */
    --primary-light: #a855f7;      /* Light purple */
    --primary-ultra-light: #c4b5fd; /* Ultra light purple */
    
    /* Secondary Color Palette - Warm Gradients */
    --secondary-color: #6366f1;    /* Indigo */
    --secondary-warm: #f59e0b;     /* Warm amber */
    --secondary-pink: #ec4899;     /* Vibrant pink */
    --secondary-teal: #14b8a6;     /* Sophisticated teal */
    
    /* Accent Colors */
    --accent-color: #f59e0b;       /* Warm amber */
    --accent-rose: #f43f5e;        /* Rose accent */
    --accent-emerald: #10b981;     /* Emerald green */
    --accent-sky: #0ea5e9;         /* Sky blue */
    
    /* Status Colors */
    --success-color: #059669;      /* Deep emerald */
    --warning-color: #d97706;      /* Deep amber */
    --error-color: #dc2626;        /* Deep red */
    --info-color: #0284c7;         /* Deep sky */
    
    /* Neutral Colors - Sophisticated Grays */
    --white: #ffffff;
    --cream: #fefdfb;              /* Warm white */
    --gray-50: #fafaf9;            /* Warm gray 50 */
    --gray-100: #f5f5f4;           /* Warm gray 100 */
    --gray-200: #e7e5e4;           /* Warm gray 200 */
    --gray-300: #d6d3d1;           /* Warm gray 300 */
    --gray-400: #a8a29e;           /* Warm gray 400 */
    --gray-500: #78716c;           /* Warm gray 500 */
    --gray-600: #57534e;           /* Warm gray 600 */
    --gray-700: #44403c;           /* Warm gray 700 */
    --gray-800: #292524;           /* Warm gray 800 */
    --gray-900: #1c1917;           /* Warm gray 900 */
    
    /* Dark Theme Colors */
    --dark-bg: #0f0f0f;            /* Pure dark */
    --dark-surface: #1a1a1a;       /* Dark surface */
    --dark-border: #2a2a2a;        /* Dark border */
    
    /* Typography */
    --font-family-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-family-mono: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, monospace;
    
    /* Font Sizes */
    --text-xs: 0.75rem;    /* 12px */
    --text-sm: 0.875rem;   /* 14px */
    --text-base: 1rem;     /* 16px */
    --text-lg: 1.125rem;   /* 18px */
    --text-xl: 1.25rem;    /* 20px */
    --text-2xl: 1.5rem;    /* 24px */
    --text-3xl: 1.875rem;  /* 30px */
    --text-4xl: 2.25rem;   /* 36px */
    --text-5xl: 3rem;      /* 48px */
    --text-6xl: 3.75rem;   /* 60px */
    
    /* Spacing */
    --space-1: 0.25rem;    /* 4px */
    --space-2: 0.5rem;     /* 8px */
    --space-3: 0.75rem;    /* 12px */
    --space-4: 1rem;       /* 16px */
    --space-5: 1.25rem;    /* 20px */
    --space-6: 1.5rem;     /* 24px */
    --space-8: 2rem;       /* 32px */
    --space-10: 2.5rem;    /* 40px */
    --space-12: 3rem;      /* 48px */
    --space-16: 4rem;      /* 64px */
    --space-20: 5rem;      /* 80px */
    --space-24: 6rem;      /* 96px */
    
    /* Border Radius */
    --radius-sm: 0.125rem;
    --radius-base: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-full: 9999px;
    
    /* Premium Shadows with Color Tints */
    --shadow-sm: 0 1px 2px 0 rgb(124 58 237 / 0.05);
    --shadow-base: 0 1px 3px 0 rgb(124 58 237 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(124 58 237 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(124 58 237 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(124 58 237 / 0.15), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-colored: 0 8px 32px rgb(124 58 237 / 0.15);
    --shadow-glow: 0 0 20px rgb(168 85 247 / 0.4);
    
    /* Artistic Gradients */
    --gradient-primary: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #ec4899 100%);
    --gradient-secondary: linear-gradient(135deg, #6366f1 0%, #14b8a6 100%);
    --gradient-warm: linear-gradient(135deg, #f59e0b 0%, #f43f5e 100%);
    --gradient-cool: linear-gradient(135deg, #0ea5e9 0%, #7c3aed 100%);
    --gradient-sunset: linear-gradient(135deg, #f43f5e 0%, #f59e0b 50%, #ec4899 100%);
    --gradient-ocean: linear-gradient(135deg, #0ea5e9 0%, #14b8a6 50%, #7c3aed 100%);
    --gradient-cosmic: linear-gradient(135deg, #1c1917 0%, #292524 30%, #5b21b6 70%, #7c3aed 100%);
    
    /* Glass Morphism Effects */
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
    --backdrop-blur: blur(20px);
    
    /* Breakpoints */
    --breakpoint-sm: 640px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 1024px;
    --breakpoint-xl: 1280px;
    --breakpoint-2xl: 1536px;
    
    /* Container */
    --container-max-width: 1200px;
    
    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-base: 250ms ease-in-out;
    --transition-slow: 350ms ease-in-out;
}

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-primary);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: var(--white);
    padding: var(--space-2) var(--space-4);
    text-decoration: none;
    border-radius: var(--radius-base);
    z-index: 1000;
    transition: var(--transition-fast);
}

.skip-link:focus {
    top: 6px;
}

/* Container */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--space-4);
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--space-6);
    }
}

/* Premium Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-3) var(--space-6);
    font-size: var(--text-sm);
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    box-shadow: var(--shadow-colored);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    filter: brightness(1.1);
}

.btn-secondary {
    background: var(--glass-bg);
    backdrop-filter: var(--backdrop-blur);
    color: var(--white);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: var(--backdrop-blur);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-large {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-base);
    border-radius: var(--radius-xl);
}

/* Premium Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(30, 27, 35, 0.95);
    backdrop-filter: var(--backdrop-blur);
    border-bottom: 1px solid rgba(124, 58, 237, 0.2);
    z-index: 50;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-colored);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4) var(--space-6);
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.brand-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--white);
    font-weight: 600;
    font-size: var(--text-xl);
    text-shadow: 0 1px 3px rgba(124, 58, 237, 0.3);
    transition: var(--transition-fast);
}

.brand-link:hover {
    transform: scale(1.05);
}

.brand-logo {
    width: 32px;
    height: 32px;
    margin-right: var(--space-2);
}

.nav-menu {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
}

@media (min-width: 768px) {
    .nav-menu {
        display: flex;
        align-items: center;
        gap: var(--space-8);
    }
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-fast);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-base);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.nav-link:hover {
    color: var(--white);
    background: rgba(124, 58, 237, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.15);
}

.nav-actions {
    display: none;
}

@media (min-width: 768px) {
    .nav-actions {
        display: flex;
        align-items: center;
        gap: var(--space-4);
    }
}

.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

@media (min-width: 768px) {
    .mobile-menu-toggle {
        display: none;
    }
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background-color: var(--white);
    margin: 2px 0;
    transition: var(--transition-fast);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Mobile Menu Styles */
@media (max-width: 767px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background-color: var(--white);
        border-top: 1px solid var(--gray-200);
        box-shadow: var(--shadow-lg);
        padding: var(--space-6);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-base);
        z-index: 40;
    }
    
    .nav-menu.mobile-menu-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: var(--space-4);
    }
    
    .nav-link {
        padding: var(--space-3) 0;
        border-bottom: 1px solid var(--gray-100);
        font-size: var(--text-lg);
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    body.mobile-menu-active {
        overflow: hidden;
    }
}

/* Navigation active states */
.nav-link.active {
    color: var(--primary-color);
    position: relative;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--primary-color);
    border-radius: var(--radius-full);
}

@media (max-width: 767px) {
    .nav-link.active::after {
        display: none;
    }
    
    .nav-link.active {
        background-color: var(--gray-50);
        border-radius: var(--radius-base);
        margin: 0 calc(-1 * var(--space-3));
        padding-left: var(--space-3);
        padding-right: var(--space-3);
    }
}

/* Header scroll state */
.header.scrolled {
    background: rgba(22, 20, 28, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-colored);
    border-bottom: 1px solid rgba(124, 58, 237, 0.3);
}

/* Main Content */
main {
    margin-top: 80px;
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: var(--space-16);
}

.section-title {
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-4);
    line-height: 1.2;
}

.section-description {
    font-size: var(--text-lg);
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* Hero Section - Artistic & Premium Design */
.hero-section {
    padding: var(--space-24) 0;
    background: var(--gradient-cosmic);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 40%, rgba(168, 85, 247, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(236, 72, 153, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 40% 80%, rgba(20, 184, 166, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.03"><circle cx="30" cy="30" r="1.5"/></g></svg>');
    pointer-events: none;
}

.hero-content {
    display: grid;
    gap: var(--space-12);
    align-items: center;
    position: relative;
    z-index: 10;
}

@media (min-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-16);
    }
}

.hero-title {
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: var(--space-6);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
    .hero-title {
        font-size: var(--text-5xl);
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: var(--text-6xl);
    }
}

.highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(168, 85, 247, 0.3));
}

.hero-lead {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-8);
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.detail-grid {
    display: grid;
    gap: var(--space-6);
    margin-bottom: var(--space-8);
}

@media (min-width: 768px) {
    .detail-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.detail-item {
    padding: var(--space-6);
    background: var(--glass-bg);
    backdrop-filter: var(--backdrop-blur);
    border-radius: var(--radius-lg);
    box-shadow: var(--glass-shadow);
    border: 1px solid var(--glass-border);
    transition: all var(--transition-base);
}

.detail-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.detail-item h3 {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--white);
    margin-bottom: var(--space-3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.detail-item p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    margin-bottom: var(--space-8);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    margin-top: var(--space-8);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    font-size: var(--text-sm);
    color: var(--gray-600);
    margin-top: var(--space-1);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-video-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
}

.video-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.play-button {
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: var(--radius-full);
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
    box-shadow: var(--shadow-lg);
}

.play-button:hover {
    background-color: var(--white);
    transform: scale(1.1);
}

/* Features Section - Premium Design */
.features-section {
    padding: var(--space-20) 0;
    background: linear-gradient(135deg, var(--cream) 0%, var(--gray-50) 100%);
    position: relative;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 20%, rgba(124, 58, 237, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 20% 80%, rgba(20, 184, 166, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.features-grid {
    display: grid;
    gap: var(--space-8);
    margin-top: var(--space-12);
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    padding: var(--space-8);
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.feature-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
    border-color: var(--primary-light);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-4);
    box-shadow: var(--shadow-colored);
    transition: var(--transition-base);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
}

.feature-icon .icon {
    width: 32px;
    height: 32px;
    filter: brightness(0) invert(1);
}

.feature-title {
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--space-3);
}

.feature-description {
    color: var(--gray-600);
    line-height: 1.6;
}

/* Demo Section */
.demo-section {
    padding: var(--space-20) 0;
    background-color: var(--gray-50);
}

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

.demo-iframe-wrapper {
    position: relative;
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    margin-bottom: var(--space-8);
}

.demo-iframe-wrapper iframe {
    display: block;
    border: none;
}

.demo-info {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.demo-info h3 {
    font-size: var(--text-2xl);
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--space-4);
}

.demo-steps {
    text-align: left;
    max-width: 400px;
    margin: 0 auto;
}

.demo-steps li {
    color: var(--gray-600);
    margin-bottom: var(--space-2);
    padding-left: var(--space-2);
}

/* Technical Section */
.technical-section {
    padding: var(--space-20) 0;
    background-color: var(--white);
}

.technical-content {
    max-width: 1000px;
    margin: 0 auto;
}

.technical-section-wrapper {
    margin-bottom: var(--space-12);
}

.technical-card {
    background-color: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.technical-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.technical-subtitle {
    font-size: var(--text-2xl);
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--space-6);
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.technical-text {
    color: var(--gray-700);
    line-height: 1.7;
}

.technical-text p {
    margin-bottom: var(--space-4);
    text-align: justify;
}

.technical-text p:last-child {
    margin-bottom: 0;
}

.technical-specs {
    background-color: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    box-shadow: var(--shadow-lg);
}

.technical-specs .technical-subtitle {
    color: var(--white);
    margin-bottom: var(--space-8);
}

.specs-grid {
    display: grid;
    gap: var(--space-6);
    margin-top: var(--space-6);
}

@media (min-width: 768px) {
    .specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .specs-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.spec-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: var(--space-4);
    border-radius: var(--radius-base);
    backdrop-filter: blur(10px);
}

.spec-item h4 {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--white);
    margin-bottom: var(--space-2);
}

.spec-item p {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* Resources Section */
.resources-section {
    padding: var(--space-20) 0;
    background-color: var(--gray-50);
}

.resources-grid {
    display: grid;
    gap: var(--space-8);
    margin-top: var(--space-12);
}

@media (min-width: 768px) {
    .resources-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.resource-card {
    padding: var(--space-8);
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-base);
    text-align: center;
    border: 1px solid var(--gray-100);
    transition: var(--transition-base);
}

.resource-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.resource-card h3 {
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--space-3);
}

.resource-card p {
    color: var(--gray-600);
    margin-bottom: var(--space-6);
    line-height: 1.6;
}

/* Premium Footer */
.footer {
    background: var(--gradient-cosmic);
    color: var(--gray-300);
    padding: var(--space-16) 0 var(--space-8);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(168, 85, 247, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(236, 72, 153, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.footer-content {
    display: grid;
    gap: var(--space-8);
    margin-bottom: var(--space-8);
    position: relative;
    z-index: 10;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-12);
    }
}

.footer-brand h3 {
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--white);
    margin-bottom: var(--space-2);
}

.footer-brand p {
    color: var(--gray-400);
}

.footer-links {
    display: grid;
    gap: var(--space-6);
}

@media (min-width: 768px) {
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

.footer-section h4 {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--white);
    margin-bottom: var(--space-3);
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: var(--space-2);
}

.footer-section a {
    color: var(--gray-400);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-section a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-8);
    border-top: 1px solid var(--gray-700);
    color: var(--gray-400);
}

/* Responsive Design */
@media (max-width: 767px) {
    .hero-actions {
        flex-direction: column;
    }
    
    .btn-large {
        width: 100%;
        justify-content: center;
    }
}

/* Premium Animations and Transitions */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes glow {
    0%, 100% {
        filter: drop-shadow(0 0 5px rgba(168, 85, 247, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(168, 85, 247, 0.8));
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

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

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

@keyframes backgroundShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-glow {
    animation: glow 2s ease-in-out infinite;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* Special animations for hero elements */
.hero-visual {
    animation: float 4s ease-in-out infinite;
}

.play-button {
    animation: pulse 2s ease-in-out infinite;
}

.brand-logo {
    animation: glow 3s ease-in-out infinite;
}

/* Enhanced hover effects */
.feature-card:hover .feature-icon {
    animation: pulse 0.6s ease-in-out;
}

/* Gradient animation for backgrounds */
.hero-section {
    background-size: 200% 200%;
    animation: backgroundShift 8s ease infinite;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-4 {
    margin-bottom: var(--space-4);
}

.mb-6 {
    margin-bottom: var(--space-6);
}

.mb-8 {
    margin-bottom: var(--space-8);
}

.mt-4 {
    margin-top: var(--space-4);
}

.mt-6 {
    margin-top: var(--space-6);
}

.mt-8 {
    margin-top: var(--space-8);
}

/* Focus States for Accessibility */
.btn:focus,
.nav-link:focus,
.brand-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Legal Pages Styles */
.legal-page {
    background-color: var(--gray-50);
    min-height: 100vh;
    padding: var(--space-20) 0;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-12);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

.legal-header {
    text-align: center;
    margin-bottom: var(--space-16);
    padding-bottom: var(--space-8);
    border-bottom: 2px solid var(--gray-100);
}

.legal-title {
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-4);
    line-height: 1.2;
}

.legal-subtitle {
    font-size: var(--text-lg);
    color: var(--gray-600);
    font-weight: 500;
    margin-bottom: var(--space-6);
}

.legal-intro {
    font-size: var(--text-base);
    color: var(--gray-700);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.legal-sections {
    margin-bottom: var(--space-12);
}

.legal-section {
    margin-bottom: var(--space-10);
    padding-bottom: var(--space-8);
    border-bottom: 1px solid var(--gray-100);
}

.legal-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.section-heading {
    font-size: var(--text-2xl);
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-3);
    border-bottom: 1px solid var(--primary-color);
    position: relative;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: var(--primary-color);
}

.section-content {
    color: var(--gray-700);
    line-height: 1.7;
}

.section-content h3 {
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--gray-800);
    margin-top: var(--space-6);
    margin-bottom: var(--space-4);
}

.section-content p {
    margin-bottom: var(--space-4);
    text-align: justify;
}

.section-content p:last-child {
    margin-bottom: 0;
}

.legal-list {
    margin: var(--space-4) 0;
    padding-left: var(--space-6);
}

.legal-list li {
    margin-bottom: var(--space-2);
    color: var(--gray-700);
    line-height: 1.6;
}

.legal-list li:last-child {
    margin-bottom: 0;
}

.legal-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-fast);
}

.legal-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.legal-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-4);
    margin-top: var(--space-12);
    padding-top: var(--space-8);
    border-top: 2px solid var(--gray-100);
}

.legal-links {
    display: flex;
    gap: var(--space-6);
    flex-wrap: wrap;
}

/* License Text Formatting */
.license-text {
    background-color: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    margin: var(--space-6) 0;
    overflow-x: auto;
}

.license-text pre {
    margin: 0;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.license-text code {
    font-family: var(--font-family-mono);
    font-size: var(--text-sm);
    line-height: 1.6;
    color: var(--gray-800);
    background: none;
    padding: 0;
}

/* Responsive Design for Legal Pages */
@media (max-width: 768px) {
    .legal-content {
        margin: 0 var(--space-4);
        padding: var(--space-8);
        border-radius: var(--radius-lg);
    }
    
    .legal-title {
        font-size: var(--text-3xl);
    }
    
    .section-heading {
        font-size: var(--text-xl);
    }
    
    .legal-navigation {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    
    .legal-links {
        justify-content: center;
    }
    
    .license-text {
        padding: var(--space-4);
    }
    
    .license-text code {
        font-size: var(--text-xs);
    }
}

@media (max-width: 480px) {
    .legal-page {
        padding: var(--space-12) 0;
    }
    
    .legal-content {
        margin: 0 var(--space-2);
        padding: var(--space-6);
    }
    
    .legal-title {
        font-size: var(--text-2xl);
    }
    
    .legal-intro {
        font-size: var(--text-sm);
    }
    
    .section-heading {
        font-size: var(--text-lg);
    }
    
    .legal-links {
        flex-direction: column;
        gap: var(--space-3);
    }
}

/* Enhanced readability for legal content */
.legal-section .section-content {
    font-size: var(--text-base);
    line-height: 1.8;
}

.legal-section .section-content strong {
    font-weight: 600;
    color: var(--gray-800);
}

.legal-section .section-content em {
    font-style: italic;
    color: var(--gray-600);
}

/* Highlight important legal notices */
.legal-notice {
    background-color: var(--yellow-50);
    border: 1px solid var(--yellow-200);
    border-radius: var(--radius-base);
    padding: var(--space-4);
    margin: var(--space-4) 0;
}

.legal-notice p {
    margin: 0;
    color: var(--gray-800);
    font-weight: 500;
}

/* Print Styles for Legal Pages */
@media print {
    .header,
    .footer,
    .demo-section,
    .legal-navigation {
        display: none;
    }
    
    .legal-page {
        background: white;
        padding: 0;
    }
    
    .legal-content {
        box-shadow: none;
        border: none;
        max-width: none;
        margin: 0;
        padding: 0;
    }
    
    .legal-title {
        font-size: 24pt;
        margin-bottom: 12pt;
    }
    
    .section-heading {
        font-size: 16pt;
        margin-top: 18pt;
        margin-bottom: 12pt;
        page-break-after: avoid;
    }
    
    .section-content {
        font-size: 11pt;
        line-height: 1.4;
    }
    
    .legal-section {
        page-break-inside: avoid;
        margin-bottom: 18pt;
    }
    
    .license-text {
        background: none;
        border: 1px solid #000;
        padding: 12pt;
        font-size: 9pt;
    }
}

/* General Print Styles */
@media print {
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .hero-title {
        font-size: 24pt;
    }
    
    .section-title {
        font-size: 18pt;
    }
}