/* assets/css/form.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    padding: 1rem;
}

.form-app {
    max-width: 680px;
    margin: 2rem auto;
    background: #ffffff;
    border-radius: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: all 0.2s ease;
}

/* Header */
.form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: white;
    border-bottom: 1px solid #eef2f6;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.logo-area {
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: -0.3px;
}

.brand-accent {
    color: #0f7b6e;
    background: #e0f2ef;
    padding: 0.2rem 0.5rem 0.2rem 0.8rem;
    border-radius: 40px;
}

.brand-dark {
    color: #1e2a3e;
}

.urgency-badge {
    background: #fef3c7;
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #b45309;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.urgency-badge i {
    font-size: 1.1rem;
}

/* progress */
.progress-wrapper {
    padding: 0.5rem 1.5rem 0rem 1.5rem;
    background: white;
}

.step-progress-bar {
    height: 6px;
    background: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.step-progress-bar::after {
    content: '';
    display: block;
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #0f7b6e, #2c9c8b);
    border-radius: 10px;
    transition: width 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.step-counter {
    text-align: right;
    font-size: 0.75rem;
    color: #5b6e8c;
    font-weight: 500;
    margin-top: 0.4rem;
    margin-bottom: 0.25rem;
}

/* steps container */
.steps-container {
    padding: 1.5rem 1.5rem 0.5rem 1.5rem;
    min-height: 460px;
}

/* individual step cards */
.step-card {
    animation: fadeSlide 0.4s ease-out;
}

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

.step-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.step-sub {
    color: #475569;
    font-size: 0.95rem;
    margin-bottom: 1.8rem;
    border-left: 3px solid #0f7b6e;
    padding-left: 0.75rem;
}

/* options grid */
.options-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.option-btn {
    background: #f8fafc;
    border: 1.5px solid #e2edf2;
    border-radius: 1.2rem;
    padding: 1rem 1.2rem;
    font-size: 1rem;
    font-weight: 500;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    font-family: 'Inter', sans-serif;
}

.option-btn i {
    font-size: 1.4rem;
    color: #5b6e8c;
    transition: color 0.2s;
}

.option-btn:hover {
    background: #f1f5f9;
    border-color: #b9d0da;
    transform: translateX(4px);
}

.option-btn.selected {
    background: #eef9f7;
    border-color: #0f7b6e;
    color: #0f7b6e;
    box-shadow: 0 4px 10px rgba(15, 123, 110, 0.1);
}

.option-btn.selected i {
    color: #0f7b6e;
}

/* multi-select checkboxes */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 1rem 0 1.5rem;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #f8fafc;
    padding: 0.85rem 1rem;
    border-radius: 1rem;
    border: 1px solid #e2edf2;
    cursor: pointer;
    transition: all 0.2s;
}

.checkbox-item input {
    width: 1.2rem;
    height: 1.2rem;
    accent-color: #0f7b6e;
    cursor: pointer;
}

.checkbox-item span {
    font-weight: 500;
    color: #1e293b;
}

.checkbox-item.selected {
    background: #eef9f7;
    border-color: #0f7b6e;
}

/* textarea / other input */
.custom-input {
    width: 100%;
    padding: 0.9rem 1rem;
    border-radius: 1rem;
    border: 1.5px solid #e2edf2;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    background: #fefefe;
    transition: 0.2s;
    margin-top: 0.5rem;
}

.custom-input:focus {
    outline: none;
    border-color: #0f7b6e;
    box-shadow: 0 0 0 3px rgba(15, 123, 110, 0.2);
}

/* urgent insight banner */
.insight-banner {
    background: linear-gradient(135deg, #fef9e3, #fff4e0);
    border-left: 5px solid #e67e22;
    padding: 1rem 1.2rem;
    border-radius: 1rem;
    margin: 1rem 0 1.2rem;
    font-size: 0.9rem;
    color: #7b4a2e;
}

.insight-banner i {
    margin-right: 0.5rem;
    font-size: 1.2rem;
    vertical-align: middle;
}

.insight-banner strong {
    color: #c2410c;
}

/* nav buttons */
.nav-buttons {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 1.5rem 1.8rem 1.5rem;
    background: white;
    border-top: 1px solid #eef2f6;
}

.btn-prev, .btn-next {
    border: none;
    font-weight: 600;
    padding: 0.8rem 1.6rem;
    border-radius: 3rem;
    font-size: 0.95rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
}

.btn-prev {
    background: #f1f5f9;
    color: #334155;
}

.btn-prev:hover {
    background: #e6edf3;
}

.btn-next {
    background: #0f7b6e;
    color: white;
    box-shadow: 0 4px 8px rgba(15, 123, 110, 0.3);
}

.btn-next:hover {
    background: #0c6459;
    transform: translateY(-2px);
}

/* special urgency animation on last step pricing */
.pricing-card-highlight {
    background: linear-gradient(145deg, #ffffff, #f9fefd);
    border-radius: 1.5rem;
    padding: 1rem;
    margin: 1rem 0;
    border: 1px solid #c7ece8;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.discount-tag {
    background: #e63946;
    color: white;
    border-radius: 40px;
    padding: 0.2rem 0.8rem;
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 1px dashed #d1dbe8;
    padding: 0.8rem 0;
}

.price-row:last-child {
    border-bottom: none;
}

.old-price {
    text-decoration: line-through;
    color: #94a3b8;
    font-size: 0.9rem;
}

.new-price {
    font-weight: 800;
    font-size: 1.6rem;
    color: #0f7b6e;
}

.per-day {
    font-size: 0.8rem;
    font-weight: normal;
    color: #4b5563;
}

/* testimonial micro */
.testimonial-mini {
    background: #faf9fe;
    padding: 0.8rem;
    border-radius: 1rem;
    font-size: 0.85rem;
    font-style: italic;
    border-left: 3px solid #0f7b6e;
    margin: 1rem 0;
}

/* timer countdown */
.countdown-timer {
    background: #1e293b;
    color: #facc15;
    padding: 0.5rem 1rem;
    border-radius: 40px;
    font-family: monospace;
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
    letter-spacing: 1px;
}

/* responsive */
@media (max-width: 550px) {
    .form-app {
        margin: 0;
        border-radius: 1.5rem;
    }
    .step-title {
        font-size: 1.5rem;
    }
    .nav-buttons {
        padding: 1rem;
    }
    .btn-prev, .btn-next {
        padding: 0.6rem 1.2rem;
    }
}