/* ==========================================================================
   VANE LIOR - ITALIAN SHOE MAKER
   Perfect Screen Fit Mobile & Desktop Responsive Design
   ========================================================================== */

:root {
    --white: #ffffff;
    --black: #000000;
    --font-heading: 'Cinzel', 'Times New Roman', serif;
    --font-body: 'Montserrat', -apple-system, sans-serif;
}

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

html, body {
    width: 100%;
    max-width: 100vw;
    height: 100vh;
    overflow-x: hidden;
    overflow-y: hidden;
    background-color: #000000;
    font-family: var(--font-body);
}

/* Background Video Styling & Dynamic Blur Effect */
.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    overflow: hidden;
    transition: filter 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s ease;
}

.video-container.blurred {
    filter: blur(18px) brightness(0.65);
    transform: scale(1.04);
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Solid White Navigation Bar Styling (Perfect Screen Fit) */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    z-index: 10;
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.nav-left {
    flex: 1;
}

.nav-center {
    flex: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    white-space: nowrap;
}

.nav-brand {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 4.5vw, 1.5rem);
    font-weight: 700;
    letter-spacing: clamp(0.2em, 2vw, 0.35em);
    color: #000000;
    text-transform: uppercase;
    line-height: 1.1;
    white-space: nowrap;
}

.nav-sub {
    font-family: var(--font-heading);
    font-size: clamp(0.5rem, 1.8vw, 0.62rem);
    font-weight: 600;
    letter-spacing: clamp(0.25em, 2.5vw, 0.45em);
    color: #000000;
    opacity: 0.85;
    margin-top: 0.2rem;
    text-transform: uppercase;
    white-space: nowrap;
}

.nav-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

/* Centered Hero Content */
.hero-center {
    position: relative;
    z-index: 5;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    pointer-events: none;
    padding: 0 1rem;
}

/* Fade-In Animation for COMING SOON */
.coming-soon {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 6.5vw, 4.5rem);
    font-weight: 700;
    letter-spacing: clamp(0.18em, 2.5vw, 0.35em);
    color: var(--white);
    text-transform: uppercase;
    opacity: 0;
    animation: fadeInUp 2.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.2s;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
    white-space: nowrap;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modal Popup Styling (Perfect Mobile Fit) */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    padding: 1rem;
}

.modal-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background: rgba(15, 15, 16, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    padding: 2.8rem 2rem;
    max-width: 440px;
    width: 100%;
    text-align: center;
    position: relative;
    color: var(--white);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.active .modal-card {
    transform: scale(1);
}

.modal-title {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 5vw, 1.9rem);
    letter-spacing: clamp(0.2em, 2vw, 0.35em);
    margin-bottom: 0.25rem;
    line-height: 1.1;
    white-space: nowrap;
}

.modal-tag {
    font-family: var(--font-heading);
    font-size: clamp(0.5rem, 1.8vw, 0.65rem);
    font-weight: 600;
    letter-spacing: clamp(0.25em, 2.5vw, 0.45em);
    color: var(--white);
    opacity: 0.85;
    margin-bottom: 0.9rem;
    text-transform: uppercase;
    white-space: nowrap;
}

.modal-subtitle {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    opacity: 0.65;
    margin-bottom: 2rem;
}

/* Form & Input Styling */
.signup-form {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.input-group {
    width: 100%;
}

.input-group input {
    width: 100%;
    padding: 1.1rem 1.2rem;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}

.input-group input:focus {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.14);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.2);
}

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

.modal-submit-btn {
    padding: 1.1rem;
    background: var(--white);
    color: #000000;
    border: none;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    margin-top: 0.4rem;
}

.modal-submit-btn:hover {
    background: #e6e6e6;
    transform: translateY(-1px);
}

.success-msg {
    margin-top: 1.8rem;
    color: #4cd964;
    font-size: 0.9rem;
    line-height: 1.6;
}

.success-msg i {
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
}

/* Mobile Media Queries for Zero-Overflow Perfect Screen Fit */
@media (max-width: 600px) {
    .navbar {
        padding: 0.9rem 0.8rem;
    }

    .modal-card {
        padding: 2.2rem 1.4rem;
        width: 95%;
    }

    .signup-form {
        gap: 1.1rem;
    }
}
