/**
 * OKJournal Landing Page - Custom Styles
 * Tailwind CSS utility classes are loaded via CDN
 * This file contains custom component styles only
 */

/* ================================================
   Base Styles
   ================================================ */
body {
    font-family: 'Inter', sans-serif;
    background-color: #0A0A0A;
    color: #EAEAEA;
}

/* ================================================
   Background Canvas
   ================================================ */
#chart-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.15;
}

/* ================================================
   Glass Morphism Effect
   ================================================ */
.glass-morphism {
    background: rgba(17, 17, 17, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ================================================
   Gradient Text
   ================================================ */
.gradient-text {
    background: linear-gradient(90deg, #3B82F6, #8B5CF6);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ================================================
   Feature Cards
   ================================================ */
.feature-card {
    background: #111111;
    border: 1px solid #222;
    border-radius: 1.5rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* ================================================
   CTA Button
   ================================================ */
.cta-button {
    background: linear-gradient(90deg, #3B82F6, #6D28D9);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
}

/* ================================================
   Scroll Animation
   ================================================ */
.scroll-target {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-target.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ================================================
   Image Slider
   ================================================ */
.slider-button {
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.slider-button:hover {
    opacity: 1;
}

/* ================================================
   FAQ Accordion
   ================================================ */
.faq-item .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
}

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

.faq-item.open .faq-arrow {
    transform: rotate(180deg);
}

/* ================================================
   Language Selector (Desktop)
   ================================================ */
.language-selector {
    position: relative;
    display: inline-block;
}

.language-selector-button {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 8px 12px;
    font-size: 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.language-selector-button:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.language-selector-content {
    display: none;
    position: absolute;
    background-color: #111111;
    min-width: 120px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.5);
    z-index: 1;
    border-radius: 0.5rem;
    border: 1px solid #222;
    right: 0;
}

.language-selector-content a {
    color: #EAEAEA;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 14px;
}

.language-selector-content a:hover {
    background-color: #333;
}

.language-selector:hover .language-selector-content {
    display: block;
}

/* ================================================
   Mobile Menu
   ================================================ */
#mobile-menu {
    transition: opacity 0.3s ease;
}

#mobile-menu.show {
    display: block !important;
}

#mobile-menu-panel.show {
    transform: translateX(0);
}

.mobile-lang-btn.active {
    background-color: rgba(59, 130, 246, 0.2);
    color: #3B82F6;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

/* Burger menu animation */
#mobile-menu-btn svg {
    transition: transform 0.3s ease;
}

#mobile-menu-btn.active svg {
    transform: rotate(90deg);
}

/* ================================================
   Accessibility - Reduced Motion
   ================================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .scroll-target {
        opacity: 1;
        transform: none;
    }
    
    #chart-background {
        display: none;
    }
}

/* ================================================
   Responsive Breakpoints
   ================================================ */

/* Extra small screens (475px+) */
@media (min-width: 475px) {
    .xs\:inline {
        display: inline !important;
    }
}























