/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00d4ff;
    --secondary-color: #ff0080;
    --accent-color: #ffff00;
    --dark-bg: #0a0a0f;
    --darker-bg: #050508;
    --card-bg: rgba(15, 15, 25, 0.8);
    --neon-blue: #00d4ff;
    --neon-pink: #ff0080;
    --neon-purple: #8000ff;
    --text-light: #ffffff;
    --text-muted: #b0b0c0;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--dark-bg);
    color: var(--text-light);
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
    min-height: 100vh;
}

/* Background effects */
.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(45deg, #0a0a0f 0%, #1a0a2e 50%, #0a0a0f 100%);
}

.grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 212, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.1) 1px, transparent 1px);
    background-size: 100px 100px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(100px, 100px); }
}

.floating-cards {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.card {
    position: absolute;
    width: 60px;
    height: 80px;
    background: linear-gradient(145deg, rgba(0, 212, 255, 0.2), rgba(255, 0, 128, 0.2));
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--neon-blue);
    animation: float 6s ease-in-out infinite;
}

.card-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 60%;
    right: 15%;
    animation-delay: 1.5s;
}

.card-3 {
    top: 40%;
    left: 5%;
    animation-delay: 3s;
}

.card-4 {
    top: 80%;
    right: 25%;
    animation-delay: 4.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(2deg); }
    66% { transform: translateY(10px) rotate(-1deg); }
}

.neon-lights {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.light {
    position: absolute;
    border-radius: 50%;
    filter: blur(20px);
    animation: pulse 4s ease-in-out infinite;
}

.light-1 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--neon-blue) 0%, transparent 70%);
    top: 10%;
    right: 20%;
    animation-delay: 0s;
}

.light-2 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, var(--neon-pink) 0%, transparent 70%);
    bottom: 20%;
    left: 15%;
    animation-delay: 2s;
}

.light-3 {
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, var(--neon-purple) 0%, transparent 70%);
    top: 50%;
    right: 10%;
    animation-delay: 1s;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    z-index: 1000;
    padding: 1rem 0;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-light);
}

.diamond-icon {
    color: var(--neon-blue);
    text-shadow: 0 0 20px var(--neon-blue);
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { transform: scale(1); filter: brightness(1); }
    50% { transform: scale(1.1); filter: brightness(1.5); }
}

/* Language switcher */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lang-link {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.5rem 0.8rem;
    color: var(--text-muted);
    text-decoration: none;
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 20px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.lang-link:hover {
    color: var(--neon-blue);
    border-color: var(--neon-blue);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

.lang-link.active {
    color: var(--text-light);
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-pink));
    border-color: transparent;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
}

.lang-separator {
    color: var(--text-muted);
    margin: 0 0.2rem;
}

/* Main content */
.main {
    padding-top: 100px;
}

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

.hero {
    min-height: calc(100vh - 100px);
    display: flex;
    align-items: center;
    text-align: center;
}

.hero-content {
    width: 100%;
}

.hero-icon {
    margin-bottom: 2rem;
}

.diamond-main {
    font-size: 4rem;
    color: var(--neon-blue);
    text-shadow: 
        0 0 20px var(--neon-blue),
        0 0 40px var(--neon-blue),
        0 0 60px var(--neon-blue);
    animation: rotate 10s linear infinite;
}

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

.hero-title {
    font-family: 'Orbitron', monospace;
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.title-main {
    display: block;
    color: var(--text-light);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.title-accent {
    display: block;
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    animation: neonGlow 2s ease-in-out infinite alternate;
}

@keyframes neonGlow {
    0% { filter: brightness(1); }
    100% { filter: brightness(1.3); }
}

.hero-subtitle {
    font-family: 'Orbitron', monospace;
    font-size: 1.2rem;
    color: var(--neon-blue);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px var(--neon-blue);
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    line-height: 1.8;
}

/* Stats */
.stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.stat-card {
    background: var(--card-bg);
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    min-width: 120px;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.2), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.stat-number {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--neon-blue);
    text-shadow: 0 0 15px var(--neon-blue);
}

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

/* Advantages */
.advantages {
    margin-bottom: 4rem;
}

.advantages-title {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-light);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

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

.advantage-card {
    background: var(--card-bg);
    border: 2px solid rgba(0, 212, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.advantage-card:hover {
    border-color: var(--neon-blue);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-pink));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.advantage-card:hover::before {
    transform: scaleX(1);
}

.advantage-icon {
    font-size: 3rem;
    color: var(--neon-blue);
    margin-bottom: 1rem;
    text-shadow: 0 0 15px var(--neon-blue);
}

.advantage-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.advantage-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Telegram CTA after stats */
.telegram-cta {
    text-align: center;
    margin: 3rem 0;
}

.telegram-button {
    background: linear-gradient(45deg, #0088cc, #00d4ff);
    border: none;
    border-radius: 50px;
    padding: 1.2rem 2.5rem;
    font-family: 'Orbitron', monospace;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    box-shadow: 
        0 8px 25px rgba(0, 136, 204, 0.3),
        0 0 20px rgba(0, 212, 255, 0.2);
}

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

.telegram-button:hover::before {
    left: 100%;
}

.telegram-button:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 12px 35px rgba(0, 136, 204, 0.4),
        0 0 30px rgba(0, 212, 255, 0.4);
    background: linear-gradient(45deg, #0099dd, #00e6ff);
}

.telegram-button:active {
    transform: translateY(-1px);
}

.telegram-button i {
    font-size: 1.3rem;
    animation: telegramPulse 2s ease-in-out infinite;
}

@keyframes telegramPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* CTA Section */
.cta-section {
    text-align: center;
    margin: 4rem 0;
}

.cta-button {
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-pink));
    border: none;
    border-radius: 50px;
    padding: 1.5rem 3rem;
    font-family: 'Orbitron', monospace;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.cta-button::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;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 10px 30px rgba(0, 212, 255, 0.4),
        0 0 50px rgba(255, 0, 128, 0.3);
}

.cta-button i {
    font-size: 1.5rem;
}

.cta-description {
    margin-top: 1rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Footer */
.footer {
    background: var(--darker-bg);
    border-top: 1px solid rgba(0, 212, 255, 0.2);
    padding: 2rem 0;
    text-align: center;
    margin-top: 4rem;
}

.footer p {
    color: var(--text-muted);
}

/* Responsive design */
@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .language-switcher {
        order: -1;
        margin-bottom: 0.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }
}
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .diamond-main {
        font-size: 2.5rem;
    }
    
    .advantages-title {
        font-size: 2rem;
    }
    
    .stats {
        gap: 1rem;
    }
    
    .stat-card {
        min-width: 100px;
        padding: 1.5rem 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cta-button {
        padding: 1.2rem 2rem;
        font-size: 1rem;
    }
    
    .telegram-button {
        padding: 1rem 2rem;
        font-size: 0.9rem;
        gap: 0.6rem;
    }
    
    .floating-cards .card {
        width: 40px;
        height: 60px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .advantages-title {
        font-size: 1.5rem;
    }
    
    .cta-button {
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
        gap: 0.5rem;
    }
    
    .language-switcher {
        gap: 0.25rem;
    }
    
    .lang-link {
        padding: 0.4rem 0.6rem;
        font-size: 0.8rem;
    }
    
    .lang-separator {
        font-size: 0.8rem;
    }
}

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

.hero-content > * {
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.2s; }
.hero-content > *:nth-child(3) { animation-delay: 0.3s; }
.hero-content > *:nth-child(4) { animation-delay: 0.4s; }
.hero-content > *:nth-child(5) { animation-delay: 0.5s; }
.hero-content > *:nth-child(6) { animation-delay: 0.6s; }
.hero-content > *:nth-child(7) { animation-delay: 0.7s; }