/* components.css - VMAV Reusable Component Styles */

/* ===== BUTTONS ===== */
.btn-primary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--color-primary);
    color: white;
    font-weight: 600;
    border-radius: 0.75rem;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}
.btn-primary:hover {
    background-color: var(--color-primary-dark);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.btn-secondary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: transparent;
    color: var(--color-primary);
    font-weight: 600;
    border-radius: 0.75rem;
    text-decoration: none;
    border: 2px solid currentColor;
    transition: all 0.2s ease;
    cursor: pointer;
}
.btn-secondary:hover {
    background-color: var(--color-primary-light);
    transform: translateY(-1px);
}

.btn-ghost {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: transparent;
    color: inherit;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s;
}
.btn-ghost:hover {
    opacity: 0.7;
}

/* ===== CARDS ===== */
.card {
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
}

.card-glass {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}
.card-glass:hover {
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.08);
}

.card-terminal {
    background: #0d1117;
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 0.75rem;
    padding: 1.5rem;
    font-family: var(--font-mono);
    transition: all 0.3s ease;
}
.card-terminal:hover {
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.08);
}

/* ===== BADGES ===== */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.875rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.025em;
}

.badge-tech {
    background: rgba(99, 102, 241, 0.1);
    color: rgb(99, 102, 241);
    border: 1px solid rgba(99, 102, 241, 0.2);
}

/* ===== FAQ ACCORDION ===== */
.faq-open .faq-content {
    display: block !important;
}
.faq-open .faq-chevron {
    transform: rotate(180deg);
}

/* ===== GRADIENT TEXT ===== */
.gradient-text {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== SCROLLBAR (Dark themes) ===== */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: rgba(128, 128, 128, 0.3);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(128, 128, 128, 0.5);
}

/* ===== SELECTION ===== */
::selection {
    background-color: var(--color-primary);
    color: white;
}

/* ===== SELECTOR INTERACTION ===== */
.selector-option.selected {
    border-color: var(--color-primary) !important;
    box-shadow: 0 0 0 2px var(--color-primary);
    transform: scale(1.02);
}

/* ===== QUIZ INTERACTION ===== */
.quiz-answer.selected {
    border-color: var(--color-primary) !important;
    background: var(--color-primary-light) !important;
}
