@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

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

:root {
    --bg: linear-gradient(#070f34 5%,#08275f 30%,#02040f 80%);
    --bg-secondary: #f2f2f2;
    --text: #fff;
    --text-secondary: #343b4d;
    --text-accent: #1fcce4;

    --header-bg: rgba(8, 39, 95, 0.5);
    --footer-bg: #000;
}

body {
    font-family: "Inter", sans-serif;
    font-size: 16px;
    color: var(--text);
    background: var(--bg);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

img {
    display: block;
    width: 100%;
}

.container {
    max-width: 1200px;
    padding: 0 16px;
    margin: 0 auto;
}
/* ###### */
.brg {
    cursor: pointer;
    width: 30px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    display: none;
}
.brg div {
    width: 100%;
    height: 2px;
    border-radius: 4px;
    background-color: var(--text-secondary);
}
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%; 
    background: var(--header-bg);
    backdrop-filter: blur(4px);
    width: 100%;
}
.header .container {
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.logo img {
    display: block;
    width: 100px;
}
.header ul {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}
.header li a {
    text-decoration: none;
    font-size: 14px;
    color: var(--text-secondary);
    transition: filter 0.2s ease-out;
    &:hover {
        text-decoration: underline;
    }
}
@media (max-width: 768px) {
    .brg {
        display: flex;
    }
    .header nav {
        display: none;
    }
}
/* ###### */
.footer {
    background-color: var(--footer-bg);
    margin-top: auto;
}
.footer .container {
    padding: 24px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.footer ul {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}
.footer li a {
    text-decoration: none;
    font-size: 14px;
    color: inherit;
    transition: color 0.2s ease-out;
    &:hover {
        color: var(--text-accent);
    }
}
@media (max-width: 768px) {
    .footer .container {
        flex-direction: column;
        gap: 24px;
    }
    .footer ul {
        flex-direction: column;
    }
}
/* ###### */
/* ###### */
.nav {
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 60px 16px;
    background-color: var(--bg);
    transform: translateX(-100%);
    transition: transform 0.4s ease-out;
}
.nav.open {
    transform: translateX(0);
}
.nav-close {
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    font-size: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.nav ul {
    list-style: none;
    display: grid;
    gap: 20px;
    text-align: center;
}
.nav a {
    color: inherit;
    text-decoration: none;
}
/* ###### */
.text h1,
.text h2,
.text h3,
.text h4 {
    font-family: "Inter", sans-serif;
}
.text .container {
    padding: 40px 16px;
}
.text h1 {
    font-size: 32px;
    margin-bottom: 16px;
}
.text h2,
.text h3 {
    font-size: 22px;
    margin-bottom: 8px;
    margin-top: 32px;
}
.text p {
    font-size: 16px;
}
.text p + p {
    margin-bottom: 16px;
}
.text ul {
    list-style-position: inside;
}
.text a {
    color: inherit;
}
/* ###### */
.header a {
    display: block;
    text-align: center;
    text-decoration: none;
    width: max-content;
    padding: 4px 16px;
    font-size: 14px;
    border-radius: 8px;
    background-color: var(--text-accent);
    color: var(--text-secondary);
    transition: filter 0.2s ease-out;

    &:hover {
        filter: brightness(1.1);
    }
}
.header h2 {
    font-size: 18px;
    font-weight: 400;
}
/* ####### */
.hero {
    background: url(../images/hero-bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}
.hero .container {
    padding: 120px 16px 40px;
}
.hero h1 {
    font-size: 38px;
    text-align: center;
    margin-bottom: 24px;
}
.hero p {
    font-size: 22px;
    text-align: center;
}
.hero a,
.how a,
.what a,
.faq a,
.ready a {
    display: block;
    text-align: center;
    text-decoration: none;
    width: 100%;
    max-width: 400px;
    margin: 24px auto;
    padding: 16px 32px;
    font-size: 24px;
    border-radius: 8px;
    background-color: var(--text-accent);
    color: var(--text-secondary);
    transition: filter 0.2s ease-out;

    &:hover {
        filter: brightness(1.1);
    }
}
.hero-box {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 25px;
}

.hero-item img {
    display: block;
    width: 30px;
    height: 30px;
    margin: 0 auto 12px;
}
.hero-item p {
    font-size: 14px;
    text-align: center;
}
.hero-tip {
    text-align: center;
    font-size: 12px;
    font-style: italic;
    margin: 16px 0 24px;
}
/* ##### */
.testimonials .container {
    padding: 60px 16px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}
.testimonials-item {
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 0 10px 0 var(--text-accent);
}
.testimonials h2 {
    font-size: 18px;
    margin-bottom: 12px;
}
.testimonials-item div {
    font-size: 14px;
    margin-bottom: 12px;
    color: var(--text-accent);
}
.testimonials-item p {
    font-size: 14px;
}
/* ##### */
.how .container {
    padding: 40px 16px;
}
.how h2 {
    font-size: 32px;
    text-align: center;
    margin-bottom: 24px;
}
.how-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.how-item {
    display: grid;
    align-content: center;
    width: 100%;
    padding: 20px;
    border-radius: 12px;
    background-color: var(--bg-secondary);
    color: var(--text-secondary);
    border: 1px solid var(--text-accent);
}
.how-item img {
    display: block;
    width: 40px;
    height: 40px;
    margin: 0 auto 16px;
}
.how-item p {
    font-size: 18px;
    text-align: center;
}
.how-item p span {
    font-size: 12px;
    font-style: italic;
}
/* ##### */
.what .container {
    padding: 40px 16px;
}
.what h2 {
    font-size: 32px;
    margin-bottom: 24px;
    text-align: center;
}
.what-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}
.what-item {
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 0 10px 0 var(--text-accent);
    background-color: rgba(31, 204, 228, 0.1);
    text-align: center;
}
.what-item img {
    display: block;
    width: 100%;
    max-width: 150px;
    margin: 0 auto;
}
.what-item h3 {
    font-size: 20px;
    margin-bottom: 12px;
}
.what-item p {
    font-size: 16px;
}
.what-list {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 24px 0;
    gap: 30px;
    font-size: 16px;
    flex-wrap: wrap;
}
.what-list li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.what-list img {
    width: 16px;
    height: 16px;
}
/* ##### */
.faq .container {
    padding: 64px 16px;
    max-width: 800px;
}
.faq-box {
    max-width: 600px;
    margin: 0 auto;
}
.faq-wrap {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.2s ease-in-out;
}
.active + .faq-wrap {
    grid-template-rows: 1fr;
}
.faq-wrap > div {
    overflow: hidden;
}
.faq-item {
    color: var(--text-secondary);
    margin-top: 16px;
    border-radius: 8px;
    background-color: var(--bg-secondary);
}
.faq-item h3 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    font-size: 20px;
    font-family: "Inter", sans-serif;
    cursor: pointer;
}
.faq-item h3 img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}
.faq-item h3.active img {
    transform: rotate(180deg);
}
.faq-item p {
    padding: 16px;
    font-size: 16px;
}
/* ##### */
.ready .container {
    padding: 40px 16px;
}
.ready h2 {
    font-size: 32px;
    margin-bottom: 24px;
    text-align: center;
}
.ready ul {
    list-style-position: inside;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin: 32px 0;
    text-align: center;
    flex-wrap: wrap;
}
/* ##### */
