/* Import from style.min.css */
@import url('style.min.css');

/* Form Specific Styles */
body {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    min-height: 100vh;
}

.form-hero {
    padding: 120px 0 60px;
    text-align: center;
    background: radial-gradient(circle at center, rgba(139, 92, 246, 0.1), transparent 70%);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.5rem;
    background: rgba(139, 92, 246, 0.2);
    border: 1px solid var(--purple-500);
    border-radius: 50px;
    color: var(--purple-300);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.form-hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--purple-300), var(--pink-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.form-hero p {
    font-size: 1.2rem;
    color: var(--purple-300);
    margin-bottom: 2rem;
}

.form-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-100);
    font-size: 0.95rem;
}

.info-item i {
    color: var(--purple-500);
    font-size: 1.2rem;
}

.form-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
}

/* Progress Steps */
.progress-wrapper {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.progress-line {
    position: absolute;
    top: 25px;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--purple-500), var(--pink-500));
    transition: width 0.5s ease;
    z-index: 1;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(139, 92, 246, 0.2);
}

.step {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
}

.step-circle {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 41, 59, 0.8);
    border: 3px solid rgba(139, 92, 246, 0.3);
    border-radius: 50%;
    margin: 0 auto 0.75rem;
    font-weight: 700;
    color: var(--gray-100);
    transition: all 0.3s ease;
}

.step.active .step-circle {
    background: linear-gradient(135deg, var(--purple-500), var(--pink-500));
    border-color: var(--purple-500);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.6);
    animation: pulse 2s infinite;
}

.step.completed .step-circle {
    background: linear-gradient(135deg, #10b981, #059669);
    border-color: #10b981;
}

.step.completed .step-circle::after {
    content: '✓';
    position: absolute;
    font-size: 1.5rem;
}

.step-title {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.step.active .step-title {
    color: var(--purple-300);
    font-weight: 600;
}

.step.completed .step-title {
    color: #10b981;
}

/* Messages */
.message {
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 500;
}

.success-message {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid #10b981;
    color: #6ee7b7;
}

.success-message::before {
    content: '✓';
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #10b981;
    border-radius: 50%;
    color: white;
    font-weight: bold;
}

.error-message {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid #ef4444;
    color: #fca5a5;
}

.error-message::before {
    content: '!';
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ef4444;
    border-radius: 50%;
    color: white;
    font-weight: bold;
}

/* Form Sections */
.form-section {
    display: none;
    animation: slideIn 0.5s ease;
}

.form-section.active {
    display: block;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.section-header {
    display: flex;
    gap: 1.5rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2.5rem;
}

.section-number {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--purple-500), var(--pink-500));
    border-radius: 50%;
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    flex-shrink: 0;
}

.section-info h2 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: var(--gray-100);
}

.section-info h2 i {
    color: var(--purple-500);
    margin-right: 0.5rem;
}

.section-info p {
    color: var(--purple-300);
    font-size: 1rem;
}

/* Form Groups */
.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--gray-100);
    font-size: 1rem;
}

.form-group label i {
    color: var(--purple-500);
    margin-right: 0.5rem;
}

.required {
    color: #ef4444;
    margin-left: 0.25rem;
}

.help-text {
    display: block;
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--purple-300);
    margin-top: 0.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

/* Inputs */
input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(139, 92, 246, 0.1);
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: 12px;
    color: var(--gray-100);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--purple-500);
    background: rgba(139, 92, 246, 0.15);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

textarea {
    resize: vertical;
    min-height: 100px;
}

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 12 12'%3E%3Cpath fill='%238B5CF6' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 3rem;
}

/* Phone Wrapper */
.phone-wrapper {
    display: flex;
    gap: 0.75rem;
}

.country-code {
    flex: 0 0 130px;
}

.phone-wrapper input {
    flex: 1;
}

/* Checkbox & Radio Cards */
.checkbox-group,
.radio-group,
.rating-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.checkbox-card,
.radio-card,
.rating-card {
    position: relative;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.checkbox-card input,
.radio-card input,
.rating-card input {
    position: absolute;
    opacity: 0;
}

.checkbox-card .card-content,
.radio-card .card-content,
.rating-card .card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.25rem;
    background: rgba(139, 92, 246, 0.1);
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: 12px;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
    height: 100%;
}

.checkbox-card i,
.radio-card i {
    font-size: 1.5rem;
    color: var(--purple-500);
}

.checkbox-card span,
.radio-card span,
.rating-card span {
    font-weight: 600;
    color: var(--gray-100);
}

.checkbox-card small {
    font-size: 0.85rem;
    color: var(--purple-300);
}

.checkbox-card input:checked+.card-content,
.radio-card input:checked+.card-content,
.rating-card input:checked+.card-content {
    background: rgba(139, 92, 246, 0.25);
    border-color: var(--purple-500);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}

.checkbox-card:hover .card-content,
.radio-card:hover .card-content,
.rating-card:hover .card-content {
    background: rgba(139, 92, 246, 0.15);
    border-color: var(--purple-500);
}

/* Range Slider */
.range-wrapper {
    padding: 1.5rem;
    background: rgba(139, 92, 246, 0.1);
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: 12px;
}

.range-labels-top {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.range-labels-top span:first-child {
    justify-self: start;
}

.range-labels-top span:last-child {
    justify-self: end;
}

.range-labels-top span:nth-child(2) {
    justify-self: center;
}

.range-labels-top span {
    font-weight: 600;
    color: var(--purple-300);
}

.range-value {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--purple-500), var(--pink-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

input[type="range"] {
    width: 100%;
    height: 8px;
    background: rgba(139, 92, 246, 0.3);
    border-radius: 5px;
    outline: none;
    appearance: none;
    margin: 1rem 0;
}

input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--purple-500), var(--pink-500));
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(139, 92, 246, 0.5);
}

input[type="range"]::-moz-range-thumb {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--purple-500), var(--pink-500));
    cursor: pointer;
    border-radius: 50%;
    border: none;
    box-shadow: 0 2px 10px rgba(139, 92, 246, 0.5);
}

.range-labels-bottom {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    color: var(--purple-300);
    font-size: 0.9rem;
}

.range-labels-bottom span:first-child {
    justify-self: start;
}

.range-labels-bottom span:last-child {
    justify-self: end;
}

.range-labels-bottom span:nth-child(2) {
    justify-self: center;
}

/* Navigation Buttons */
.form-navigation {
    display: flex;
    gap: 1rem;
    margin-top: 3rem;
}

.btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.25rem 2rem;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-prev {
    background: rgba(139, 92, 246, 0.1);
    border: 2px solid rgba(139, 92, 246, 0.3);
    color: var(--purple-300);
}

.btn-prev:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: var(--purple-500);
}

.btn-next,
.btn-submit {
    background: linear-gradient(135deg, var(--purple-500), var(--pink-500));
    color: white;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
}

.btn-next:hover,
.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.5);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* Form Footer */
.form-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(139, 92, 246, 0.2);
    color: var(--purple-300);
    font-size: 0.9rem;
}

.form-footer i {
    color: var(--purple-500);
    margin-right: 0.5rem;
}

/* Navbar Adjustments */
.btn-back {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 8px;
    color: var(--purple-300);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-back:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: var(--purple-500);
}

/* Responsive */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .section-header {
        flex-direction: column;
        text-align: center;
    }

    .checkbox-group,
    .radio-group,
    .rating-group {
        grid-template-columns: 1fr;
    }

    .form-navigation {
        flex-direction: column;
    }

    .progress-steps {
        flex-wrap: wrap;
    }

    .step {
        flex-basis: 33%;
        margin-bottom: 1rem;
    }

    .phone-wrapper {
        flex-direction: column;
    }

    .country-code {
        flex: 1;
    }
}