@charset "UTF-8";

/* Briliam Landing Page Styles */

:root {
    --brand-purple: #2D0A4E;
    --accent-purple: #B52AE3;
    --accent-orange: #F2993A;
    --text-white: #FFFFFF;
    --text-gray: #E0E0E0;
    --input-bg: rgba(255, 255, 255, 0.07);
    --input-border: rgba(255, 255, 255, 0.15);
    --font-main: 'Outfit', sans-serif;
    --card-bg: rgba(255, 255, 255, 0.06);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    background-color: var(--brand-purple);
    color: var(--text-white);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* Vertically centered */
    padding: 60px 20px;
    /* Comfortable top/bottom spacing */
}

.container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

/* Hero Section */
.hero {
    margin-bottom: 40px;
    text-align: center;
    max-width: 740px;
    width: 100%;
}

.logo-container {
    margin-bottom: 32px;
}

/* Keyframes for Pull-Up Animation */
@keyframes pullUpLogo {
    0% {
        transform: translateY(40px) scale(0.98);
        opacity: 0;
    }

    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.logo-img {
    width: 100%;
    max-width: min(420px, 70vw);
    /* Larger responsive size */
    height: auto;
    display: block;
    margin: 0 auto 24px auto;
    /* Clear vertical spacing */

    /* Animation: 900ms duration, subtle ease-out, 120ms delay */
    animation: pullUpLogo 900ms cubic-bezier(0.22, 1, 0.36, 1) 120ms both;
    will-change: transform, opacity;
}

h1 {
    display: none;
}

.headline {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 16px;
    line-height: 1.3;
}

.supporting-text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    max-width: 620px;
    margin: 0 auto;
}

/* CTA / Intro text above form */
.cta-text-block {
    margin-bottom: 32px;
    text-align: center;
    max-width: 600px;
}

.cta-primary {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 6px;
}

.cta-secondary {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
}

/* Form Card */
.form-card {
    background: var(--card-bg);
    border-radius: 24px !important;
    /* Rounded corners */
    padding: 40px;
    /* Generous padding */
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
    /* Strong soft shadow */
    backdrop-filter: blur(10px);
    /* Glass effect */
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.10);
    /* Subtle border */
    width: 100%;
    max-width: 560px;
    /* Max width ~520-580px */
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 12px;
    font-family: var(--font-main);
    font-size: 15px;
    color: var(--text-white);
    outline: none;
    transition: all 0.3s ease;
    height: 50px;
    /* Consistent height */
}

.form-textarea {
    height: auto;
    min-height: 140px;
    resize: vertical;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--accent-purple);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 4px rgba(181, 42, 227, 0.15);
}

.form-select option {
    background-color: var(--brand-purple);
    color: var(--text-white);
}

.required-mark {
    color: var(--accent-orange);
    margin-left: 2px;
}

/* File Upload */
.file-input {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    padding: 10px 0;
}

.file-hint {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 4px;
    font-weight: 300;
}

/* Checkbox */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 32px;
    padding-top: 8px;
}

.form-checkbox {
    width: 18px;
    height: 18px;
    accent-color: var(--accent-purple);
    margin-top: 3px;
}

.checkbox-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

/* Submit Button */
.btn-submit {
    display: block;
    width: 100%;
    background: var(--accent-purple);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
    font-family: var(--font-main);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-submit:hover {
    background: #cd4cf7;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(181, 42, 227, 0.3);
}

.form-note {
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

/* Messages */
.message-box {
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 40px;
    display: none;
    text-align: center;
    width: 100%;
    max-width: 560px;
}

.message-success {
    background: rgba(46, 125, 50, 0.2);
    border: 1px solid #2e7d32;
    color: #a5d6a7;
}

.message-error {
    background: rgba(198, 40, 40, 0.2);
    border: 1px solid #c62828;
    color: #ef9a9a;
}

.hp-field {
    display: none;
    visibility: hidden;
}

/* Responsive */
@media (max-width: 600px) {
    .headline {
        font-size: 28px;
    }

    .form-card {
        padding: 24px;
    }

    .logo-img {
        /* Larger size on mobile too, but safe */
        max-width: min(320px, 85vw);
    }

    body {
        padding: 40px 16px;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .logo-img {
        animation: none;
        transform: none;
        opacity: 1;
    }
}