/**
 * Abilitas Employment - FAQ Page Styles
 * Premium Dark Theme with Glassmorphism
 */

:root {
    --color-primary: #06b6d4;
    --color-primary-light: #22d3ee;
    --color-secondary: #3b82f6;
    --color-bg-dark: #0f172a;
    --color-bg-card: rgba(30, 41, 59, 0.6);
    --color-bg-glass: rgba(255, 255, 255, 0.1);
    --color-text-white: #ffffff;
    --color-text-light: #e2e8f0;
    --color-text-muted: #94a3b8;
    --gradient-primary: linear-gradient(135deg, #06b6d4, #3b82f6);
    --shadow-glow: 0 0 40px rgba(6, 182, 212, 0.3);
    --radius-xl: 1.5rem;
    --radius-2xl: 2rem;
    --transition-base: 300ms ease;
}

.abilitas-faq {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: var(--color-bg-dark);
    color: var(--color-text-light);
    min-height: 100vh;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Floating Elements */
.floating-element {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
}

.floating-element-1 {
    width: 24rem; height: 24rem;
    background: rgba(6, 182, 212, 0.2);
    top: 0; left: 0;
}

.floating-element-2 {
    width: 24rem; height: 24rem;
    background: rgba(59, 130, 246, 0.2);
    bottom: 0; right: 0;
}

/* Hero Section */
.faq-hero {
    padding: 8rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 56rem;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-text-white);
    margin-bottom: 1.5rem;
}

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

.hero-description {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    line-height: 1.8;
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
}

.faq-list {
    max-width: 56rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--color-bg-card);
    backdrop-filter: blur(16px);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(6, 182, 212, 0.2);
    overflow: hidden;
    transition: all var(--transition-base);
}

.faq-item:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-glow);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background var(--transition-base);
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq-question span {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text-white);
    padding-right: 1rem;
}

.faq-icon {
    flex-shrink: 0;
    width: 2rem; height: 2rem;
    background: var(--gradient-primary);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-glow);
}

.faq-icon svg {
    width: 1.25rem; height: 1.25rem;
    color: var(--color-text-white);
}

.faq-icon .icon-up {
    display: none;
}

.faq-item.open .faq-icon .icon-down {
    display: none;
}

.faq-item.open .faq-icon .icon-up {
    display: block;
}

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

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

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

/* CTA Section */
.cta-section {
    padding: 5rem 0;
}

.cta-card {
    max-width: 56rem;
    margin: 0 auto;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.9), rgba(59, 130, 246, 0.9));
    border-radius: var(--radius-2xl);
    text-align: center;
    color: var(--color-text-white);
    box-shadow: 0 25px 50px rgba(6, 182, 212, 0.3);
    transition: transform var(--transition-base);
}

.cta-card:hover {
    transform: scale(1.02);
}

.cta-card h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

@media (min-width: 640px) { .cta-card h2 { font-size: 2.5rem; } }

.cta-card p {
    font-size: 1.25rem;
    color: rgba(207, 250, 254, 1);
    margin-bottom: 2rem;
}

.btn-white {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--color-text-white);
    color: var(--color-primary);
    font-weight: 600;
    border-radius: 0.5rem;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all var(--transition-base);
}

.btn-white:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

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

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

[data-animate] { opacity: 0; }
[data-animate].animated { animation-duration: 0.7s; animation-fill-mode: forwards; }
[data-animate="fade-up"].animated { animation-name: fadeInUp; }
[data-animate="scale-up"].animated { animation-name: scaleIn; }
