

:root {
    --primary-color: #1BE218;
    --bg-color: #111111;
    --card-bg: #171717;
    --text-color: #ffffff;
    --gap-between-features: 80px;
    --margin-top-stats: 191px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Manrope', sans-serif;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    display: flex;
    align-items: center;
    padding: 5px 20px;
    background-color: var(--card-bg);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.logo img {
    height: 31px;
    width: auto;
}

.header-logo {
    margin-left: 62px;
    margin-right: 62px;
    margin-top: 10px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav li {
    margin-left: 30px;
}

nav a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--primary-color);
}

.header-contact {
    margin-left: auto;
    margin-right: 60px;
}

.top-bar {
    display: none;
    width: 100%;
    max-width: 1200px;
    margin-top: 20px;
    padding: 0 20px;
}

.link-bar {
    display: none;
    width: 100%;
    max-width: 1200px;
    margin: 20px auto; 
    padding: 0 20px;
    gap: 50px; 
    flex-direction: column; 
    align-items: center;   
    text-align: center;    
}

.free-contact {
    display: none;
    margin-left: auto;
}

.free-contact .phone-link {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
}

.free-contact .phone-link:hover {
    color: var(--primary-color);
}

.phone-link {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
}

.phone-link:hover {
    color: var(--primary-color);
}

.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
}

.hero-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
}

.hero-text {
    font-size: 20px;
    margin-bottom: 30px;
    color: #ccc;
}

.hero-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn {
    width: 180px !important;
    height: 51px !important;
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: var(--bg-color);
    text-decoration: none;
    text-align: center;
    border-radius: 4px;
    font-weight: 600;
    font-size: 16px;
    margin-right: 10px;
    transition: background-color 0.3s, transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.hero-image {
    width: 400px;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #111;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stats {
    display: flex;
    gap: 38px;
    padding: 0 20px 80px;
    margin: 0 auto;
    justify-content: center;
    flex-wrap: wrap;
}

.stat-card {
    background-color: var(--card-bg);
    width: 216px;
    height: 216px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.stat-card:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 64px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    font-size: 16px;
    color: #aaa;
    margin-top: 16px;
    text-align: center;
    max-width: 140px;
    font-weight: bold;
}

.features {
    padding-bottom: 100px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: var(--gap-between-features);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.feature-content {
    width: 500px;
    height: 170px;
    background-color: var(--card-bg);
    padding: 24px;
    border-radius: 8px;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-content:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.feature-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dot {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 12px;
    height: 12px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.feature-text {
    font-size: 16px;
    color: #ccc;
    line-height: 1.5;
}

.feature-icon {
    width: 170px;
    height: 170px;
    background-color: var(--card-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    margin-left: 19px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-icon:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.feature-icon::before {
    color: var(--text-color);
    font-weight: bold;
    font-size: 1rem;
}

footer {
    background-color: var(--card-bg);
    padding: 30px 20px;
    text-align: center;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
}

.footer-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: opacity 0.2s;
}

.footer-link:hover {
    opacity: 0.8;
}

.footer-copyright {
    font-size: 0.8rem;
    color: #777;
    margin-top: 15px;
}

.title-section {
    text-align: center;
    font-size: 24px;
    color: #aaa;
    margin-top: 191px;
    margin-bottom: 38px;
}

.footer-contact {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

.contact-link {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1rem;
    line-height: 1.8;
    display: block;
}

.contact-link .green {
    color: var(--primary-color);
}

.contact-link .white {
    color: var(--text-color);
}

.footer-contact::after {
    content: "";
    display: block;
    height: 24px;
}

.floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    transition: transform 0.2s, box-shadow 0.2s;
}

.floating-btn img {
    width: 50%;
    height: 50%;
    object-fit: contain;
    filter: none;
    margin-right: 1px;
}

.floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.back-button{
    color: var(--primary-color);
    list-style: none;
}

/* --- СТРАНИЦА ТАРИФОВ --- */
._100vh-section {
    height: 100vh;
    display: flex;
    justify-content: center;  
    align-items: center; 
}

.pricing-content {
    text-align: center;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    box-sizing: border-box;
}

.pricing-title {
    text-align: center;
    font-size: 24px;
    color: #ffffff;
    margin-bottom: 38px;
}

.pricing-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.pricing-card {
    background-color: var(--card-bg);
    width: 300px;
    border-radius: 8px;
    padding: 24px;
    text-align: center;
    
    max-height: 480px;
    min-height: 480px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    margin-top: auto;
    
    transition: transform 0.2s, box-shadow 0.2s;
}

.pricing-card:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.pricing-card.central {
    min-height: 520px; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 2px solid var(--primary-color);
    box-shadow: 0 12px 24px rgba(27, 226, 24, 0.1);
    position: relative;
    z-index: 1;
}

.pricing-card.central .btn {
    margin-top: auto; 
}

.pricing-card.central:hover {
    transform: scale(1.02);
    box-shadow: 0 16px 32px rgba(27, 226, 24, 0.15);
}

.pricing-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
}

.pricing-card .icon-placeholder {
    max-width: 100px;
    max-height: 100px;
    margin: 0 auto 24px;
    border-radius: 4px;
}

.pricing-card .icon-placeholder img{
    max-width: 80px;
    max-height: 80px;
}


.pricing-card ul {
    list-style: none;
    text-align: left;
    font-size: 14px;
    color: #ccc;
    line-height: 1.5;
    
    width: auto;          
    padding: 12px 24px;    
    margin: 0 auto;        
    display: block;

}

.pricing-card ul li {
    margin-bottom: 8px;
    text-align: center;
}

.pricing-card .btn {
    text-align: center;
    width: auto;           
    padding: 12px 24px;    
    margin: 0 auto;        
    display: block;
    margin-bottom: 10px;
}

.pricing-card-subtitle {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    margin: 8px 0 4px;
}

.pricing-card-footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}


/* --- СТРАНИЦА КОМАНДЫ --- */

.team-content {
    text-align: center;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    box-sizing: border-box;
    margin: 0 auto; 
}

.team-title {
    font-size: 24px;
    color: #ffffff;
    margin-bottom: 40px;
}

.team-members {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    justify-content: center; 
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.team-member-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;     
    height: 300px;  
    padding: 16px;
    background-color: var(--card-bg);
    border-radius: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.team-member-card:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.team-member-avatar {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 12px;
    border: 2px solid var(--primary-color);
    background-color: #333;
}

.team-member-avatar img {
    width: 100%;
    height: 100%;;
    object-fit: cover;
}

.team-member-name {
    font-size: 16px;
    font-weight: 600;
    color: white;
    margin: 4px 0;
    max-width: 170px;
    margin-top: auto;
}

.team-member-info{
    margin-top: auto;
}

.team-member-position {
    font-size: 14px;
    color: #ccc;
    margin: 4px 0;
}

.team-member-since {
    font-size: 12px;
    color: var(--primary-color);
    font-weight: 500;
}

/* --- СТРАНИЦА ПОРТФОЛИО --- */

.portfolio-section {
    padding: 80px 20px;
    background-color: var(--bg-color);
}

.portfolio-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 400px;
}

.portfolio-title {
    margin-top: 50px;
    font-size: 24px;
    color: #ffffff;
    margin-bottom: 40px;
}

.portfolio-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 30px;
    justify-content: center;
}

.portfolio-item {
    display: flex;
    background-color: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    height: 200px; 
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.portfolio-item-image {
    width: 200px;
    height: 100%; 
    flex-shrink: 0;
    overflow: hidden;
    background-color: #333;
}

.portfolio-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfolio-item-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px; 
    flex-grow: 1;
    overflow-y: auto; 
}

.portfolio-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0; 
}

.portfolio-item-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: white;
    margin: 0;
}

.portfolio-item-date {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 500;
}

.portfolio-item-description {
    font-size: 14px;
    color: #ccc;
    line-height: 1.5;
    text-align: left;
    margin: 0;
}


/* --- СТРАНИЦА ДОКУМЕНТОВ --- */

.documents-section {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--bg-color);
}

.documents-content {
    text-align: center;
    max-width: 600px;
    padding: 0 20px;
    box-sizing: border-box;
}

.documents-title {
    font-size: 24px;
    color: #ffffff;
    margin-bottom: 40px;
}

.documents-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.document-item {
    display: block;
    padding: 16px 20px;
    background-color: var(--card-bg);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.2s;
    text-align: center;
    border: 1px solid transparent;
}

.document-item:hover {
    background-color: #1e1e1e;
    border-color: var(--primary-color);
    transform: scale(1.02);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* 404 страница */

._404-100vh-section {
    height: 100vh;
    display: flex;
    justify-content: center;  
    align-items: center; 
}


._404-content {
    text-align: center; 
}

._404-content h1 {
    font-size: 144px;     
    margin: 0;             
    color: var(--primary-color);        
}

._404-content h2 {
    font-size: 24px;     
    color: #ffffff;
    max-width: 325px;
}



/* Адаптивность */

@media (max-width: 550px) {
    .portfolio-item {
        flex-direction: column;
        height: auto;           
        padding: 0;             
    }

    .portfolio-item-image {
        width: 100%;            
        height: 200px;          
        border-bottom: 1px solid #333; 
    }

    .portfolio-item-content {
        padding: 20px;
        gap: 16px;              
        text-align: center;     
    }

    .portfolio-item-header {
        flex-direction: column; 
        align-items: center;    
        justify-content: center;
        gap: 8px;               
        margin-bottom: 0;
    }

    .portfolio-item-header h3 {
        font-size: 18px;
        text-align: center;
        margin: 0;
    }

    .portfolio-item-date {
        font-size: 14px;
        color: var(--primary-color);
        font-weight: 500;
        text-align: center;
        margin: 0;
    }

    .portfolio-item-description {
        font-size: 14px;
        color: #ccc;
        line-height: 1.5;
        text-align: center;
        margin: 0;
    }

    .portfolio-title {
        font-size: 22px;
        margin-bottom: 30px;
    }

    .portfolio-items {
        grid-template-columns: 1fr; 
        gap: 20px;
    }
}

@media (max-height: 900px) {
    ._100vh-section{
        padding-top: 90px;
        padding-bottom: 80px;
        height: 100%;
    }
}

@media (max-width: 1024px){
    ._100vh-section{
        padding-top: 90px;
        padding-bottom: 80px;
        height: 100%;
    }
    
    .pricing-card.central {
        min-height: 480px; 
        max-height: 480px; 
        display: flex;
        flex-direction: column;
        justify-content: center;
        border: 2px solid var(--primary-color);
        box-shadow: 0 12px 24px rgba(27, 226, 24, 0.1);
        position: relative;
        z-index: 1;
    }

    .pricing-card.central .btn {
        margin-top: auto; 
    }

    .pricing-card.central:hover {
        transform: scale(1.02);
        box-shadow: 0 16px 32px rgba(27, 226, 24, 0.15);
    }
}

@media (max-width: 768px) {
    .documents-title {
        font-size: 22px;
        margin-bottom: 30px;
    }

    .document-item {
        font-size: 15px;
        padding: 14px 16px;
    }

    header {
        display: none;
    }

    .top-bar {
        display: flex;
    }

    .link-bar {
        display: flex;
    }

    .free-contact {
        display: block;
    }

    .hero-title {
        font-size: 24px;
    }

    .hero-text {
        font-size: 18px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .btn {
        width: 100% !important;
        max-width: 180px;
        margin-right: 0;
        text-align: center;
    }

    .hero-image {
        display: none;
    }

    .hero-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        margin-bottom: 30px;
    }

    .feature-icon {
        display: none;
    }

    .dot {
        display: none;
    }

    .feature-item {
        justify-content: center;
        width: 100%;
        margin-bottom: 38px;
    }

    .feature-content {
        width: 100%;
        height: auto;
        max-width: 500px;
        margin: 0 auto;
        padding: 24px;
        text-align: center;
    }

    .feature-title {
        display: block !important;
        text-align: center !important;
        font-size: 16px;
    }

    .feature-text {
        text-align: center !important;
        font-size: 14px;
    }

    footer {
        text-align: left;
        padding: 30px 20px;
    }

    .logo {
        margin-bottom: 10px;
    }

    .footer-contact {
        text-align: left;
    }

    .footer-links {
        align-items: flex-start;
        margin-top: 15px;
    }

    .footer-copyright {
        text-align: left;
        margin-top: 20px;
    }

    .floating-btn {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 20px;
    }
}