:root {
    --primary: #0ea5e9;
    --secondary: #38bdf8;
    --accent: #7dd3fc;
    --bg-dark: #0f172a;
    --bg-light: #f8fafc;
    --card-bg: rgba(255, 255, 255, 0.1);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --neon-glow: 0 0 20px rgba(14, 165, 233, 0.3);
    --card-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
    --transition-smooth: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(5deg);
    }
    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

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

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

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

@keyframes borderGlow {
    0% {
        border-color: rgba(14, 165, 233, 0.1);
    }
    50% {
        border-color: rgba(14, 165, 233, 0.3);
    }
    100% {
        border-color: rgba(14, 165, 233, 0.1);
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, sans-serif;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

body {
    background: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(14, 165, 233, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(56, 189, 248, 0.15) 0%, transparent 50%);
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
}

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

.hero-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.15;
}

.container {
    width: 100%;
    max-width: 1200px;
    padding: 2rem;
    position: relative;
    z-index: 2;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.5s forwards;
    overflow-x: hidden;
}

.header {
    text-align: center;
    padding: 6rem 0;
    margin-bottom: 4rem;
    position: relative;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.2) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
    filter: blur(40px);
}

.header-content h1 {
    font-size: 5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
    background-size: 300% 300%;
    animation: gradientFlow 8s ease infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: var(--neon-glow);
    letter-spacing: -2px;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.header-content h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    animation: shimmer 3s infinite linear;
}

.subtitle {
    color: var(--text-secondary);
    font-size: 1.4rem;
    margin-top: 1rem;
    font-weight: 500;
    max-width: 600px;
    margin: 1.5rem auto 0;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 1s forwards;
}

.company-collaboration {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    border: var(--glass-border);
    max-width: fit-content;
    margin: 2.5rem auto 0;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 1.2s forwards;
    box-shadow: var(--card-shadow);
    animation: borderGlow 3s infinite;
}

.collaboration-x {
    color: var(--primary);
    font-weight: bold;
    margin: 0 0.3rem;
    font-size: 1rem;
}

.main-content {
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin: 0;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 1.4s forwards;
}

.feature-card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    border: var(--glass-border);
    box-shadow: var(--card-shadow);
    transition: var(--transition-smooth);
    padding: 2.5rem;
    border-radius: 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transform: translateY(20px);
    opacity: 0;
    animation: borderGlow 3s infinite;
}

.feature-card.visible {
    animation: scaleIn 0.6s ease-out forwards;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), transparent);
    opacity: 0;
    transition: var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-card:hover::before {
    opacity: 1;
}

.icon-wrapper {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    background-size: 200% 200%;
    animation: gradientFlow 8s ease infinite;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(14, 165, 233, 0.3);
}

.icon-wrapper i {
    font-size: 2.8rem;
    color: white;
    animation: float 4s ease-in-out infinite;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
    font-weight: 600;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

.download-section {
    text-align: center;
    padding: 4rem;
    background: var(--card-bg);
    border-radius: 32px;
    border: var(--glass-border);
    position: relative;
    overflow: hidden;
    max-width: 800px;
    margin: 4rem auto;
    box-shadow: var(--card-shadow);
    opacity: 1;
    animation: fadeInUp 0.8s ease-out 1.6s forwards;
    z-index: 2;
}

.download-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.15), transparent);
    animation: shimmer 3s infinite linear;
    z-index: -1;
}

.download-info {
    position: relative;
    z-index: 2;
}

.download-info h2 {
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
    color: var(--text-primary);
    font-weight: 700;
    text-shadow: var(--neon-glow);
}

.download-info p {
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 1.2rem;
}

.download-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.4rem 3rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    background-size: 200% 200%;
    animation: gradientFlow 8s ease infinite;
    color: white;
    text-decoration: none;
    border-radius: 16px;
    transition: var(--transition-smooth);
    margin-top: 2.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(14, 165, 233, 0.3);
    z-index: 2;
}

.download-button:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 12px 32px rgba(14, 165, 233, 0.4);
}

.download-button:active {
    transform: translateY(-2px) scale(0.98);
}

.download-button i {
    font-size: 1.4rem;
    animation: float 3s ease-in-out infinite;
}

.version-info {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 3rem;
    opacity: 0.8;
}

.footer {
    text-align: center;
    padding: 3rem 0;
    margin-top: 5rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent,
        var(--primary),
        transparent);
}

.copyright {
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
    font-size: 0.9rem;
}

.company-links {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.company-links a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition-smooth);
    font-weight: 500;
}

.company-links a:hover {
    color: var(--secondary);
}

.separator {
    margin: 0 0.6rem;
    color: var(--text-secondary);
    opacity: 0.5;
}

.language-switcher {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 100;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.8s forwards;
}

.lang-btn {
    background: var(--glass-bg);
    border: var(--glass-border);
    color: var(--text-primary);
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: var(--transition-smooth);
    font-weight: 500;
    backdrop-filter: blur(12px);
    box-shadow: var(--card-shadow);
    animation: borderGlow 3s infinite;
}

.lang-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(14, 165, 233, 0.3);
}

@media (max-width: 768px) {
    .container {
        padding: 1.5rem;
        width: 100%;
        max-width: 100%;
    }
    
    .header {
        padding: 3rem 0;
        margin-bottom: 2rem;
        width: 100%;
    }
    
    .header-content h1 {
        font-size: 3.5rem;
        word-wrap: break-word;
        padding: 0 1rem;
    }
    
    .features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        width: 100%;
        padding: 0 1rem;
    }
    
    .feature-card {
        padding: 2rem;
        width: 100%;
    }
    
    .download-section {
        padding: 2.5rem 1.5rem;
        margin: 2rem 1rem;
        width: calc(100% - 2rem);
    }
    
    .download-info h2 {
        font-size: 2rem;
        word-wrap: break-word;
    }
    
    .download-button {
        width: 100%;
        justify-content: center;
        padding: 1.2rem 2rem;
    }

    .company-collaboration {
        flex-wrap: wrap;
        padding: 1rem;
        margin: 2rem 1rem 0;
        width: calc(100% - 2rem);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 1rem;
    }
    
    .header-content h1 {
        font-size: 2.8rem;
        padding: 0 0.5rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
        padding: 0 0.5rem;
    }
    
    .features {
        gap: 1.2rem;
        padding: 0 0.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .icon-wrapper {
        width: 80px;
        height: 80px;
    }
    
    .download-button {
        padding: 1rem 1.5rem;
        font-size: 1.1rem;
    }
    
    .company-links {
        display: flex;
        flex-direction: column;
        gap: 0.8rem;
        padding: 0 0.5rem;
    }
    
    .separator {
        display: none;
    }

    .language-switcher {
        right: 1rem;
    }

    .lang-btn {
        padding: 0.6rem 1rem;
    }
}
