/* ==========================================================================
   Font Face - Inter Variable
   ========================================================================== */
@font-face {
    font-family: 'Inter';
    src: url('assets/fonts/Inter-VariableFont_opsz,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('assets/fonts/Inter-Italic-VariableFont_opsz,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #000000;
    color: #ffffff;
    font-size: 16px;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: #ffffff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   Layout
   ========================================================================== */
.container {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    text-align: center;
    padding: 60px 20px 40px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero__logo {
    width: 180px;
    margin: 0 auto 40px;
}

.hero__title {
    font-size: clamp(1.4rem, 4vw, 2.6rem);
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 20px;
    max-width: 650px;
    letter-spacing: -0.02em;
}

.hero__title .highlight {
    color: #E53935;
}

.hero__subtitle {
    font-size: clamp(0.85rem, 2vw, 1rem);
    color: #9E9E9E;
    font-weight: 400;
    max-width: 520px;
    margin: 0 auto 36px;
    line-height: 1.6;
}

/* ==========================================================================
   Newsletter Form
   ========================================================================== */
.signup-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 560px;
    margin: 0 auto 16px;
}

.signup-form select,
.signup-form input[type="email"] {
    width: 100%;
    padding: 12px 16px;
    background: #ffffff;
    border: 1px solid #333333;
    border-radius: 6px;
    color: #000000;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
}

.signup-form select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23333' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.signup-form select option {
    background: #ffffff;
    color: #000000;
}

.signup-form input[type="email"]::placeholder {
    color: #999999;
}

.signup-form select:focus,
.signup-form input[type="email"]:focus {
    border-color: #E53935;
}

.signup-form__btn {
    width: 100%;
    padding: 12px 28px;
    background-color: #E53935;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.signup-form__btn:hover {
    background-color: #C62828;
}

/* Honeypot */
.signup-form__hp {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
}

/* Privacy Note */
.privacy-note {
    text-align: center;
    font-size: 0.75rem;
    color: #757575;
    max-width: 420px;
    margin: 12px auto 0;
    line-height: 1.5;
}

.privacy-note a {
    color: #9E9E9E;
    text-decoration: underline;
}

.privacy-note a:hover {
    color: #ffffff;
}

/* Flash Messages */
.flash-msg {
    text-align: center;
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 0.9rem;
    margin-bottom: 24px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.flash-msg--success {
    background-color: rgba(76, 175, 80, 0.15);
    border: 1px solid #4CAF50;
    color: #81C784;
}

.flash-msg--error {
    background-color: rgba(229, 57, 53, 0.15);
    border: 1px solid #E53935;
    color: #EF9A9A;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    text-align: center;
    padding: 40px 20px 30px;
    border-top: 1px solid #1a1a1a;
    margin-top: 60px;
}

.footer__logo {
    width: 120px;
    margin: 0 auto 20px;
}

.footer__tagline {
    font-size: 0.85rem;
    color: #757575;
    margin-bottom: 4px;
}

.footer__tagline--bold {
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
}

.footer__copyright {
    font-size: 0.75rem;
    color: #555555;
    margin-bottom: 12px;
}

.footer__links {
    font-size: 0.8rem;
    color: #757575;
}

.footer__links a {
    color: #757575;
}

.footer__links a:hover {
    color: #ffffff;
}

.footer__links span {
    margin: 0 6px;
    color: #444444;
}

/* ==========================================================================
   Cookie Banner
   ========================================================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #1a1a1a;
    border-top: 1px solid #333333;
    padding: 16px 20px;
    z-index: 9999;
    display: none;
}

.cookie-banner.is-visible {
    display: block;
}

.cookie-banner__inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.cookie-banner__text {
    font-size: 0.8rem;
    color: #9E9E9E;
    text-align: center;
    line-height: 1.5;
}

.cookie-banner__text a {
    color: #ffffff;
    text-decoration: underline;
}

.cookie-banner__buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-banner__btn {
    padding: 8px 20px;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: background-color 0.2s ease;
}

.cookie-banner__btn--accept {
    background-color: #E53935;
    color: #ffffff;
}

.cookie-banner__btn--accept:hover {
    background-color: #C62828;
}

.cookie-banner__btn--decline {
    background-color: transparent;
    color: #9E9E9E;
    border: 1px solid #333333;
}

.cookie-banner__btn--decline:hover {
    border-color: #555555;
    color: #ffffff;
}

/* ==========================================================================
   Legal Page
   ========================================================================== */
.legal {
    padding: 60px 20px 40px;
    max-width: 800px;
    margin: 0 auto;
}

.legal h1 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 40px;
    text-align: center;
}

.legal h2 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 16px;
    padding-top: 40px;
    border-top: 1px solid #1a1a1a;
}

.legal h2:first-of-type {
    border-top: none;
    padding-top: 0;
}

.legal h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 8px;
}

.legal p,
.legal ul {
    font-size: 0.9rem;
    color: #9E9E9E;
    line-height: 1.8;
    margin-bottom: 12px;
}

.legal ul {
    padding-left: 20px;
}

.legal a {
    color: #E53935;
}

.legal__back {
    display: inline-block;
    margin-top: 40px;
    font-size: 0.9rem;
    color: #E53935;
}

/* ==========================================================================
   Responsive - Tablet (600px+)
   ========================================================================== */
@media (min-width: 600px) {
    .hero {
        padding: 80px 20px 50px;
    }

    .hero__logo {
        width: 220px;
        margin-bottom: 48px;
    }

    .signup-form {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .signup-form select {
        flex: 0 0 auto;
        width: auto;
        min-width: 170px;
    }

    .signup-form input[type="email"] {
        flex: 1;
        min-width: 180px;
    }

    .signup-form__btn {
        width: auto;
        flex: 0 0 auto;
    }

    .cookie-banner__inner {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }

    .cookie-banner__text {
        text-align: left;
    }
}

/* ==========================================================================
   Responsive - Desktop (900px+)
   ========================================================================== */
@media (min-width: 900px) {
    .hero {
        padding: 100px 20px 60px;
    }

    .hero__logo {
        width: 260px;
        margin-bottom: 56px;
    }

    .hero__title {
        margin-bottom: 24px;
    }

    .footer {
        margin-top: 80px;
        padding: 50px 20px 40px;
    }

    .footer__logo {
        width: 140px;
    }
}
