:root {
    --primary: #00d4ff;
    --secondary: #ff6b9d;
    --accent: #c77dff;
    --success: #00ff88;
    --warning: #ffb347;
    --bg-dark: #0a0a0f;
    --bg-card: rgba(15, 15, 23, 0.8);
    --text-primary: #ffffff;
    --text-secondary: #b4b4b4;
    --text-muted: #6b7280;
    --border: rgba(255, 255, 255, 0.1);
    --glow: rgba(0, 212, 255, 0.3);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

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

body {
    font-family: 'JetBrains Mono', monospace;
    background: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 107, 157, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(199, 125, 255, 0.15) 0%, transparent 50%),
        linear-gradient(135deg, var(--bg-dark) 0%, #0f0f17 100%);
    animation: gradientShift 20s ease infinite;
    will-change: transform;
}

.mesh-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.4;
    background-image: 
        radial-gradient(at 40% 20%, hsla(228, 100%, 74%, 0.1) 0px, transparent 50%),
        radial-gradient(at 80% 0%, hsla(189, 100%, 56%, 0.1) 0px, transparent 50%),
        radial-gradient(at 80% 50%, hsla(340, 100%, 76%, 0.1) 0px, transparent 50%);
    animation: meshMove 25s ease infinite alternate;
}
        
@keyframes gradientShift {
    0%, 100% { transform: translateX(0) translateY(0) scale(1); }
    25% { transform: translateX(-10px) translateY(-5px) scale(1.02); }
    50% { transform: translateX(10px) translateY(5px) scale(0.98); }
    75% { transform: translateX(-5px) translateY(10px) scale(1.01); }
}

@keyframes meshMove {
    0% { transform: rotate(0deg) scale(1); }
    100% { transform: rotate(360deg) scale(1.1); }
}

.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    will-change: transform;
}

.particle:nth-child(1) {
    width: 4px;
    height: 4px;
    background: var(--primary);
    top: 20%;
    left: 10%;
    animation: float 8s ease-in-out infinite;
    box-shadow: 0 0 10px var(--primary);
}

.particle:nth-child(2) {
    width: 6px;
    height: 6px;
    background: var(--secondary);
    top: 60%;
    right: 10%;
    animation: float 12s ease-in-out infinite reverse;
    animation-delay: 2s;
    box-shadow: 0 0 15px var(--secondary);
}

.particle:nth-child(3) {
    width: 3px;
    height: 3px;
    background: var(--accent);
    top: 40%;
    left: 80%;
    animation: float 10s ease-in-out infinite;
    animation-delay: 4s;
    box-shadow: 0 0 8px var(--accent);
}

.particle:nth-child(4) {
    width: 5px;
    height: 5px;
    background: var(--success);
    top: 80%;
    left: 30%;
    animation: float 15s ease-in-out infinite;
    animation-delay: 6s;
    box-shadow: 0 0 12px var(--success);
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0) translateX(0) rotate(0deg) scale(1);
        opacity: 0.7;
    }
    33% { 
        transform: translateY(-30px) translateX(20px) rotate(120deg) scale(1.2);
        opacity: 1;
    }
    66% { 
        transform: translateY(15px) translateX(-15px) rotate(240deg) scale(0.8);
        opacity: 0.8;
    }
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.main-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px) saturate(1.2);
    border: 1px solid var(--border);
    border-radius: 32px;
    padding: 3rem;
    text-align: center;
    max-width: 700px;
    width: 100%;
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateY(30px);
    opacity: 0;
    animation: slideInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    position: relative;
    will-change: transform, opacity;
}

.main-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    border-radius: 32px 32px 0 0;
}

@keyframes slideInUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.bot-icon {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    overflow: hidden;
    position: relative;
    box-shadow: 
        0 20px 40px rgba(0, 212, 255, 0.3);
    will-change: transform;
}

.bot-icon::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: conic-gradient(
        from 0deg,
        var(--primary) 0deg,
        var(--accent) 90deg,
        var(--primary) 180deg,
        var(--accent) 270deg,
        var(--primary) 360deg
    );
    border-radius: 32px;
    animation: waveRotate 4s linear infinite;
    z-index: -1;
}

.bot-icon::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

.bot-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    position: relative;
    z-index: 2;
}

@keyframes waveRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    50% { transform: translateX(100%) translateY(100%) rotate(45deg); }
    100% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
}

.title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
    position: relative;
    will-change: transform;
}

.title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
    animation: titleUnderline 2s ease infinite;
}

@keyframes titleUnderline {
    0%, 100% { width: 60px; opacity: 0.8; }
    50% { width: 80px; opacity: 1; }
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.7;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1.5rem 0 3rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
    background: rgba(0, 255, 136, 0.1);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    border: 1px solid rgba(0, 255, 136, 0.2);
    backdrop-filter: blur(10px);
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--success);
    animation: statusPulse 2s ease-in-out infinite;
    box-shadow: 0 0 10px var(--success);
}

@keyframes statusPulse {
    0%, 100% { 
        opacity: 1;
        transform: scale(1);
    }
    50% { 
        opacity: 0.7;
        transform: scale(1.2);
    }
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.feature {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    will-change: transform;
}

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

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

.feature:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--primary);
    box-shadow: 
        0 20px 40px rgba(0, 212, 255, 0.2),
        0 0 0 1px rgba(0, 212, 255, 0.1);
    background: rgba(255, 255, 255, 0.08);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: block;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    animation: iconFloat 3s ease-in-out infinite;
}
        
.feature:nth-child(1) .feature-icon { animation-delay: 0s; }
.feature:nth-child(2) .feature-icon { animation-delay: 0.5s; }
.feature:nth-child(3) .feature-icon { animation-delay: 1s; }
.feature:nth-child(4) .feature-icon { animation-delay: 1.5s; }

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

.feature h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--primary);
    font-weight: 600;
}

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

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 3rem 0;
}

.btn {
    padding: 1.25rem 2.5rem;
    border: none;
    border-radius: 20px;
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    will-change: transform;
    min-width: 200px;
    justify-content: center;
}

.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 ease;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 
        0 8px 25px rgba(0, 212, 255, 0.3),
        0 3px 10px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: 2px solid var(--border);
    backdrop-filter: blur(10px);
}

.btn:hover {
    transform: translateY(-4px) scale(1.05);
}

.btn:active {
    transform: translateY(-2px) scale(1.02);
}

.btn-primary:hover {
    box-shadow: 
        0 12px 35px rgba(0, 212, 255, 0.4),
        0 5px 15px rgba(0, 0, 0, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.2);
}

.btn.loading {
    pointer-events: none;
    position: relative;
}

.btn.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.btn.loading .btn-text {
    opacity: 0;
}

.supported-platforms {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border);
}

.platforms-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.platform-tag {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border: 1px solid transparent;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.platform-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(199, 125, 255, 0.1), transparent);
    transition: left 0.4s ease;
}

.platform-tag:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(199, 125, 255, 0.1);
    transform: translateY(-2px) scale(1.05);
}

.platform-tag:hover::before {
    left: 100%;
}

.stats-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 0;
    padding: 2rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stat-item {
    text-align: center;
    flex: 1 1 150px;
    max-width: 250px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1px;
    overflow: hidden;
}

.scroll-indicator::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 30px;
    background: linear-gradient(var(--primary), var(--secondary));
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0% { transform: translateY(-30px); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(30px); opacity: 0; }
}

@media (max-width: 768px) {
    .main-card {
        padding: 2.5rem 2rem;
        margin: 1rem;
        border-radius: 24px;
    }
    .title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    .subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    .features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 3rem 0;
    }
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    .btn {
        width: 100%;
        max-width: 300px;
        padding: 1rem 2rem;
    }
    .stats-section {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 1.5rem;
    }
    
    .bot-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 1rem;
    }
    
    .main-card {
        padding: 2rem 1.5rem;
    }

    .title {
        font-size: 2rem;
    }

    .feature {
        padding: 1.5rem;
    }
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg-dark: #000000;
        --bg-card: rgba(10, 10, 15, 0.9);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

.btn:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.platform-tag:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

@media (prefers-contrast: high) {
    :root {
        --border: rgba(255, 255, 255, 0.3);
        --text-secondary: #e0e0e0;
    }
}