* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f3f4f6;
    color: #1f2937;
}


/* HEADER */

header {
    background-color: #1f2937;
    color: white;
    padding: 18px 30px;
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
}

.logo {
    width: 105px;
    height: 105px;
    object-fit: contain;
}

.header-text {
    text-align: left;
}

.header-text h1 {
    margin: 0;
    font-size: 2.4rem;
}

.header-text p {
    margin: 7px 0 0;
    color: #d1d5db;
    font-size: 1rem;
}


/* NAVIGATION */

nav {
    text-align: center;
    margin-top: 16px;
}

nav a {
    color: #e5e7eb;
    text-decoration: none;
    margin: 0 16px;
    font-size: 1rem;
}

nav a:hover {
    color: white;
}

nav a.active {
    color: white;
    font-weight: bold;
    border-bottom: 2px solid white;
    padding-bottom: 5px;
}


/* MAIN */

main {
    max-width: 1250px;
    margin: 45px auto;
    padding: 0 25px;
}


/* HERO */

.hero {
    min-height: 440px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 70px;

    background-color: white;

    padding: 55px 70px;

    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.07);
}

.hero-content {
    max-width: 670px;
}

.hero-label,
.section-label {
    display: inline-block;

    margin-bottom: 10px;

    font-size: 0.8rem;
    font-weight: bold;

    letter-spacing: 1.5px;
    text-transform: uppercase;

    color: #6b7280;
}

.hero h2 {
    margin: 0 0 20px;

    font-size: 3rem;
    line-height: 1.1;
}

.hero-description {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #4b5563;
}

.hero-image img {
    
    max-width: 100%;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 30px;
}


/* BUTTONS */

.main-button,
.outline-button {
    display: inline-block;

    padding: 14px 24px;

    border-radius: 7px;

    font-size: 1rem;
    font-weight: bold;

    text-decoration: none;

    transition: 0.2s;
}

.main-button {
    background-color: #1f2937;
    color: white;
    border: 2px solid #1f2937;
}

.main-button:hover {
    background-color: #374151;
    border-color: #374151;
}

.outline-button {
    background-color: transparent;
    color: #1f2937;
    border: 2px solid #1f2937;
}

.outline-button:hover {
    background-color: #1f2937;
    color: white;
}


/* FEATURES */

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 22px;

    margin: 35px 0;
}

.feature-card {
    background-color: white;

    padding: 32px;

    border-radius: 14px;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.feature-number {
    font-size: 0.8rem;
    font-weight: bold;
    color: #9ca3af;
    margin-bottom: 18px;
}

.feature-card h3 {
    margin: 0 0 10px;
    font-size: 1.35rem;
}

.feature-card p {
    margin: 0;
    line-height: 1.6;
    color: #4b5563;
}


/* SURVEY */

.survey-section {
    margin-top: 35px;

    background-color: #1f2937;
    color: white;

    padding: 55px;

    border-radius: 18px;
}

.survey-section .section-label {
    color: #9ca3af;
}

.survey-header {
    max-width: 780px;
}

.survey-header h2 {
    margin: 0 0 15px;
    font-size: 2.2rem;
}

.survey-header > p {
    line-height: 1.7;
    color: #e5e7eb;
}

.privacy-note {
    font-size: 0.9rem;
    color: #9ca3af !important;
}

.survey-steps {
    display: grid;

    grid-template-columns:
        1fr auto 1fr auto 1fr;

    align-items: center;

    gap: 20px;

    margin-top: 40px;
}

.survey-step {
    min-height: 190px;

    padding: 25px;

    background-color: #273548;

    border-radius: 12px;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    margin-bottom: 20px;

    border-radius: 50%;

    background-color: white;
    color: #1f2937;

    font-weight: bold;
}

.survey-step h3 {
    margin: 0 0 10px;
}

.survey-step p {
    margin: 0;

    line-height: 1.55;

    color: #d1d5db;
}

.survey-arrow {
    font-size: 2rem;
    color: #9ca3af;
}

.survey-buttons {
    margin-top: 35px;

    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.survey-section .main-button {
    background-color: white;
    color: #1f2937;
    border-color: white;
}

.survey-section .main-button:hover {
    background-color: #e5e7eb;
}

.survey-section .outline-button {
    color: white;
    border-color: white;
}

.survey-section .outline-button:hover {
    background-color: white;
    color: #1f2937;
}


/* PROJECT */

.project-preview {
    margin-top: 35px;

    background-color: white;

    padding: 45px 55px;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;

    border-radius: 18px;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.project-preview div {
    max-width: 750px;
}

.project-preview h2 {
    margin: 0 0 15px;
}

.project-preview p {
    line-height: 1.7;
    color: #4b5563;
}

.project-preview a {
    white-space: nowrap;

    color: #1f2937;

    font-weight: bold;

    text-decoration: none;
}

.project-preview a:hover {
    text-decoration: underline;
}


/* GAME */

.game-section {
    background-color: white;

    padding: 25px;

    border-radius: 12px;

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.game-container {
    display: flex;
    justify-content: center;

    width: 100%;

    margin-top: 20px;
}

iframe {
    width: 95vw;
    max-width: 1450px;

    aspect-ratio: 16 / 9;
    height: auto;

    border: none;

    background-color: black;

    border-radius: 8px;
}

.description {
    max-width: 1000px;

    margin: 40px auto 0;

    line-height: 1.7;
}

.rotate-message {
    display: none;

    text-align: center;

    font-weight: bold;

    margin: 15px 0;
}


/* GENERAL CONTENT */

.content-section {
    max-width: 1000px;

    margin: 0 auto;

    background-color: white;

    padding: 40px;

    border-radius: 12px;

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);

    line-height: 1.7;
}


/* FOOTER */

footer {
    margin-top: 60px;

    background-color: #111827;

    color: #d1d5db;

    padding: 35px 25px;
}

.footer-content {
    max-width: 1200px;

    margin: 0 auto;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-content p {
    margin: 5px 0;
}

.footer-content strong {
    color: white;
    font-size: 1.05rem;
}

.footer-content a {
    color: white;

    text-decoration: none;

    font-weight: bold;
}

.footer-content a:hover {
    text-decoration: underline;
}

.footer-right {
    text-align: right;
}


/* TABLET */

@media (max-width: 900px) {

    .hero {
        padding: 40px;
    }

    .hero h2 {
        font-size: 2.4rem;
    }

    .hero-image img {
        width: 210px;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .survey-steps {
        grid-template-columns: 1fr;
    }

    .survey-arrow {
        display: none;
    }

    .survey-step {
        min-height: auto;
    }

}


/* MOBILE */

@media (max-width: 700px) {

    header {
        padding: 15px;
    }

    .header-top {
        gap: 15px;
    }

    .logo {
        width: 75px;
        height: 75px;
    }

    .header-text h1 {
        font-size: 1.7rem;
    }

    .header-text p {
        font-size: 0.85rem;
    }

    nav a {
        margin: 0 6px;
        font-size: 0.9rem;
    }

    main {
        margin-top: 25px;
        padding: 0 12px;
    }

    .hero {
        flex-direction: column-reverse;

        text-align: center;

        padding: 35px 25px;

        gap: 25px;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-image img {
        width: 150px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .survey-section {
        padding: 35px 25px;
    }

    .survey-header h2 {
        font-size: 1.8rem;
    }

    .project-preview {
        padding: 30px 25px;

        flex-direction: column;
        align-items: flex-start;

        gap: 15px;
    }

    .footer-content {
        flex-direction: column;

        text-align: center;

        gap: 20px;
    }

    .footer-right {
        text-align: center;
    }

}


/* MOBILE PORTRAIT */

@media (max-width: 700px) and (orientation: portrait) {

    .rotate-message {
        display: block;
    }

}

