:root {
    --bg-color: #111015;
    --glass-bg: rgba(22, 21, 28, 0.5);
    --border-color: rgba(255, 255, 255, 0.1);
    --text-primary: #f0f0f5;
    --text-secondary: #a0a0b0;
    --accent-gradient: linear-gradient(90deg, #c084fc, #ff71cd);
    --accent-glow: rgba(192, 132, 252, 0.4);
    --radius: 16px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
}

.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.background-effects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 800"%3E%3Cg fill-opacity="0.2"%3E%3Ccircle fill="%23c084fc" cx="100" cy="100" r="400"/%3E%3Ccircle fill="%23ff71cd" cx="700" cy="500" r="400"/%3E%3Ccircle fill="%234338ca" cx="300" cy="600" r="200"/%3E%3C/g%3E%3C/svg%3E');
    background-size: 200% 200%;
    opacity: 0.3;
    animation: gradient-flow 20s ease infinite;
}

.background-effects::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUEUgAAADIAAAAyCAMAAAAp4XiGAAAAUVBAMAAABVRzIiAAAAKlBMVEXx8fH8/Pz5+fn19fX29vb4+Pj09PT6+vrz8/P7+/v39/f9/f3////w8PC2G3paAAAAZ0lEQVR42u3MyQkAIADDMDDT/v/L0wJ3SgPQAwAy7MU8A84c3Sjpno7gWE2cOIgls2wG2iV4w+YhBL9aMydjG8Bf7k3Tn42NirTD28zMo2ZgcSoH5pZf/gqg/xYAj55TTnAAAAAElFTSuQmCC');
    opacity: 0.05;
}

@keyframes gradient-flow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.main-header {
    width: 100%;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.logo {
    font-weight: 700;
    font-size: 1.5rem;
}

.header-buttons a {
    color: var(--text-secondary);
    text-decoration: none;
    margin-left: 1.5rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.header-buttons a:hover,
.header-buttons a.active {
    color: var(--text-primary);
}

main {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 2rem;
    flex-grow: 1;
}

.container {
    width: 100%;
    max-width: 900px;
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 2.5rem;
    transition: all 0.3s ease;
}

.header {
    text-align: center;
    margin-bottom: 3rem;
}

.header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin: 0.5rem 0 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.faq-container {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    text-align: left;
    margin-bottom: 3rem;
}

.faq-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    background: rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.2s ease-in-out;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    text-align: left;
}

.faq-icon {
    font-size: 1.75rem;
    font-weight: 300;
    line-height: 1;
    transition: transform 0.2s ease-in-out;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-out;
}

.faq-answer p {
    margin: 0;
    padding: 0 1.5rem 1.25rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.faq-item.active {
    border-color: rgba(192, 132, 252, 0.5);
}

.faq-item.active .faq-question {
    color: #c084fc;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    /* Adjust if answers are very long */
    transition: max-height 0.4s ease-in;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.cta-container {
    text-align: center;
}

.cta-button {
    background: var(--accent-gradient);
    color: white;
    padding: 0.85rem 2rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    box-shadow: 0 0 15px -5px var(--accent-glow);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.cta-button:hover {
    box-shadow: 0 0 20px 0 var(--accent-glow);
    transform: translateY(-2px);
}

.main-footer {
    width: 100%;
    padding: 1.5rem 2rem;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    flex-shrink: 0;
}

@media (max-width: 767px) {
    main {
        padding: 1rem;
    }

    .container {
        padding: 1.5rem;
    }

    .header h1 {
        font-size: 2rem;
    }

    .faq-container {
        flex-direction: column;
    }
}