/* Caricamento Font Locali */
@font-face {
    font-family: 'The Seasons';
    src: url('The Seasons Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'The Seasons Light';
    src: url('The Seasons Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

:root {
    /* Il colore di sfondo richiesto dal cliente */
    --bg-color: #1A1F33;

    /* Toni contrasto per eleganza e luxury - Usiamo solo BIANCO con opacità variabile */
    --text-main: #FFFFFF;
    --text-muted: rgba(255, 255, 255, 0.7);

    /* Accento puro bianco */
    --accent-white: #FFFFFF;
    --accent-white-hover: rgba(255, 255, 255, 0.85);

    /* Colori tenui e bordi in bianco translucido */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --border-glass: rgba(255, 255, 255, 0.3);

    --font-heading: 'The Seasons', serif;
    --font-body: 'The Seasons Light', serif;
}

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

body {
    background-color: var(--bg-color);
    background-image: url('Artboard 1@3x.png');
    background-size: cover;
    background-position: 52% center;
    background-repeat: no-repeat;
    color: var(--text-main);
    font-family: var(--font-body);
    font-weight: 300;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0;
    /* Rimosso il padding dal body per il frame */
    overflow-x: hidden;
    position: relative;
}

.container {
    max-width: 800px;
    width: 90%; /* Larghezza responsiva */
    margin: 5vh auto; /* Distacco dai bordi superiore/inferiore e centra orizzontalmente */
    min-height: 90vh; /* Altezza quasi a tutto schermo ma staccata */
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4rem;
    background-color: var(--bg-color);
    padding: 4rem 2rem;
    box-sizing: border-box;
    border-radius: 40px; /* Angoli stondati luxury */
}

/* --- Header & Logo --- */
.header {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    gap: 2.5rem; /* Più spazio per respirare */
}

.brand-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 0.1rem;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    color: var(--text-main);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1.1;
    font-weight: 400;
}

.brand-job {
    font-family: var(--font-body);
    font-size: clamp(1rem, 3vw, 1.3rem);
    color: #D4AF37; /* Colore oro dallo screenshot */
    letter-spacing: 0.15em;
    text-transform: uppercase;
    line-height: 1.2;
    font-weight: 300;
}

.logo {
    max-width: 150px; /* Un po' più grande */
    height: auto;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.logo:hover {
    transform: scale(1.02);
}

/* --- Main Content --- */
.main-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}



.subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    max-width: 550px;
    margin: 0 auto;
    line-height: 1.6;
    letter-spacing: 0.03em;
}

/* --- Form Newsletter --- */
.newsletter-form {
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
}

.input-group {
    display: flex;
    width: 100%;
    max-width: 480px;
    position: relative;
    border-bottom: 1px solid var(--border-glass);
    transition: border-color 0.4s ease;
}

.input-group:focus-within {
    border-bottom-color: var(--accent-white);
    /* Nessun bagliore o ombra sotto l'input, solo cambiamento del colore del bordo a bianco netto */
}

.input-group input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 1rem 0;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    font-weight: 300;
}

.input-group input::placeholder {
    color: rgba(255, 255, 255, 0.4);
    transition: color 0.3s;
}

.input-group input:focus::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.btn-submit {
    background: transparent;
    border: none;
    color: var(--accent-white);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
    padding: 0 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.btn-submit::after {
    content: '→';
    margin-left: 8px;
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

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

.btn-submit:hover::after {
    transform: translateX(4px);
}

/* --- Link Social & Footer --- */
.footer {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 3rem;
    align-items: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-links a {
    color: var(--text-muted);
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
}

.social-links a:hover {
    color: var(--accent-white);
    transform: translateY(-3px);
}

.copyright {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* --- Risposta Mobile --- */
@media (max-width: 576px) {
    body {
        background-size: 100% auto; /* Dimensione in percentuale, come richiesto */
        background-repeat: repeat;
        background-position: 50% 50%; /* Ripristina il centro su mobile */
    }

    .container {
        width: 85%; /* Ridotta leggermente per far vedere più sfondo ai lati */
        margin: 10% auto; /* Margine in percentuale come richiesto */
        min-height: auto; /* Lasciamo che l'altezza dipenda dal contenuto su mobile */
        padding: 3rem 1.5rem;
        gap: 2.5rem;
        border-radius: 30px; /* Angoli leggermente meno pronunciati per schermi piccoli */
    }

    .header {
        flex-direction: column;
        align-items: center;
        /* or flex-end if they really want it on the right always */
        gap: 2rem;
    }

    .brand-info {
        align-items: center;
        /* Centered on mobile for better balance */
        text-align: center;
    }

    .logo {
        max-width: 180px;
    }

    .input-group {
        flex-direction: column;
        border-bottom: none;
        gap: 1.5rem;
        background: transparent;
        padding: 0;
        border-radius: 0;
        border: none;
    }

    .input-group input {
        border-bottom: 1px solid var(--border-glass);
        padding: 0.5rem 0 1rem;
        text-align: center;
    }

    .btn-submit {
        justify-content: center;
        padding-top: 0.5rem;
    }
}