* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #1a202c;
    background: linear-gradient(135deg, #f0f7f8 0%, #f7fafc 60%, #e8f4f6 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ─── HEADER ─── */
.header {
    background: rgba(247, 250, 252, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1.25rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    border-bottom: 1px solid #e2e8f0;
    min-height: 80px;
    display: flex;
    align-items: center;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.logo img {
    height: 56px;
    width: auto;
    display: block;
    border-radius: 8px;
}

.back-link {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #033744;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.back-link:hover { color: #011418; }

.back-link svg { width: 16px; height: 16px; }
.back-text { display: inline; }

/* ─── DEV BANNER ─── */
.dev-banner {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px solid #f59e0b;
    border-radius: 12px;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.2);
    position: fixed;
    top: 140px;
    left: 50%;
    transform: translateX(-50%) translateY(-200%);
    max-width: 800px;
    width: calc(100% - 4rem);
    z-index: 999;
    transition: transform 0.5s ease-out, opacity 0.5s ease-out;
    opacity: 0;
}

.dev-banner.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.dev-banner-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(120, 53, 15, 0.1);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #92400e;
    font-size: 1.25rem;
    font-weight: bold;
    transition: all 0.2s;
    line-height: 1;
    padding: 0;
}

.dev-banner-close:hover {
    background: rgba(120, 53, 15, 0.2);
    transform: scale(1.1);
}

.dev-icon { font-size: 2rem; flex-shrink: 0; }

.dev-content h3 {
    font-size: 1.125rem;
    color: #92400e;
    margin-bottom: 0.25rem;
    font-weight: 700;
}

.dev-content p {
    color: #78350f;
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* ─── MAIN ─── */
.main-content {
    flex: 1;
    padding: 120px 2rem 60px;
}

.content-wrapper {
    max-width: 1100px;
    margin: 0 auto;
}

/* ─── HERO ─── */
.hero-section {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
    animation: fadeInUp 0.6s ease-out;
}

.hero-section h1 {
    font-size: 3rem;
    color: #011418;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.hero-section p {
    font-size: 1.25rem;
    color: #4a5568;
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

/* ─── SEARCH ─── */
.search-container {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 1rem 3rem 1rem 1.25rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.2s;
    font-family: inherit;
    background: #fff;
    outline: none;
}

.search-input:focus {
    border-color: #033744;
    box-shadow: 0 0 0 3px rgba(3, 55, 68, 0.1);
}

.search-input::placeholder { color: #a0aec0; }

.search-icon {
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.25rem;
    color: #a0aec0;
    pointer-events: none;
}

/* ─── CATEGORIES ─── */
.categories-section {
    margin-bottom: 3rem;
    animation: fadeInUp 0.6s ease-out 0.2s backwards;
}

.section-title {
    font-size: 1.75rem;
    color: #011418;
    margin-bottom: 2rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-align: center;
}

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

.category-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.07), 0 10px 25px rgba(0,0,0,0.08);
    border: 2px solid transparent;
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.category-card:hover {
    transform: translateY(-4px);
    border-color: #033744;
    box-shadow: 0 8px 20px rgba(3, 55, 68, 0.15);
}

.category-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.category-card h3 {
    font-size: 1.25rem;
    color: #011418;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.category-card p {
    color: #718096;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.category-count {
    display: inline-block;
    margin-top: 0.75rem;
    padding: 0.25rem 0.75rem;
    background: #e8f4f6;
    color: #033744;
    border-radius: 20px;
    font-size: 0.8125rem;
    font-weight: 600;
}

.category-card.active {
    border-color: #033744;
    background: #f0f7f8;
    box-shadow: 0 8px 20px rgba(3, 55, 68, 0.15);
}

.category-card.active .category-count {
    background: #033744;
    color: #ffffff;
}

.reset-faq-link {
    display: none;
    text-align: center;
    margin-top: -1rem;
    margin-bottom: 1.5rem;
}

.reset-faq-link a {
    color: #033744;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.reset-faq-link a:hover { text-decoration: underline; }

/* ─── FAQ ─── */
.faq-section {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.07), 0 10px 25px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
    margin-bottom: 3rem;
    animation: fadeInUp 0.6s ease-out 0.3s backwards;
}

.faq-accordion { margin-top: 1.5rem; }

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}

.faq-item:last-child { margin-bottom: 0; }

.faq-question {
    padding: 1.25rem 1.5rem;
    background: #f7fafc;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s;
    font-weight: 600;
    color: #1a202c;
    font-size: 1rem;
    user-select: none;
}

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

.faq-question.active {
    background: #033744;
    color: white;
}

.faq-toggle {
    font-size: 1.25rem;
    transition: transform 0.3s;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-question.active .faq-toggle { transform: rotate(180deg); }

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
}

.faq-answer.active {
    padding: 1.25rem 1.5rem;
    max-height: 500px;
}

.faq-answer p {
    color: #4a5568;
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* ─── SUPPORT SECTION ─── */
.support-section {
    background: linear-gradient(135deg, #033744 0%, #011418 100%);
    color: white;
    text-align: center;
    padding: 3rem;
    border-radius: 16px;
    margin-bottom: 3rem;
    animation: fadeInUp 0.6s ease-out 0.4s backwards;
}

.support-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: white;
}

.support-section > p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    color: white;
}

.support-options {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.support-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    transition: all 0.3s;
}

.support-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.support-card-icon { font-size: 2.5rem; margin-bottom: 1rem; }

.support-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: white;
}

.support-card p {
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    color: white;
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
    font-family: inherit;
    border: none;
}

.btn-light {
    background: white;
    color: #033744;
}

.btn-light:hover {
    background: #f0f7f8;
    transform: translateY(-2px);
}

/* ─── FOOTER ─── */
.footer {
    background: #011418;
    color: #ffffff;
    padding: 2.5rem 2rem 1.75rem;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0 0.5rem;
    transition: color 0.2s;
}

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

.footer p {
    color: rgba(255,255,255,0.35);
    font-size: 0.8125rem;
}

/* ─── ANIMATIONS ─── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .header { padding: 1rem 1.25rem; }
    .back-text { display: none; }
    .main-content { padding: 100px 1.25rem 40px; }

    .dev-banner {
        padding: 1.25rem 1.5rem;
        flex-direction: column;
        text-align: center;
        top: 120px;
        width: calc(100% - 2.5rem);
    }

    .dev-banner-close { top: 0.75rem; right: 0.75rem; width: 28px; height: 28px; font-size: 1.125rem; }
    .dev-icon { font-size: 2.5rem; }
    .dev-content h3 { font-size: 1rem; }
    .dev-content p  { font-size: 0.875rem; }

    .hero-section { margin-bottom: 2rem; padding: 1rem 0; }
    .hero-section h1 { font-size: 2rem; }
    .hero-section p  { font-size: 1.0625rem; margin-bottom: 1.5rem; }

    .search-input { padding: 0.875rem 2.75rem 0.875rem 1rem; font-size: 0.9375rem; }
    .search-icon  { right: 1rem; font-size: 1.125rem; }

    .section-title { font-size: 1.5rem; margin-bottom: 1.5rem; }

    .categories-grid { grid-template-columns: 1fr; gap: 1rem; }
    .category-card   { padding: 1.5rem; }
    .category-icon   { font-size: 2rem; }

    .faq-section,
    .support-section { padding: 2rem 1.5rem; }

    .support-options { flex-direction: column; }
    .support-card    { max-width: 100%; }

    .footer { padding: 1.5rem 1.25rem 1rem; }
    .footer-links { gap: 1rem; }
    .footer p { font-size: 0.75rem; line-height: 1.5; }
}

@media (max-width: 480px) {
    .header { padding: 0.875rem 1rem; }
    .main-content { padding: 90px 1rem 30px; }

    .dev-banner { padding: 1rem 1.25rem; border-radius: 12px; top: 110px; width: calc(100% - 2rem); }
    .dev-banner-close { top: 0.5rem; right: 0.5rem; width: 26px; height: 26px; font-size: 1rem; }

    .hero-section { margin-bottom: 1.5rem; }
    .hero-section h1 { font-size: 1.75rem; }
    .hero-section p  { font-size: 0.9375rem; }

    .search-input { padding: 0.75rem 2.5rem 0.75rem 0.875rem; }

    .section-title  { font-size: 1.375rem; }
    .category-card  { padding: 1.25rem; }
    .category-card h3 { font-size: 1.125rem; }

    .faq-section,
    .support-section { padding: 1.75rem 1.25rem; border-radius: 12px; }

    .faq-question { padding: 1rem 1.25rem; font-size: 0.9375rem; }
    .faq-answer.active { padding: 1rem 1.25rem; }

    .support-section h2 { font-size: 1.5rem; }
    .support-section > p { font-size: 1rem; }
    .support-card { padding: 1.5rem; }
    .support-card-icon { font-size: 2rem; }

    .btn { padding: 0.625rem 1.25rem; font-size: 0.875rem; }

    .footer-links { flex-direction: column; gap: 0.625rem; }
    .footer-links a { font-size: 0.8125rem; padding: 0; }
}

@media (max-width: 360px) {
    .hero-section h1 { font-size: 1.5rem; }
    .dev-banner { padding: 1rem; }
    .category-card  { padding: 1rem; }
    .faq-section,
    .support-section { padding: 1.5rem 1rem; }
}