/* ============================================
   QBEX.AI - GLOBAL STYLES
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2B6CB0;
    --secondary-color: #ED8936;
    --dark-color: #1A2B3C;
    --light-color: #F4F7F6;
    --text-color: #4A5568;
    --border-color: #E2E8F0;
    --success-color: #48BB78;
    --danger-color: #F56565;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #ffffff;
}

/* ============================================
   LANGUAGE SELECTOR
   ============================================ */

.language-selector {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 8px;
    z-index: 1000;
    background: white;
    padding: 12px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.lang-btn {
    padding: 8px 12px;
    border: 2px solid var(--border-color);
    background: white;
    color: var(--text-color);
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.lang-btn:hover,
.lang-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* ============================================
   CONTAINER & LAYOUT
   ============================================ */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   NAVIGATION BAR
   ============================================ */

.navbar {
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-color);
}

.logo-icon {
    font-size: 28px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%);
    color: white;
    padding: 120px 20px;
    text-align: center;
}

.hero-content h1 {
    font-size: 56px;
    margin-bottom: 24px;
    line-height: 1.2;
    font-weight: 700;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
}

/* ============================================
   BUTTONS
   ============================================ */

.cta-btn {
    display: inline-block;
    padding: 14px 32px;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.cta-btn:hover {
    background: #d97706;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(237, 137, 54, 0.3);
}

/* ============================================
   SECTIONS
   ============================================ */

section {
    padding: 80px 20px;
}

section h2 {
    font-size: 42px;
    color: var(--dark-color);
    margin-bottom: 16px;
    font-weight: 700;
}

.subtitle {
    font-size: 18px;
    color: var(--secondary-color);
    margin-bottom: 48px;
    font-weight: 600;
}

/* ============================================
   CHALLENGE SECTION
   ============================================ */

.challenge {
    background: var(--light-color);
}

.challenge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.challenge-card {
    background: white;
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--primary-color);
    transition: transform 0.3s ease;
}

.challenge-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.challenge-card .icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.challenge-card h3 {
    font-size: 20px;
    color: var(--dark-color);
    margin-bottom: 12px;
    font-weight: 600;
}

.challenge-card p {
    font-size: 16px;
    color: var(--text-color);
    line-height: 1.6;
}

/* ============================================
   VALUE PROPOSITION SECTION
   ============================================ */

.value-prop {
    background: white;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.value-card {
    background: linear-gradient(135deg, rgba(43, 108, 176, 0.05) 0%, rgba(237, 137, 54, 0.05) 100%);
    padding: 32px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.value-card:hover {
    background: linear-gradient(135deg, rgba(43, 108, 176, 0.1) 0%, rgba(237, 137, 54, 0.1) 100%);
    transform: translateY(-4px);
}

.value-card .icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.value-card h3 {
    font-size: 20px;
    color: var(--dark-color);
    margin-bottom: 12px;
    font-weight: 600;
}

.value-card p {
    font-size: 16px;
    color: var(--text-color);
}

/* ============================================
   SOLUTIONS SECTION
   ============================================ */

.solutions {
    background: var(--light-color);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.solution-card {
    background: white;
    padding: 28px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
    border-top: 3px solid var(--primary-color);
}

.solution-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    border-top-color: var(--secondary-color);
}

.solution-icon {
    font-size: 44px;
    margin-bottom: 16px;
}

.solution-card h3 {
    font-size: 18px;
    color: var(--dark-color);
    margin-bottom: 12px;
    font-weight: 600;
}

.solution-card p {
    font-size: 14px;
    color: var(--text-color);
    line-height: 1.6;
}

/* ============================================
   MIGRATION STRATEGIES SECTION
   ============================================ */

.strategies {
    background: white;
}

.strategies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.strategy-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%);
    color: white;
    padding: 32px;
    border-radius: 8px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.strategy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.strategy-card:hover::before {
    transform: translateX(0);
}

.strategy-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.strategy-card p {
    font-size: 16px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.badge {
    display: inline-block;
    background: var(--secondary-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

/* ============================================
   NEARSHORE SERVICES SECTION
   ============================================ */

.nearshore {
    background: var(--light-color);
}

.nearshore-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.nearshore-card {
    background: white;
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
}

.nearshore-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.nearshore-card .icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.nearshore-card h3 {
    font-size: 20px;
    color: var(--dark-color);
    margin-bottom: 12px;
    font-weight: 600;
}

.nearshore-card p {
    font-size: 16px;
    color: var(--text-color);
}

/* ============================================
   WHY QBEX SECTION
   ============================================ */

.why-qbex {
    background: white;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.why-card {
    background: linear-gradient(135deg, rgba(43, 108, 176, 0.08) 0%, rgba(237, 137, 54, 0.08) 100%);
    padding: 32px;
    border-radius: 8px;
    text-align: center;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.why-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
}

.why-card .icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.why-card h3 {
    font-size: 20px;
    color: var(--dark-color);
    margin-bottom: 12px;
    font-weight: 600;
}

.why-card p {
    font-size: 16px;
    color: var(--text-color);
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact {
    background: var(--light-color);
    text-align: center;
}

.contact h2 {
    margin-bottom: 16px;
}

.contact > .container > p {
    font-size: 18px;
    margin-bottom: 40px;
    color: var(--text-color);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(43, 108, 176, 0.1);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--dark-color);
    color: white;
    padding: 40px 20px;
    text-align: center;
}

.footer .container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer p {
    font-size: 14px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .language-selector {
        position: static;
        margin-bottom: 16px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .navbar .container {
        flex-direction: column;
        gap: 16px;
    }

    .nav-links {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 16px;
    }

    section h2 {
        font-size: 32px;
    }

    .challenge-grid,
    .value-grid,
    .solutions-grid,
    .strategies-grid,
    .nearshore-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        gap: 12px;
    }

    .footer-links {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .lang-btn {
        padding: 6px 8px;
        font-size: 10px;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    section {
        padding: 60px 16px;
    }

    section h2 {
        font-size: 24px;
    }

    .subtitle {
        font-size: 14px;
    }

    .challenge-card,
    .value-card,
    .solution-card,
    .strategy-card,
    .nearshore-card,
    .why-card {
        padding: 20px;
    }

    .challenge-card h3,
    .value-card h3,
    .solution-card h3,
    .strategy-card h3,
    .nearshore-card h3,
    .why-card h3 {
        font-size: 18px;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section {
    animation: fadeIn 0.6s ease-out;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.hidden {
    display: none;
}


/* ============================================
   QBEX BRICKS SECTION
   ============================================ */

.bricks {
    background: white;
    text-align: center;
}

.bricks-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    margin-top: 40px;
    transition: transform 0.3s ease;
}

.bricks-image:hover {
    transform: scale(1.02);
}

/* ============================================
   VIDEO CAROUSEL SECTION
   ============================================ */

.videos {
    background: linear-gradient(135deg, rgba(43, 108, 176, 0.05) 0%, rgba(237, 137, 54, 0.05) 100%);
}

.video-carousel {
    position: relative;
    margin-top: 40px;
    overflow: hidden;
}

.carousel-container {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.carousel-track {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: white;
    animation: scroll-left 30s linear infinite;
    width: fit-content;
}

.carousel-track:hover {
    animation-play-state: paused;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-100% - 100px));
    }
}

.video-item {
    flex: 0 0 400px;
    min-width: 400px;
    height: 225px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.video-item:hover {
    transform: scale(1.05);
}

.video-item iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: 20px;
}

.carousel-btn.next {
    right: 20px;
}

/* ============================================
   CONTACT INFORMATION SECTION
   ============================================ */

.contact-info {
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.contact-card {
    background: linear-gradient(135deg, rgba(43, 108, 176, 0.08) 0%, rgba(237, 137, 54, 0.08) 100%);
    padding: 32px;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.country-flag {
    font-size: 48px;
    margin-bottom: 16px;
}

.contact-card h3 {
    font-size: 22px;
    color: var(--dark-color);
    margin-bottom: 8px;
    font-weight: 600;
}

.office-name {
    font-size: 16px;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 12px;
}

.address {
    font-size: 14px;
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 16px;
}

.phone {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 500;
}

.phone a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.phone a:hover {
    color: var(--secondary-color);
}

/* ============================================
   RESPONSIVE DESIGN - VIDEO CAROUSEL
   ============================================ */

@media (max-width: 768px) {
    .video-item {
        flex: 0 0 300px;
        min-width: 300px;
        height: 169px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .carousel-btn.prev {
        left: 10px;
    }

    .carousel-btn.next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .video-item {
        flex: 0 0 250px;
        min-width: 250px;
        height: 141px;
    }

    .carousel-track {
        padding: 10px;
        gap: 10px;
    }

    .carousel-btn {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .contact-card {
        padding: 20px;
    }

    .country-flag {
        font-size: 36px;
    }

    .contact-card h3 {
        font-size: 18px;
    }
}


/* ============================================
   IMPACT METRICS SECTION
   ============================================ */

.impact {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%);
    color: white;
}

.impact h2 {
    color: white;
}

.impact .subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.metric-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 32px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    transition: all 0.3s ease;
}

.metric-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.metric-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 12px;
}

.metric-label {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: white;
}

.metric-card p {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

/* ============================================
   MIGRATION PROCESS SECTION
   ============================================ */

.migration-process {
    background: white;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.process-card {
    background: linear-gradient(135deg, rgba(43, 108, 176, 0.08) 0%, rgba(237, 137, 54, 0.08) 100%);
    padding: 28px;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
    position: relative;
}

.process-card:hover {
    transform: translateY(-4px);
    border-left-color: var(--secondary-color);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.process-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
}

.process-card h3 {
    font-size: 18px;
    color: var(--dark-color);
    margin-bottom: 12px;
    font-weight: 600;
}

.process-card p {
    font-size: 14px;
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 16px;
}

.process-tag {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* ============================================
   7RS DECISION MATRIX SECTION
   ============================================ */

.7rs-matrix {
    background: var(--light-color);
}

.matrix-wrapper {
    margin-top: 40px;
    overflow-x: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.decision-matrix {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.decision-matrix thead {
    background: var(--primary-color);
    color: white;
}

.decision-matrix th {
    padding: 16px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
}

.decision-matrix td {
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
}

.decision-matrix tbody tr {
    transition: background-color 0.3s ease;
}

.decision-matrix tbody tr:hover {
    background-color: rgba(43, 108, 176, 0.05);
}

.row-rehost td:first-child {
    color: var(--primary-color);
    font-weight: 600;
}

.row-replatform td:first-child {
    color: var(--secondary-color);
    font-weight: 600;
}

.row-refactor td:first-child {
    color: var(--success-color);
    font-weight: 600;
}

.row-repurchase td:first-child {
    color: var(--primary-color);
    font-weight: 600;
}

.badge-high {
    display: inline-block;
    background: var(--danger-color);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.badge-medium {
    display: inline-block;
    background: var(--secondary-color);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.badge-low {
    display: inline-block;
    background: #A0AEC0;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.matrix-note {
    margin-top: 24px;
    padding: 16px;
    background: rgba(43, 108, 176, 0.08);
    border-left: 4px solid var(--primary-color);
    border-radius: 6px;
    font-size: 14px;
    color: var(--text-color);
}

/* ============================================
   DATA & AI INTELLIGENCE SECTION
   ============================================ */

.data-ai {
    background: white;
}

.data-ai-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.data-ai-card {
    background: linear-gradient(135deg, rgba(43, 108, 176, 0.08) 0%, rgba(237, 137, 54, 0.08) 100%);
    padding: 32px;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
}

.data-ai-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.data-ai-card .icon {
    font-size: 44px;
    margin-bottom: 16px;
}

.data-ai-card h3 {
    font-size: 18px;
    color: var(--dark-color);
    margin-bottom: 12px;
    font-weight: 600;
}

.data-ai-card p {
    font-size: 14px;
    color: var(--text-color);
    line-height: 1.6;
}

/* ============================================
   RESPONSIVE DESIGN - NEW SECTIONS
   ============================================ */

@media (max-width: 768px) {
    .metric-number {
        font-size: 36px;
    }

    .metric-label {
        font-size: 16px;
    }

    .process-card {
        padding: 20px;
    }

    .decision-matrix th,
    .decision-matrix td {
        padding: 12px 8px;
        font-size: 12px;
    }

    .data-ai-card {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .metrics-grid,
    .process-grid,
    .data-ai-grid {
        grid-template-columns: 1fr;
    }

    .metric-number {
        font-size: 32px;
    }

    .metric-label {
        font-size: 14px;
    }

    .process-card {
        padding: 16px;
    }

    .process-number {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }

    .process-card h3 {
        font-size: 16px;
    }

    .decision-matrix th,
    .decision-matrix td {
        padding: 10px 6px;
        font-size: 11px;
    }

    .badge-high,
    .badge-medium,
    .badge-low {
        padding: 3px 6px;
        font-size: 10px;
    }

    .data-ai-card .icon {
        font-size: 36px;
    }

    .data-ai-card h3 {
        font-size: 16px;
    }

    .data-ai-card p {
        font-size: 13px;
    }
}

/* ============================================================
   UTRON i18n - Language Selector & Multilingual Support
   ============================================================ */

/* Google Fonts for CJK support (lazy-loaded via font-display: swap) */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700&family=Noto+Sans+SC:wght@300;400;500;700&display=swap');

/* CJK font override when body has .lang-cjk */
body.lang-cjk {
    font-family: 'Noto Sans KR', 'Noto Sans SC', 'Helvetica Neue', Arial, sans-serif;
}

body.lang-cjk h1,
body.lang-cjk h2,
body.lang-cjk h3,
body.lang-cjk h4,
body.lang-cjk h5,
body.lang-cjk h6,
body.lang-cjk p,
body.lang-cjk span,
body.lang-cjk a,
body.lang-cjk li,
body.lang-cjk button {
    font-family: 'Noto Sans KR', 'Noto Sans SC', 'Helvetica Neue', Arial, sans-serif;
}

/* --------------- Language Selector (Fixed Position) --------------- */

.utron-lang-selector {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 99999;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

.utron-lang-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
    white-space: nowrap;
}

.utron-lang-toggle:hover {
    background: rgba(0, 0, 0, 0.9);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.utron-lang-flag {
    font-size: 18px;
    line-height: 1;
}

.utron-lang-code {
    font-size: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.utron-lang-arrow {
    font-size: 10px;
    transition: transform 0.3s ease;
    opacity: 0.7;
}

.utron-lang-dropdown.open + .utron-lang-toggle .utron-lang-arrow,
.utron-lang-toggle[aria-expanded="true"] .utron-lang-arrow {
    transform: rotate(180deg);
}

/* --------------- Dropdown --------------- */

.utron-lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 160px;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.96);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.utron-lang-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.utron-lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 14px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
    text-align: left;
}

.utron-lang-option:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.utron-lang-option.active {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-weight: 600;
}

.utron-lang-option .utron-lang-flag {
    font-size: 20px;
}

.utron-lang-option .utron-lang-label {
    font-size: 14px;
}

/* --------------- Responsive Language Selector --------------- */

@media (max-width: 768px) {
    .utron-lang-selector {
        top: 12px;
        right: 60px;
    }

    .utron-lang-toggle {
        padding: 6px 10px;
        font-size: 12px;
    }

    .utron-lang-flag {
        font-size: 16px;
    }

    .utron-lang-code {
        display: none;
    }

    .utron-lang-dropdown {
        right: -20px;
        min-width: 145px;
    }

    .utron-lang-option {
        padding: 8px 10px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .utron-lang-selector {
        top: 10px;
        right: 50px;
    }

    .utron-lang-toggle {
        padding: 5px 8px;
        border-radius: 20px;
    }
}

/* ── Solutions Section ── */
.solutions-section {
    padding: 60px 30px 40px;
    background: #111;
}

.solutions-main-title {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.15);
}

.solutions-table-wrapper {
    margin-bottom: 50px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.solutions-table {
    width: 100%;
    border-collapse: collapse;
    color: #ddd;
    font-size: 0.88rem;
    line-height: 1.5;
}

.solutions-table thead th {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    padding: 14px 12px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.15);
    white-space: nowrap;
}

.solutions-table tbody td {
    padding: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    vertical-align: top;
}

.solutions-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.04);
}

.solutions-table tbody td:first-child {
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
}

.solutions-table tbody td:nth-child(2) {
    color: #aaa;
    font-style: italic;
}

@media (max-width: 768px) {
    .solutions-section {
        padding: 40px 15px 20px;
    }

    .solutions-main-title {
        font-size: 1.5rem;
    }

    .solutions-table {
        font-size: 0.8rem;
    }

    .solutions-table thead th,
    .solutions-table tbody td {
        padding: 8px;
    }
}
