/* ============================================================
   Belight Marketing — Lead Qualification Form
   Branding: Dark Luxury & Gold | Ultra Modern
   ============================================================ */

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

/* --- CSS Variables --- */
:root {
    --black: #050505;
    --dark: #0a0a0a;
    --dark-surface: #101010;
    --card-bg: rgba(18, 18, 18, 0.92);
    --card-border: rgba(212, 175, 55, 0.28);
    --card-border-focus: rgba(212, 175, 55, 0.7);
    --input-bg: rgba(12, 12, 12, 0.85);
    
    --gold: #d4af37;
    --gold-light: #f2ce4e;
    --gold-dark: #b8941e;
    --gold-glow: rgba(212, 175, 55, 0.35);
    --gold-soft: rgba(212, 175, 55, 0.12);
    --gold-gradient: linear-gradient(135deg, #d4af37 0%, #f6d860 50%, #b8941e 100%);
    --gold-gradient-hover: linear-gradient(135deg, #f6d860 0%, #ecd056 50%, #d4af37 100%);
    
    --white: #ffffff;
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --text-dim: #6b7280;
    
    --error: #f87171;
    --error-bg: rgba(248, 113, 113, 0.08);
    --error-border: rgba(248, 113, 113, 0.45);
    --success: #34d399;
    --success-glow: rgba(52, 211, 153, 0.3);

    --font-display: 'Bebas Neue', sans-serif;
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Montserrat', sans-serif;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-full: 9999px;

    --transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--black);
}

body {
    font-family: var(--font-body);
    background-color: var(--black);
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Luxury Ambient Background Glows */
.bg-ambient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.ambient-glow-1 {
    position: absolute;
    top: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 750px;
    height: 450px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.14) 0%, rgba(0, 0, 0, 0) 70%);
    filter: blur(50px);
}

.ambient-glow-2 {
    position: absolute;
    bottom: -100px;
    right: 5%;
    width: 550px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
    filter: blur(60px);
}

.ambient-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(212, 175, 55, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212, 175, 55, 0.025) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse at 50% 30%, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 30%, black 30%, transparent 80%);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--gold), var(--gold-dark));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-light);
}

/* --- Container & Layout --- */
.page-wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 35px 20px 60px;
}

.form-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

/* --- Header / Brand Section --- */
.brand-header {
    text-align: center;
    margin-bottom: 30px;
    animation: fadeInDown 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.logo-wrapper {
    display: inline-block;
    position: relative;
    margin-bottom: 18px;
    transition: transform 0.3s ease;
}

.logo-wrapper:hover {
    transform: translateY(-2px);
}

.brand-logo {
    height: 68px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
    filter: drop-shadow(0 4px 18px rgba(212, 175, 55, 0.25));
}

.brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 16px;
    background: rgba(212, 175, 55, 0.09);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 14px;
}

.brand-badge::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--gold);
    animation: pulseDot 2s infinite ease-in-out;
}

.form-title {
    font-family: var(--font-display);
    font-size: clamp(34px, 5vw, 48px);
    letter-spacing: 1.5px;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.form-title .gold-accent {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.form-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    max-width: 580px;
    margin: 0 auto;
    font-weight: 400;
}

/* --- Form Card --- */
.form-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.75),
        0 0 40px rgba(212, 175, 55, 0.06);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gold-gradient);
    opacity: 0.85;
}

/* --- Form Layout Grid --- */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px 20px;
}

.col-full {
    grid-column: 1 / -1;
}

/* --- Input Groups --- */
.input-group {
    display: flex;
    flex-direction: column;
    position: relative;
}

.input-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
    letter-spacing: 0.2px;
}

.req-star {
    color: var(--gold);
    font-weight: 700;
}

.input-sublabel {
    font-size: 11px;
    color: var(--text-dim);
    font-weight: 400;
    margin-left: 2px;
}

/* Input Wrapper & Icon / Formatting */
.input-control-wrapper {
    position: relative;
    width: 100%;
}

.input-field,
.select-field {
    width: 100%;
    height: 52px;
    background: var(--input-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 0 16px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 400;
    color: var(--white);
    outline: none;
    transition: var(--transition);
    -webkit-appearance: none;
    appearance: none;
}

.input-field::placeholder {
    color: #555555;
    font-weight: 400;
}

.input-field:hover,
.select-field:hover {
    border-color: rgba(212, 175, 55, 0.35);
}

.input-field:focus,
.select-field:focus {
    border-color: var(--gold);
    background: rgba(18, 18, 18, 0.95);
    box-shadow: 
        0 0 0 3px rgba(212, 175, 55, 0.15),
        0 0 20px rgba(212, 175, 55, 0.12);
}

/* Custom Select Specifics */
.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: '';
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 9px;
    height: 9px;
    border-right: 2px solid var(--gold);
    border-bottom: 2px solid var(--gold);
    pointer-events: none;
    transform: translateY(-65%) rotate(45deg);
    transition: transform 0.25s ease;
}

.select-wrapper:focus-within::after {
    transform: translateY(-30%) rotate(225deg);
}

.select-field {
    padding-right: 44px;
    cursor: pointer;
}

.select-field option {
    background-color: #121212;
    color: var(--white);
    padding: 12px;
}

.select-field option:disabled {
    color: #666666;
}

/* Validation Status Icon */
.validation-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    display: none;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

/* Input States: Error */
.input-group.has-error .input-field,
.input-group.has-error .select-field {
    border-color: var(--error);
    background: var(--error-bg);
    box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.15);
    animation: fieldShake 0.35s ease;
}

.input-group.has-error .validation-icon.error-icon {
    display: flex;
    color: var(--error);
}

/* Input States: Success */
.input-group.is-valid .input-field,
.input-group.is-valid .select-field {
    border-color: rgba(52, 211, 153, 0.45);
}

.input-group.is-valid .validation-icon.valid-icon {
    display: flex;
    color: var(--success);
}

/* Error message tooltip below input */
.error-msg {
    font-size: 11px;
    font-weight: 500;
    color: var(--error);
    margin-top: 6px;
    display: none;
    align-items: center;
    gap: 5px;
    line-height: 1.3;
}

.input-group.has-error .error-msg {
    display: flex;
    animation: fadeIn 0.2s ease;
}

/* --- Bot Protection Card --- */
.bot-protection-box {
    background: rgba(10, 10, 10, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition);
    user-select: none;
}

.bot-protection-box:hover {
    border-color: rgba(212, 175, 55, 0.3);
}

.bot-protection-box.verified {
    border-color: rgba(52, 211, 153, 0.5);
    background: rgba(52, 211, 153, 0.04);
}

.bot-check-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
}

.bot-checkbox-custom {
    width: 26px;
    height: 26px;
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 6px;
    background: #141414;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    position: relative;
}

.bot-check-wrap:hover .bot-checkbox-custom {
    border-color: var(--gold);
}

/* Interactive Spinner for Captcha */
.bot-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid var(--gold);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    display: none;
}

.bot-check-icon {
    display: none;
    color: var(--success);
}

.bot-protection-box.verifying .bot-checkbox-custom {
    border-color: var(--gold);
}
.bot-protection-box.verifying .bot-spinner {
    display: block;
}

.bot-protection-box.verified .bot-checkbox-custom {
    border-color: var(--success);
    background: rgba(52, 211, 153, 0.15);
}
.bot-protection-box.verified .bot-check-icon {
    display: block;
    animation: checkPop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

.bot-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-main);
    cursor: pointer;
}

.bot-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    opacity: 0.6;
}

.bot-brand svg {
    width: 24px;
    height: 24px;
    color: var(--gold);
}

.bot-brand span {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dim);
    margin-top: 2px;
}

/* --- SMS & Legal Consent Checkboxes --- */
.consent-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 6px;
}

.consent-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    position: relative;
}

.consent-checkbox-input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.consent-custom-box {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    border-radius: 5px;
    background: #0d0d0d;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    transition: var(--transition);
}

.consent-item:hover .consent-custom-box {
    border-color: var(--gold);
}

.consent-checkbox-input:focus ~ .consent-custom-box {
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
    border-color: var(--gold);
}

.consent-checkbox-input:checked ~ .consent-custom-box {
    background: var(--gold-gradient);
    border-color: var(--gold);
}

.consent-check-svg {
    display: none;
    width: 12px;
    height: 12px;
    stroke: #000000;
    stroke-width: 3;
}

.consent-checkbox-input:checked ~ .consent-custom-box .consent-check-svg {
    display: block;
}

.consent-text {
    font-size: 12px;
    line-height: 1.6;
    color: var(--text-muted);
}

.consent-text strong {
    color: var(--text-light);
}

/* Privacy Policy Bar */
.privacy-bar {
    text-align: center;
    padding-top: 10px;
}

.privacy-link {
    font-size: 13px;
    color: var(--gold);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.privacy-link:hover {
    color: var(--gold-light);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.privacy-link svg {
    width: 14px;
    height: 14px;
}

/* --- Submit Button --- */
.submit-btn {
    width: 100%;
    height: 56px;
    background: var(--gold-gradient);
    border: none;
    border-radius: var(--radius-md);
    color: #000000;
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.25);
    margin-top: 10px;
}

.submit-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 40%;
    height: 200%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.4) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(25deg);
    transition: all 0.6s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 14px 32px rgba(212, 175, 55, 0.4),
        0 0 15px rgba(212, 175, 55, 0.3);
}

.submit-btn:hover::after {
    left: 120%;
}

.submit-btn:active {
    transform: translateY(1px);
}

.submit-btn.is-submitting {
    pointer-events: none;
    opacity: 0.85;
}

.btn-spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0, 0, 0, 0.2);
    border-top: 3px solid #000000;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

.submit-btn.is-submitting .btn-spinner {
    display: block;
}

.submit-btn.is-submitting .btn-text,
.submit-btn.is-submitting .btn-arrow {
    display: none;
}

.btn-arrow {
    transition: transform 0.2s ease;
}

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

/* --- Success State Modal / Overlay --- */
.success-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    animation: fadeIn 0.4s ease forwards;
}

.success-overlay.show {
    display: flex;
}

.success-card {
    background: #111111;
    border: 1px solid var(--gold);
    border-radius: var(--radius-md);
    padding: 20px 22px;
    text-align: center;
    max-width: 500px;
    width: 92%;
    box-shadow: 0 0 50px rgba(212, 175, 55, 0.25);
    animation: popIn 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
    position: relative;
    overflow: hidden;
}

.modal-close-x {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 26px;
    height: 26px;
    border: none;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal-close-x:hover {
    background: rgba(212, 175, 55, 0.2);
    color: var(--gold);
}

.success-icon-badge {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.15);
    border: 2px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    box-shadow: 0 0 18px var(--gold-glow);
    color: var(--gold);
}

.success-title {
    font-family: var(--font-display);
    font-size: 24px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 4px;
    line-height: 1.1;
}

.success-desc {
    font-size: 11.5px;
    color: var(--text-muted);
    line-height: 1.4;
    margin-bottom: 10px;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

.success-drive-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    max-width: 380px;
    padding: 10px 18px;
    background: var(--gold-gradient);
    border: none;
    border-radius: 6px;
    color: #000000;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    transition: var(--transition);
    cursor: pointer;
    margin: 0 auto 10px auto;
}

.success-drive-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.45);
    background: var(--gold-gradient-hover);
}

.drive-alt-wrap {
    margin: -4px 0 10px 0;
}

.drive-alt-link {
    color: var(--gold);
    font-size: 11px;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
    opacity: 0.85;
    transition: var(--transition);
    display: inline-block;
}

.drive-alt-link:hover {
    opacity: 1;
    color: var(--gold-light);
}

/* Compact Discovery Card */
.site-invite-card {
    background: rgba(20, 20, 20, 0.95);
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: 10px;
    padding: 12px 14px;
    margin: 0 auto 10px auto;
    text-align: center;
}

.invite-eyebrow {
    font-size: 8.5px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 2px;
}

.invite-title {
    font-family: var(--font-display);
    font-size: 18px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 3px;
}

.invite-text {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.4;
    margin-bottom: 8px;
}

.invite-text strong {
    color: var(--gold-light);
}

.invite-stats {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 9px;
}

.invite-stat-pill {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 4px 10px;
    min-width: 80px;
}

.invite-stat-pill.highlight {
    border-color: rgba(212, 175, 55, 0.35);
    background: rgba(212, 175, 55, 0.06);
}

.stat-pill-num {
    font-family: var(--font-display);
    font-size: 18px;
    color: var(--gold);
    line-height: 1;
    display: block;
}

.stat-pill-label {
    font-size: 7.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-dim);
    margin-top: 2px;
    display: block;
}

.invite-actions {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-visit-site {
    background: var(--gold-gradient);
    color: #000000;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 7px 13px;
    border-radius: 6px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.btn-visit-site:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.35);
}

.btn-book-call {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 7px 12px;
    border-radius: 6px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
}

.btn-book-call:hover {
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold-light);
    border-color: var(--gold-light);
}

.modal-footer-actions {
    margin-top: 4px;
}

.success-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 16px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 5px;
    color: var(--text-dim);
    font-family: var(--font-body);
    font-size: 10.5px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.success-btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.35);
    color: var(--text-main);
}

/* --- Footer Brand Strip --- */
.page-footer {
    margin-top: 45px;
    text-align: center;
    font-size: 12px;
    color: var(--text-dim);
}

.page-footer a {
    color: var(--gold);
    text-decoration: none;
}

.page-footer a:hover {
    text-decoration: underline;
}

/* Honeypot field (hidden from real users, traps bots) */
.hp-field {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 0;
    width: 0;
    z-index: -1;
    pointer-events: none;
}

/* --- Keyframe Animations --- */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.85);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes checkPop {
    0% { transform: scale(0); opacity: 0; }
    60% { transform: scale(1.2); }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.75); }
}

@keyframes fieldShake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-6px); }
    40%, 80% { transform: translateX(6px); }
}

/* --- Responsive Media Queries --- */
@media (max-width: 768px) {
    .page-wrapper {
        padding: 25px 14px 45px;
    }

    .form-card {
        padding: 28px 18px;
        border-radius: var(--radius-md);
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .brand-logo {
        height: 54px;
    }

    .form-title {
        font-size: 32px;
    }

    .submit-btn {
        height: 52px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .form-card {
        padding: 22px 14px;
    }

    .consent-text {
        font-size: 11px;
    }

    .bot-protection-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .bot-brand {
        align-self: flex-end;
    }
}
