@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #BDC3C7;
    background-color: #1E1F26;
    overflow-x: hidden;
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;
    top: 0;
    left: 0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding: 8px 0;
}

header {
    background-color: rgba(30, 31, 38, 0.9);
    color: #BDC3C7;
    padding: 6px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo img {
    width: 300px;
    transition: transform 0.3s ease;
}

header .logo img:hover {
    transform: scale(1.1);
}

header nav ul {
    list-style: none;
    display: flex;
}

header nav ul li {
    margin-left: 20px;
}

header nav ul li a {
    color: #BDC3C7;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

header nav ul li a:hover {
    color: #00C9A7;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: #BDC3C7;
}

.hero {
    background: none;
    color: #F5F5F5;
    padding: 70px 0 20px 0;
    margin-top: 60px; 
    border-bottom-left-radius: 50% 10%;
    border-bottom-right-radius: 50% 10%;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.hero-content {
    max-width: 600px;
    background: rgba(0, 0, 0, 0.6);
    padding: 40px;
    border-radius: 10px;
    margin-bottom: 20px;
    transition: filter 0.3s ease;
}

.hero-content:hover {
    filter: brightness(1.1);
}

.hero-content h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #F5F5F5;
}

.hero-content p {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #F5F5F5;
}

.cta-btn {
    background-color: #9B59B6;
    color: #F5F5F5;
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    display: inline-block;
    cursor: pointer;
}

.cta-btn:hover {
    background-color: #00C9A7;
    color: #1E1F26;
}

.hero-image {
    perspective: 1000px;
}

.hero-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform-style: preserve-3d;
}

.hero-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(0,0,0,0.5);
}

section {
    padding: 15px 0;
}

.section-title {
    text-align: center;
    font-size: 2em;
    margin-bottom: 20px;
    position: relative;
    color: #F5F5F5;
}

.section-title::after {
    content: '';
    width: 60px;
    height: 4px;
    background-color: #00C9A7;
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
}

.features-grid, .integrations-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.feature-item, .integration-item {
    background-color: rgba(44, 47, 58, 0.9);
    padding: 20px;
    border-radius: 10px;
    flex: 1 1 calc(33% - 20px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
    cursor: pointer;
}

.feature-item:hover, .integration-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    filter: brightness(1.1);
}

.feature-item i, .integration-item i {
    font-size: 3em;
    color: #00C9A7;
    margin-bottom: 15px;
}

#integrations p {
    margin-bottom: 40px; 
}


.feature-item h3, .integration-item h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #00C9A7;
    transition: filter 0.3s ease;
}

.feature-item h3:hover, .integration-item h3:hover {
    filter: brightness(1.1);
}

.feature-item p, .integration-item p {
    font-size: 1em;
    color: #BDC3C7;
}

.alternate {
    background-color: rgba(44, 47, 58, 0.9);
}

.security-content {
    display: flex;
    align-items: center;
    gap: 80px;
    flex-wrap: wrap;
    margin-top: 30px;
    position: relative;
}

.security-text {
    max-width: 600px;
    position: relative;
    transition: filter 0.3s ease;
    order: 1; /* Добавлено */
}

.security-text:hover {
    filter: brightness(1.1);
}

.security-text p {
    margin-bottom: 20px;
    font-size: 1.1em;
    color: #BDC3C7;
}

.security-overlay {
    background: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 10px;
}

.security-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.security-table tr {
    border-bottom: 1px solid rgba(189, 195, 199, 0.2);
}

.security-table td {
    vertical-align: top;
    padding: 10px 0;
}

.security-table td:first-child {
    width: 50px;
    text-align: center;
}

.security-table i {
    font-size: 1.5em;
    color: #00C9A7;
    transition: transform 0.3s ease;
}

.security-table i:hover {
    transform: rotate(20deg);
}

.security-image {
    order: 2; /* Добавлено */
}

.security-image img {
    width: 100%;
    max-width: 380px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
    cursor: pointer;
}

.security-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(0,0,0,0.5);
    filter: brightness(1.1);
}

.download-section {
    background-color: rgba(30, 31, 38, 0.9);
    color: #BDC3C7;
    text-align: center;
    padding: 60px 0;
}

.download-section .section-title {
    color: #F5F5F5;
}

.download-section p {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #BDC3C7;
}

.download-info {
    margin-bottom: 30px;
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    background: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 10px;
    transition: filter 0.3s ease;
    cursor: pointer;
}

.download-info:hover {
    filter: brightness(1.1);
}

.download-info h3 {
    color: #00C9A7;
    margin-bottom: 15px;
}

.download-info ul {
    list-style: none;
    padding-left: 0;
}

.download-info ul li {
    margin-bottom: 10px;
    color: #BDC3C7;
}

.download-info ul li strong {
    color: #F5F5F5;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.download-section .btn {
    background-color: #00C9A7;
    color: #1E1F26;
    padding: 15px 30px;
    border: none;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
}

.download-section .btn i {
    margin-right: 10px;
    font-size: 1.2em;
}

.download-section .btn:hover {
    background-color: #9B59B6;
    color: #F5F5F5;
}

footer {
    background-color: rgba(30, 31, 38, 0.9);
    color: #BDC3C7;
    padding: 20px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-links {
    list-style: none;
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.footer-links li a {
    color: #BDC3C7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links li a:hover {
    color: #00C9A7;
}

@media (max-width: 992px) {
    .features-grid, .integrations-grid {
        flex-direction: column;
    }

    .feature-item, .integration-item {
        flex: 1 1 100%;
    }

    .security-content {
        flex-direction: column;
    }

    .security-image img {
        width: 100%;
        max-width: 200px;
    }
}

@media (max-width: 768px) {
    header nav {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    nav ul.active {
        display: flex;
        flex-direction: column;
        background-color: rgba(30, 31, 38, 0.9);
        position: absolute;
        top: 60px;
        right: 20px;
        width: 200px;
        padding: 20px;
        border-radius: 10px;
    }

    nav ul.active li {
        margin: 15px 0;
    }

    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-image {
        margin-top: 30px;
    }

    .download-buttons {
        flex-direction: column;
    }

    .download-section .btn {
        width: 80%;
        justify-content: center;
    }

    .download-info {
        text-align: center;
    }

    .security-image img {
        max-width: 150px;
    }

    .security-table {
        font-size: 0.9em;
    }

    .security-table td:first-child {
        width: 40px;
    }

    .security-table i {
        font-size: 1.2em;
    }
}
