html {
    scroll-behavior: smooth;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Space Grotesk', sans-serif;
}
body {
    background-color: #0b0d17;
    color: #ffffff;
    line-height: 1.6;
}
main {
    animation: fadeIn 0.6s ease-out;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: rgba(11, 13, 23, 0.9);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #00f0ff;
    text-transform: uppercase;
    letter-spacing: 2px;
}
nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}
nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 300;
    transition: color 0.3s;
}
nav a:hover {
    color: #00f0ff;
}
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: linear-gradient(rgba(11, 13, 23, 0.55), rgba(11, 13, 23, 0.8)), url("../img/chile-night.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 0 20px;
}
.hero-content {
    max-width: 800px;
    z-index: 1;
}
.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 20px;
    background: -webkit-linear-gradient(#fff, #00f0ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    line-height: 1.1;
}
.hero p {
    font-size: 1.4rem;
    margin-bottom: 40px;
    max-width: 650px;
    margin-inline: auto;
    color: #e0e0e0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    font-weight: 300;
}
.page-hero {
    height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at center, #1a1a2e 0%, #0b0d17 100%);
    padding: 0 20px;
    margin-top: 60px;
}
.page-hero.team-hero {
    background-image: linear-gradient(rgba(11, 13, 23, 0.5), rgba(11, 13, 23, 0.85)), url("../img/earth-from-leo.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.page-hero .hero-content p {
    margin-inline: auto;
    max-width: 760px;
    font-size: 1.2rem;
    color: #e0e0e0;
    font-weight: 300;
}
.section-lead {
    text-align: center;
    max-width: 760px;
    margin-inline: auto;
}

.partners {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 36px;
}

.partner {
    display: flex;
    gap: 18px;
    align-items: center;
    padding: 20px 22px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.partner:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 240, 255, 0.35);
}

.partner-mark {
    width: 62px;
    height: 62px;
    flex: 0 0 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.95), rgba(255, 255, 255, 0.7));
    color: #0b0d17;
    font-weight: 800;
    letter-spacing: 0.6px;
    box-shadow: 0 12px 28px rgba(0, 240, 255, 0.12);
}

.partner-body {
    text-align: left;
}

.partner-body h3 {
    margin: 0;
    color: #00f0ff;
    font-size: 1.4rem;
}

.partner-body p {
    margin: 6px 0 0;
    opacity: 0.85;
}

@media (max-width: 700px) {
    .partner {
        flex-direction: column;
        align-items: flex-start;
    }
}
.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    background: -webkit-linear-gradient(#fff, #00f0ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.content-section {
    padding: 50px;
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: #ddd;
}
.content-section h2 {
    color: #00f0ff;
    margin-bottom: 25px;
    font-size: 2rem;
    text-align: center;
}
.content-section p {
    margin-bottom: 20px;
}
.payload-figure {
    margin: 30px auto 40px;
    max-width: 980px;
}
.payload-figure img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
}
.payload-figure figcaption {
    margin-top: 12px;
    font-size: 0.95rem;
    color: #a9b3c1;
    text-align: center;
}
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: #00f0ff;
    color: #0b0d17;
    text-decoration: none;
    font-weight: 700;
    border-radius: 30px;
    transition: transform 0.3s, box-shadow 0.3s;
}
.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 240, 255, 0.3);
}
.features {
    padding: 80px 50px;
    text-align: center;
}
.features h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
}
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 300px));
    justify-content: center;
    gap: 30px;
    align-items: stretch;
}

#payload .card {
    text-align: center;
}
.card {
    background: #161a2b;
    padding: 30px;
    border-radius: 15px;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
}
.card:hover {
    transform: translateY(-10px);
    border-color: #00f0ff;
}
.card h3 {
    margin-bottom: 15px;
    color: #00f0ff;
}
footer {
    text-align: center;
    padding: 20px;
    background: #05060a;
    color: #555;
    font-size: 0.9rem;
}

/* --- MOBILE RESPONSIVE --- */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}
.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: #00f0ff;
    transition: 0.3s;
}

@media (max-width: 768px) {
    header {
        padding: 15px 25px;
    }
    .menu-toggle {
        display: flex;
    }
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(11, 13, 23, 0.98);
        backdrop-filter: blur(20px);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: 0.4s ease-in-out;
        z-index: 1000;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
    }
    nav.active {
        right: 0;
    }
    nav ul {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    nav a {
        font-size: 1.5rem;
    }
    
    /* Hamburger Animation */
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero h1 {
        font-size: 2.8rem;
    }
    .hero p {
        font-size: 1.1rem;
    }
    .features {
        padding: 50px 20px;
    }
    .features h2 {
        font-size: 2rem;
    }
    .cards {
        gap: 20px;
    }
    .card {
        width: 100%;
    }
    .page-hero h1 {
        font-size: 2.5rem;
    }
    .content-section {
        padding: 30px 20px;
    }
}
