/* luxury_signup_styles.css - Proportional scaling + navy logo band - Feb 2026 */
/* Fixed: desktop logo no longer cut off at top */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;900&family=Montserrat:wght@300;400;500;600;700&display=swap');

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

body {
    font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
    background: url('/signup/static/background_quartz_1_hz.webp') center/cover no-repeat fixed;
    position: relative;
    color: #1e293b;
    line-height: 1.65;
    min-height: 100vh;
    padding-top: env(safe-area-inset-top);
}

/* Very faint background */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        linear-gradient(rgba(255, 255, 255, 0.90),
            rgba(255, 255, 255, 0.90)),
        rgba(30, 41, 59, 0.10);
    z-index: -1;
}

.container {
    max-width: 720px;
    margin: 50px auto 60px;
    padding: 0 40px 64px;
    background: rgba(255, 255, 255, 0.97);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.14);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

/* Navy blue header band behind logo - shorter & better positioned */
.logo-header {
    position: relative;
    text-align: center;
    margin-bottom: 2.8rem;
    padding: 1.8rem 0 0.4rem;
    /* shorter vertical space - logo nestled tight */
    background: linear-gradient(135deg, #1e3365 0%, #25395a 100%);
    color: white;
    border-radius: 24px 24px 0 0;
    margin: -30px -40px 2.4rem -40px;
    /* reduced negative top margin - fixes desktop cutoff */
}

.logo-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.06);
    pointer-events: none;
}

.logo-header img {
    width: 80%;
    max-width: 220px;
    height: auto;
    display: block !important;
    margin: 0.5rem auto 0.4rem;
    /* subtle positive margins - centers logo tightly */
    position: relative;
    z-index: 2;
}

/* Hero image container */
.hero-container {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    margin: 0 0 2.4rem;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.12);
    background: #f8fafc;
}

.hero {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

/* Responsive */
@media (max-width: 900px) {
    .container {
        margin: 40px auto 50px;
        padding: 0 32px 56px;
    }

    .logo-header img {
        width: 70%;
        max-width: 200px;
    }

    .hero-container {
        aspect-ratio: 4 / 3;
    }
}

/* Mobile - logo tightly nestled, no cutoff */
@media (max-width: 640px) {
    body {
        padding-top: env(safe-area-inset-top);
    }

    .container {
        margin: 30px 16px 50px;
        padding: 0 24px 48px;
        border-radius: 20px;
    }

    .logo-header {
        margin: -15px -24px 2rem -24px;
        padding: 1.2rem 0 0.4rem;
        border-radius: 20px 20px 0 0;
    }

    .logo-header img {
        width: 65%;
        max-width: 180px;
        margin-top: 0.3rem;
        margin-bottom: 0.4rem;
    }

    .hero-container {
        aspect-ratio: 3 / 2;
        height: auto;
        min-height: 180px;
    }

    h1 {
        font-size: 2.3rem;
    }

    .subtitle {
        font-size: 1.1rem;
    }
}

/* Form, buttons, etc. - unchanged */

header {
    text-align: center;
    margin-bottom: 2.8rem;
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.1rem;
    font-weight: 700;
    color: #141822;
    letter-spacing: -0.6px;
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 1.25rem;
    color: #475569;
    font-style: italic;
    font-weight: 400;
}

.progress {
    text-align: center;
    color: #64748b;
    font-size: 1rem;
    letter-spacing: 1.4px;
    margin: 0 0 2.5rem;
    font-weight: 500;
}

form label {
    display: block;
    margin: 1.6rem 0 0.6rem;
    font-weight: 500;
    color: #31425d;
    font-size: 1.05rem;
}

input,
select,
textarea {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid #cbd5e0;
    border-radius: 12px;
    font-size: 1.08rem;
    background: #ffffff;
    transition: all 0.22s ease;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #222d45;
    box-shadow: 0 0 0 4px rgba(15, 23, 42, 0.08);
}

textarea {
    min-height: 140px;
    resize: vertical;
}

button.primary {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    border: none;
    padding: 18px 36px;
    font-size: 1.18rem;
    font-weight: 600;
    border-radius: 14px;
    cursor: pointer;
    width: 100%;
    margin: 2.4rem 0 1.2rem;
    transition: all 0.25s ease;
}

button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.28);
}

button.secondary {
    background: #e2e8f0;
    color: #1e293b;
    border: none;
    padding: 16px 32px;
    font-size: 1.08rem;
    font-weight: 500;
    border-radius: 12px;
    cursor: pointer;
    width: 100%;
}

.error-message {
    color: #dc2626;
    text-align: center;
    margin: 1.4rem 0;
    font-weight: 500;
}

.info-card {
    background: #f8fafc;
    border-radius: 16px;
    padding: 28px;
    margin: 2rem 0;
    border: 1px solid #e2e8f0;
    font-size: 1.08rem;
    line-height: 1.7;
    color: #334155;
}

.info-card strong {
    color: #233356;
}