/* Critical CSS - Inline for LCP optimization */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background-color: #ffffff;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Header */
.header {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
    outline: none;
}

.logo:focus {
    outline: none;
    box-shadow: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

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

.logo-main {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    line-height: 1;
}

.logo-accent {
    font-size: 0.875rem;
    color: #2563eb;
    font-weight: 500;
    line-height: 1;
}

.trust-badges {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

@media (max-width: 768px) {
    .trust-badges {
        display: none;
    }
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.trust-badge i {
    color: #10b981;
    font-size: 1rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 3rem 0 1.5rem 0;
    min-height: 50vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: start;
}

.hero-text {
    max-width: 600px;
}

.hero-slogan {
    font-size: 2rem;
    font-weight: 700;
    color: #2563eb;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    display: block;
    line-height: 1.3;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

.hero-subtitle {
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.value-props {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.value-props li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    color: #374151;
}

.value-props i {
    color: #10b981;
    font-size: 1.25rem;
    width: 20px;
}

/* Hero Form */
.hero-form {
    display: flex;
    justify-content: center;
}

.form-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    width: 100%;
    max-width: 500px;
}

/* Progress Bar */
.progress-bar {
    width: 100%;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    border-radius: 4px;
    transition: width 0.3s ease;
}

/* Form Steps */
.form-step {
    display: none;
}

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

.step-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1.25rem;
    text-align: center;
}

/* Form Groups */
.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.375rem;
    font-size: 0.875rem;
}

/* Amount Input */
.amount-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

#amountInput {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1.125rem;
    font-weight: 600;
    text-align: center;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

#amountInput:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

#amountInput.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Amount Slider */
.amount-slider {
    position: relative;
}

#amountSlider {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: #e5e7eb;
    outline: none;
    -webkit-appearance: none;
    cursor: pointer;
}

#amountSlider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #2563eb;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.3);
    transition: transform 0.2s ease;
}

#amountSlider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

#amountSlider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #2563eb;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.3);
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.5rem;
}

.help-text {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.25rem;
    text-align: center;
}

/* Duration Buttons */
fieldset {
    border: none;
    margin: 0;
    padding: 0;
}

legend {
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
}

.duration-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.375rem;
}

.duration-btn {
    position: relative;
    cursor: pointer;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 0.625rem;
    background: #ffffff;
    transition: all 0.3s ease;
    text-align: center;
}

.duration-btn:hover {
    border-color: #2563eb;
    background: #eff6ff;
}

.duration-btn input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.duration-btn input[type="radio"]:checked + .duration-content {
    color: white;
}

.duration-btn input[type="radio"]:checked ~ * {
    color: white;
}

.duration-btn:has(input[type="radio"]:checked) {
    border-color: #2563eb;
    background: #2563eb;
    color: white;
}

.duration-content {
    pointer-events: none;
}

.duration-months {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.duration-rate {
    font-size: 1.125rem;
    font-weight: 700;
    color: #10b981;
}

.duration-btn:has(input[type="radio"]:checked) .duration-rate {
    color: white;
}

/* Preview Card - Motivational */
.preview-card {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
    border-radius: 12px;
    padding: 1.25rem;
    margin: 1rem 0;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.25);
    position: relative;
    overflow: hidden;
}

.preview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    pointer-events: none;
}

.preview-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
}

.preview-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.25rem 0;
}

.preview-item.highlight {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding-top: 0.75rem;
    margin-top: 0.75rem;
    font-weight: 700;
}

.preview-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.preview-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: #ffffff;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: white;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    margin-bottom: 1rem;
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

.btn-primary:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.3);
}

.btn-primary:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-secondary {
    background: #f3f4f6;
    color: #374151;
    border: 2px solid #e5e7eb;
    margin-bottom: 1rem;
}

.btn-secondary:hover {
    background: #e5e7eb;
    transform: translateY(-1px);
}

.btn-secondary:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(156, 163, 175, 0.3);
}

/* Form Inputs */
input[type="text"],
input[type="email"],
input[type="tel"] {
    width: 100%;
    padding: 0.75rem 0.875rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px; /* Prevent zoom on mobile */
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

input[type="text"].error,
input[type="email"].error,
input[type="tel"].error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Checkbox */
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.checkbox-text {
    font-size: 0.875rem;
    color: #374151;
    line-height: 1.4;
}

.link-button {
    background: none;
    border: none;
    color: #2563eb;
    text-decoration: underline;
    cursor: pointer;
    font-size: inherit;
    padding: 0;
}

.link-button:hover {
    color: #1d4ed8;
}

/* Error Messages */
.error-message {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: none;
}

.error-message.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Reassurance Strip */
.reassurance-strip {
    background: #f8fafc;
    padding: 2rem 0;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.reassurance-items {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.reassurance-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #374151;
    font-weight: 500;
}

.reassurance-item i {
    color: #10b981;
    font-size: 1.125rem;
}

/* Section Styles */
section {
    padding: 2.5rem 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    text-align: center;
    margin-bottom: 2rem;
}

/* How It Works */
.how-it-works {
    background: #ffffff;
}

.steps-grid {
    display: flex;
    justify-content: center;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.step-card {
    text-align: center;
    padding: 1.5rem 1rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex: 1;
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.step-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.25rem;
}

.step-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.step-card p {
    color: #6b7280;
    line-height: 1.4;
    font-size: 0.875rem;
}

/* Benefits Section */
.benefits {
    background: #f8fafc;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 1000px;
    margin: 0 auto;
}

.benefit-card {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.benefit-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: white;
    font-size: 1.125rem;
}

.benefit-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.benefit-card p {
    color: #6b7280;
    line-height: 1.4;
    font-size: 0.875rem;
}

/* Testimonials */
.testimonials {
    background: #ffffff;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.customer-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.customer-info h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.rating {
    display: flex;
    gap: 0.25rem;
}

.rating i {
    color: #fbbf24;
    font-size: 0.875rem;
}

.testimonial-text {
    color: #6b7280;
    line-height: 1.6;
    font-style: italic;
}

/* FAQ Section */
.faq {
    background: #f8fafc;
    padding: 4rem 0;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #ffffff;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    border: none;
    background: none;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #f8fafc;
}

.faq-question:focus {
    outline: none;
    box-shadow: inset 0 0 0 2px #2563eb;
}

.faq-question i {
    color: #6b7280;
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: #6b7280;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: #1f2937;
    color: #ffffff;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.875rem;
}

.footer-section a:hover {
    color: #ffffff;
}

.footer .logo-main {
    color: #ffffff !important;
}

.footer .logo-accent {
    color: #60a5fa !important;
}

.footer-section p {
    color: #9ca3af;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.footer-email {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.footer-email i {
    color: #60a5fa;
    font-size: 1rem;
}

.footer-email a {
    color: #60a5fa;
    text-decoration: none;
    font-weight: 500;
}

.footer-email a:hover {
    color: #93c5fd;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: #9ca3af;
    font-size: 0.875rem;
    margin: 0;
}


/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 2rem;
}

.modal-content {
    background: #ffffff;
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 0;
}

.modal-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    text-align: center;
    flex: 1;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #6b7280;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.modal-close:hover {
    background: #f3f4f6;
}

.modal-body {
    padding: 2rem;
}

.modal-body h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin: 1.5rem 0 0.5rem;
}

.modal-body h4:first-child {
    margin-top: 0;
}

.modal-body p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.success-icon {
    text-align: center;
    margin-bottom: 1.5rem;
}

.success-icon i {
    font-size: 4rem;
    color: #10b981;
}

.success-details {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.success-note {
    font-size: 0.875rem;
    color: #6b7280;
    font-style: italic;
}

.modal-footer {
    padding: 0 2rem 2rem;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-text {
        max-width: 100%;
        text-align: center;
        margin: 0 auto;
    }
    
    .hero-slogan,
    .hero-title,
    .hero-subtitle {
        text-align: center;
    }
    
    .value-props {
        text-align: left;
        display: inline-block;
        margin: 0 auto;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .steps-grid,
    .benefits-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 12px;
        overflow-x: hidden;
    }
    
    body {
        overflow-x: hidden;
    }
    
    .header-content {
        flex-direction: row;
        justify-content: flex-start;
        gap: 1rem;
        text-align: left;
    }
    
    .logo {
        gap: 0.5rem;
        align-items: center;
    }
    
    .logo-icon {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    
    .logo-text {
        gap: 0.0625rem;
        text-align: left;
    }
    
    .logo-main {
        font-size: 1.25rem;
        line-height: 1;
        text-align: left;
    }
    
    .logo-accent {
        font-size: 0.75rem;
        line-height: 1;
        text-align: left;
    }
    
    .hero {
        padding: 2rem 0 0.75rem 0;
        min-height: auto;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        text-align: center;
    }
    
    .hero-slogan {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
        letter-spacing: -0.01em;
    }
    
    .hero-title {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
    }
    
    .value-props {
        gap: 1rem;
    }
    
    .value-props li {
        font-size: 0.8rem;
        gap: 0.75rem;
        padding: 0.5rem 0;
    }
    
    .value-props i {
        font-size: 1rem;
        width: 16px;
    }
    
    .form-card {
        padding: 0.75rem;
        max-width: 100%;
        margin: 0;
    }
    
    .step-title {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-group label {
        font-size: 0.875rem;
        margin-bottom: 0.25rem;
    }
    
    #amountInput {
        padding: 0.75rem;
        font-size: 1.125rem;
    }
    
    input[type="text"],
    input[type="email"],
    input[type="tel"] {
        padding: 0.75rem 0.875rem;
        font-size: 16px; /* Prevent zoom on mobile */
    }
    
    .duration-buttons {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.375rem;
    }
    
    .duration-btn {
        padding: 0.5rem;
    }
    
    .duration-months {
        font-size: 0.8rem;
    }
    
    .duration-rate {
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
        font-weight: 600;
    }
    
    .btn-primary {
        animation: pulse 2s infinite;
    }
    
    /* Step 1 Next Button - Larger on mobile */
    .form-step[data-step="1"] .btn-primary {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        font-weight: 600;
        animation: pulse 2s infinite;
    }
    
    /* Step 2 Submit Button - Larger on mobile */
    .form-step[data-step="2"] .btn-primary {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        font-weight: 600;
        animation: pulse 2s infinite;
    }
    
    @keyframes pulse {
        0% {
            box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
        }
        50% {
            box-shadow: 0 4px 12px rgba(37, 99, 235, 0.5);
        }
        100% {
            box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
        }
    }
    
    
    .checkbox-label {
        gap: 0.375rem;
    }
    
    .checkbox-text {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    .preview-card {
        padding: 1rem;
        margin: 0.75rem 0;
    }
    
    .preview-label {
        font-size: 0.8rem;
    }
    
    .preview-value {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .steps-grid {
        flex-direction: column;
        gap: 0.75rem;
        max-width: 100%;
    }
    
    .step-card {
        padding: 1rem;
        display: flex;
        align-items: flex-start;
        gap: 0.75rem;
        text-align: left;
        background: #ffffff;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
        border: 1px solid #e5e7eb;
    }
    
    .step-icon {
        width: 36px;
        height: 36px;
        font-size: 0.875rem;
        margin-bottom: 0;
        flex-shrink: 0;
        margin-top: 0.125rem;
    }
    
    .step-card-content {
        flex: 1;
    }
    
    .step-card h3 {
        font-size: 0.875rem;
        margin-bottom: 0.25rem;
        color: #1f2937;
        font-weight: 600;
    }
    
    .step-card p {
        font-size: 0.75rem;
        line-height: 1.4;
        margin: 0;
        color: #6b7280;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .benefit-card {
        padding: 1rem 0.75rem;
    }
    
    .benefit-icon {
        width: 32px;
        height: 32px;
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .benefit-card h3 {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
    }
    
    .benefit-card p {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    
    .footer {
        padding: 1.5rem 0 0.75rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 0.75rem;
    }
    
    .footer-section {
        margin-bottom: 0.125rem;
    }
    
    .footer-section p {
        font-size: 0.75rem;
        margin-top: 0.25rem;
        margin-bottom: 0.25rem;
    }
    
    .footer-email {
        margin-top: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .footer-email a {
        font-size: 0.75rem;
    }
    
    .footer-section h4 {
        font-size: 0.875rem;
        margin-bottom: 0.5rem;
    }
    
    .footer-section ul {
        display: flex;
        justify-content: center;
        gap: 1rem;
        flex-wrap: wrap;
    }
    
    .footer-section ul li {
        margin-bottom: 0;
    }
    
    .footer-section ul li a {
        font-size: 0.75rem;
    }
    
    .modal-content {
        margin: 0.5rem;
        max-height: 95vh;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .modal-header h3 {
        font-size: 1.125rem;
    }
    
    .modal-body p {
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 8px;
    }
    
    .hero-title {
        font-size: 1.125rem;
    }
    
    .hero-subtitle {
        font-size: 0.8rem;
    }
    
    .value-props li {
        font-size: 0.75rem;
        padding: 0.5rem 0;
    }
    
    .section-title {
        font-size: 1.25rem;
    }
    
    .form-card {
        padding: 0.5rem;
    }
    
    .step-title {
        font-size: 0.9rem;
    }
    
    .form-group {
        margin-bottom: 0.75rem;
    }
    
    #amountInput {
        padding: 0.5rem;
        font-size: 1rem;
    }
    
    input[type="text"],
    input[type="email"],
    input[type="tel"] {
        padding: 0.5rem 0.75rem;
        font-size: 16px; /* Prevent zoom on mobile */
    }
    
    .duration-buttons {
        gap: 0.25rem;
    }
    
    .duration-btn {
        padding: 0.375rem;
    }
    
    .duration-months {
        font-size: 0.75rem;
    }
    
    .duration-rate {
        font-size: 0.85rem;
    }
    
    .btn {
        padding: 0.625rem 0.875rem;
        font-size: 0.8rem;
    }
    
    /* Step 1 Next Button - Larger on small mobile */
    .form-step[data-step="1"] .btn-primary {
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
        font-weight: 600;
        animation: pulse 2s infinite;
    }
    
    /* Step 2 Submit Button - Larger on small mobile */
    .form-step[data-step="2"] .btn-primary {
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
        font-weight: 600;
        animation: pulse 2s infinite;
    }
    
    .checkbox-text {
        font-size: 0.75rem;
    }
    
    .preview-card {
        padding: 0.75rem;
        margin: 0.5rem 0;
    }
    
    .preview-label {
        font-size: 0.75rem;
    }
    
    .preview-value {
        font-size: 0.9rem;
    }
    
    .step-card {
        padding: 0.75rem 0.5rem;
        display: flex;
        align-items: center;
        gap: 0.75rem;
        text-align: left;
    }
    
    .step-icon {
        width: 32px;
        height: 32px;
        font-size: 0.875rem;
        margin-bottom: 0;
        flex-shrink: 0;
    }
    
    .step-card h3 {
        font-size: 0.8rem;
        margin-bottom: 0.125rem;
    }
    
    .step-card p {
        font-size: 0.75rem;
        margin: 0;
    }
    
    .benefit-card {
        padding: 0.75rem 0.5rem;
    }
    
    .benefit-icon {
        width: 28px;
        height: 28px;
        font-size: 0.875rem;
        margin-bottom: 0.5rem;
    }
    
    .benefit-card h3 {
        font-size: 0.8rem;
    }
    
    .benefit-card p {
        font-size: 0.75rem;
    }
    
    .modal-header h3 {
        font-size: 1rem;
    }
    
    .modal-body p {
        font-size: 0.8rem;
    }
}

/* Focus styles for accessibility */
*:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

.btn:focus,
input:focus,
button:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-primary {
        border: 2px solid #000;
    }
    
    .btn-secondary {
        border: 2px solid #000;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print styles */
@media print {
    .header,
    .modal-overlay {
        display: none !important;
    }
    
    .hero {
        background: none !important;
        padding: 1rem 0;
    }
    
    .form-card {
        box-shadow: none !important;
        border: 1px solid #000 !important;
    }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3.5rem;
    height: 3.5rem;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    transform: translateY(20px);
}

.scroll-to-top.visible {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

.scroll-to-top:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.3);
}

/* Mobile scroll to top button */
@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 3rem;
        height: 3rem;
        font-size: 1rem;
    }
}
