/* MediaFlow Pro - Global Styles */

:root {
    --brand-50: #f5f3ff;
    --brand-100: #ede9fe;
    --brand-500: #8b5cf6;
    --brand-600: #7c3aed;
    --brand-900: #4c1d95;
    --dark-bg: #0f172a;
    --dark-card: #1e293b;
    --dark-border: #334155;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark-bg);
    color: #f8fafc;
}

/* Glassmorphism */
.glass {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Gradients */
.gradient-text {
    background: linear-gradient(135deg, #a78bfa 0%, #38bdf8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Decorative Background Blobs */
.blob {
    position: absolute;
    filter: blur(80px);
    opacity: 0.4;
    z-index: -1;
    pointer-events: none;
}

/* FAQ Accordion Styles */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 1.5rem;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Pricing Toggle */
.pricing-toggle {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Language Dropdown */
.lang-dropdown-container {
    position: relative;
    z-index: 1001;
    /* Ensure above everything else on navbar */
}

.lang-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    width: 140px;
    z-index: 2000;
}

.lang-dropdown-menu.active {
    display: block;
}

.lang-item {
    cursor: pointer;
    transition: all 0.2s;
}

.lang-item:hover {
    background: rgba(139, 92, 246, 0.1);
}

/* Responsive Fixes */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
}