/* FAQ Page Styles - Vanilla CSS */

* {
    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: #111827;
    background-color: #f9fafb;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

:root {
    --brand-green: #10b981;
    --brand-green-dark: #059669;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
}

/* Navigation */
.main-nav {
    background-color: #ffffff;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 40;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
}

.logo-wrapper {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
}

.logo-icon {
    font-size: 1.75rem;
    color: var(--brand-green);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gray-900);
}

.nav-menu {
    display: none;
    list-style: none;
    gap: 1.5rem;
}

.nav-link {
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--brand-green);
}

.cta-button {
    background-color: var(--brand-green);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: var(--brand-green-dark);
}

@media (min-width: 768px) {
    .nav-menu {
        display: flex;
        align-items: center;
    }
}

/* FAQ Container */
.faq-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* FAQ Hero */
.faq-hero {
    text-align: center;
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.faq-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.faq-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
}

.gradient-text {
    background: linear-gradient(135deg, var(--brand-green) 0%, var(--brand-green-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (min-width: 768px) {
    .faq-title {
        font-size: 3rem;
    }
}

/* Warning Banner */
.warning-banner {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-left: 4px solid #f59e0b;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.warning-content {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.warning-icon {
    font-size: 2rem;
    color: #f59e0b;
    flex-shrink: 0;
}

.warning-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #92400e;
    margin-bottom: 0.5rem;
}

.warning-text {
    color: #92400e;
    line-height: 1.75;
}

.warning-link {
    color: #b45309;
    text-decoration: underline;
    font-weight: 600;
}

.warning-link:hover {
    color: #92400e;
}

/* FAQ Categories */
.faq-categories {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--brand-green) 0%, var(--brand-green-dark) 100%);
    color: white;
    padding: 4rem 1rem;
    text-align: center;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 42rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
}

/* FAQ Section */
.faq-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 4rem 1rem;
}

.category-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.category-card {
    background-color: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 35px -15px rgba(16, 185, 129, 0.35);
}

.category-header {
    padding: 1.5rem;
    color: white;
}

.category-header.header-green {
    background-color: var(--brand-green);
}

.category-header.header-blue {
    background-color: #2563eb;
}

.category-header.header-purple {
    background-color: #9333ea;
}

.category-header.header-orange {
    background-color: #ea580c;
}

.category-header.header-red {
    background-color: #dc2626;
}

.category-title {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
}

.category-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* FAQ Items */
.faq-list {
    max-width: 56rem;
    margin: 0 auto;
}

.category-section {
    margin-bottom: 3rem;
}

.category-header-icon {
    font-size: 2rem;
    color: var(--brand-green);
}

.category-header-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--gray-900);
}

.category-icon {
    font-size: 1.75rem;
}

.faq-item {
    background-color: transparent;
    border-radius: 0;
    padding: 0;
    margin-bottom: 0;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    cursor: pointer;
}

.faq-item:hover {
    transform: translateX(6px);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    width: 100%;
    background: none;
    border: none;
    padding: 1rem 0;
    text-align: left;
    cursor: pointer;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--brand-green);
}

.faq-question span:first-child {
    flex: 1;
}

.faq-question-text {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    flex: 1;
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--brand-green);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    flex-shrink: 0;
}

.faq-icon.active {
    transform: rotate(180deg);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease, padding 0.4s ease;
    opacity: 0;
    padding: 0;
}

.faq-content.active {
    max-height: 800px;
    opacity: 1;
    padding-top: 0.75rem;
}

.faq-answer {
    color: var(--gray-700);
    line-height: 1.75;
}

.faq-answer p {
    margin-bottom: 0.75rem;
}

.faq-answer ul {
    margin-left: 1.5rem;
    margin-bottom: 0.75rem;
}

.faq-answer li {
    margin-bottom: 0.5rem;
}

.faq-answer strong {
    color: var(--gray-900);
    font-weight: 600;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--brand-green) 0%, var(--brand-green-dark) 100%);
    color: white;
    padding: 4rem 1rem;
    text-align: center;
    border-radius: 1rem;
    margin-top: 3rem;
}

.cta-container {
    max-width: 42rem;
    margin: 0 auto;
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

.btn-primary {
    background-color: white;
    color: var(--brand-green);
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    background-color: var(--gray-100);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--brand-green-dark);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background-color: #047857;
    transform: translateY(-2px);
}

/* Footer */
.main-footer {
    background-color: var(--gray-900);
    color: var(--gray-300);
    padding: 3rem 1rem;
    margin-top: 3rem;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-column h3 {
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column svg {
    vertical-align: middle;
    margin-right: 0.5rem;
    color: var(--brand-green);
}

.footer-link {
    color: var(--gray-300);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--brand-green);
}

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding-top: 2rem;
    text-align: center;
}

.footer-copyright {
    color: var(--gray-500);
    font-size: 0.875rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .faq-item,
    .faq-content,
    .faq-icon,
    .category-card,
    .fade-up {
        transition: none !important;
    }
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .category-card {
        transform: none !important;
    }
    .faq-item:hover {
        transform: none !important;
    }
}

/* SVG Icons */
svg {
    visibility: visible;
    opacity: 1;
}
