:root {
    --bg-color: #050505;
    --text-color: #ffffff;
    --grey-text: #808080;
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Cinzel', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-main);
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow: hidden;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Background Image */
.bg-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
    filter: brightness(0.5) contrast(1.1);
}

.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(5, 5, 5, 0.3) 0%, rgba(5, 5, 5, 0.85) 100%);
    z-index: 0;
}

header {
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 10;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.5rem;
    text-transform: uppercase;
    text-align: center;
    opacity: 0.9;
}

main {
    flex: 1;
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    text-align: center;
}

.hero {
    animation: fadeIn 1.2s ease-out;
    width: 100%;
}

h1 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
}

.highlight {
    color: white;
    display: block;
    margin-top: 8px;
}

.subtitle {
    color: var(--grey-text);
    font-size: 0.95rem;
    margin-bottom: 45px;
    line-height: 1.5;
    font-weight: 400;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

/* Countdown: Top Left */
.countdown {
    position: fixed;
    top: 30px;
    left: 30px;
    display: flex;
    gap: 20px;
    z-index: 100;
}

.time-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.time-block span {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--text-color);
    line-height: 1;
}

.time-block label {
    font-size: 0.55rem;
    text-transform: uppercase;
    color: var(--grey-text);
    letter-spacing: 0.1rem;
    margin-top: 3px;
    opacity: 0.7;
}

/* Form */
.capture-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    max-width: 480px;
    margin: 0 auto 50px;
}

.input-group input {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 19px;
    color: white;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s ease;
    text-align: center;
}

.input-group input::placeholder {
    color: rgba(255, 255, 255, 0.25);
    letter-spacing: 0.05rem;
}

.input-group input:focus {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.06);
}

.phone-input {
    display: flex;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    align-items: center;
    transition: all 0.3s ease;
}

.phone-input:focus-within {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.06);
}

.phone-input .prefix-select {
    background: transparent;
    border: none;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--grey-text);
    font-size: 0.8rem;
    padding: 0 12px;
    height: 100%;
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    width: 85px;
}

.prefix-select option {
    background: #111;
    color: white;
}

.phone-input input {
    border: none;
    background: transparent;
    text-align: left;
}

.cta-button {
    background-color: var(--text-color);
    color: var(--bg-color);
    border: none;
    padding: 20px;
    font-weight: 900;
    font-size: 0.88rem;
    letter-spacing: 0.12rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    margin-top: 5px;
}

.cta-button:hover {
    background-color: #e8e8e8;
    transform: translateY(-1px);
}

.cta-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Benefits */
.benefits {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 50px;
    text-align: center;
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.benefit-item svg {
    width: 22px;
    height: 22px;
    stroke: white;
    stroke-width: 1.5;
    opacity: 0.5;
}

.benefit-item p {
    font-size: 0.68rem;
    color: var(--grey-text);
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.12rem;
}

.benefit-item strong {
    color: white;
    font-weight: 700;
}

/* Success Section */
.referral {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    animation: fadeIn 1s ease-out;
}

.hidden {
    display: none !important;
}

.referral h2.success-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 22px;
    text-transform: none;
    line-height: 1.4;
    max-width: 600px;
}

.success-text {
    color: var(--grey-text);
    font-size: 0.95rem;
    line-height: 1.65;
    max-width: 550px;
    margin: 0 auto;
}

footer {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 0;
    text-align: right;
    color: rgba(255, 255, 255, 0.08);
    font-size: 0.58rem;
    letter-spacing: 0.12rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    body {
        overflow-y: auto;
        height: auto;
        min-height: 100vh;
    }

    header {
        height: 60px;
    }

    .logo {
        font-size: 0.95rem;
        letter-spacing: 0.4rem;
    }

    main {
        padding: 20px 20px 40px;
        justify-content: flex-start;
        padding-top: 30px;
    }

    h1 {
        font-size: 1.5rem;
        letter-spacing: 0.12rem;
        margin-bottom: 16px;
        line-height: 1.3;
    }

    .subtitle {
        font-size: 0.85rem;
        margin-bottom: 35px;
        line-height: 1.5;
    }

    .countdown {
        top: 15px;
        left: 15px;
        gap: 12px;
    }

    .time-block span {
        font-size: 1.1rem;
    }

    .time-block label {
        font-size: 0.5rem;
    }

    .capture-form {
        max-width: 100%;
        margin-bottom: 40px;
        gap: 12px;
    }

    .input-group input {
        padding: 17px;
        font-size: 0.85rem;
    }

    .phone-input .prefix-select {
        width: 75px;
        font-size: 0.75rem;
        padding: 0 8px;
    }

    .cta-button {
        padding: 18px;
        font-size: 0.82rem;
        letter-spacing: 0.1rem;
    }

    .benefits {
        flex-direction: column;
        gap: 28px;
        margin-bottom: 30px;
    }

    .benefit-item {
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
        gap: 15px;
    }

    .benefit-item svg {
        width: 20px;
        height: 20px;
        flex-shrink: 0;
    }

    .benefit-item p {
        font-size: 0.7rem;
        letter-spacing: 0.08rem;
        text-align: left;
    }

    .referral h2.success-title {
        font-size: 1.3rem;
        margin-bottom: 18px;
    }

    .success-text {
        font-size: 0.88rem;
        line-height: 1.6;
    }

    footer {
        position: relative;
        bottom: auto;
        right: auto;
        text-align: center;
        padding: 30px 20px 20px;
        font-size: 0.55rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.3rem;
        letter-spacing: 0.1rem;
    }

    .subtitle {
        font-size: 0.8rem;
    }

    .countdown {
        gap: 10px;
    }

    .time-block span {
        font-size: 1rem;
    }

    .benefits {
        gap: 22px;
    }

    .benefit-item p {
        font-size: 0.65rem;
    }
}