/*
 * LibLab - Responsive CSS
 * Modern Saudi Tech Elegance Theme
 */

/* Large Screens (1200px and down) */
@media (max-width: 1200px) {
    .container {
        max-width: 992px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .demo-widget {
        max-width: 900px;
    }
    
    /* Menu bar adjustments */
    .menu-bar.v1 {
        padding: 15px 0;
    }
    
    /* Hide arrow and dots on screens 1200px and below */
    .arrow-shape,
    .shap-dot-1,
    .shap-dot-2,
    .shap-dot-3 {
        display: none;
    }
    
    /* Adjust anime-bubble for smaller screens */
    .anime-bubble {
        width: 600px;
        height: 600px;
        left: -150px;
        bottom: -250px;
    }
}

/* Medium Screens (992px and down) */
@media (max-width: 992px) {
    .container {
        max-width: 768px;
    }
    
    /* Navigation Mobile Styles */
    .mobile-menu-btn {
        display: flex;
    }
    
    .main-menu {
        display: none;
    }
    
    .main-nav {
        position: fixed;
        top: 70px;
        right: 0;
        width: 100%;
        background-color: var(--deep-navy);
        height: 0;
        overflow: hidden;
        transition: height 0.3s ease;
        z-index: 1000;
    }
    
    .main-nav.active {
        height: 100vh;
    }
    
    .main-nav ul {
        flex-direction: column;
        padding: var(--spacing-large);
    }
    
    .main-nav li {
        margin: var(--spacing-medium) 0;
    }
    
    .main-nav a {
        font-size: 1.125rem;
    }
    
    /* Hero Section */
    .hero .container {
        flex-direction: column-reverse;
        text-align: center;
        padding-top: var(--spacing-medium);
        padding-bottom: var(--spacing-medium);
    }
    
    .hero-content, .hero-visual {
        width: 100%;
    }
    
    .hero-visual {
        margin-bottom: var(--spacing-medium);
        align-items: center;
    }
    
    /* Hide arrow on mobile */
    .arrow-shape {
        display: none;
    }
    
    .cta-group {
        justify-content: center;
    }
    
    /* Trust Bar */
    .trust-logos {
        overflow-x: auto;
        padding-bottom: var(--spacing-small);
        justify-content: flex-start;
        gap: var(--spacing-xlarge);
    }
    
    .trust-logo {
        flex-shrink: 0;
    }
    
    /* Stats Section */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Feature Cards */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Why Choose Section */
    .why-choose-container {
        flex-direction: column-reverse;
        text-align: center;
    }
    
    .why-choose-content, .why-choose-visual {
        width: 100%;
    }
    
    .why-choose-content {
        padding: 0;
        margin-top: var(--spacing-xlarge);
    }
    
    .point {
        text-align: right;
    }
    
    /* Footer */
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Small Screens (768px and down) */
@media (max-width: 768px) {
    .container {
        max-width: 576px;
    }
    
    h1, .hero-title {
        font-size: 2.5rem;
    }
    
    h2, .section-title {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    /* Spacing Adjustments */
    .hero {
        min-height: auto;
        padding: 90px 0 40px;
    }
    
    .hero-content {
        padding: var(--spacing-medium) 0;
    }
    
    /* Further adjust anime-bubble for mobile */
    .anime-bubble {
        width: 500px;
        height: 500px;
        filter: blur(100px);
        left: -100px;
        bottom: -200px;
    }
    
    .demo-widget {
        margin-top: -40px;
    }
    
    .terminal-header {
        padding: 8px 15px;
    }
    
    .control {
        width: 10px;
        height: 10px;
    }
    
    .title-text {
        font-size: 0.9rem;
    }
    
    .status-text {
        display: none;
    }
    
    .chat-interface {
        height: 250px;
        padding: var(--spacing-medium);
    }
    
    .input-area {
        padding: var(--spacing-small) var(--spacing-medium);
    }
    
    .sample-questions {
        padding: var(--spacing-small) var(--spacing-medium);
        gap: var(--spacing-small);
    }
    
    /* Features */
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        height: auto;
    }
    
    /* Stats Section */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-large);
    }
    
    /* CTA Sections */
    .cta-group, .final-cta-buttons {
        flex-direction: column;
        gap: var(--spacing-medium);
    }
    
    .cta-group .btn, .final-cta-buttons .btn {
        width: 100%;
    }
    
    /* Section Spacing */
    .trust-bar,
    .stats-section,
    .features-section,
    .why-choose-section {
        padding: 60px 0;
    }
    
    /* Footer */
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-medium);
    }
}

/* Extra Small Screens (576px and down) */
@media (max-width: 576px) {
    .container {
        padding: 0 var(--spacing-medium);
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    /* Smallest screen anime-bubble */
    .anime-bubble {
        width: 400px;
        height: 400px;
        filter: blur(80px);
        opacity: 0.25;
        left: -80px;
        bottom: -150px;
    }
    
    .demo-widget {
        padding: var(--spacing-medium);
        margin-top: -30px;
    }
    
    .terminal-title {
        font-size: 0.8rem;
    }
    
    .title-icon {
        display: none;
    }
    
    .title-text {
        font-size: 0.75rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .message-timestamp {
        display: none;
    }
    
    .chat-interface {
        height: 220px;
    }
    
    .sample-questions {
        flex-direction: column;
    }
    
    .sample-question {
        width: 100%;
        text-align: center;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
    }
} 