/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #ffffff;
}

/* Design System Variables */
:root {
    /* Colors (HSL format) */
    --primary: 213 94% 47%;
    --primary-hover: 213 94% 42%;
    --primary-foreground: 0 0% 100%;
    
    --success: 145 63% 49%;
    --success-foreground: 0 0% 100%;
    
    --warning: 36 100% 50%;
    --warning-foreground: 0 0% 100%;
    
    --background: 0 0% 100%;
    --foreground: 225 15% 15%;
    
    --muted: 210 40% 96%;
    --muted-foreground: 215 16% 47%;
    
    --border: 220 13% 91%;
    --card: 0 0% 100%;
    
    /* Shadows */
    --shadow-card: 0 4px 15px -2px rgba(0, 0, 0, 0.1);
    --shadow-cta: 0 10px 25px -5px hsl(213, 94%, 47%, 0.3);
    --shadow-hover: 0 15px 35px -5px hsl(213, 94%, 47%, 0.4);
    
    /* Gradients */
    --hero-gradient: linear-gradient(135deg, hsl(213, 94%, 47%) 0%, hsl(213, 94%, 55%) 100%);
    
    /* Border radius */
    --radius: 0.75rem;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.text-success {
    color: hsl(var(--success));
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    color: hsl(var(--foreground));
}

.section-subtitle {
    font-size: 1.25rem;
    text-align: center;
    color: hsl(var(--muted-foreground));
    margin-bottom: 3rem;
}

/* Buttons */
.cta-button {
    background: hsl(var(--success));
    color: hsl(var(--success-foreground));
    border: none;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 10px 25px -5px hsl(var(--success) / 0.3);
    text-decoration: none;
    display: inline-block;
    text-align: center;
    min-width: 280px;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.cta-button.pulse {
    animation: pulse-soft 2s infinite;
}

@keyframes pulse-soft {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

/* Hero Section */
.hero-section {
    background: var(--hero-gradient);
    color: hsl(var(--primary-foreground));
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.trust-indicators {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

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

.trust-badge {
    font-weight: 700;
    font-size: 1rem;
}

.trust-text {
    font-size: 0.875rem;
    opacity: 0.9;
}

.hero-image {
    position: relative;
    text-align: center;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
}

.floating-badge {
    position: absolute;
    background: hsl(var(--card));
    color: hsl(var(--foreground));
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 700;
    box-shadow: var(--shadow-card);
    animation: float 3s ease-in-out infinite;
}

.savings-badge {
    top: 10%;
    left: -10%;
    color: hsl(var(--success));
}

.time-badge {
    bottom: 15%;
    right: -10%;
    color: hsl(var(--primary));
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Trust Section */
.trust-section {
    padding: 4rem 0;
    background: hsl(var(--muted));
}

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

.insurer-item {
    background: hsl(var(--card));
    padding: 1.5rem 1rem;
    text-align: center;
    border-radius: var(--radius);
    font-weight: 600;
    color: hsl(var(--foreground));
    transition: var(--transition);
    border: 1px solid hsl(var(--border));
}

.insurer-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
}

.trust-badges {
    text-align: center;
}

.trust-badges-image {
    max-width: 400px;
    width: 100%;
    border-radius: var(--radius);
}

/* How It Works Section */
.how-it-works-section {
    padding: 4rem 0;
    background: hsl(var(--background));
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.step-item {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.step-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.step-number {
    position: absolute;
    top: 0;
    right: 1rem;
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: hsl(var(--foreground));
}

.step-description {
    color: hsl(var(--muted-foreground));
    line-height: 1.6;
}

/* Middle CTA Section */
.middle-cta-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, hsl(var(--primary))/5% 0%, hsl(var(--success))/5% 100%);
}

.cta-card {
    background: hsl(var(--card));
    border-radius: 1.5rem;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-card);
    border: 1px solid hsl(var(--border));
    max-width: 64rem;
    margin: 0 auto;
}

.savings-badge-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.dollar-icon {
    font-size: 2rem;
}

.average-savings-badge {
    background: hsl(var(--success))/10%;
    color: hsl(var(--success));
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: hsl(var(--foreground));
}

.cta-description {
    font-size: 1.125rem;
    color: hsl(var(--muted-foreground));
    margin-bottom: 2rem;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

.benefit-icon {
    font-size: 1rem;
}

.disclaimer-text {
    font-size: 0.75rem;
    color: hsl(var(--muted-foreground));
    margin-top: 1rem;
    opacity: 0.75;
}

/* Testimonials Section */
.testimonials-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, hsl(var(--muted)) 0%, hsl(var(--background)) 100%);
    text-align: center;
}

.testimonial-carousel {
    position: relative;
    max-width: 56rem;
    margin: 0 auto 3rem;
    overflow: hidden;
    border-radius: 1.5rem;
    background: hsl(var(--card));
    box-shadow: 0 25px 50px -12px hsl(var(--foreground))/8%, 0 0 0 1px hsl(var(--border))/50%;
}

.testimonial-container {
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-item {
    min-width: 100%;
    padding: 3.5rem 3rem;
    background: hsl(var(--card));
    text-align: center;
    border-radius: 1.5rem;
}

.testimonial-quote {
    font-size: 1.3rem;
    font-style: italic;
    margin-bottom: 2rem;
    color: hsl(var(--foreground));
    line-height: 1.7;
    font-weight: 400;
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
}

.testimonial-rating {
    color: #fbbf24;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    filter: drop-shadow(0 2px 4px hsl(45 100% 76% / 0.2));
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.testimonial-avatar {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid hsl(var(--muted));
    box-shadow: 0 8px 16px hsl(var(--foreground))/10%;
    transition: transform 0.3s ease;
}

.testimonial-avatar:hover {
    transform: scale(1.05);
}

.author-info h4 {
    font-weight: 600;
    font-size: 1.15rem;
    color: hsl(var(--foreground));
    margin: 0;
}

.author-info p {
    font-size: 0.95rem;
    color: hsl(var(--muted-foreground));
    font-weight: 500;
    margin: 0.375rem 0 0;
}

.testimonial-savings {
    background: linear-gradient(135deg, hsl(var(--success)), hsl(145 63% 42%));
    color: hsl(var(--success-foreground));
    padding: 0.625rem 1.25rem;
    border-radius: 1.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    box-shadow: 0 4px 12px hsl(var(--success))/30%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.testimonial-savings:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px hsl(var(--success))/40%;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: hsl(var(--card));
    border: none;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    color: hsl(var(--primary));
    transition: var(--transition);
    z-index: 10;
    box-shadow: 0 8px 24px hsl(var(--foreground))/12%, 0 0 0 1px hsl(var(--border));
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 12px 32px hsl(var(--primary))/30%;
}

.carousel-btn:active {
    transform: translateY(-50%) scale(1.02);
}

.prev-btn {
    left: -1.625rem;
}

.next-btn {
    right: -1.625rem;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2.5rem;
}

.dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background: hsl(var(--muted));
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.dot::after {
    content: '';
    position: absolute;
    top: -0.25rem;
    left: -0.25rem;
    right: -0.25rem;
    bottom: -0.25rem;
    border-radius: 50%;
    background: transparent;
    transition: background 0.3s ease;
}

.dot:hover::after {
    background: hsl(var(--primary))/10%;
}

.dot.active {
    background: hsl(var(--primary));
    transform: scale(1.25);
    box-shadow: 0 0 0 2px hsl(var(--primary))/20%;
}

.dot:hover {
    background: hsl(var(--muted-foreground));
    transform: scale(1.1);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .testimonial-item {
        padding: 2.5rem 1.5rem;
    }
    
    .testimonial-quote {
        font-size: 1.15rem;
        line-height: 1.6;
        margin-bottom: 1.75rem;
    }
    
    .carousel-btn {
        width: 2.75rem;
        height: 2.75rem;
        font-size: 1.3rem;
    }
    
    .prev-btn {
        left: 0.75rem;
    }
    
    .next-btn {
        right: 0.75rem;
    }
    
    .testimonial-author {
        flex-direction: column;
        gap: 1rem;
    }
    
    .testimonial-avatar {
        width: 3.5rem;
        height: 3.5rem;
    }
    
    .carousel-dots {
        margin-top: 2rem;
        gap: 0.625rem;
    }
    
    .dot {
        width: 0.625rem;
        height: 0.625rem;
    }
}

@media (max-width: 480px) {
    .testimonial-item {
        padding: 2rem 1.25rem;
    }
    
    .testimonial-quote {
        font-size: 1.05rem;
    }
    
    .carousel-btn {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.2rem;
    }
}

/* Urgency Section */
.urgency-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, hsl(var(--warning))/10% 0%, hsl(var(--background)) 50%, hsl(var(--warning))/10% 100%);
    border-top: 1px solid hsl(var(--warning))/20%;
    border-bottom: 1px solid hsl(var(--warning))/20%;
}

.urgency-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.alert-icon {
    font-size: 2rem;
    animation: pulse-soft 2s infinite;
}

.limited-time-badge {
    background: hsl(var(--warning));
    color: hsl(var(--warning-foreground));
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.urgency-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1.5rem;
    color: hsl(var(--foreground));
    line-height: 1.2;
}

.urgency-description {
    font-size: 1.25rem;
    text-align: center;
    color: hsl(var(--muted-foreground));
    margin-bottom: 3rem;
    line-height: 1.6;
}

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

.urgency-item {
    background: hsl(var(--card));
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-card);
    border: 1px solid hsl(var(--border));
}

.urgency-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.urgency-item-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: hsl(var(--foreground));
}

.urgency-item-description {
    color: hsl(var(--muted-foreground));
}

.final-cta-card {
    background: linear-gradient(135deg, hsl(var(--primary))/5% 0%, hsl(var(--success))/5% 100%);
    border-radius: 1.5rem;
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    border: 1px solid hsl(var(--primary))/20%;
}

.final-cta-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: hsl(var(--foreground));
}

.final-cta-description {
    font-size: 1.125rem;
    color: hsl(var(--muted-foreground));
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.final-disclaimer {
    text-align: center;
}

.final-disclaimer p {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    margin-bottom: 0.5rem;
}

.small-text {
    font-size: 0.75rem !important;
}

/* Footer */
.footer {
    background: hsl(var(--muted))/50%;
    border-top: 1px solid hsl(var(--border));
    padding: 2rem 0;
}

.disclaimer-card {
    background: hsl(var(--muted))/50%;
    border-radius: var(--radius);
    padding: 1.5rem;
}

.disclaimer-title {
    font-weight: 600;
    color: hsl(var(--foreground));
    margin-bottom: 0.75rem;
}

.disclaimer-content {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .urgency-title {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .trust-indicators {
        justify-content: center;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .urgency-grid {
        grid-template-columns: 1fr;
    }
    
    .carousel-btn {
        display: none;
    }
    
    .floating-badge {
        display: none;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
    }
}