* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background-color: #0a0c0f;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: #0f1215;
    border-bottom: 1px solid #2a2e35;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(15, 18, 21, 0.95);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
}

.logo span {
    color: #00d4b0;
}

.nav a {
    margin-left: 30px;
    text-decoration: none;
    color: #b0b0b0;
    font-weight: 500;
    transition: color 0.3s;
}

.nav a:hover {
    color: #00d4b0;
}

.phone {
    color: #00d4b0;
    font-weight: bold;
}

/* Hero Section с изображением */
.hero {
    position: relative;
    color: #fff;
    text-align: center;
    padding: 180px 0 120px;
    margin-top: 80px;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 12, 15, 0.85) 0%, rgba(26, 31, 37, 0.75) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
}

.hero h1 {
    font-size: 52px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 0%, #00d4b0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    color: #fff;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.hero .btn {
    position: relative;
    z-index: 4;
    box-shadow: 0 4px 15px rgba(0, 212, 176, 0.3);
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
    .hero {
        padding: 150px 0 80px;
        min-height: 500px;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .hero-overlay {
        background: linear-gradient(135deg, rgba(10, 12, 15, 0.9) 0%, rgba(26, 31, 37, 0.8) 100%);
    }
}

/* Дополнительные эффекты для улучшения читаемости */
.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.2) 100%);
    pointer-events: none;
    z-index: 1;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, #00d4b0 0%, #00a3b0 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 212, 176, 0.3);
}

/* Projects Section */
.projects {
    padding: 80px 0;
    background: #0f1215;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #fff;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #00d4b0, #00a3b0);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    background: #1a1f25;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #2a2e35;
    transition: transform 0.3s, border-color 0.3s;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: #00d4b0;
}

.project-image {
    height: 200px;
    background: #2a2e35;
    background-size: cover;
    background-position: center;
}

.project-info {
    padding: 20px;
}

.project-info h3 {
    margin-bottom: 10px;
    color: #fff;
    text-align: center;
}

.project-info p {
    color: #00d4b0;
    font-weight: 500;
    text-align: center;
}

.project-start-link {
    text-decoration: none;
}
.dimmed-image {
  filter: brightness(0.5); /* 0 – полностью чёрное, 1 – оригинал */
}



/* Features */
.unit_economica {
    width: 100px;
    margin: 0 auto;
    border-radius: 40%;
}
.features {
    padding: 80px 0;
    background: #0a0c0f;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.feature {
    padding: 30px;
    background: #1a1f25;
    border-radius: 10px;
    border: 1px solid #2a2e35;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #00d4b0 0%, #00a3b0 100%);
    border-radius: 50%;
    margin: 0 auto 20px;
}

.feature h3 {
    margin-bottom: 15px;
    color: #fff;
}

.feature p {
    color: #b0b0b0;
}

/* Team Section */
.team {
    padding: 80px 0;
    background: #0f1215;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.team-card {
    text-align: center;
    background: #1a1f25;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #2a2e35;
    transition: border-color 0.3s;
}

.team-card:hover {
    border-color: #00d4b0;
}

.team-photo {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #2a2e35, #1a1f25);
    border-radius: 50%;
    margin: 0 auto 20px;
    border: 3px solid #00d4b0;
}

.team-card h3 {
    margin-bottom: 5px;
    color: #fff;
}

.team-card .position {
    color: #00d4b0;
    margin-bottom: 15px;
    font-weight: 500;
}

.team-card p {
    color: #b0b0b0;
}
/* technical_support */
.technical_support {
    width: 50%;
    border-radius: 10px;
}
/* FAQ Section */
.faq {
    padding: 80px 0;
    background: #0a0c0f;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.faq-item {
    background: #1a1f25;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #2a2e35;
    transition: border-color 0.3s;
}

.faq-item:hover {
    border-color: #00d4b0;
}

.faq-item h3 {
    margin-bottom: 15px;
    color: #00d4b0;
}

.faq-item p {
    color: #b0b0b0;
}

/* Partners */
.partners {
    padding: 60px 0;
    background: #0f1215;
    border-top: 1px solid #2a2e35;
    border-bottom: 1px solid #2a2e35;
}

.partners-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.partner-item {
    color: #b0b0b0;
    font-weight: 500;
    font-size: 18px;
    transition: color 0.3s;
}

.partner-item:hover {
    color: #00d4b0;
}

/* Footer */
.footer {
    background: #0a0c0f;
    color: #fff;
    padding: 60px 0 30px;
    border-top: 1px solid #2a2e35;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer h3 {
    margin-bottom: 20px;
    color: #00d4b0;
}

.footer a {
    color: #b0b0b0;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.footer a:hover {
    color: #00d4b0;
}

.footer p {
    color: #b0b0b0;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #2a2e35;
    color: #666;
}

.footer-bottom a {
    color: #666;
    display: inline;
    margin: 0 10px;
    transition: color 0.3s;
}

.footer-bottom a:hover {
    color: #00d4b0;
}

/* Articles Section */
.articles {
    padding: 80px 0;
    background: #0f1215;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.article-card {
    background: #1a1f25;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #2a2e35;
    transition: border-color 0.3s;
}

.article-card:hover {
    border-color: #00d4b0;
}

.article-card h3 {
    margin-bottom: 15px;
    color: #fff;
}

.article-card p {
    color: #b0b0b0;
}

/* Video Section */
.video-section {
    padding: 80px 0;
    background: #0a0c0f;
}

.video-section .section-title {
    color: #fff;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.video-item {
    text-align: center;

}

.video-thumb {
    width: 250px;
    height: 180px;
    background: linear-gradient(135deg, #1a1f25, #2a2e35);
    margin-bottom: 15px;
    border-radius: 10px;
    border: 1px solid #2a2e35;
    transition: border-color 0.3s;
}

.video-item:hover .video-thumb {
    border-color: #00d4b0;
}

.video-item p {
    color: #b0b0b0;
    transition: color 0.3s;
}

.video-item:hover p {
    color: #00d4b0;
}


/* Responsive */
@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .projects-grid,
    .team-grid,
    .faq-grid,
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .partners-grid {
        flex-direction: column;
        gap: 20px;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #0f1215;
}

::-webkit-scrollbar-thumb {
    background: #2a2e35;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #00d4b0;
}