/* ===========================
   RESET
=========================== */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===========================
   VARIABLES
=========================== */

:root {

    --bg: #050505;

    --surface: rgba(255,255,255,.04);

    --border: rgba(255,255,255,.08);

    --text: #f4f4f4;

    --muted: #9d9d9d;

    --transition: .25s ease;

    --radius: 14px;

    --max-width: 760px;

}

/* ===========================
   BASE
=========================== */

html {

    scroll-behavior: smooth;

}

body {

    background:
        radial-gradient(circle at top,
            rgba(255,255,255,.06),
            transparent 45%),
        var(--bg);

    color: var(--text);

    font-family: Inter, sans-serif;

    min-height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

    overflow-x: hidden;

}

/* ===========================
   FILM GRAIN
=========================== */

.noise {

    position: fixed;

    inset: 0;

    pointer-events: none;

    opacity: .03;

    background-image:
        repeating-radial-gradient(circle at 0 0,
            transparent 0,
            transparent 2px,
            rgba(255,255,255,.05) 3px);

}

/* ===========================
   HERO
=========================== */

.hero {

    width: min(92%, var(--max-width));

    text-align: center;

    animation: fadeUp .9s ease;

}

/* ===========================
   LOGO
=========================== */

.logo{

    color:white;

}

.logo img{

    width:70px;

    height:auto;

}

/* ===========================
   TITULO
=========================== */

h1{

    display:grid;

    justify-items:center;

    row-gap:.08em;

    margin-bottom:28px;

}

.headline-static,
.headline-dynamic{

    font-size:clamp(3rem,8vw,5rem);

    font-weight:700;

    line-height:.95;

    letter-spacing:-0.06em;

}

.headline-dynamic{

    display:flex;

    justify-content:center;

    align-items:center;

    min-height:1em;

    width:100%;

    transition:
        opacity .25s ease,
        transform .25s ease;

}

/* ===========================
   TEXTO
=========================== */

.intro {

    color: var(--text);

    font-size: 1.15rem;

    margin-bottom: 14px;

}

.description {

    max-width: 560px;

    margin: auto;

    color: var(--muted);

    font-size: 1.05rem;

    line-height: 1.8;

    margin-bottom: 42px;

}

/* ===========================
   LINKS
=========================== */

.links {

    display: flex;

    justify-content: center;

    gap: 14px;

    flex-wrap: wrap;

    margin-bottom: 60px;

}

.links a {

    display: flex;

    align-items: center;

    gap: 10px;

    color: var(--text);

    text-decoration: none;

    border: 1px solid var(--border);

    background: var(--surface);

    padding: 10px 18px 10px 10px;

    border-radius: 999px;

    transition: var(--transition);

    backdrop-filter: blur(12px);

}

.links a:hover {

    background: white;

    color: black;

    transform: translateY(-2px);

}

/* ===========================
   BADGES DE ICONOS
=========================== */

.social-icon {

    display: block;

    box-sizing: content-box;

    width: 20px;

    height: 20px;

    padding: 7px;

    border-radius: 50%;

    flex-shrink: 0;

}

.link-instagram .social-icon {

    background: radial-gradient(circle at 30% 107%,
        #fdf497 0%, #fdf497 5%,
        #fd5949 45%, #d6249f 60%,
        #285AEB 90%);

}

.link-tiktok .social-icon {

    background: black;

}

.link-twitter .social-icon {

    background: white;

}


/* ===========================
   NEWSLETTER
=========================== */

.newsletter {

    margin-bottom: 70px;

}

.newsletter p {

    margin-bottom: 18px;

    color: var(--muted);

}

.newsletter form {

    display: flex;

    justify-content: center;

    gap: 12px;

    flex-wrap: wrap;

}

.newsletter input {

    width: 320px;

    background: var(--surface);

    border: 1px solid var(--border);

    color: white;

    padding: 16px;

    border-radius: var(--radius);

    outline: none;

    transition: var(--transition);

}

.newsletter input:focus {

    border-color: rgba(255,255,255,.3);

}

.newsletter button {

    padding: 16px 24px;

    border-radius: var(--radius);

    border: none;

    background: white;

    color: black;

    cursor: pointer;

    font-weight: 600;

    transition: var(--transition);

}

.newsletter button:hover {

    transform: translateY(-2px);

}

/* ===========================
   CURRENTLY BUILDING
=========================== */

.building {

    display: flex;

    flex-direction: column;

    gap: 12px;

    margin-bottom: 60px;

}

.building span {

    color: var(--muted);

    font-size: .9rem;

}

.building a {

    text-decoration: none;

    color: white;

    font-size: 1.05rem;

    letter-spacing: .18em;

    transition: var(--transition);

}

.building a:hover {

    opacity: .65;

}

/* ===========================
   ANIMACIONES
=========================== */

@keyframes fadeUp {

    from {

        opacity: 0;

        transform: translateY(25px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}

@keyframes float {

    0% {

        transform: translateY(0);

    }

    50% {

        transform: translateY(-5px);

    }

    100% {

        transform: translateY(0);

    }

}

/* ===========================
   RESPONSIVE
=========================== */

@media (max-width: 640px) {

    .newsletter input {

        width: 100%;

    }

    .newsletter button {

        width: 100%;

    }

}


#changing-word{

    display:inline-block;

    transition:

        opacity .25s ease,

        transform .25s ease;

}

/* ===========================
   FOOTER
=========================== */

footer {

    margin-top: 64px;

    color: var(--muted);

    font-size: .85rem;

}