/* ==========================================================================
   ABOUT US PAGE STYLES (PREMIUM DARK MODE)
   ========================================================================== */

.nextai-about-wrapper {
    background-color: transparent;
    color: #e2e8f0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
.nextai-about-wrapper h1,
.nextai-about-wrapper h2,
.nextai-about-wrapper h3 {
    color: #ffffff;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
}

/* Links */
.about-text-link {
    display: inline-flex;
    align-items: center;
    color: #0066FF;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
}

.about-text-link:hover {
    color: #0055cc;
    transform: translateX(5px);
}

.about-arrow-right::after {
    content: "›";
    font-size: 24px;
    margin-left: 8px;
    line-height: 1;
}

/* 1. HERO SECTION */
.about-hero {
    padding: 80px 0 60px;
    text-align: left;
}

.about-hero-title {
    font-size: 56px;
    margin-bottom: 30px;
    max-width: 1000px;
}

.about-hero-title span {
    color: #0066FF;
}

.about-hero-description {
    font-size: 18px;
    line-height: 1.6;
    color: #94a3b8;
    max-width: 900px;
    margin-bottom: 30px;
}

/* 2. BANNER SECTION */
.about-banner-section {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    margin: 40px 0;
}

.about-banner-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-banner-overlay {
    background: rgba(0, 0, 0, 0.4);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
}

.about-banner-title {
    font-size: 72px;
    color: #ffffff;
    font-weight: 900;
}

/* 3. MISSION SECTION */
.about-mission-section {
    padding: 60px 0;
    background: rgba(255, 255, 255, 0.02);
}

.about-mission-card {
    max-width: 1000px;
    margin: 0 auto;
}

.about-mission-card p {
    font-size: 20px;
    line-height: 1.6;
    color: #cbd5e1;
    margin-bottom: 25px;
}

.about-mission-card strong {
    color: #ffffff;
}

/* 4. FEATURES CONTAINER */
.about-features-container {
    padding: 80px 0;
}

.about-feature-item {
    margin-bottom: 120px;
}

.about-feature-item:last-child {
    margin-bottom: 0;
}

.about-feature-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: flex-start;
}

.about-feature-label h3 {
    font-size: 36px;
    margin-bottom: 20px;
}

.about-feature-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #94a3b8;
    margin-bottom: 20px;
}

.about-feature-content h3 {
    font-size: 36px;
    margin-bottom: 20px;
}

/* Global Flags Layout */
.about-flags-layout {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    padding-left: 40px;
}

.flag-pill {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.flag-pill:hover {
    transform: translateY(-5px) scale(1.05);
}

.flag-pill img {
    width: 100%;
    height: auto;
    display: block;
}

/* Offset some flags for a dynamic look */
.flag-pill:nth-child(even) {
    transform: translateY(20px);
}

.flag-pill:nth-child(even):hover {
    transform: translateY(15px) scale(1.05);
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
    .about-hero-title {
        font-size: 42px;
    }

    .about-banner-title {
        font-size: 56px;
    }

    .about-feature-grid {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .about-hero {
        padding: 40px 0;
    }

    .about-hero-title {
        font-size: 32px;
    }

    .about-banner-section {
        height: 400px;
    }

    .about-banner-title {
        font-size: 40px;
    }

    .about-feature-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-mission-card p {
        font-size: 18px;
    }

    .about-feature-label h3,
    .about-feature-content h3 {
        font-size: 28px;
    }

    .about-flags-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 480px) {
    .about-hero-title {
        font-size: 28px;
    }

    .about-banner-section {
        height: 300px;
    }

    .about-banner-title {
        font-size: 32px;
    }

    .about-flags-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}