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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Inter, sans-serif;
    background: #090b10;
    color: white;
    line-height: 1.6;
    position: relative;
}

/* HEADER */

header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 25px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(9, 11, 16, .45);
    backdrop-filter: blur(14px);
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
}

.download-top {
    color: white;
    text-decoration: none;
    background: #4DA3FF;
    padding: 12px 24px;
    border-radius: 999px;
    transition: .3s;
}

.download-top:hover {
    background: #68b2ff;
}

/* HERO */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 8%;
    position: relative;
    background-image: url("assets/hero.jpg");
    background-size: cover;
    background-position: center;
}

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(7, 10, 18, .85),
            rgba(7, 10, 18, .90));
}

.hero-content {
    position: relative;
    max-width: 700px;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero p {
    color: #b6c1d3;
    font-size: 1.15rem;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.btn {
    text-decoration: none;
    padding: 16px 34px;
    border-radius: 999px;
    transition: .3s;
    font-weight: 600;
}

.primary {
    background: #4DA3FF;
    color: white;
}

.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(77, 163, 255, .4);
}

.secondary {
    border: 1px solid rgba(255, 255, 255, .2);
    color: white;
}

.secondary:hover {
    background: rgba(255, 255, 255, .08);
}

.hero-list {
    display: flex;
    gap: 30px;
    list-style: none;
    flex-wrap: wrap;
    color: #93c8ff;
}

/* Sections */

section {
    background: transparent;
    padding: 100px 8%;
}

section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.card {
    /* background: rgba(255, 255, 255, .06); */
    background: rgba(20,25,35,.60);
    border: 1px solid rgba(255, 255, 255, .08);
    backdrop-filter: blur(18px);
    padding: 35px;
    border-radius: 20px;
    transition: .35s;
}

.card:hover {
    transform: translateY(-8px);
    border-color: #4DA3FF;
}

.icon {
    font-size: 2rem;
    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 15px;
}

.card p {
    color: #b5bfd1;
}

.workflow {
    text-align: center;
}

.steps {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}

.step {
    background: #161d2d;
    padding: 20px 30px;
    border-radius: 12px;
}

.arrow {
    font-size: 2rem;
    color: #4DA3FF;
}

.cta {
    text-align: center;
}

.cta p {
    color: #b6c1d3;
    margin: 20px 0 40px;
}

/* FOOTER */
footer {
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding: 40px 8%;
    color: #8b96a9;
}

.footer-top, .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.footer-links a {
    color: #8b96a9;
    text-decoration: none;
    margin-left: 25px;
}

.footer-links a:hover {
    color: white;
}

.disclaimer {
    font-size: .82rem;
    color: #666;
    line-height: 1.7;
    max-width: 900px;
}

/* Scroll animation */

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: 1s;
}

.reveal.active {
    opacity: 1;
    transform: none;
}

@media(max-width:900px) {
    .hero h1 {
        font-size: 3rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .steps {
        flex-direction: column;
    }

    .arrow {
        transform: rotate(90deg);
    }

    header {
        padding: 20px;
    }

    section {
        padding: 80px 20px;
    }

    footer {
        padding: 30px 20px;
        gap: 20px;
        flex-direction: column;
    }

}

/* BACKGROUNDS */

#background {

    position: fixed;

    inset: 0;

    z-index: -2;

    overflow: hidden;

}

.bg {
    position: absolute;
    margin-top: 100px;
    inset: 0;
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 2s ease;
    transform: scale(1);
}

.bg.active{
    opacity:1;
}

.bg:nth-child(1){
    background-image:url("assets/bg1.jpg");
}

.bg:nth-child(2){
    background-image:url("assets/bg2.jpg");
}

.bg:nth-child(3){
    background-image:url("assets/bg3.jpg");
}

.bg:nth-child(4){
    background-image:url("assets/bg4.jpg");
}

.background-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            rgba(7,10,18,.82),
            rgba(7,10,18,.90)
        );
    z-index: 1;
}

.cookies, .privacy {
    margin: 0 8%;
    padding-top: 110px;
    padding-bottom: 20px;
}