:root {
    --bg-dark: #0A0A0A;
    --text-main: #FFFFFF;
    --text-muted: #A1A1AA;
    --primary: #8B5CF6;
    --primary-hover: #7C3AED;
    --secondary: #27272A;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Background Glows */
.glow-blob {
    position: absolute;
    width: 600px;
    height: 600px;
    background: var(--primary);
    filter: blur(150px);
    border-radius: 50%;
    opacity: 0.15;
    z-index: -1;
}
.blob-1 { top: -200px; left: -200px; }
.blob-2 { bottom: 20%; right: -200px; background: #3B82F6; }

/* Navbar */
.navbar {
    padding: 24px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}
.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -1px;
    color: white;
    text-decoration: none;
}
.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 32px;
    font-weight: 600;
    transition: color 0.3s;
}
.nav-links a:hover {
    color: var(--text-main);
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80vh;
    padding: 80px 24px;
    gap: 60px;
}
.hero-text {
    flex: 1;
}
.badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 24px;
}
.hero-title {
    font-size: 64px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 24px;
}
.highlight {
    color: var(--primary);
}
.hero-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}
.cta-group {
    display: flex;
    gap: 16px;
}
.btn {
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    text-align: center;
}
.btn-primary {
    background: var(--primary);
    color: white;
}
.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}
.btn-secondary {
    background: var(--glass-bg);
    color: white;
    border: 1px solid var(--glass-border);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

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

/* Hero Carousel */
.hero-carousel {
    width: 320px;
    height: 650px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border-radius: 40px;
    border: 12px solid #27272a;
    background-color: #09090b;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5), 0 0 100px rgba(99, 102, 241, 0.2);
}

.carousel-slide {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: var(--primary);
}

/* Features Section */
.features {
    padding: 100px 24px;
}
.section-title {
    font-size: 40px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 60px;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.feature-card {
    padding: 32px;
    border-radius: 24px;
    text-align: left;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 24px;
}

/* Mobile Features Carousel */
@media (max-width: 768px) {
    .features-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 16px;
        padding-bottom: 24px;
        -webkit-overflow-scrolling: touch;
    }
    
    .feature-card {
        min-width: 280px;
        scroll-snap-align: center;
    }
}
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
}
.feature-card .icon {
    font-size: 48px;
    margin-bottom: 24px;
}
.feature-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
}
.feature-card p {
    color: var(--text-muted);
}

/* Footer */
.footer {
    padding: 60px 0;
    margin-top: 100px;
    border-top: 1px solid var(--glass-border);
}
.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}
.footer-col h4 {
    margin-bottom: 16px;
    font-size: 18px;
}
.footer-col a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.3s;
}
.footer-col a:hover {
    color: var(--text-main);
}
.company-name, .copyright {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 12px;
}

/* Responsive */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 40px;
    }
    .hero-subtitle {
        margin: 0 auto 40px;
    }
    .cta-group {
        justify-content: center;
        flex-wrap: wrap;
    }
    .mockup-frame {
        width: 280px;
        height: 570px;
    }
    .hero-title {
        font-size: 48px;
    }
}

/* Language Switcher */
.lang-switcher {
    display: inline-flex;
    margin-left: 24px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    overflow: hidden;
}
.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 6px 12px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}
.lang-btn.active {
    background: var(--primary);
    color: white;
}

/* Contact Section */
.contact-section {
    padding: 60px 24px;
    text-align: center;
}
.contact-box {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 24px;
}
.contact-box h2 {
    font-size: 32px;
    margin-bottom: 16px;
}
.contact-box p {
    color: var(--text-muted);
    margin-bottom: 32px;
}
.contact-btn {
    display: inline-block;
}

/* Mobile Header Fixes */
@media (max-width: 768px) {
    .nav-content {
        flex-direction: column;
        gap: 16px;
    }
    .lang-switcher {
        margin-left: 0;
        margin-top: 16px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    .logo {
        text-decoration: none;
        color: white;
    }
    .nav-links a {
        margin: 0 12px;
    }
}
