/* Основные CSS переменные */
:root {
    /* Цвета */
    --primary-color: #00ff88;
    --secondary-color: #ff4444;
    --accent-color: #ffff00;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --text-muted: #888888;
    --background-dark: #0a0a0a;
    --background-darker: #000000;
    --background-card: #1a1a1a;
    --border-color: #333333;
    --glow-color: rgba(0, 255, 136, 0.5);
    --glow-accent: rgba(255, 255, 0, 0.5);
    
    /* Размеры */
    --container-width: 1200px;
    --section-padding: 80px 0;
    --card-padding: 30px;
    --border-radius: 8px;
    --border-radius-large: 12px;
    
    /* Анимации */
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
    --transition-slow: 0.8s ease;
    
    /* Шрифты */
    --font-family-primary: 'Arial', 'Helvetica', sans-serif;
    --font-family-mono: 'Courier New', monospace;
    --font-size-small: 14px;
    --font-size-base: 16px;
    --font-size-large: 18px;
    --font-size-xl: 24px;
    --font-size-xxl: 32px;
    --font-size-hero: 48px;
    
    /* Эффекты */
    --shadow-glow: 0 0 20px var(--glow-color);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
    --text-shadow-glow: 0 0 10px currentColor;
}

/* Сброс стилей */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Основные стили */
body {
    font-family: var(--font-family-primary);
    background-color: var(--background-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Контейнер */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Основной контент */
.main-content {
    min-height: 100vh;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--background-darker) 0%, var(--background-dark) 100%);
    z-index: 1;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 255, 136, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 136, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: var(--font-size-hero);
    font-weight: 900;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-title-main {
    display: block;
    color: var(--text-primary);
    text-shadow: var(--text-shadow-glow);
}

.hero-title-accent {
    display: block;
    color: var(--primary-color);
    text-shadow: 0 0 20px var(--primary-color);
    animation: pulse 2s ease-in-out infinite;
}

.hero-subtitle {
    font-size: var(--font-size-large);
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 400px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: var(--font-size-xxl);
    font-weight: 900;
    color: var(--primary-color);
    text-shadow: var(--text-shadow-glow);
    margin-bottom: 5px;
}

.stat-label {
    font-size: var(--font-size-small);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    align-items: center;
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s ease-out 0.5s both;
}

.target-scope {
    position: relative;
    width: 300px;
    height: 300px;
    animation: rotate 10s linear infinite;
}

.scope-ring {
    position: absolute;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    box-shadow: var(--shadow-glow);
}

.scope-ring-1 {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
}

.scope-ring-2 {
    top: 15%;
    left: 15%;
    width: 70%;
    height: 70%;
    opacity: 0.6;
}

.scope-ring-3 {
    top: 30%;
    left: 30%;
    width: 40%;
    height: 40%;
    opacity: 0.9;
}

.scope-center {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: var(--shadow-glow);
    animation: pulse 2s ease-in-out infinite;
}

.scope-crosshair-h,
.scope-crosshair-v {
    position: absolute;
    background: var(--primary-color);
    box-shadow: var(--shadow-glow);
}

.scope-crosshair-h {
    top: 50%;
    left: 10%;
    width: 80%;
    height: 2px;
    transform: translateY(-50%);
}

.scope-crosshair-v {
    top: 10%;
    left: 50%;
    width: 2px;
    height: 80%;
    transform: translateX(-50%);
}

/* Features Section */
.features {
    padding: var(--section-padding);
    background: var(--background-card);
}

.section-title {
    font-size: var(--font-size-xxl);
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--background-dark);
    padding: var(--card-padding);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.1), transparent);
    transition: var(--transition-medium);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
}

.feature-card:hover::before {
    left: 100%;
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
    filter: grayscale(1);
    transition: var(--transition-fast);
}

.feature-card:hover .feature-icon {
    filter: grayscale(0);
}

.feature-title {
    font-size: var(--font-size-xl);
    margin-bottom: 15px;
    color: var(--text-primary);
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* CTA Section */
.cta {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--background-darker) 0%, var(--background-dark) 100%);
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: var(--font-size-xxl);
    margin-bottom: 20px;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.cta-subtitle {
    font-size: var(--font-size-large);
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.cta-contact {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cta-phone {
    font-size: var(--font-size-xl);
    color: var(--primary-color);
    font-weight: 600;
    text-shadow: var(--text-shadow-glow);
}

/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

/* Адаптивность */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .target-scope {
        width: 200px;
        height: 200px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .stat-item {
        text-align: center;
    }
}