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

:root {
    /* Colors - HSL */
    --primary: 210 85% 45%;
    --primary-dark: 210 85% 35%;
    --accent: 168 76% 42%;
    --accent-dark: 168 76% 32%;
    --background: 0 0% 100%;
    --foreground: 222 47% 11%;
    --muted: 210 40% 96%;
    --muted-foreground: 215 16% 47%;
    --border: 214 32% 91%;
    --destructive: 0 84% 60%;
    
    /* Dark overlay for hero */
    --hero-overlay: 210 85% 15%;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: hsl(var(--foreground));
    background-color: hsl(var(--background));
    line-height: 1.6;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.container-narrow {
    max-width: 896px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-image: url('./hero-car-DQNDebzz.jpg');
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-color: hsl(var(--hero-overlay));
    opacity: 0.7;
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem 1rem;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: hsla(var(--accent), 0.2);
    backdrop-filter: blur(8px);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    margin-bottom: 1.5rem;
    color: white;
    font-weight: 500;
}

.hero-badge .icon {
    width: 1.25rem;
    height: 1.25rem;
    color: hsl(var(--accent));
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

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

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

/* Quiz Card */
.quiz-card {
    max-width: 672px;
    margin: 0 auto;
    padding: 2rem;
    background-color: hsl(0deg 0% 100% / 10%);
    backdrop-filter: blur(20px);
    border: 1px solid hsla(var(--border), 0.5);
    border-radius: 0.75rem;
    box-shadow: var(--shadow-xl);
}

.question-group {
    margin-bottom: 2rem;
}

.question-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
    color:hsl(0deg 0% 100%)
}

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

.quiz-button {
    padding: 0.875rem 1.5rem;
    font-size: 1.125rem;
    height: 3.5rem;
    border: 1px solid hsl(214deg 32% 91%);
    background-color: white;
    color: hsl(var(--foreground));
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
}

.quiz-button:hover {
    border-color: hsl(0deg 0% 100%);
    background-color: hsl(0deg 0% 100% / 60%);
}

.quiz-button.selected {
        background-color: hsl(175.59deg 100% 37.71%);
    color: white;
    border-color: hsl(0deg 0% 100%);
}

.submit-button {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.25rem;
    height: 4rem;
    background: linear-gradient(135deg, hsl(var(--accent)), hsl(var(--accent-dark)));
    color: white;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 15px hsla(var(--accent), 0.3);
}

.submit-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px hsla(var(--accent), 0.4);
}

.submit-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Trust Badges */
.trust-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
    max-width: 1024px;
    margin-left: auto;
    margin-right: auto;
}

.badge-item {
    text-align: center;
    color: white;
}

.badge-icon {
    width: 3rem;
    height: 3rem;
    margin: 0 auto 0.5rem;
    color: hsl(var(--accent));
}

.badge-title {
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.badge-subtitle {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Stats Section */
.stats-section {
    padding: 5rem 0;
    background-color: hsl(var(--muted));
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

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

.section-subtitle {
    font-size: 1.125rem;
    color: hsl(var(--muted-foreground));
}

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

.stat-card {
    padding: 1.5rem;
    background-color: white;
    border-radius: 0.75rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
}

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

.stat-icon {
    width: 3rem;
    height: 3rem;
    margin: 0 auto 1rem;
}

.primary-color {
    color: hsl(var(--primary));
}

.accent-color {
    color: hsl(var(--accent));
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    font-weight: 500;
}

.cta-card {
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(to right, hsla(var(--primary), 0.05), hsla(var(--accent), 0.05));
    border: 1px solid hsla(var(--primary), 0.2);
    border-radius: 0.75rem;
}

.cta-content {
    text-align: center;
}

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

.cta-subtitle {
    color: hsl(var(--muted-foreground));
    margin-bottom: 1.5rem;
}

.rate-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 672px;
    margin: 0 auto;
}

.rate-value {
    font-size: 2rem;
    font-weight: 700;
}

.rate-label {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

/* Benefits Section */
.benefits-section {
    padding: 5rem 0;
    background-color: white;
}

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

.benefit-card {
    padding: 1.5rem;
    background-color: white;
    border: 1px solid hsl(var(--border));
    border-radius: 0.75rem;
    transition: all 0.3s;
}

.benefit-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.benefit-icon {
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 1rem;
    color: hsl(var(--primary));
}

.benefit-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: hsl(var(--foreground));
}

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

/* Trust Section */
.trust-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: center;
}

.trust-image img {
    width: 100%;
    height: auto;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-lg);
}

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

.trust-text {
    color: hsl(var(--muted-foreground));
    margin-bottom: 1.5rem;
}

.trust-badges-inline {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.trust-badge-inline {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.trust-badge-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.trust-badge-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.accent-bg {
    background-color: hsla(var(--accent), 0.1);
    color: hsl(var(--accent));
}

.primary-bg {
    background-color: hsla(var(--primary), 0.1);
    color: hsl(var(--primary));
}

.trust-badge-title {
    font-weight: 600;
    color: hsl(var(--foreground));
}

.trust-badge-subtitle {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

/* Graphs Section */
.graphs-section {
    padding: 5rem 0;
    background-color: hsla(var(--muted), 0.3);
}

.graphs-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

.graph-card {
    padding: 1.5rem;
    background-color: white;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
}

.graph-card:hover {
    box-shadow: var(--shadow-lg);
}

.graph-header {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.graph-icon-wrapper {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.graph-icon {
    width: 1.5rem;
    height: 1.5rem;
}

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

.graph-subtitle {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

.chart-container {
    position: relative;
    height: 350px;
    width: 100%;
}

.savings-highlight {
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: hsla(var(--accent), 0.1);
    border: 1px solid hsla(var(--accent), 0.2);
    border-radius: 0.5rem;
    text-align: center;
}

.savings-text {
    font-size: 1.125rem;
    font-weight: 600;
    color: hsl(var(--foreground));
}

.savings-amount {
    font-size: 1.5rem;
    color: hsl(var(--accent));
}

/* Mobile Responsive Adjustments for Graphs */
@media (max-width: 768px) {
    .graph-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .graph-title {
        font-size: 1.25rem;
    }
    
    .graph-subtitle {
        font-size: 0.75rem;
    }
    
    .chart-container {
        height: 280px;
    }
    
    .graph-card {
        padding: 1rem;
    }
    
    .savings-text {
        font-size: 1rem;
    }
    
    .savings-amount {
        font-size: 1.25rem;
        display: block;
        margin-top: 0.25rem;
    }
}

@media (max-width: 480px) {
    .graph-title {
        font-size: 1.125rem;
    }
    
    .chart-container {
        height: 240px;
    }
    
    .graphs-section {
        padding: 3rem 0;
    }
}

/* Comparison Section */
.comparison-section {
    padding: 5rem 0;
    background-color: hsl(var(--muted));
}

.comparison-table-wrapper {
    overflow-x: auto;
    background-color: white;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-md);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table thead {
    background-color: hsla(var(--muted), 0.5);
}

.comparison-table th {
    padding: 1rem 1.5rem;
    font-weight: 600;
    color: hsl(var(--foreground));
}

.comparison-table th.primary-header {
    color: hsl(var(--primary));
}

.comparison-table td {
    padding: 1rem 1.5rem;
    border-top: 1px solid hsl(var(--border));
}

.text-left {
    text-align: left;
}

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

.feature-cell {
    font-weight: 500;
    color: hsl(var(--foreground));
}

.cell-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.x-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: hsl(var(--destructive));
    flex-shrink: 0;
}

.check-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: hsl(var(--accent));
    flex-shrink: 0;
}

.highlight {
    font-weight: 600;
}

.final-cta-card {
    margin-top: 3rem;
    padding: 2rem;
    text-align: center;
    background: linear-gradient(to right, hsla(var(--primary), 0.05), hsla(var(--accent), 0.05));
    border: 1px solid hsla(var(--primary), 0.2);
    border-radius: 0.75rem;
    display: inline-block;
    width: 100%;
    max-width: 672px;
    margin-left: auto;
    margin-right: auto;
}

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

.final-cta-text {
    color: hsl(var(--muted-foreground));
    margin-bottom: 1.5rem;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.hero-button {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    background: linear-gradient(135deg, hsl(var(--accent)), hsl(var(--accent-dark)));
    color: white;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 15px hsla(var(--accent), 0.3);
}

.hero-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px hsla(var(--accent), 0.4);
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background-color: white;
}

.accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-item {
    border: 1px solid hsl(var(--border));
    border-radius: 0.75rem;
    padding: 0 1.5rem;
    background-color: white;
}

.accordion-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: hsl(var(--foreground));
    transition: color 0.2s;
}

.accordion-trigger:hover {
    color: hsl(var(--primary));
}

.accordion-icon {
    width: 1.5rem;
    height: 1.5rem;
    flex-shrink: 0;
    transition: transform 0.3s;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
}

.accordion-content p {
    padding-bottom: 1.5rem;
    color: hsl(var(--muted-foreground));
    line-height: 1.7;
}

/* Footer */
.footer {
    background-color: hsl(var(--hero-overlay));
    color: white;
    padding: 3rem 0;
}

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-logo {
    width: 2rem;
    height: 2rem;
    color: hsl(var(--accent));
}

.footer-brand-text {
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-description {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-heading {
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: hsl(var(--accent));
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

/* Responsive */
@media (min-width: 768px) {
    .hero-title {
        font-size: 3.75rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 767px) {
    .trust-section {
        grid-template-columns: 1fr;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem 0.5rem;
        font-size: 0.875rem;
    }
    
    .cell-content {
        flex-direction: column;
        gap: 0.25rem;
    }
}
