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

html, body { height: 100%; }

body { 
    font-family: 'Segoe UI', Tahoma, sans-serif; 
    line-height: 1.6; 
    color: #333; 
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); 
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1 0 auto;
}

.header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 1rem 2rem; 
    background: rgba(255,255,255,0.1); 
    backdrop-filter: blur(10px); 
    position: sticky; 
    top: 0; 
    z-index: 100; 
}

.logo { 
    height: 50px; 
    width: auto; 
    filter: drop-shadow(0 4px 12px rgba(102, 126, 234, 0.4));
    transition: all 0.3s ease;
}

.logo:hover { 
    transform: scale(1.1) rotate(5deg); 
    filter: drop-shadow(0 8px 20px rgba(102, 126, 234, 0.6)); 
}

.lang-switch { display: flex; gap: 0.5rem; }
.lang-btn { 
    padding: 0.5rem 1rem; 
    background: rgba(255,255,255,0.2); 
    border: none; 
    border-radius: 20px; 
    color: white; 
    cursor: pointer; 
    transition: all 0.3s; 
    font-size: 0.9rem;
}
.lang-btn.active, .lang-btn:hover { 
    background: white; 
    color: #667eea; 
}

.hero { 
    text-align: center; 
    padding: 6rem 2rem 4rem;  /* ← Было 6rem сверху */
    color: white; 
    max-width: 900px; 
    margin: 0 auto; 
}

.hero h1 { 
    font-size: clamp(2rem, 5vw, 3.5rem);  /* ← Было 5vw */
    margin-bottom: 1.5rem; 
    font-weight: 800; 
}

.hero p { 
    font-size: 1.3rem; 
    margin-bottom: 2.5rem; 
    opacity: 0.95; 
    max-width: 600px; 
    margin-left: auto; 
    margin-right: auto; 
}

.hero-buttons { 
    display: flex; 
    gap: 1.5rem; 
    justify-content: center; 
    flex-wrap: wrap; 
    align-items: center;
    margin-top: 1rem;
}

.cta { 
    display: flex; 
    align-items: center; 
    gap: 0.75rem;
    padding: 1.2rem 2rem; 
    color: white; 
    text-decoration: none; 
    border-radius: 30px; 
    font-weight: 600; 
    font-size: 1.1rem;
    transition: all 0.3s; 
}

.cta.primary { background: #ff6b6b; }
.cta.secondary { background: transparent; border: 2px solid white; }

.cta:hover { 
    transform: scale(1.05) translateY(-2px); 
    box-shadow: 0 15px 35px rgba(0,0,0,0.2); 
}

.play-badge { 
    width: 28px; 
    height: 28px; 
    flex-shrink: 0; 
    filter: brightness(1.1) drop-shadow(0 2px 8px rgba(0,0,0,0.2)); 
}
.cta.primary:hover .play-badge { 
    filter: brightness(1.3) drop-shadow(0 4px 12px rgba(255,107,107,0.4)); 
}
.register-icon { 
    width: 20px; 
    height: 20px; 
    flex-shrink: 0; 
}

.features, .use-cases, .setup-guide, .tech, .comparison { 
    padding: 4rem 2rem; 
    margin-bottom: 2rem; 
}
.features { background: white; }
.use-cases { background: #f8f9ff; }
.tech { background: white; }
.setup-guide { background: #f8f9ff; }
.comparison { 
    padding: 5rem 2rem; 
    background: linear-gradient(135deg, #f8faff 0%, #e0e7ff 100%); 
}

.features h2, .use-cases h2, .tech h2, .setup-guide h2, .comparison h2 { 
    text-align: center; 
    margin-bottom: 3rem; 
    color: #333; 
    font-size: clamp(1.8rem, 4vw, 2.5rem); 
}

.grid, .steps-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 2rem; 
    max-width: 1200px; 
    margin: 0 auto; 
}

.feature, .step { 
    text-align: center; 
    padding: 2.5rem 1.5rem; 
    background: white; 
    border-radius: 20px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); 
    transition: all 0.3s; 
}
.feature:hover, .step:hover { 
    transform: translateY(-10px); 
    box-shadow: 0 20px 40px rgba(0,0,0,0.15); 
}
.feature h3, .step h3 { 
    margin-bottom: 1rem; 
    color: #667eea; 
    font-size: 1.4rem; 
}

.tech-grid { display: flex; flex-wrap: wrap; gap: 2rem; }
.tech-column { 
    flex: 1; 
    min-width: 280px; 
    padding: 2rem; 
    background: #f8f9ff; 
    border-radius: 15px; 
}
.tech-column h3 { color: #667eea; margin-bottom: 1rem; }

.comparison-table { max-width: 1200px; margin: 0 auto 3rem; }
.comparison table { 
    width: 100%; 
    border-collapse: collapse; 
    background: white; 
    border-radius: 20px; 
    overflow: hidden; 
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.15);
    font-size: 0.95rem;
}
.comparison th { 
    background: linear-gradient(135deg, #667eea, #764ba2); 
    color: white; 
    padding: 1.5rem 1rem; 
    font-weight: 600; 
    font-size: 1rem;
    text-align: center;
}
.comparison td { 
    padding: 1.2rem 1rem; 
    border-bottom: 1px solid #e5e7eb; 
    text-align: center;
    vertical-align: middle;
}
.comparison tbody tr:nth-child(even) { background: #f8fafc; }
.comparison tbody tr:hover td { 
    background: linear-gradient(90deg, #e0e7ff, #f0f9ff); 
    transform: scale(1.01);
}
.comparison-highlight { 
    text-align: center; 
    background: white; 
    padding: 2rem; 
    border-radius: 15px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 800px; 
    margin: 0 auto;
}
.comparison-highlight strong { 
    color: #667eea; 
    font-size: 1.3rem;
}

.simple-links { 
    text-align: center; 
    padding: 2.5rem 0; 
    border-top: 1px solid #e5e7eb; 
    border-bottom: 1px solid #e5e7eb;
    background: white;
}
.simple-links a { 
    color: #4f46e5; 
    text-decoration: none; 
    margin: 0 2rem; 
    font-weight: 600;
    font-size: 1.1rem;
}
.simple-links a:hover { text-decoration: underline; }

.footer { 
    flex-shrink: 0; 
    background: #1e293b; 
    color: white; 
    text-align: center; 
    padding: 2rem; 
}
.footer-content p { 
    margin: 0; 
    opacity: 0.9; 
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .header { padding: 1rem; }
    .hero { padding: 4rem 1rem 3rem; }
    .hero-buttons { flex-direction: column; gap: 1rem; }
    .cta { width: 100%; max-width: 300px; justify-content: center; text-align: center; }
    .play-badge { width: 24px; height: 24px; }
    .register-icon { width: 18px; height: 18px; }
    .features, .use-cases, .tech, .setup-guide, .comparison { padding: 3rem 1rem; margin-bottom: 1rem; }
    .grid, .steps-grid { grid-template-columns: 1fr; }
    .tech-grid { flex-direction: column; }
    .simple-links a { display: block; margin: 1rem 0; }
    .comparison table { display: block; overflow-x: auto; white-space: nowrap; font-size: 0.8rem; }
    .comparison th, .comparison td { padding: 0.8rem 0.4rem; min-width: 80px; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2rem; }
    .simple-links a { font-size: 1rem; }
}
.step-link, .marketplace-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.step-link:hover .step,
.marketplace-link:hover .comparison-highlight {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
.register-guide, .important-notice {
    padding: 4rem 2rem;
    background: white;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
}

.register-guide h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.register-step {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: #f8f9ff;
    border-radius: 20px;
    transition: all 0.3s;
}

.register-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.step-content h3 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    text-align: left;
}

.step-content p {
    margin-bottom: 1.5rem;
    color: #555;
    line-height: 1.7;
    text-align: left;
}

.step-content li {
    margin-bottom: 1.5rem;
    color: #555;
    line-height: 1.7;
    text-align: left;
}

.step-image {
    width: 100%;
    max-width: 500px;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

code {
    background: #e5e7eb;
    padding: 0.2rem 0.5rem;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
}

.important-notice {
    background: #f8faff;
}

.highlight-box {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
}

.highlight-box ul {
    list-style: none;
    padding: 0;
}

.highlight-box li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .register-step {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .step-image {
        max-width: 100%;
        height: 200px;
    }
    
    .register-guide, .important-notice {
        padding: 2rem 1rem;
    }
}
/* Нижняя навигация */
.bottom-nav {
    background-color: #f8f9fa;
    padding: 40px 0;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.bottom-nav .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.bottom-nav h3 {
    font-size: 18px;
    color: #6c757d;
    margin-bottom: 20px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bottom-nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.bottom-nav-link {
    color: #007bff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: color 0.3s;
    padding: 8px 16px;
    border-radius: 6px;
}

.bottom-nav-link:hover {
    color: #0056b3;
    background-color: #e9ecef;
    text-decoration: none;
}

.bottom-nav-separator {
    color: #ced4da;
    font-size: 20px;
    font-weight: bold;
}

/* Мобильные стили */
@media (max-width: 768px) {
    .bottom-nav {
        padding: 30px 0;
    }
    
    .bottom-nav h3 {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .bottom-nav-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .bottom-nav-separator {
        display: none;
    }
    
    .bottom-nav-link {
        display: block;
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
        font-size: 16px;
        padding: 12px 20px;
        background-color: white;
        border: 1px solid #dee2e6;
    }
    
    .bottom-nav-link:hover {
        background-color: #007bff;
        color: white;
        border-color: #007bff;
    }
}