@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

html, body {
    height: 100%;
    overflow: hidden;
    margin: 0;
}

body {
    background: #0a0a0a;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    display: flex;
    flex-direction: column;
}

.site-header {
    font-family: 'Bebas Neue';
    letter-spacing: 20px;
    text-align: center;
    font-size: clamp(42px, 3vw, 64px);
    padding: 24px 40px 16px 40px;
    flex-shrink: 0;
}

main {
    flex: 1;
    min-height: 0;
    padding: 0 clamp(40px, 5vw, 120px);
    display: flex;
    flex-direction: column;
}

.hero {
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-columns: 3fr 2fr;
    grid-template-rows: auto 1fr;
    gap: 20px 60px;
    width: 100%;
}

.hero-content {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
    padding-top: 8px;
}

.email-section {
    grid-column: 1;
    grid-row: 2;
    align-self: start;
}

.hero-video {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: center;
    border-radius: 24px;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video video {
    display: block;
    width: 100%;
    height: auto;
    max-height: calc(100vh - 120px);
    border-radius: 24px;
}

.main-text {
    font-size: clamp(64px, 6vw, 105px);
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-top: 0;
}

.subtext {
    font-size: clamp(18px, 1.3vw, 22px);
    font-weight: 400;
    color: #888888;
}

.email-cta {
    font-size: clamp(10px, 0.85vw, 15px);
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #888888;
}

.input-box {
    background-color: #1a1a1a;
    border: 1px solid #333333;
    border-radius: 999px;
    color: #ffffff;
    padding: 16px 24px;
    font-size: clamp(16px, 1vw, 18px);
    width: 100%;
    box-sizing: border-box;
}

.input-box::placeholder {
    color: #555555;
}

.input-box:focus {
    border-color: #666666;
    outline: none;
}

.input-email {
    background-color: #ffffff;
    color: #000000;
    border-radius: 999px;
    padding: 16px 28px;
    font-size: clamp(16px, 1vw, 18px);
    font-weight: 700;
    letter-spacing: 0.05em;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
    box-sizing: border-box;
    width: 100%;
}

.input-email:hover {
    background: #ededed;
    transform: scale(1.02);
}

.email-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: opacity 0.2s ease;
}

.email-section.fade-out {
    opacity: 0;
}

.main-text strong {
    background: linear-gradient(
        135deg,
        #707070 0%,
        #C0C0C0 30%,
        #404040 50%,
        #C0C0C0 70%,
        #707070 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.site-footer {
    padding: 20px 40px;
    font-size: 13px;
    color: #555555;
    flex-shrink: 0;
}

@media (max-width: 700px) {
    html, body {
        overflow: auto;
        height: auto;
    }

    .hero {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .hero-content {
        order: 1;
        padding-bottom: 0;
    }

    .hero-video {
        order: 2;
    }

    .email-section {
        order: 3;
    }

    .main-text {
        font-size: 40px;
    }
}

.input-email:active {
    transform: scale(1);
    background-color: #cccccc;
}

#feedback-msg {
    font-size: 13px;
    color: #ff4444;
    height: 16px;
    margin: 0;
    padding: 0;
}

.success-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 24px;
    border: 1px solid #333333;
    border-radius: 16px;
    background: #111111;
    max-width: fit-content;
    animation: fadeUp 0.4s ease forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.success-icon {
    font-size: 32px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #ffffff;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    margin-bottom: 8px;
}

.success-title {
    font-size: 28px;
    font-weight: 900;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.02em;
}

.success-sub {
    font-size: 15px;
    color: #888888;
    margin: 0;
    line-height: 1.6;
}


#feedback-msg:empty {
    display: none;
}

@media (max-height: 750px) {
    .main-text {
        font-size: clamp(36px, 5vw, 64px);
    }
    .subtext {
        font-size: clamp(14px, 1vw, 17px);
    }
}