:root {
    --teal-500: #14b8a6;
    --teal-600: #0d9488;
    --emerald-500: #10b981;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-900: #111827;
    --gradient-primary: linear-gradient(135deg, #14b8a6, #10b981);
}

 

body {
    background: linear-gradient(135deg, #f9fafb 0%, #f0fdfa 50%, #ecfdf5 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

.page-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 0rem;
    position: relative;
}


.blob {
    position: absolute;
    width: 24rem;
    height: 24rem;
    border-radius: 50%;
    filter: blur(64px);
    opacity: 0.15;
    z-index: 0;
    animation: float 6s ease-in-out infinite;
}

.blob-1 {
    top: 0;
    left: 0;
    background-color: #2dd4bf;
}

.blob-2 {
    bottom: 0;
    right: 0;
    background-color: #34d399;
    animation-delay: 2s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.main-grid {
    position: relative;
    z-index: 10;
    max-width: 1024px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}



.form-container * {
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

.form-container {
    width: 100%;
    max-width: 768px;
    /* max-w-3xl */
    margin: 0 auto;
    /* Centers the form inside your main-grid */
}

.card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    padding: 2.5rem;
    border: 1px solid var(--gray-100);
}

/* Header */
.step-main-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.step-main-header h1 {
    color: var(--gray-900);
    font-size: 1.875rem;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.step-main-header p {
    color: var(--gray-600);
    font-size: 1.125rem;
}

/* Progress Bar */
.progress-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 3rem;
}

.step-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-circle {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 400;
    font-size: 1.125rem;
    transition: all 0.3s ease;
}

.step-circle.active {
    background: linear-gradient(90deg, #0d9488, #14b8a6);
    color: white;
    box-shadow: 0 10px 15px -3px rgba(20, 184, 166, 0.3);
}

.step-circle.completed {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 10px 15px -3px rgba(20, 184, 166, 0.3);
}

.step-circle.inactive {
    background: var(--gray-100);
    color: var(--gray-400);
}

.step-label {
    font-size: 0.75rem;
    margin-top: 0.5rem;
    font-weight: 500;
}

.step-label.active,
.step-label.completed {
    color: var(--teal-600);
}

.step-label.inactive {
    color: var(--gray-400);
}

.progress-line {
    width: 5rem;
    height: 0.25rem;
    border-radius: 9999px;
    margin: 0 0.75rem;
    transition: all 0.3s ease;
    transform: translateY(-0.75rem);
}

.progress-line.active {
    background: var(--gradient-primary);
}

.progress-line.inactive {
    background: var(--gray-200);
}

/* Step Content Area */
.step-content {
    display: none;
    animation: fadeInRight 0.3s ease-out forwards;
}

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

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

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

.step-header {
    text-align: center;
    margin-bottom: 2rem;
}

.step-icon-box {
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, #14b8a6, #10b981);
    color: white;
}

.step-header h2 {
    color: var(--gray-900);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.step-header p {
    color: var(--gray-600);
}

/* Form Inputs */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--gray-700);
    margin-bottom: 0.75rem;
    font-weight: 400;
    text-align: left;
}

.input-wrapper {
    position: relative;
}

.input-wrapper svg.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    width: 1.25rem;
    height: 1.25rem;
    transition: color 0.3s;
}

.input-wrapper input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid var(--gray-200);
    border-radius: 0.75rem;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s;
    background: white;
}

.input-wrapper input:focus {
    border-color: var(--teal-500);
}

.input-wrapper input:focus+svg,
.input-wrapper:focus-within svg.input-icon {
    color: var(--teal-600);
}

.toggle-password {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--gray-400);
}

/* Radio Cards (Step 2) */
.radio-card-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.radio-card {
    display: flex;
    align-items: center;
    padding: 1.25rem;
    border: 2px solid var(--gray-200);
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s;
    background: white;
    margin: 0;
}

.radio-card:hover,
.radio-card input:checked+div {
    background: var(--gray-50);
    border-color: var(--teal-500);
}

.radio-icon {
    width: 3rem;
    height: 3rem;
    background: white;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    border: 1px solid var(--gray-100);
    flex-shrink: 0;
}

.radio-card span {
    margin-left: 1rem;
    font-size: 1.125rem;
    color: var(--gray-700);
}

.radio-card input {
    display: none;
}

/* Interest Grid (Step 3) */
.interest-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.interest-btn {
    padding: 1.25rem;
    text-align: left;
    background: white;
    color: var(--gray-700);
    border: 2px solid var(--gray-200);
    border-radius: 0.75rem;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.interest-btn:hover {
    border-color: var(--teal-500);
    background: var(--gray-50);
}

.interest-btn.selected {
    border-color: var(--teal-500);
    background: var(--teal-50);
    color: var(--teal-600);
    font-weight: 500;
}

/* Buttons */
.btn-group {
    display: flex;
    gap: 1rem;
    padding-top: 1rem;
    margin-top: 1.5rem;
}

.btn-step {
    flex: 1;
    padding: 1rem;
    border-radius: 0.75rem;
    font-size: 1.125rem;
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    outline: none;
}

.btn-primary {
    background: linear-gradient(90deg, #0d9488, #14b8a6, #10b981);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(20, 184, 166, 0.3);
}

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

.btn-secondary:hover {
    background: var(--gray-50);
    border-color: var(--gray-300);
}

.btn-step:disabled {
    background: var(--gray-300);
    color: var(--gray-500);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    pointer-events: none;
}

/* Footer Links */
.footer-text {
    text-align: center;
    margin-top: 2rem;
    color: var(--gray-600);
}

.footer-text a {
    color: var(--teal-600);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-weight: 500;
}

.footer-text a:hover {
    color: #0f766e;
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    font-size: 0.875rem;
    color: var(--gray-600);
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.trust-badge svg {
    color: var(--teal-600);
    width: 1.25rem;
    height: 1.25rem;
}


.svg-icon {
    width: 33px;
    height: 33px;
    stroke-width: 2;
    stroke: currentColor;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.svg-arrow{
    width: 24px !important;
    height: 24px !important;
}


@media screen and (max-width: 768px) {
    .page-container {
        padding: 2rem 1rem; 
    }

    .card {
        padding: 1.5rem; 
        border-radius: 1rem;
        margin-top: 1.5rem;
    }

    .step-main-header h1 {
        font-size: 1.5rem; 
    }

    .step-main-header p {
        font-size: 1rem;
    }

    .progress-line {
        width: 2rem; 
        margin: 0 0.5rem;
    }

    .step-circle {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1rem;
    }

    .interest-grid {
        grid-template-columns: 1fr; 
    }

    .radio-card {
        padding: 1rem; 
    }

    .radio-card span {
        font-size: 1rem; 
    }

    .btn-group {
        flex-direction: column-reverse; 
        gap: 0.75rem;
    }

    .btn-step {
        width: 100%;
        padding: 0.875rem;
        font-size: 1rem;
    }

    .trust-badges {
        gap: 1rem; 
        flex-direction: column;
        align-items: center;
    }
}

@media screen and (max-width: 480px) {
.blob{
    width: 20rem;
    height: 20rem;
}

}

.radio-card {
    position: relative;
}

.radio-card::after {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%230d9488' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    line-height: 0;
}

.radio-card:has(input:checked)::after {
    opacity: 1;
}

.interest-btn {
    position: relative;
}

.interest-btn.selected {
    background: linear-gradient(135deg, #0d9488, #10b981);
    border-color: var(--teal-600);
    color: white;
    font-weight: 500;
}

.interest-btn.selected::after {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    line-height: 0;
}

.toast {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.4rem;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 500;
    z-index: 9999;
    opacity: 0;
    transform: translateX(80px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    min-width: 280px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.toast.show {
    opacity: 1;
    transform: translateX(0);
}
.toast-success {
    background: #0d9488;
    color: #ffffff;
}
.toast-error {
    background: #ef4444;
    color: #ffffff;
}
.toast-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}