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

html {
    margin: 0;
    padding: 0;
}

body {
    background-color: #f0eee5;
    font-family: "DM Sans", sans-serif;
    min-height: 100vh;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    overflow-x: hidden;
}

header {
    position: relative;
    height: calc(130px * (100vw / 1440px));
    -webkit-flex-shrink: 0;
    -ms-flex: 0 0 auto;
    flex-shrink: 0;
}

.logo-link {
    position: absolute;
    left: calc(100px * (100vw / 1440px));
    top: calc(36px * (100vw / 1440px));
    text-decoration: none;
    display: inline-block;
}

.logo-icon {
    width: calc(64px * (100vw / 1440px));
    height: calc(64px * (100vw / 1440px));
    object-fit: contain;
}

.mission-text {
    position: absolute;
    top: calc(57px * (100vw / 1440px));
    left: 50%;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    font-size: calc(20px * (100vw / 1440px));
    color: #098BFF;
    margin: 0;
    text-decoration: none;
    -webkit-transition: opacity 0.3s ease;
    -moz-transition: opacity 0.3s ease;
    -o-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
}

.mission-text:hover {
    opacity: 0.8;
}

.twitter-link {
    position: absolute;
    right: calc(100px * (100vw / 1440px));
    top: calc(46.5px * (100vw / 1440px));
    text-decoration: none;
}

.twitter-icon {
    width: calc(53.75px * (100vw / 1440px));
    height: calc(43px * (100vw / 1440px));
    fill: #098BFF;
    transition: opacity 0.3s ease;
}

.twitter-icon:hover {
    opacity: 0.8;
}

main {
    -webkit-box-flex: 1;
    -moz-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -moz-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: end;
    -moz-box-pack: end;
    -webkit-justify-content: flex-end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    padding: calc(120px * (100vw / 1440px)) 0 100px 0;
    position: relative;
}

.hero {
    text-align: center;
    margin-bottom: calc(40px * (100vw / 1440px));
    width: 100%;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -moz-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

.main-heading {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    font-size: calc(35px * (100vw / 1440px));
    letter-spacing: 0.06;
    color: #098BFF;
    margin-bottom: calc(20px * (100vw / 1440px));
    line-height: 1.2;
}

.description {
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
    font-size: 20px;
    color: #4E4E4E;
    margin-bottom: 40px;
    line-height: 1.5;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    width: 198px;
    height: 38px;
    background-color: #098BFF;
    color: white;
    border: none;
    border-radius: 10px;
    font-family: "DM Sans", sans-serif;
    font-weight: 700;
    font-size: 20px;
    cursor: pointer;
    -webkit-transition: background-color 0.3s ease;
    -moz-transition: background-color 0.3s ease;
    -o-transition: background-color 0.3s ease;
    transition: background-color 0.3s ease;
    margin: calc(40px * (100vw / 1440px)) auto 0 auto;
    display: block;
    text-align: center;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.cta-button:hover {
    background-color: #0770d9;
}

.mockups {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    gap: 40px;
    -webkit-box-pack: center;
    -moz-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -moz-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
}

.mockup {
    width: auto;
    height: calc(550px * (100vw / 1440px));
    object-fit: contain;
}

.email-form {
    display: none;
    -webkit-box-align: center;
    -moz-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -moz-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: 10px;
    margin: 0 auto;
}

.email-input {
    width: 250px;
    height: 38px;
    padding: 0 15px;
    border: 2px solid #098bff;
    border-radius: 10px;
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    outline: none;
}

.email-input:focus {
    border-color: #0770d9;
}

.join-button {
    width: 80px;
    height: 38px;
    background-color: #098BFF;
    color: white;
    border: none;
    border-radius: 10px;
    font-family: "DM Sans", sans-serif;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.join-button:hover {
    background-color: #0770d9;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    cursor: pointer;
}

@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Hide scroll indicator when page is scrolled */
body.scrolled .scroll-indicator {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* Limit scaling on very large screens */
@media (min-width: 1440px) {
    header {
        height: 130px;
    }
    
    .logo-link {
        left: 100px;
        top: 36px;
    }
    
    .logo-icon {
        width: 64px;
        height: 64px;
    }
    
    .mission-text {
        top: 57px;
        font-size: 20px;
    }
    
    .twitter-link {
        right: 100px;
        top: 46.5px;
    }
    
    .twitter-icon {
        width: 53.75px;
        height: 43px;
    }
    
    .main-heading {
        font-size: 35px;
        margin-bottom: 20px;
    }
    
    .mockup {
        height: 550px;
    }
    
    .cta-button {
        margin-top: 40px;
    }
    
    main {
        padding-top: 120px;
    }
    
    .hero {
        margin-bottom: 40px;
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    header {
        height: 80px;
    }

    .logo-link {
        left: 20px;
        top: 20px;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
    }

    .mission-text {
        top: 30px;
        font-size: 16px;
    }

    .twitter-link {
        right: 20px;
        top: 28px;
    }

    .twitter-icon {
        width: 35px;
        height: 28px;
    }

    main {
        display: flex;
        flex-direction: column;
        padding-top: 60px;
    }

    .hero {
        margin-bottom: 20px;
    }
    
    .cta-button {
        margin-top: 20px;
    }

    .mockup {
        width: 90%;
        height: auto;
        max-width: 400px;
    }

    .logo-link {
        font-size: 25px;
    }

    .main-heading {
        font-size: 25px;
    }

    .description {
        font-size: 20px;
        padding: 0 20px;
    }

    .cta-button {
        font-size: 20px;
    }

    .email-input {
        font-size: 8px;
    }

    .join-button {
        font-size: 8px;
    }
}

