/* ==================== VARIABLES ==================== */
:root {
    --black: #0a0a0a;
    --yellow: #f7df1e;
    --yellow-dark: #d4c019;
    --white: #ffffff;
    --gray: #888888;
    --gray-dark: #1a1a1a;
    --gray-border: #2a2a2a;
}

/* ==================== GLOBAL STYLES ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--black);
    color: var(--white);
    line-height: 1.5;
    display: flex;
    flex-direction: column;
}

::selection {
    background: var(--yellow);
    color: var(--black);
}

/* ==================== NAVBAR ==================== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 40px;
    border-bottom: 1px solid var(--gray-border);
    flex-shrink: 0;
}

.nav-brand {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--yellow);
}

.nav-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--gray);
}

.status-dot {
    width: 6px;
    height: 6px;
    background: var(--yellow);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* ==================== MARQUEE ==================== */
.marquee {
    background: var(--yellow);
    color: var(--black);
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
    flex-shrink: 0;
}

.marquee-content {
    display: inline-block;
    animation: marquee 40s linear infinite;
}

.marquee-content span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==================== MAIN CONTENT ==================== */
.main {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 40px;
    padding: 50px 60px;
    align-items: start;
    max-width: 1800px;
    margin: 0 auto;
    width: 100%;
}

.hero-content {
    max-width: 650px;
}

.hero-tag {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 5px;
    color: var(--yellow);
    margin-bottom: 28px;
    display: block;
}

.hero-title {
    font-size: clamp(48px, 6vw, 80px);
    font-weight: 700;
    line-height: 1.0;
    letter-spacing: -3px;
    margin-bottom: 28px;
}

.hero-title .highlight {
    color: var(--yellow);
}

.hero-subtitle {
    font-size: clamp(18px, 1.8vw, 22px);
    color: var(--gray);
    margin-bottom: 44px;
    line-height: 1.7;
}

/* ==================== EMAIL FORM ==================== */
.email-form {
    margin-bottom: 36px;
    max-width: 540px;
}

.form-wrapper {
    display: flex;
    background: var(--gray-dark);
    border: 2px solid var(--gray-border);
    border-radius: 4px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.form-wrapper:focus-within {
    border-color: var(--yellow);
}

.email-input {
    flex: 1;
    padding: 20px 24px;
    background: transparent;
    border: none;
    font-size: 16px;
    font-family: inherit;
    color: var(--white);
    outline: none;
}

.email-input::placeholder {
    color: var(--gray);
}

.submit-btn {
    padding: 20px 36px;
    background: var(--yellow);
    color: var(--black);
    border: none;
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: var(--white);
}

.submit-btn:active {
    transform: scale(0.98);
}

.form-message {
    margin-top: 12px;
    font-size: 12px;
    font-weight: 600;
    min-height: 18px;
    letter-spacing: 0.5px;
}

.form-message.success {
    color: var(--yellow);
}

.form-message.error {
    color: #ff6b6b;
}

/* ==================== HERO META ==================== */
.hero-meta {
    display: flex;
    gap: 36px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--gray);
}

.meta-dot {
    width: 6px;
    height: 6px;
    background: var(--yellow);
    border-radius: 50%;
}

/* ==================== HERO IMAGE ==================== */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    padding-top: 20px;
}

.image-container {
    position: relative;
    width: 100%;
    max-width: 850px;
    overflow: hidden;
}

.img-black {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 0 40px rgba(247, 223, 30, 0.15));
}

.img-color {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    clip-path: inset(0 0 100% 0);
    animation: revealColor 6s ease-in-out infinite;
    filter: drop-shadow(0 0 40px rgba(247, 223, 30, 0.15));
}

.scanline {
    position: absolute;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, transparent, var(--yellow), var(--white), var(--yellow), transparent);
    box-shadow: 0 0 20px var(--yellow), 0 0 40px var(--yellow), 0 0 60px var(--yellow);
    top: 0;
    animation: scanlineMove 6s ease-in-out infinite;
}

@keyframes revealColor {
    0% {
        clip-path: inset(0 0 100% 0);
    }
    45%, 55% {
        clip-path: inset(0 0 0% 0);
    }
    100% {
        clip-path: inset(0 0 100% 0);
    }
}

@keyframes scanlineMove {
    0% {
        top: 0%;
    }
    45%, 55% {
        top: 100%;
    }
    100% {
        top: 0%;
    }
}

/* ==================== FOOTER ==================== */
.footer {
    border-top: 1px solid var(--gray-border);
    padding: 24px 40px;
    flex-shrink: 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--yellow);
}

.footer-links {
    display: flex;
    gap: 32px;
    font-size: 11px;
    color: var(--gray);
    letter-spacing: 1px;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .main {
        grid-template-columns: 1fr;
        gap: 50px;
        padding: 40px 40px;
        text-align: center;
    }

    .hero-content {
        order: 1;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-image {
        order: 0;
    }

    .hero-meta {
        justify-content: center;
    }

    .email-form {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .navbar {
        padding: 20px 24px;
        flex-direction: column;
        gap: 12px;
    }

    .main {
        padding: 40px 24px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .form-wrapper {
        flex-direction: column;
    }

    .submit-btn {
        width: 100%;
    }

    .hero-meta {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .footer {
        padding: 24px;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 12px;
    }
}

/* No-scroll desktop specific */
@media (min-width: 1025px) {
    body {
        height: 100vh;
        overflow: hidden;
    }
}
