@font-face {
    font-family: 'Cairo';
    src: url('../fonts/Cairo-VariableFont_slnt,wght.ttf');
}

@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/OpenSans-VariableFont_wdth,wght.ttf');
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    vertical-align: baseline;
    word-break: break-word;
}

body {
    font-family: 'Cairo', sans-serif;
    color: #fff;
    background-color: #121212;
    line-height: 1.5;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.header {
    background-color: #1a1a1a;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    max-width: 100px;
}

.nav-desktop {
    display: flex;
    gap: 20px;
}

.nav-desktop a {
    color: #ddd;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.nav-desktop a.active {
    color: #01f2f0;
}

.nav-desktop a:hover {
    color: #01f2f0;
}

.menu-toggle {
    font-size: 24px;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    display: none;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #1a1a1a;
    color: #fff;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 10;
    padding: 20px;
    display: none;
}

.mobile-menu.open {
    transform: translateX(0);
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-right: 20px;
}

.close-button {
    font-size: 20px;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding-right: 25px;
}

.nav-mobile a {
    display: block;
    padding: 10px 0;
    font-size: 18px;
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-mobile a.active {
    color: #01f2f0;
}

.nav-mobile a:hover {
    color: #01f2f0;
}

@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }
    .menu-toggle {
        display: block;
    }
    .mobile-menu {
        display: block;
    }
}

.banner {
    background-image: linear-gradient(
        180deg,
        #1e1d1d 0%,
        rgba(30, 29, 29, 0.4) 100%
    );
    background-size: cover;
    background-position: center;
    padding: 100px 10%;
    color: #fff;
}

.banner2 {
    background-image: linear-gradient(
        180deg,
        #1e1d1d 0%,
        rgba(30, 29, 29, 0.4) 100%
    );
    background-size: cover;
    background-position: center top;
    padding: 100px 10%;
    color: #fff;
}

.banner-content {
    max-width: 1140px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
}

.banner-content2 {
    max-width: 1140px;
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 0 auto;
}

.banner-text {
    flex: 1;
    text-align: left;
    padding-right: 50px;
}

.second-text {
    flex: 1;
    text-align: center;
    padding-right: 50px;
}

.banner-text h1 {
    font-family: 'Cairo';
    font-size: 86px;
    font-weight: 800;
    line-height: 110px;
    margin-bottom: 20px;
}

.second-text h1 {
    font-family: 'Cairo';
    font-size: 66px;
    font-weight: 800;
    line-height: 110px;
    margin-bottom: 20px;
}

.banner-text p {
    font-family: 'Open Sans', sans-serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 32px;
}

.second-text p {
    font-family: 'Open Sans', sans-serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 32px;
}

.download-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
    gap: 15px;
    background: #ffffff1a;
    border: 1px solid #01f2f0;
    backdrop-filter: blur(10px);
    max-width: 400px;
    width: 100%;
    box-sizing: border-box;
    color: #ffffff;
    backdrop-filter: blur(10px);
}

.download-form h2 {
    font-family: 'Cairo', sans-serif;
    font-weight: 800;
    font-size: 1.75rem;
    color: #01f2f0;
    text-transform: uppercase;
    margin-bottom: 20px;
    text-align: center;
}

.download-form input {
    background: #ffffff;
    border: 1px solid #ddd;
    padding: 12px;
    font-size: 1rem;
    color: #121212;
    width: 300px;
    margin-bottom: 15px;
    margin-left: -10px;
}

.download-form a {
    background: #01f2f0;
    color: #121212;
    border: 0px solid #ddd;
    padding: 12px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 240px;
}

.download-form a:hover {
    background-color: #37a2b5;
}

@media (max-width: 768px) {
    .banner-content {
        flex-direction: column;
        align-items: center;
    }

    .banner {
        padding: 20px 30px;
    }

    .banner-text {
        padding-right: 0;
        text-align: center;
        margin-bottom: 20px;
    }

    .download-form {
        max-width: 100%;
        padding: 20px;
    }
}

.welcome-section {
    display: flex;
    justify-content: center;
    padding: 100px 10%;
    background-image: url('../images/ornament1.png');
    background-repeat: no-repeat;
    background-position: left top;
}

.welcome-container {
    display: flex;
    max-width: 1140px;
    width: 100%;
    gap: 20px;
}

.welcome-image {
    flex: 1 1 50%;
}

.welcome-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 5px;
}

.welcome-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1 1 50%;
    padding: 40px;
    background: rgba(46, 44, 44, 0.8);
    backdrop-filter: blur(5px);
    color: #dbdbdb;
    border-radius: 5px;
}

.welcome-text h2 {
    font-family: 'Cairo', sans-serif;
    font-weight: 800;
    font-size: 2.5rem;
    line-height: 1.1;
    color: #01f2f0;
    margin-bottom: 20px;
}

.welcome-text p {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.5;
    color: #dbdbdb;
}

@media (max-width: 768px) {
    .welcome-container {
        flex-direction: column;
    }
    .welcome-text {
        padding: 20px;
        max-width: 100%;
    }

    .second-text {
        padding-right: 0px;
    }

    .second-text h1 {
        padding-right: 0;
        text-align: center;
        font-size: 2.5rem;
        line-height: 50px;
    }

    .download-form input {
        background: #ffffff;
        border: 1px solid #ddd;
        padding: 12px;
        font-size: 1rem;
        color: #121212;
        width: 200px;
        margin-bottom: 15px;
        margin-left: -10px;
    }
}

.advantages-section {
    justify-content: center;
    padding: 100px 10%;
    background-image: url('../images/ornament2.png');
    background-repeat: no-repeat;
    background-position: right top;
}

.advantages-section h2 {
    font-family: 'Cairo';
    font-size: 72px;
    font-weight: 800;
    line-height: 80px;
    text-align: left;
    color: #01f2f0;
}

.advantages-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.advantage {
    margin-top: 2rem;
    background-color: #2e2c2c;
    padding: 20px;
    border-radius: 5px;
    flex: 1 1 30%;
    max-width: 40%;
    min-width: 280px;
    box-sizing: border-box;
    color: #dbdbdb;
}

.advantage h3 {
    font-family: 'Cairo';
    font-size: 32px;
    font-weight: 800;
    line-height: 45px;
    text-align: left;
}

.advantage p {
    font-family: 'Open Sans';
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
    text-align: left;
    color: #dbdbdb;
}

.how-section {
    justify-content: center;
    padding: 100px 10%;
    background-image: url('../images/ornament2.png');
    background-repeat: no-repeat;
    background-position: right top;
}

.how-section h2 {
    max-width: 900px;
    text-transform: uppercase;
    font-family: 'Cairo';
    font-size: 38px;
    font-weight: 800;
    line-height: 60px;
    color: #01f2f0;
}

h3 {
    max-width: 900px;
    text-transform: uppercase;
    font-family: 'Cairo';
    font-size: 24px;
    font-weight: 800;
    line-height: 60px;
    color: #01f2f0;
}

h4 {
    max-width: 900px;
    text-transform: uppercase;
    font-family: 'Cairo';
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 60px;
    color: #01f2f0;
}

ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

ul li {
    margin-bottom: 10px;
}

ul li p {
    margin: 0;
}

strong {
    color: #01f2f0;
}

p a {
    color: #37a2b5;
    text-decoration: underline;
}

p a:hover {
    color: #01f2f0;
}

.note {
    font-size: 0.9em;
    color: #ff4d4d;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2em;
    }

    h2 {
        font-size: 1.75em;
    }

    h3 {
        font-size: 1.25em;
    }

    p,
    ul {
        font-size: 0.95em;
    }
}

.how-container {
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    margin: 0 auto;
    max-width: 900px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    padding: 20px 0;
}

.how {
    margin-top: 2rem;
}

.how h3 {
    font-family: 'Cairo';
    font-size: 32px;
    font-weight: 800;
    line-height: 45px;
    text-align: left;
}

.how p {
    font-family: 'Open Sans';
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
    text-align: left;
    color: #dbdbdb;
}

@media (max-width: 768px) {
    .advantages-section {
        padding: 30px 10%;
    }

    .advantages-container {
        flex-direction: column;
        align-items: center;
    }
    .advantage {
        max-width: 100%;
    }
    .advantages-section h2 {
        font-size: 2.5rem;
    }

    .how-section h2 {
        font-size: 2rem;
    }

    .banner-content h1 {
        font-size: 2.5rem;
        font-weight: 800;
        line-height: 50px;
    }

    .banner-text {
        margin: 0 auto;
        align-items: center;
        padding: 0;
        text-align: center;
    }

    .banner-content p {
        font-family: 'Open Sans';
        font-size: 18px;
        font-weight: 400;
        line-height: 20px;
        text-align: left;
    }
}

.footer {
    background-image: url('../images/ornament1.png');
    background-repeat: no-repeat, no-repeat;
    background-position: left bottom;
    background-size: contain, contain;
    background-color: #121212;
    padding: 40px 10%;
    color: #dbdbdb;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-left {
    flex: 1 1 20%;
    min-width: 220px;
}

.footer-right {
    flex: 1 1 40%;
    min-width: 220px;
}

.footer-middle,
.footer-support {
    flex: 1 1 10%;
    min-width: 160px;
}

.footer-left .logo {
    font-size: 1.5rem;
    color: #01f2f0;
    margin-bottom: 20px;
}

.footer-left p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #dbdbdb;
}

.footer-middle h3,
.footer-support h3,
.footer-right h3 {
    font-size: 1rem;
    color: #01f2f0;
    margin-bottom: 15px;
}

.footer-middle ul,
.footer-support ul {
    list-style: none;
}

.footer-middle ul li,
.footer-support ul li {
    margin-bottom: 10px;
}

.footer-middle ul li a,
.footer-support ul li a {
    color: #dbdbdb;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-middle ul li a:hover,
.footer-support ul li a:hover {
    color: #01f2f0;
}

.footer-right p {
    font-size: 0.85rem;
    line-height: 1.5;
    color: #dbdbdb;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    font-size: 0.8rem;
    color: #666;
    border-top: 1px solid #333;
    padding-top: 10px;
}

/* Адаптивність */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    .footer-left,
    .footer-middle,
    .footer-support,
    .footer-right {
        min-width: 100%;
        margin-bottom: 20px;
    }
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #1c1c1cf2;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.popup-content {
    background-image: linear-gradient(#1c1c1cf2, #1c1c1cf2);
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 150px 40px;
    border: 2px solid #01f2f0;
    text-align: center;
    max-width: 500px;
    width: 90%;
    color: #01f2f0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.popup-content h2,
.popup-buttons {
    position: relative;
    z-index: 1;
}

.popup-content h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.popup-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.popup-button {
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.no-button {
    width: 200px;
    padding: 16px 32px 16px 32px;
    gap: 10px;
    border: 1px 0px 0px 0px;
    opacity: 0px;
    color: #01f2f0;
    border: 1px solid #01f2f0;
    background-color: #00000000;
}

.yes-button {
    width: 200px;
    background: #01f2f0;
    padding: 16px 32px 16px 32px;
    gap: 10px;
    opacity: 0px;
}

.yes-button:hover {
    background: #37a2b5;
}

.no-button:hover {
    background: rgb(1 135 242 / 10%);
}

@media (max-width: 768px) {
    .popup-content {
        padding: 40px 15px;
        width: 100%;
        margin: 20px;
    }

    .popup-content h2 {
        font-size: 20px;
    }

    .popup-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .popup-button {
        font-size: 14px;
        padding: 12px 20px;
    }
}

@media (max-width: 480px) {
    .popup-content {
        padding: 40px 10px;
        margin: 20px;
    }

    .popup-content h2 {
        font-size: 18px;
        line-height: 1.3;
    }

    .popup-button {
        padding: 10px 15px;
        font-size: 14px;
    }
}

.table-section {
    padding: 100px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #121212;
}

.table__container {
    width: 100%;
    max-width: 900px;
    overflow-x: auto;
    background-color: #1a1a1a;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.styled-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Cairo';
    color: #dbdbdb;
}

.section-header,
.section-heading h2 {
    background-color: #333;
    color: #01f2f0;
    font-size: 18px;
    padding: 10px;
    text-align: left;
    border-top: 1px solid #555;
}

.section-heading h2 {
    margin: 0;
    font-size: 20px;
}

.styled-table th {
    background-color: #2a2a2a;
    color: #01f2f0;
    font-weight: bold;
    padding: 12px 15px;
    text-align: left;
}

.styled-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #333;
}

.styled-table tr:nth-child(even) {
    background-color: #1f1f1f;
}

.styled-table tr:nth-child(odd) {
    background-color: #2a2a2a;
}

.note {
    font-size: 14px;
    color: #ff4d4d;
    text-align: left;
}

@media (max-width: 600px) {
    .styled-table th,
    .styled-table td {
        padding: 10px;
        font-size: 14px;
    }
}

.double-container-section {
    display: block;
    gap: 20px;
    justify-content: space-between;
    padding: 40px 10%;
    background-color: #121212;
}

.container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.text-block,
.form-block {
    flex: 1;
    color: #dbdbdb;
}

.image-block {
    flex: 1;
    display: flex;
    justify-content: center;
}

.image-block img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
}

.text-block h2,
.form-block h2 {
    color: #01f2f0;
    font-size: 24px;
    margin-bottom: 20px;
}

.text-block p {
    line-height: 1.6;
    margin-bottom: 10px;
}

.text-block p strong {
    color: #01f2f0;
}

.form-block form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-block input,
.form-block textarea {
    padding: 10px;
    font-size: 16px;
    color: #333;
    background: #fff;
    border: 1px solid #dbdbdb;
    border-radius: 5px;
}

.form-block button {
    padding: 10px 20px;
    background-color: #01f2f0;
    color: #121212;
    font-size: 16px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.form-block button:hover {
    background-color: #37a2b5;
}

/* Адаптивний дизайн для мобільних пристроїв */
@media (max-width: 768px) {
    .double-container-section {
        flex-direction: column;
        gap: 20px;
        padding: 20px 5%;
    }

    .container {
        width: 100%;
        flex-direction: row;
        gap: 20px;
    }
}
