:root {
    --bg: linear-gradient(120deg, #434b65, #000516);
    --card: #1c2130;
    --text: #f3f4f6;
    --muted: #b4b8c2;
    --accent: #8b8bff;
    user-select: none;
}

* {
    box-sizing: border-box;
    font-family: "Zalando Sans Expanded", sans-serif;
    font-weight: 400;
}

html,
body {
    overflow-x: hidden;
}

html {
    background: var(--bg);
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    line-height: 1.6;
    font-size: 16px;
}

/* NAV */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
}

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

.nav-links a {
    margin-left: 1.5rem;
    color: var(--text);
    text-decoration: none;
    font-size: 0.95rem;
}

.nav-links .btn:hover {
    opacity: 0.8;
    outline: #f3f4f6 2px solid;
    animation: bold 0.3s forwards;
}

/* HERO */
.hero {
    text-align: center;
    padding: 6rem 1.5rem;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
}

.hero h1 span {
    color: var(--accent);
}

.hero p {
    color: var(--muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 1.5rem auto 0;
}

.hero-buttons {
    margin-top: 2.5rem;
}

.hero-buttons a:hover {
    opacity: 0.8;
}

.hero-buttons a:active {
    animation: click 0.3s ease;
}

.btn {
    text-align: center;
    display: inline-block;
    padding: 0.75rem 1.25rem;
    border-radius: 0.5rem;
    text-decoration: none;
    margin: 0.5rem;
    font-size: 0.95rem;
    min-width: 120px;
}

@keyframes bold {
    0% {
        font-weight: 400;
    }

    100% {
        font-weight: 600;
    }
}

.nav-links .btn:active {
    animation: click 0.5s ease;
}

@keyframes click {
    20% {
        transform: translateY(5px) translateX(5px);
    }
}

.primary {
    background: var(--accent);
    color: #000;
}

.secondary {
    border: 2px solid var(--accent);
    color: var(--accent);
}

/* PREVIEW */
.preview {
    display: flex;
    justify-content: center;
    margin: 4rem 0;
    padding: 0 1rem;
}

.profile-card {
    background: var(--card);
    padding: 2rem;
    border-radius: 1rem;
    width: 100%;
    max-width: 350px;
    text-align: center;
}

.profile-card img {
    border-radius: 50%;
    width: 120px;
    height: 120px;
    object-fit: cover;
}

.links a {
    display: block;
    background: #262b3d;
    margin: 0.75rem 0;
    padding: 0.9rem;
    border-radius: 0.5rem;
    text-decoration: none;
    color: var(--text);
    font-size: 0.95rem;
}

/* FEATURES */
.features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 4rem 1.5rem;
    flex-wrap: wrap;
}

.features h4 {
    font-weight: 800;
}

.feature {
    background: var(--card);
    padding: 1.75rem;
    box-shadow: 0.5rem 0.5rem 0.8rem black;
    border-radius: 1rem;
    width: 100%;
    max-width: 280px;
}

/* STEPS */
.steps {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    padding: 0 1.5rem 4rem;
    flex-wrap: wrap;
}

.steps h4 {
    font-weight: 800;
    width: 100%;
    text-align: center;
    margin-bottom: 2rem;
}

.step {
    background: #262b3d;
    padding: 1.25rem 1.5rem;
    box-shadow: 0.5rem 0.5rem 0.8rem black;
    border-radius: 0.75rem;
    font-size: 0.95rem;
    width: 100%;
    max-width: 260px;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 2rem;
    color: var(--muted);
    font-size: 0.85rem;
}

/* =========================
   TABLET (≤ 1024px)
   ========================= */
@media (max-width: 1024px) {

    .nav {
        flex-direction: column;
        gap: 1rem;
    }

    .hero {
        padding: 5rem 1.5rem;
    }
}

/* =========================
   MOBILE (≤ 600px)
   ========================= */
@media (max-width: 600px) {

    body {
        font-size: 17px;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .hero {
        padding: 4rem 1.25rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
        padding: 0 0.5rem;
    }

    .btn {
        display: block;
        width: 100%;
        max-width: 280px;
        margin: 0.75rem auto;
    }

    .profile-card {
        padding: 1.75rem;
    }

    .profile-card img {
        width: 110px;
        height: 110px;
    }

    .feature,
    .step {
        max-width: 100%;
    }
}
