.faq-container {
    max-width: 80rem;
    margin-inline: auto;
    padding-inline: 1.5rem;
    padding-block-start: 4rem;
    padding-block-end: 8rem;
    display: flex;
    flex-direction: column;
    gap: 6rem;
    overflow: hidden;
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.animate-in {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }
.delay-400 { animation-delay: 400ms; }
.delay-500 { animation-delay: 500ms; }
.delay-600 { animation-delay: 600ms; }

/* Typo Base */
.hero-title {
    font-size: 2.5rem;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--foreground, #111827);
}

@media (min-width: 768px) {
    .hero-title { font-size: 3.5rem; }
}

.hero-title span.highlight {
    background: linear-gradient(135deg, var(--color-primary, #10b981) 0%, var(--primary, #00724f) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.75;
    color: var(--muted-foreground, #6b7280);
    max-width: 65ch;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.section-title {
    font-size: 2rem;
    line-height: 1.3;
    font-weight: 700;
    color: var(--foreground, #111827);
    margin-block-end: 1rem;
    position: relative;
    display: inline-block;
}

.section-title.text-primary { color: var(--primary, #00724f); }

/* Native Accordion (details/summary) */
.questions-container {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.faq-accordion {
    background-color: var(--card, #ffffff);
    border: 1px solid var(--border, #e5e7eb);
    border-radius: 1rem;
    box-shadow: 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-accordion:hover {
    border-color: rgba(16, 185, 129, 0.5); /* slight green hint */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
}

.faq-accordion[open] {
    border-color: var(--color-primary, #10b981);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Hide default marker */
.faq-summary {
    list-style: none; /* standard */
    padding: 1.5rem;
    cursor: pointer;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--foreground, #111827);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    user-select: none;
    transition: color 0.2s ease;
}

.faq-summary::-webkit-details-marker {
    display: none; /* Safari */
}

/* Chevron */
.faq-summary::after {
    content: '';
    width: 24px;
    height: 24px;
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="%236B7280" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>');
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    margin-inline-start: 1rem;
}

.faq-accordion[open] .faq-summary::after {
    transform: rotate(180deg);
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="%2310B981" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>');
}

.faq-accordion[open] .faq-summary {
    color: var(--primary, #00724f);
    border-bottom: 1px solid var(--border, #f3f4f6);
}

/* Content Panel Animation */
.faq-content {
    padding: 1.5rem;
    color: var(--muted-foreground, #4b5563);
    font-size: 1.0625rem;
    line-height: 1.6;
    animation: slideDown 0.3s ease-out forwards;
}

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

.faq-content p {
    margin: 0;
}

.faq-link {
    display: inline-block;
    margin-block-start: 1rem;
    font-weight: 600;
    color: var(--primary, #00724f);
    text-decoration: none;
}
.faq-link:hover {
    text-decoration: underline;
}

/* Pillars grid */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.pillar-card {
    background: linear-gradient(to bottom right, #f9fafb, #fff);
    border: 1px solid var(--border, #e5e7eb);
    padding: 2.5rem;
    border-radius: 1rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pillar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.05);
    border-color: rgba(16, 185, 129, 0.4);
}

.pillar-icon {
    font-size: 2.5rem;
    margin-block-end: 1rem;
    color: var(--color-primary, #10b981);
}

.pillar-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--foreground, #111827);
    margin-block-end: 0.5rem;
}

.pillar-desc {
    color: var(--muted-foreground, #6b7280);
    line-height: 1.5;
}

/* Glossary Section */
.faq-glossary {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 1.5rem;
    padding: 3rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(229, 231, 235, 0.8);
}
html.dark .faq-glossary {
    background-color: rgba(17, 24, 39, 0.8);
    border-color: rgba(55, 65, 81, 0.8);
}

.glossary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.glossary-item {
    background: var(--background, #f9fafb);
    padding: 1.25rem;
    border-radius: 0.75rem;
    border-inline-start: 4px solid var(--primary, #00724f);
    transition: transform 0.2s ease;
}
.glossary-item:hover {
    transform: translateX(4px);
}
html[dir="rtl"] .glossary-item:hover {
    transform: translateX(-4px);
}

.glossary-item dt {
    font-weight: 700;
    color: var(--foreground, #111827);
    margin-block-end: 0.5rem;
    font-size: 1.0625rem;
}

.glossary-item dd {
    margin: 0;
    color: var(--muted-foreground, #4b5563);
    font-size: 0.9375rem;
    line-height: 1.5;
}


/* Controls */
.contrast-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border, #d1d5db);
    background: var(--card, #ffffff);
    color: var(--foreground, #111827);
    padding: 0.75rem 1.75rem;
    border-radius: 9999px;
    font-size: 0.9375rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.contrast-btn:hover {
    background: var(--foreground, #111827);
    border-color: var(--foreground, #111827);
    color: var(--card, #fff);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.premium-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    color: #fff;
    background: var(--primary, #00724f);
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-size: 0.9375rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    box-shadow: 0 4px 6px -1px rgba(0, 114, 79, 0.3), 0 2px 4px -2px rgba(0, 114, 79, 0.3);
    animation: pulseGlow 3s infinite ease-out;
}
.premium-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 114, 79, 0.4), 0 4px 6px -4px rgba(0, 114, 79, 0.4);
    animation: none;
    background: #006042;
}

/* CTA */
.after-warranty-card {
    background: linear-gradient(135deg, var(--card, #fff) 0%, var(--background, #f9fafb) 100%);
    border-radius: 1rem;
    padding: 3rem;
    border: 1px solid var(--border, #e5e7eb);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

/* Utilities */
.text-center { text-align: center; }
.text-start { text-align: start; }
.mb-4 { margin-block-end: 1rem; }
.mb-8 { margin-block-end: 2rem; }
.mb-12 { margin-block-end: 3rem; }
.mt-4 { margin-block-start: 1rem; }
.mt-6 { margin-block-start: 1.5rem; }
.mt-8 { margin-block-start: 2rem; }
.mt-12 { margin-block-start: 3rem; }
.mx-auto { margin-inline: auto; }
.justify-center { justify-content: center; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.gap-4 { gap: 1rem; }
.text-sm { font-size: 0.875rem; }
