:root {
    --christ-blue: #1F3A5F;
    --christ-gold: #C4A35A;
    --christ-sand: #F4F1EE;
    --christ-black: #1C1C1C;
    --christ-line: #E5E5E5;
    --christ-gray: #6B7280;
    --christ-white: #FFFFFF;

    --transition-fast: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

/* WCAG - Clear Focus states for keyboard navigation */
*:focus-visible {
    outline: 2px solid var(--christ-blue);
    outline-offset: 3px;
    border-radius: 4px;
    /* Default for non-rounded items */
    z-index: 10;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--christ-sand);
    color: var(--christ-black);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    position: relative;
    overflow-x: hidden;
}

/* Background elements for premium feel */
.app-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 10% 20%, rgba(196, 163, 90, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(31, 58, 95, 0.08) 0%, transparent 40%);
}

.app-container {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(31, 58, 95, 0.08), 0 5px 15px rgba(0, 0, 0, 0.03);
    width: 100%;
    max-width: 700px;
    margin: 2rem auto;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

/* Header */
.form-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

/* Logo Styling */
.app-logo {
    width: 250px;
    max-width: 100%;
    height: auto;
    margin-bottom: 1rem;
    display: inline-block;
}

.title {
    color: var(--christ-blue);
    font-size: 1.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.subtitle {
    color: var(--christ-gray);
    font-size: 1.1rem;
    font-weight: 300;
}

.form-header::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--christ-gold);
    margin: 1.5rem auto 0;
    border-radius: 2px;
}

/* Progress Bar */
.progress-container {
    width: 100%;
    height: 6px;
    background: rgba(31, 58, 95, 0.05);
    border-radius: 6px;
    margin-top: 2rem;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--christ-gold), #E2BE6F);
    background-size: 200% 100%;
    width: 14.28%;
    /* 1/7 steps initial */
    transition: width 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    border-radius: 6px;
    animation: gradientPulse 3s infinite alternate ease-in-out;
}

@keyframes gradientPulse {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

.step-indicator {
    font-size: 0.85rem;
    color: var(--christ-gray);
    margin-top: 0.5rem;
    font-weight: 500;
}

/* Step Navigation Dots */
.step-nav {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1.5rem;
    position: relative;
    z-index: 1;
}

.step-nav::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--christ-line);
    z-index: -1;
    transform: translateY(-50%);
}

.step-dot {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid var(--christ-line);
    background: var(--christ-sand);
    color: var(--christ-gray);
    font-size: 0.95rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition-bounce);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.step-dot:hover {
    border-color: var(--christ-gold);
    color: var(--christ-gold);
    transform: translateY(-2px) scale(1.05);
    background: var(--christ-white);
}

.step-dot.active {
    background: var(--christ-blue);
    border-color: var(--christ-blue);
    color: var(--christ-white);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(31, 58, 95, 0.25);
    font-weight: 600;
}

/* Form Steps */
.form-step {
    display: none;
    opacity: 0;
    transform: translateY(25px);
}

.form-step.active {
    display: block;
    animation: fadeSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Stagger children inside active step */
.form-step.active>* {
    opacity: 0;
    animation: fadeSlideUpChild 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.form-step.active>*:nth-child(1) {
    animation-delay: 0.05s;
}

.form-step.active>*:nth-child(2) {
    animation-delay: 0.08s;
}

.form-step.active>*:nth-child(3) {
    animation-delay: 0.11s;
}

.form-step.active>*:nth-child(4) {
    animation-delay: 0.14s;
}

.form-step.active>*:nth-child(5) {
    animation-delay: 0.17s;
}

.form-step.active>*:nth-child(n+6) {
    animation-delay: 0.2s;
}

@keyframes fadeSlideUp {
    0% {
        opacity: 0;
        transform: translateY(25px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeSlideUpChild {
    0% {
        opacity: 0;
        transform: translateY(15px);
        filter: blur(8px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

.step-title {
    color: var(--christ-blue);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.section-subheading {
    font-size: 1.1rem;
    color: var(--christ-black);
    font-weight: 600;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--christ-line);
    padding-bottom: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 2.5rem;
}

/* Inputs - Floating Labels */
.input-row {
    display: flex;
    gap: 1.5rem;
}

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

.input-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.input-group input {
    width: 100%;
    padding: 1.6rem 1rem 0.5rem;
    font-family: inherit;
    font-size: 1rem;
    color: var(--christ-black);
    background: var(--christ-white);
    border: 1px solid var(--christ-line);
    border-radius: 12px;
    outline: none;
    transition: var(--transition-fast);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.01);
}

.input-group textarea {
    width: 100%;
    padding: 2.2rem 1rem 0.6rem;
    font-family: inherit;
    font-size: 1rem;
    color: var(--christ-black);
    background: var(--christ-white);
    border: 1px solid var(--christ-line);
    border-radius: 12px;
    outline: none;
    transition: var(--transition-fast);
    resize: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.01);
    min-height: 5rem;
}

.input-group input:focus,
.input-group textarea:focus {
    border-color: var(--christ-blue);
    box-shadow: 0 0 0 4px rgba(31, 58, 95, 0.08);
}

.input-group label {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--christ-gray);
    font-size: 0.9rem;
    line-height: 1.3;
    pointer-events: none;
    transition: var(--transition-fast);
}

.input-group textarea+label {
    top: 0.7rem;
    transform: none;
}

.input-group input:focus+label,
.input-group input:not(:placeholder-shown)+label,
.input-group textarea:focus+label,
.input-group textarea:not(:placeholder-shown)+label {
    top: 0.35rem;
    font-size: 0.7rem;
    color: var(--christ-blue);
    transform: translateY(0);
    font-weight: 500;
}

/* Radio Cards */
.radio-group-wrapper {
    margin-bottom: 1.5rem;
    /* Smoother gap */
}

.radio-label {
    font-size: 0.95rem;
    color: var(--christ-black);
    margin-bottom: 0.75rem;
    font-weight: 500;
    line-height: 1.3;
}

.radio-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 1rem;
}

.yn-options {
    grid-template-columns: 1fr 1fr;
    max-width: 300px;
}

.radio-card input {
    display: none;
}

.radio-card .card-content {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem;
    background: var(--christ-white);
    border: 1px solid var(--christ-line);
    border-radius: 12px;
    cursor: pointer;
    font-weight: 500;
    color: var(--christ-gray);
    transition: var(--transition-fast);
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.01);
}

.radio-card input:focus-visible+.card-content {
    outline: 2px solid var(--christ-blue);
    outline-offset: 2px;
}

.radio-card input:checked+.card-content {
    border-color: var(--christ-blue);
    background: rgba(31, 58, 95, 0.04);
    color: var(--christ-blue);
    box-shadow: 0 4px 15px rgba(31, 58, 95, 0.1);
    font-weight: 600;
    transform: translateY(-2px);
}

.radio-card:hover:not(:has(input:checked)) .card-content {
    border-color: var(--christ-gold);
}

/* Conditional Field */
.conditional-field {
    display: none;
    opacity: 0;
    transform: translateY(-15px);
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    margin-top: 1rem;
}

.conditional-field.visible {
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: conditionalReveal 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes conditionalReveal {
    from {
        opacity: 0;
        transform: translateY(-15px) scale(0.98);
    }

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

/* Slider */
.slider-container {
    margin-bottom: 2rem;
    padding: 1.5rem 0 0.5rem 0;
}

.slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: var(--christ-line);
    border-radius: 3px;
    outline: none;
    margin-bottom: 1.5rem;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--christ-gold);
    cursor: pointer;
    border: 4px solid var(--christ-white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: var(--transition-bounce);
}

.slider::-webkit-slider-thumb:hover {
    transform: scale(1.2) translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.slider:active::-webkit-slider-thumb {
    transform: scale(1.1);
}

.slider-value {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--christ-blue);
}

.slider-value span {
    font-size: 2.5rem;
    font-weight: 700;
}

/* Actions */
.form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--christ-line);
}

.btn {
    padding: 0.9rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-fast);
    border: none;
    font-family: inherit;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--christ-blue);
    color: var(--christ-white);
    box-shadow: 0 4px 15px rgba(31, 58, 95, 0.2);
    transition: var(--transition-bounce);
}

.btn-primary:hover {
    background: #152945;
    box-shadow: 0 10px 25px rgba(31, 58, 95, 0.4);
    transform: translateY(-3px) scale(1.02);
}

.btn-primary:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 4px 10px rgba(31, 58, 95, 0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--christ-gray);
    border: 2px solid var(--christ-line);
}

.btn-secondary:hover:not(:disabled) {
    border-color: var(--christ-blue);
    color: var(--christ-blue);
}

.btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Navigation Actions */
.form-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--christ-line);
}

/* Language Toggles */
.lang-toggles {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    display: flex;
    gap: 6px;
    z-index: 100;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 5px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.lang-btn {
    padding: 0.4rem 0.85rem;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: inherit;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    background: transparent;
    color: var(--christ-gray);
    transition: var(--transition-fast);
    letter-spacing: 0.5px;
}

.lang-btn:hover {
    color: var(--christ-blue);
    background: rgba(31, 58, 95, 0.05);
}

.lang-btn.active {
    background: var(--christ-blue);
    color: var(--christ-white);
    box-shadow: 0 2px 8px rgba(31, 58, 95, 0.2);
}

/* Mini Slider (for monitoring scales) */
.mini-slider-container {
    margin-bottom: 1.5rem;
}

.mini-slider-label {
    font-size: 0.95rem;
    color: var(--christ-black);
    font-weight: 500;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.mini-slider-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mini-slider-row .slider {
    flex: 1;
    margin-bottom: 0;
}

.mini-slider-endpoints {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--christ-gray);
    margin-top: 4px;
    font-weight: 400;
}

.mini-slider-val {
    min-width: 36px;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--christ-blue);
}

/* Responsive */
@media (max-width: 600px) {
    .app-container {
        padding: 2.5rem 1.5rem;
    }

    .input-row {
        flex-direction: column;
        gap: 0;
    }

    .radio-options {
        grid-template-columns: 1fr 1fr;
    }

    .yn-options {
        max-width: 100%;
    }
}

/* Close media query */

/* Custom Spinner for Premium Loading State */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s ease-in-out infinite;
    vertical-align: middle;
    margin-right: 8px;
}

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

/* Trust Badge Styling */
.trust-badge {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.8rem;
    color: var(--christ-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0.8;
}

.trust-badge svg {
    color: var(--christ-gold);
}

/* Motion and polish pass */
body {
    padding: clamp(1rem, 2vw, 2rem);
    background:
        radial-gradient(circle at top left, rgba(196, 163, 90, 0.1), transparent 28%),
        radial-gradient(circle at bottom right, rgba(31, 58, 95, 0.09), transparent 32%),
        linear-gradient(180deg, #f8f3ed 0%, #f2ede7 100%);
}

body::before,
body::after {
    content: '';
    position: fixed;
    border-radius: 999px;
    pointer-events: none;
    z-index: -3;
    filter: blur(80px);
    opacity: 0.5;
}

body::before {
    width: 22rem;
    height: 22rem;
    top: -4rem;
    right: -4rem;
    background: rgba(196, 163, 90, 0.16);
}

body::after {
    width: 26rem;
    height: 26rem;
    left: -8rem;
    bottom: -10rem;
    background: rgba(31, 58, 95, 0.14);
}

.app-container {
    max-width: 760px;
    padding: clamp(2rem, 4vw, 3.25rem);
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(252, 249, 245, 0.88)),
        rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow:
        0 28px 60px rgba(21, 41, 69, 0.14),
        0 10px 24px rgba(21, 41, 69, 0.08);
    transform: translateY(24px) scale(0.985);
    opacity: 0;
    transition:
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.app-container::before,
.app-container::after {
    content: '';
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
    z-index: 0;
}

.app-container::before {
    width: 13rem;
    height: 13rem;
    top: -6rem;
    right: -4rem;
    background: radial-gradient(circle, rgba(196, 163, 90, 0.22), rgba(196, 163, 90, 0));
}

.app-container::after {
    width: 14rem;
    height: 14rem;
    bottom: -7rem;
    left: -5rem;
    background: radial-gradient(circle, rgba(31, 58, 95, 0.12), rgba(31, 58, 95, 0));
}

body.is-ready .app-container {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.app-container.lang-swap {
    animation: containerPulse 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.app-container.success-glow {
    animation: successGlow 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.app-background {
    opacity: 0.9;
}

.form-header {
    margin-bottom: 2.5rem;
    padding: clamp(1.4rem, 2.5vw, 2rem);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(247, 242, 236, 0.72));
    border: 1px solid rgba(31, 58, 95, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
    overflow: hidden;
}

.form-header::before {
    content: '';
    position: absolute;
    inset: 0 auto auto 50%;
    width: 18rem;
    height: 18rem;
    background: radial-gradient(circle, rgba(196, 163, 90, 0.18), transparent 70%);
    transform: translateX(-50%) translateY(-72%);
    pointer-events: none;
}

.form-header::after {
    width: 120px;
    height: 3px;
    margin: 1.25rem auto 0;
    background: linear-gradient(90deg, rgba(196, 163, 90, 0.25), var(--christ-gold), rgba(31, 58, 95, 0.28));
}

.app-logo,
.title,
.subtitle,
.progress-container,
.step-indicator,
.step-nav {
    position: relative;
    z-index: 1;
}

.app-logo {
    width: clamp(180px, 38vw, 255px);
    margin-bottom: 1.15rem;
    filter: drop-shadow(0 14px 24px rgba(31, 58, 95, 0.12));
}

.title {
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    letter-spacing: 0.08em;
    line-height: 1.08;
}

.subtitle {
    max-width: 32rem;
    margin: 0.4rem auto 0;
    font-size: clamp(1rem, 1.7vw, 1.1rem);
    color: rgba(107, 114, 128, 0.92);
}

.progress-container {
    height: 10px;
    margin-top: 1.65rem;
    padding: 2px;
    border-radius: 999px;
    background: rgba(31, 58, 95, 0.08);
    box-shadow: inset 0 1px 3px rgba(21, 41, 69, 0.08);
}

.progress-bar {
    position: relative;
    border-radius: 999px;
    overflow: hidden;
    transition: width 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.progress-bar::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.48) 45%, transparent 100%);
    transform: translateX(-100%);
    animation: progressSheen 3.4s ease-in-out infinite;
}

.step-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.85rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(31, 58, 95, 0.08);
    box-shadow: 0 8px 18px rgba(31, 58, 95, 0.05);
}

.step-nav {
    gap: 0.7rem;
    margin-top: 1.3rem;
}

.step-nav::before {
    left: 8%;
    right: 8%;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(196, 163, 90, 0.32), rgba(31, 58, 95, 0.08));
}

.step-dot {
    position: relative;
    width: 38px;
    height: 38px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 241, 238, 0.92));
    box-shadow: 0 8px 18px rgba(21, 41, 69, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.step-dot::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px solid rgba(196, 163, 90, 0);
    transition: var(--transition-fast);
}

.step-dot:hover::after,
.step-dot.active::after {
    border-color: rgba(196, 163, 90, 0.35);
}

.step-dot.active {
    background: linear-gradient(135deg, #1f3a5f, #2d527f);
}

.form-step.active,
.form-step.step-enter-forward,
.form-step.step-enter-backward {
    display: block;
}

.form-step.step-enter-forward {
    animation: stepEnterForward 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.form-step.step-enter-backward {
    animation: stepEnterBackward 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.form-step.step-exit-forward,
.form-step.step-exit-backward {
    display: block;
    pointer-events: none;
}

.form-step.step-exit-forward {
    animation: stepExitForward 0.22s ease forwards;
}

.form-step.step-exit-backward {
    animation: stepExitBackward 0.22s ease forwards;
}

.step-title {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 1.5rem;
    padding: 0.55rem 0.95rem;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(244, 241, 238, 0.72));
    border: 1px solid rgba(31, 58, 95, 0.08);
    box-shadow: 0 10px 20px rgba(21, 41, 69, 0.05);
}

.section-subheading {
    position: relative;
    margin-bottom: 1.15rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(31, 58, 95, 0.08);
}

.section-subheading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 72px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--christ-gold), rgba(31, 58, 95, 0.2));
}

.input-group {
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.input-group:hover {
    transform: translateY(-2px);
}

.input-group input,
.input-group textarea {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 248, 244, 0.96));
    border-color: rgba(31, 58, 95, 0.09);
    box-shadow: 0 8px 18px rgba(21, 41, 69, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.input-group input:hover,
.input-group textarea:hover {
    border-color: rgba(196, 163, 90, 0.45);
}

.input-group input:focus,
.input-group textarea:focus {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(31, 58, 95, 0.09), 0 0 0 5px rgba(31, 58, 95, 0.08);
}

.radio-card .card-content {
    min-height: 56px;
    padding: 0.95rem 0.9rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 244, 239, 0.94));
    border-color: rgba(31, 58, 95, 0.08);
    box-shadow: 0 8px 18px rgba(21, 41, 69, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.radio-card:hover .card-content {
    transform: translateY(-3px);
    box-shadow: 0 14px 24px rgba(21, 41, 69, 0.08);
}

.radio-card input:checked+.card-content {
    background: linear-gradient(180deg, rgba(31, 58, 95, 0.09), rgba(196, 163, 90, 0.12));
}

.slider {
    height: 8px;
    border-radius: 999px;
}

.slider::-webkit-slider-thumb {
    width: 30px;
    height: 30px;
    box-shadow: 0 8px 20px rgba(196, 163, 90, 0.35), 0 3px 10px rgba(0, 0, 0, 0.12);
}

.slider-value {
    margin-top: 0.2rem;
}

.form-actions {
    position: relative;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 2.2rem;
    padding-top: 1.4rem;
}

.btn {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    min-width: 170px;
    padding: 0.95rem 2.2rem;
    box-shadow: 0 10px 22px rgba(21, 41, 69, 0.08);
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.26) 42%, transparent 100%);
    transform: translateX(-120%);
    transition: transform 0.55s ease;
    z-index: -1;
}

.btn:hover::after {
    transform: translateX(120%);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.7);
    color: var(--christ-blue);
}

.btn-secondary:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.96);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(21, 41, 69, 0.08);
}

.lang-toggles {
    top: 1rem;
    right: 1rem;
    padding: 0.38rem;
    gap: 0.35rem;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(31, 58, 95, 0.08);
    box-shadow: 0 16px 28px rgba(21, 41, 69, 0.12);
}

.lang-btn {
    min-width: 44px;
    padding: 0.5rem 0.95rem;
}

.lang-btn.active {
    background: linear-gradient(135deg, #1f3a5f, #2b527e);
    transform: translateY(-1px);
}

#success-actions,
#trust-badge {
    opacity: 0;
    transform: translateY(16px);
}

#success-actions.is-visible,
#trust-badge.is-visible {
    animation: fadeRiseIn 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

#trust-badge {
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(31, 58, 95, 0.08);
    box-shadow: 0 12px 24px rgba(21, 41, 69, 0.05);
}

@keyframes progressSheen {
    0%,
    25% {
        transform: translateX(-120%);
    }

    65%,
    100% {
        transform: translateX(120%);
    }
}

@keyframes containerPulse {
    0% {
        transform: translateY(0) scale(1);
    }

    45% {
        transform: translateY(-2px) scale(1.008);
    }

    100% {
        transform: translateY(0) scale(1);
    }
}

@keyframes successGlow {
    0% {
        box-shadow: 0 28px 60px rgba(21, 41, 69, 0.14), 0 10px 24px rgba(21, 41, 69, 0.08);
    }

    50% {
        box-shadow: 0 34px 72px rgba(21, 41, 69, 0.18), 0 0 0 1px rgba(196, 163, 90, 0.26), 0 0 36px rgba(196, 163, 90, 0.18);
    }

    100% {
        box-shadow: 0 28px 60px rgba(21, 41, 69, 0.14), 0 10px 24px rgba(21, 41, 69, 0.08);
    }
}

@keyframes stepEnterForward {
    0% {
        opacity: 0;
        transform: translateX(22px) translateY(18px) scale(0.985);
    }

    100% {
        opacity: 1;
        transform: translateX(0) translateY(0) scale(1);
    }
}

@keyframes stepEnterBackward {
    0% {
        opacity: 0;
        transform: translateX(-22px) translateY(18px) scale(0.985);
    }

    100% {
        opacity: 1;
        transform: translateX(0) translateY(0) scale(1);
    }
}

@keyframes stepExitForward {
    0% {
        opacity: 1;
        transform: translateX(0) translateY(0) scale(1);
    }

    100% {
        opacity: 0;
        transform: translateX(-12px) translateY(-6px) scale(0.99);
    }
}

@keyframes stepExitBackward {
    0% {
        opacity: 1;
        transform: translateX(0) translateY(0) scale(1);
    }

    100% {
        opacity: 0;
        transform: translateX(12px) translateY(-6px) scale(0.99);
    }
}

@keyframes fadeRiseIn {
    0% {
        opacity: 0;
        transform: translateY(16px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 720px) {
    body {
        padding: 0.8rem;
    }

    .lang-toggles {
        position: sticky;
        top: 0.65rem;
        right: auto;
        width: fit-content;
        margin: 0 auto 0.85rem;
    }

    .form-header {
        padding: 1.3rem 1rem 1.5rem;
    }

    .step-nav {
        gap: 0.45rem;
    }

    .step-dot {
        width: 34px;
        height: 34px;
        font-size: 0.85rem;
    }

    .btn {
        width: 100%;
        min-width: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    html:focus-within {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .app-container {
        opacity: 1;
        transform: none;
    }

    .progress-bar::after,
    .btn::after {
        display: none;
    }
}
