* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.logo-link {
    text-decoration: none;
    color: inherit;
}


:root {
    --primary-color: #1db857;
    --primary-hover: #17a047;
    --dark-bg: #0a0a0a;
    --darker-bg: #050505;
    --card-bg: #121212;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --border-color: #252525;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
    background-color: #000000;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 900px;
    background: linear-gradient(180deg, 
        #1db857 0%,
        #17a047 12%,
        #158f43 20%,
        #12783a 28%,
        #0f6532 38%,
        #0c5229 48%,
        #093f20 58%,
        #062c17 68%,
        #041a0e 78%,
        #020d07 88%,
        #000000 100%
    );
    clip-path: ellipse(100% 100% at 50% 0%);
    z-index: 0;
    pointer-events: none;
    animation: gradientPulse 8s ease-in-out infinite alternate;
}

@keyframes gradientPulse {
    0% {
        opacity: 0.9;
    }
    100% {
        opacity: 1;
    }
}

#cursorCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1200px;
    z-index: 1000;
    padding: 0 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.navbar.scrolled {
    max-width: 850px;
    padding: 0 12px;
}
.nav-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 32px;
    background: rgba(18, 18, 18, 0.45);
    backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    animation: slideDown 0.6s ease both;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.navbar.scrolled .nav-pill {
    padding: 10px 24px;
}
@keyframes slideDown {
    from { transform: translateY(-120%); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}

/* logo + brand */
.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}
.logo-img {
    height: 32px;
    width: 32px;
    border-radius: 50%;
    object-fit: contain;
    transition: transform 0.5s ease;
}
.logo-link:hover .logo-img {
    transform: rotate(360deg);
}
.logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.5px;
}

/* desktop links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
}
.nav-links a {
    position: relative;
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s;
}
.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s;
}
.nav-links a:hover {
    color: var(--primary-color);
}
.nav-links a:hover::after {
    width: 100%;
}

/* glass CTA */
.nav-cta {
    display: inline-flex;
    align-items: center;
    height: 40px;
    padding: 0 1.2rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    background: rgba(29, 184, 87, 0.15);
    border: 1px solid rgba(29, 184, 87, 0.35);
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.nav-cta:hover {
    background: rgba(29, 184, 87, 0.25);
    border-color: rgba(29, 184, 87, 0.7);
    box-shadow: 0 0 20px rgba(29, 184, 87, 0.35);
}

/* hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 8px;
    z-index: 1001;
    position: relative;
}
.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}
.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* dropdown support */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 0.8rem 0;
    min-width: 220px;
    max-width: 280px;
    max-height: 70vh;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
    z-index: 1001;
    margin-top: 8px;
}

.dropdown:last-of-type .dropdown-menu {
    left: auto;
    right: 0;
    transform: translateX(0) translateY(-10px);
}

.dropdown:first-of-type .dropdown-menu {
    left: 0;
    transform: translateX(0) translateY(-10px);
}

.dropdown-menu::-webkit-scrollbar {
    width: 6px;
}

.dropdown-menu::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.dropdown-menu::-webkit-scrollbar-thumb {
    background: rgba(29, 184, 87, 0.5);
    border-radius: 3px;
}

.dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: rgba(29, 184, 87, 0.7);
}

.dropdown:hover .dropdown-menu,
.dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown:last-of-type:hover .dropdown-menu,
.dropdown:last-of-type.active .dropdown-menu {
    transform: translateX(0) translateY(0);
}

.dropdown:first-of-type:hover .dropdown-menu,
.dropdown:first-of-type.active .dropdown-menu {
    transform: translateX(0) translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 0.8rem 1.2rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s, background 0.2s;
    font-size: 0.95rem;
    font-weight: 400;
}

.dropdown-menu a::after {
    display: none;
}

.dropdown-menu a:hover {
    color: var(--primary-color);
    background: rgba(29, 184, 87, 0.1);
}

/* tablet/medium screens */
@media (max-width: 1100px) {
    .navbar {
        max-width: 95%;
    }
    .nav-links {
        gap: 0.4rem;
    }
    .nav-links a {
        font-size: 0.9rem;
    }
    .dropdown-menu {
        max-height: 60vh;
        max-width: 260px;
    }
}

@media (max-width: 900px) {
    .navbar {
        max-width: 90%;
    }
    .dropdown-menu {
        min-width: 200px;
        max-width: 240px;
        font-size: 0.9rem;
        max-height: 55vh;
    }
    .dropdown-menu a {
        padding: 0.7rem 1rem;
    }
}

@media (max-width: 820px) {
    .dropdown-menu {
        max-height: 50vh;
        min-width: 180px;
        max-width: 220px;
    }
    .dropdown-menu a {
        padding: 0.65rem 0.9rem;
        font-size: 0.85rem;
    }
}

/* mobile */
@media (max-width: 768px) {
    .navbar {
        top: 12px;
        left: 12px;
        right: 12px;
        transform: none;
        max-width: none;
    }
    .nav-pill {
        border-radius: 16px;
        padding: 10px 16px;
    }
    .nav-links {
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 1.2rem;
        padding: 1.2rem;
        background: rgba(18, 18, 18, 0.85);
        backdrop-filter: blur(12px);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 16px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        transition: opacity 0.3s, transform 0.3s;
    }
    .nav-links.active {
        opacity: 1;
        pointer-events: all;
        transform: translateY(0);
    }
    .hamburger {
        display: flex;
    }
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

.btn-primary::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(29, 184, 87, 0.4);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Hero Section */
.faq-hero {
    padding: 150px 0 60px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.faq-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, #2dd475 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease;
}

.faq-hero-subtitle {
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Search Section */
.search-section {
    padding: 20px 0 40px;
    position: relative;
    z-index: 2;
}

.search-container {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    animation: fadeInUp 1.2s ease;
}

.search-input {
    width: 100%;
    padding: 1rem 3rem 1rem 1.5rem;
    background: transparent;
    border: 2px solid rgba(29, 184, 87, 0.2);
    border-radius: 50px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(29, 184, 87, 0.2);
}

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

/* Category Tabs */
.faq-categories {
    padding: 40px 0;
    position: relative;
    z-index: 2;
}

.category-tabs {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1.4s ease;
}

.category-tab {
    padding: 0.7rem 1.5rem;
    background: transparent;
    border: 2px solid rgba(29, 184, 87, 0.2);
    border-radius: 25px;
    color: var(--text-primary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.category-tab:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.category-tab.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* FAQ Content */
.faq-content {
    padding: 40px 0 100px;
    position: relative;
    z-index: 2;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: transparent;
    border: 1px solid rgba(29, 184, 87, 0.2);
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
    opacity: 1;
    transition: all 0.3s;
}

.faq-item.hidden {
    display: none;
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(29, 184, 87, 0.05);
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    transition: color 0.3s ease;
    flex: 1;
}

.faq-item:hover .faq-question h3 {
    color: var(--primary-color);
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s;
    margin-left: 1rem;
    flex-shrink: 0;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 3rem;
    background: transparent;
    border-radius: 10px;
    border: 1px solid rgba(29, 184, 87, 0.2);
    margin-top: 2rem;
}

.no-results h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.no-results p {
    color: var(--text-secondary);
}

/* CTA Section */
.faq-cta {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(
            135deg,
            rgba(29, 184, 87, 0.1) 0%,
            rgba(29, 184, 87, 0.05) 100%
    );
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    z-index: 2;
}

.faq-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.faq-cta p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    #cursorCanvas {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        padding: 2rem;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .faq-hero-title {
        font-size: 2.5rem;
    }

    .faq-hero-subtitle {
        font-size: 1.1rem;
    }

    .category-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 1rem;
    }

    .category-tab {
        white-space: nowrap;
    }

    .faq-cta h2 {
        font-size: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}