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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    background: #f5f5f7;
    color: #1d1d1f;
    line-height: 1.6;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

/* Header */
.header {
    background: #2c5aa0;
    color: white;
    padding: 0.5rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    font-size: 1.25rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.trust-indicators {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #374151;
    font-size: 0.875rem;
    background: #f0f4f8;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0,0,0,0.07);
    animation: fadeInSlide 0.3s ease-out forwards;
    opacity: 0;
    transform: translateY(10px);
}

.trust-item:nth-child(1) {
    animation-delay: 0.1s;
}

.trust-item:nth-child(2) {
    animation-delay: 0.2s;
}

.trust-item:nth-child(3) {
    animation-delay: 0.3s;
}

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

.trust-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: #3072c4;
    transition: color 0.3s ease;
}

.trust-item:hover svg {
    color: #365f94;
    filter: drop-shadow(0 0 4px rgba(48, 114, 196, 0.3));
}

.trust-text {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.trust-title {
    font-size: 0.875rem;
    font-weight: 500;
}

.trust-subtitle {
    font-size: 0.75rem;
    opacity: 0.9;
    color: #6b7280;
    margin-top: 0.125rem;
}

/* Main Container */
.container {
    max-width: 600px;
    margin: 0.5rem auto 2rem;
    padding: 0 1rem;
}

/* Form Card */
.form-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

/* Progress Steps */
.steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    position: relative;
}

.steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e5e7eb;
    z-index: 0;
}

.step {
    text-align: center;
    flex: 1;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 40px;
    height: 40px;
    background: #e5e7eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
    font-weight: 600;
    color: #6b7280;
    transition: all 0.3s;
}

.step.active .step-number {
    background: #2c5aa0;
    color: white;
}

.step.completed .step-number {
    background: #10b981;
    color: white;
}

.step-label {
    font-size: 0.875rem;
    color: #6b7280;
}

.step.active .step-label {
    color: #1d1d1f;
    font-weight: 500;
}

/* Form Sections */
.form-section {
    display: none;
}

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

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1d1d1f;
}

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

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #374151;
}

.required {
    color: #ef4444;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s;
    font-family: inherit;
    background-color: #ffffff;
    color: #1d1d1f;
}

.form-select:not([multiple]) {
    /* Normalize native select rendering to match inputs (Safari/Chrome/Firefox). */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

    padding-right: 2.75rem;
    cursor: pointer;

    /* Custom dropdown arrow */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M6 8l4 4 4-4' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 0.875rem 0.875rem;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: #2c5aa0;
    box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
}

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

.form-helper {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

.error-message {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

.form-input.error,
.form-textarea.error,
.form-select.error {
    border-color: #ef4444;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: #306cb0;
    color: white;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #2c5aa0;
    transform: scale(1.03);
}

.btn-primary:active {
    transform: scale(0.98);
}

/* Fixed CTA Button for Mobile */
@media (max-width: 640px) {
    .container {
        margin-top: 0.25rem;
    }

    .form-card {
        padding: 1rem;
    }

    .btn-group {
        margin-bottom: 1rem;
    }
}

.btn-secondary {
    background: #e5e7eb;
    color: #374151;
}

.btn-secondary:hover {
    background: #d1d5db;
}

.btn-group {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smooth scrolling for the entire page */
html {
    scroll-behavior: smooth;
}

/* FAQ Section */
.faq-section {
    max-width: 600px;
    margin: 3rem auto;
    padding: 0 1rem;
}

.faq-item {
    background: white;
    border-radius: 8px;
    margin-bottom: 0.75rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.faq-button {
    width: 100%;
    padding: 1rem;
    border: none;
    background: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    font-weight: 500;
}

.faq-icon {
    transition: transform 0.3s;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
}

/* Stats Section */
.stats-section {
    max-width: 800px;
    margin: 3rem auto 2rem;
    padding: 0 1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #dee2e6;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(44, 90, 160, 0.05) 0%, transparent 70%);
    transform: rotate(45deg);
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c5aa0;
    margin-bottom: 0.5rem;
    display: block;
    position: relative;
    z-index: 1;
}

.stat-label {
    font-size: 1rem;
    color: #495057;
    font-weight: 500;
    line-height: 1.4;
    position: relative;
    z-index: 1;
}

.stat-sublabel {
    font-size: 0.875rem;
    color: #6c757d;
    margin-top: 0.25rem;
    display: block;
    position: relative;
    z-index: 1;
}

@media (max-width: 640px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-card {
        padding: 1.5rem 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }
}

.review-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* Responsive */
@media (max-width: 640px) {
    .header {
        padding: 0.5rem 0;
    }

    .logo {
        font-size: 1.125rem;
    }

    .logo-icon {
        width: 28px;
        height: 28px;
    }

    .trust-indicators {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .trust-item {
        width: 100%;
    }

    .trust-item svg {
        width: 20px;
        height: 20px;
    }

    .trust-title {
        font-size: 0.75rem;
    }

    .btn-group {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}
    
