/* ============================================
   BELANOVA LANDING PAGE - LUXURY FORM STYLES
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Montserrat:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;0,600;1,400&display=swap');

/* ---------- CSS Variables ---------- */
:root {
    --gold: #C9A96E;
    --gold-light: #D4AF37;
    --gold-dark: #A8893A;
    --dark: #0D0D0D;
    --dark-bg: #1A1A1A;
    --dark-card: rgba(15, 15, 15, 0.75);
    --glass: rgba(20, 20, 20, 0.60);
    --glass-border: rgba(201, 169, 110, 0.25);
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.45);
    --error: #FF6B6B;
    --success: #4ECB71;
    --font-heading: 'Optima', Georgia, serif;
    --font-body: 'Optima', 'Segoe UI', 'Montserrat', sans-serif;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background: var(--dark);
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ---------- Hero / Background ---------- */
.hero-wrapper {
    position: fixed;
    inset: 0;
    z-index: 0;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.55) saturate(1.1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.35) 0%,
            rgba(0, 0, 0, 0.55) 50%,
            rgba(0, 0, 0, 0.7) 100%);
}

/* ---------- Main Container ---------- */
.main-container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: clamp(60px, 8vh, 95px) 24px clamp(5px, 1vh, 10px);
}

/* ---------- Corner Logo ---------- */
.corner-logo {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: clamp(50px, 7vh, 70px);
    z-index: 1000;
    background: rgba(10, 10, 10, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201, 169, 110, 0.2);
    display: flex;
    justify-content: end;
    align-items: center;
    padding: 0 40px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
}

.corner-logo:hover {
    background: rgba(15, 15, 15, 0.5);
}

.corner-logo img {
    height: clamp(30px, 4.5vh, 48px);
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(201, 169, 110, 0.2));
}

/* ---------- Form Card ---------- */
.form-card {
    width: 100%;
    max-width: 740px;
    background: var(--glass);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: clamp(18px, 2.8vh, 42px) clamp(28px, 3vw, 44px) clamp(16px, 2vh, 32px);
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    animation: cardFadeIn 0.8s ease-out;
    display: flex;
    flex-direction: column;
    gap: clamp(10px, 1.8vh, 22px);
}

@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- Brand Header ---------- */
.brand-header {
    text-align: center;
    position: relative;
}

.brand-logo {
    width: clamp(140px, 20vh, 240px);
    height: clamp(80px, 14vh, 140px);
    margin: 0 auto;
    position: relative;
}

.brand-logo::after {
    content: '';
    position: absolute;
    inset: -10px;
    background: radial-gradient(ellipse at center, rgba(201, 169, 110, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

.brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(1.1) drop-shadow(0 2px 12px rgba(201, 169, 110, 0.15));
}

.brand-tagline {
    font-family: var(--font-body);
    font-size: clamp(0.72rem, 1vh, 0.88rem);
    font-weight: 400;
    letter-spacing: 0.22em;
    color: var(--gold);
    margin-top: clamp(3px, 0.5vh, 8px);
    text-transform: uppercase;
}

.brand-location {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: var(--font-body);
    font-size: clamp(0.74rem, 1.1vh, 0.9rem);
    font-weight: 400;
    letter-spacing: 0.12em;
    color: var(--text-secondary);
    margin-top: clamp(4px, 1.2vh, 14px);
    padding: 8px 14px;
    background: rgba(201, 169, 110, 0.04);
    border-radius: 20px;
    border: 1px solid rgba(201, 169, 110, 0.1);
}

.brand-location svg {
    color: var(--gold);
    flex-shrink: 0;
    opacity: 0.85;
}

/* ---------- Heritage Text ---------- */
.heritage-text {
    text-align: center;
    padding: clamp(8px, 1.2vh, 16px) clamp(16px, 2vw, 32px);
    position: relative;
}

.heritage-text::before,
.heritage-text::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: clamp(60px, 12vw, 140px);
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-dark), transparent);
}

.heritage-text::before {
    top: 0;
}

.heritage-text::after {
    bottom: 0;
}

.heritage-headline,
.heritage-sub {
    font-family: var(--font-heading);
    font-size: clamp(0.95rem, 1.7vh, 1.3rem);
    font-weight: 500;
    /* font-style: italic; */
    color: rgba(255, 255, 255, 0.88);
    letter-spacing: 0.04em;
    line-height: 1.6;
}

.heritage-sub {
    margin-top: 2px;
    color: rgba(255, 255, 255, 0.7);
}

/* ---------- Invite Badge ---------- */
.invite-badge {
    text-align: center;
    font-family: var(--font-body);
    font-size: clamp(0.66rem, 0.95vh, 0.82rem);
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold-light);
    background: linear-gradient(135deg, rgba(201, 169, 110, 0.06), rgba(201, 169, 110, 0.12));
    border: 1px solid rgba(201, 169, 110, 0.25);
    padding: clamp(5px, 0.7vh, 9px) clamp(16px, 2vw, 28px);
    border-radius: 6px;
    width: fit-content;
    margin: 0 auto;
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(201, 169, 110, 0.1);
}

/* ---------- Progress Bar ---------- */
.progress-container {
    margin-bottom: 28px;
}

.progress-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    position: relative;
}

.progress-step {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    position: relative;
    z-index: 2;
    transition: var(--transition);
    cursor: default;
}

.progress-step.active {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--dark);
    box-shadow: 0 0 20px rgba(201, 169, 110, 0.4);
}

.progress-step.completed {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
    color: var(--dark);
}

.progress-step.completed::after {
    content: '✓';
    font-size: 0.75rem;
}

.progress-step.completed span {
    display: none;
}

.progress-line {
    width: 30px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.progress-line.active {
    background: var(--gold-dark);
}

.step-label {
    text-align: center;
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--gold);
    margin-top: 12px;
    text-transform: uppercase;
}

/* ---------- Form Steps ---------- */
.form-steps-wrapper {
    position: relative;
    overflow: hidden;
}

.form-step {
    display: none;
    animation: stepFadeIn 0.4s ease-out;
}

.form-step.active {
    display: block;
}

@keyframes stepFadeIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.step-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(201, 169, 110, 0.2);
}

/* ---------- Form Fields ---------- */
.form-group {
    margin-bottom: clamp(6px, 1.2vh, 16px);
}

.form-group label {
    display: block;
    font-family: var(--font-body);
    font-size: clamp(0.74rem, 1vh, 0.88rem);
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--text-secondary);
    margin-bottom: clamp(2px, 0.4vh, 6px);
    text-transform: uppercase;
}

.form-group label .required {
    color: var(--gold);
    margin-left: 2px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="url"],
.form-group input[type="number"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: clamp(7px, 1.1vh, 13px) 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: clamp(0.85rem, 1.15vh, 0.98rem);
    font-weight: 400;
    transition: var(--transition);
    outline: none;
}


.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
    font-weight: 300;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.09);
    box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.1);
}

.form-group input[readonly] {
    opacity: 0.75;
    cursor: default;
    background: rgba(255, 255, 255, 0.03);
}

.form-group input.error,
.form-group textarea.error {
    border-color: var(--error);
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.error-message {
    color: var(--error);
    font-size: 0.7rem;
    margin-top: 4px;
    display: none;
    font-weight: 400;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(201,169,110,0.8)' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.form-group select option {
    background: var(--dark-bg);
    color: var(--text-primary);
}

/* Two-column row */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
}

.form-row .form-group {
    flex: 1;
}

/* ---------- Radio & Checkbox Options ---------- */
.option-group {
    margin-bottom: 16px;
}

.option-group .option-label {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--text-secondary);
    margin-bottom: 10px;
    text-transform: uppercase;
    display: block;
}

.option-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.option-item {
    display: flex;
    align-items: center;
    padding: 11px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.option-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(201, 169, 110, 0.3);
}

.option-item input[type="radio"],
.option-item input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.option-item .custom-radio,
.option-item .custom-checkbox {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.option-item .custom-checkbox {
    border-radius: 4px;
}

.option-item input:checked~.custom-radio,
.option-item input:checked~.custom-checkbox {
    border-color: var(--gold);
    background: var(--gold);
}

.option-item input:checked~.custom-radio::after {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--dark);
}

.option-item input:checked~.custom-checkbox::after {
    content: '✓';
    font-size: 0.65rem;
    color: var(--dark);
    font-weight: 700;
}

.option-item input:checked~.option-text {
    color: var(--text-primary);
}

.option-item .option-text {
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 400;
    color: var(--text-secondary);
    transition: var(--transition);
}

.option-item.selected {
    background: rgba(201, 169, 110, 0.08);
    border-color: rgba(201, 169, 110, 0.35);
}

/* Specify field inside option */
.specify-field {
    margin-top: 8px;
    display: none;
}

.specify-field.visible {
    display: block;
}

.specify-field input {
    width: 100%;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.8rem;
    outline: none;
    transition: var(--transition);
}

.specify-field input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.1);
}

/* ---------- Navigation Buttons ---------- */
.form-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: clamp(6px, 1vh, 20px);
    padding-top: clamp(6px, 1.4vh, 16px);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.btn {
    font-family: var(--font-body);
    font-size: clamp(0.78rem, 1vh, 0.88rem);
    padding: clamp(10px, 1.3vh, 14px) 32px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
}

.btn-back {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 12px 24px;
}

.btn-back:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-next,
.btn-submit {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--dark);
    box-shadow: 0 4px 20px rgba(201, 169, 110, 0.3);
}

.btn-next:hover,
.btn-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 30px rgba(201, 169, 110, 0.45);
}

.btn-next:active,
.btn-submit:active {
    transform: translateY(0);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.btn-hidden {
    visibility: hidden;
}

/* ---------- Thank You Screen ---------- */
.thank-you-screen {
    display: none;
    text-align: center;
    padding: 40px 20px;
    animation: thankYouFadeIn 0.6s ease-out;
}

.thank-you-screen.active {
    display: block;
}

@keyframes thankYouFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.thank-you-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(201, 169, 110, 0.35);
}

.thank-you-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--dark);
}

.thank-you-screen h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 14px;
    letter-spacing: 0.05em;
}

.thank-you-screen p {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 360px;
    margin: 0 auto;
}

.thank-you-screen .gold-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 20px auto;
}

/* ---------- WhatsApp Button ---------- */
.whatsapp-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 999;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    border: none;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-btn svg {
    width: 28px;
    height: 28px;
    fill: #FFFFFF;
}

.whatsapp-btn::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #25D366;
    animation: whatsappPulse 2s infinite;
    z-index: -1;
}

@keyframes whatsappPulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* ---------- RERA Footer ---------- */
.rera-footer {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: clamp(3px, 0.5vh, 12px) 20px;
    font-family: var(--font-body);
    font-size: 0.58rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    line-height: 1.5;
    flex-shrink: 0;
}

.rera-footer a {
    color: var(--gold);
    text-decoration: none;
    letter-spacing: 0.08em;
    transition: var(--transition);
}

.rera-footer a:hover {
    color: var(--gold-light);
    text-decoration: underline;
}

/* ---------- Loading Spinner ---------- */
.spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(13, 13, 13, 0.3);
    border-top-color: var(--dark);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

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

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet */
@media (max-width: 768px) {
    .form-card {
        max-width: 580px;
        padding: 24px 22px 20px;
        gap: 10px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .corner-logo {
        height: 55px;
        padding: 0 16px;
    }

    .corner-logo img {
        height: 34px;
    }

    .main-container {
        padding: 80px 12px 35px;
        justify-content: flex-start;
        min-height: 0;
        flex: 1;
    }

    body {
        height: auto;
        min-height: 100vh;
        overflow-y: auto;
    }

    .form-card {
        padding: 22px 18px 18px;
        border-radius: 12px;
        max-width: 100%;
        margin: 0 auto;
        gap: 20px;
    }

    .brand-logo {
        width: 100%;
        height: 120px;
        margin-bottom: 12px;
    }

    .brand-location {
        font-size: 0.72rem;
        padding: 10px;
    }

    .heritage-text {
        padding: 12px 0;
    }

    .heritage-headline,
    .heritage-sub {
        font-size: 0.65rem;
    }

    .invite-badge {
        font-size: 0.64rem;
        padding: 5px 16px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-group {
        margin-bottom: 16px;
    }

    .form-group label {
        font-size: 0.72rem;
        margin-bottom: 4px;
    }

    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group input[type="tel"] {
        padding: 10px 12px;
        font-size: 0.85rem;
    }

    .form-nav {
        margin-top: 16px;
        padding-top: 12px;
    }

    .btn {
        padding: 11px 28px;
        font-size: 0.78rem;
    }

    .whatsapp-btn {
        width: 48px;
        height: 48px;
        bottom: 15px;
        right: 15px;
    }

    .whatsapp-btn svg {
        width: 20px;
        height: 20px;
    }

    .thank-you-screen {
        padding: 30px 15px;
    }

    .thank-you-screen h2 {
        font-size: 1.5rem;
    }

    .thank-you-screen p {
        font-size: 0.8rem;
    }

    .rera-footer {
        padding: 8px 15px;
        font-size: 0.55rem;
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    .form-card {
        padding: 14px 12px 12px;
        gap: 10px;
    }

    .brand-logo {
        width: 130px;
        height: 75px;
    }

    .heritage-headline,
    .heritage-sub {
        font-size: 0.55rem;
    }
}