/* === CSS RESET AND BASE STYLES === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8fafc;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* === LAYOUT UTILITIES === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section {
    padding: 4rem 0;
}

.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

/* === COLOR SCHEME === */
:root {
    --primary-blue: #0d47a1;
    --primary-teal: #0891b2;
    --dark-gray: #1e293b;
    --medium-gray: #475569;
    --light-gray: #f1f5f9;
    --accent-orange: #f59e0b;
    --success-green: #10b981;
    --white: #ffffff;
}

/* === BUTTONS === */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-teal) 100%);
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: var(--white);
}

/* === AI PREDICTIVE DROPDOWN === */
.ai-predictive-dropdown {
    position: relative;
}

.ai-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    background: transparent;
    border: none;
    color: var(--dark-gray);
    font-weight: 500;
    font-size: inherit;
    font-family: inherit;
    cursor: pointer;
    transition: color 0.3s ease;
}

.ai-dropdown-btn:hover {
    color: var(--primary-blue);
}

.ai-dropdown-btn.active {
    color: var(--primary-blue);
}

.ai-dropdown-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.ai-dropdown-btn.active .ai-dropdown-arrow,
.ai-predictive-dropdown.active .ai-dropdown-arrow {
    transform: rotate(180deg);
}

.ai-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    min-width: 200px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 10;
}

.ai-predictive-dropdown.active .ai-dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.ai-dropdown-item {
    display: block;
    padding: 0.75rem 1.25rem;
    color: var(--dark-gray);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.ai-dropdown-item:hover {
    background: var(--light-gray);
    color: var(--primary-blue);
}

/* === LANGUAGE SWITCHER === */
.language-switcher {
    position: relative;
    margin-left: 1rem;
}

.lang-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: 1px solid var(--light-gray);
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    color: var(--medium-gray);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 70px;
    justify-content: space-between;
}

.lang-dropdown-btn:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    background: rgba(13, 71, 161, 0.05);
}

.lang-dropdown-btn.active {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    background: rgba(13, 71, 161, 0.1);
}

.lang-dropdown-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.lang-dropdown-btn.active .lang-dropdown-arrow {
    transform: rotate(180deg);
}

.lang-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 120px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 0.25rem;
}

.language-switcher.active .lang-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown-item {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--medium-gray);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    border-bottom: 1px solid var(--light-gray);
}

.lang-dropdown-item:last-child {
    border-bottom: none;
}

.lang-dropdown-item:hover {
    background: var(--light-gray);
    color: var(--primary-blue);
}

.lang-dropdown-item.active {
    background: rgba(13, 71, 161, 0.1);
    color: var(--primary-blue);
    font-weight: 600;
}

.lang-dropdown-item .lang-code {
    font-weight: 600;
    margin-right: 0.5rem;
}

.lang-dropdown-item .lang-name {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Remove old language switcher styles */
.lang-link {
    display: none;
}

.lang-separator {
    display: none;
}

/* === NAVIGATION === */
.navbar {
    background: var(--white);
    padding: 0.75rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

/* Offset helper for pages without a hero under a fixed navbar */
.has-fixed-navbar {
    padding-top: 104px;
}
@media (max-width: 768px) {
    .has-fixed-navbar {
        padding-top: 84px;
    }
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo img {
    height: 80px;
    max-width: 350px;
    object-fit: contain;
    filter: brightness(1.1) contrast(1.1);
    transition: all 0.3s ease;
}

.logo img:hover {
    filter: brightness(1.2) contrast(1.2);
    transform: scale(1.02);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links li {
    display: flex;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

.nav-links a:hover {
    color: var(--primary-blue);
}

/* === HERO SECTION === */
.hero {
    background: linear-gradient(rgba(13, 71, 161, 0.7), rgba(13, 71, 161, 0.7)), url('https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?q=80&w=2070&auto=format&fit=crop') no-repeat center center/cover;
    color: var(--white);
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 1rem;
    margin-top: 0; /* Remove margin from old hero */
}

.hero::before {
    content: none; /* Remove pseudo-element from old hero */
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--white); /* Ensure text is white for new background */
    background: none; /* Remove gradient from old hero h1 */
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: var(--light-gray);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* === SERVICE CARDS === */
.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.15);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.service-card h3 {
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--medium-gray);
    font-size: 1rem;
}

/* === SERVICE DETAIL SECTIONS === */
.service-detail {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.service-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-teal));
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-list {
    margin: 2rem 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(37, 99, 235, 0.05);
    border-radius: 8px;
    border-left: 4px solid var(--primary-blue);
}

.feature-icon {
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

.feature-item h4 {
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.feature-item p {
    color: var(--medium-gray);
    margin: 0;
    font-size: 1rem;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.result-item {
    text-align: center;
    padding: 1.5rem 1rem;
    background: var(--light-gray);
    border-radius: 8px;
}

.result-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.result-label {
    font-size: 0.9rem;
    color: var(--medium-gray);
    font-weight: 500;
}

.subscription-info {
    background: rgba(8, 145, 178, 0.1);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-teal);
    margin-top: 2rem;
}

.subscription-info h4 {
    margin-bottom: 0.5rem;
}

.subscription-info p {
    margin: 0;
    color: var(--medium-gray);
}

.placeholder-image {
    position: relative;
    overflow: hidden;
}

.placeholder-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255, 255, 255, 0.1) 10px,
        rgba(255, 255, 255, 0.1) 20px
    );
}

/* === WHY CHOOSE US SECTION === */
.experience-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(37, 99, 235, 0.1);
    border: 2px solid rgba(37, 99, 235, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

.experience-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.experience-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.why-content {
    padding: 1rem;
}

/* === CONTACT SECTION === */
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 8px;
}

.contact-icon {
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

.contact-item h4 {
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-item p {
    margin: 0;
    color: var(--medium-gray);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* === CTA SECTION === */
.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="80" r="1.5" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.cta-buttons {
    position: relative;
    z-index: 2;
}

/* === EXPANDABLE DETAILS SECTION === */
.details-toggle {
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.details-toggle:hover {
    background: var(--primary-teal);
    transform: translateY(-1px);
}

.details-toggle.active {
    background: var(--primary-teal);
}

.details-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
    background: rgba(37, 99, 235, 0.02);
    border-radius: 8px;
    margin-top: 1rem;
}

.details-content.active {
    max-height: 2000px;
    transition: max-height 0.8s ease-in;
}

.details-inner {
    padding: 0;
    transition: padding 0.3s ease;
}

.details-content.active .details-inner {
    padding: 2rem;
}

.tech-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.tech-spec-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-blue);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.tech-spec-item h5 {
    color: var(--dark-gray);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.tech-spec-item p {
    color: var(--medium-gray);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.implementation-timeline {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.timeline-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.timeline-step:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.timeline-number {
    background: var(--primary-blue);
    color: var(--white);
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.timeline-content h6 {
    color: var(--dark-gray);
    margin-bottom: 0.3rem;
    font-size: 1rem;
    font-weight: 600;
}

.timeline-content p {
    color: var(--medium-gray);
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.case-study-highlight {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(8, 145, 178, 0.1));
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
    border-left: 4px solid var(--primary-blue);
}

.case-study-highlight h5 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

/* === MOBILE RESPONSIVENESS === */
@media (max-width: 768px) {
    .nav-container {
        min-height: 60px;
    }
    
    .logo img {
        height: 60px;
    }
    
    .nav-links {
        display: none;
    }
    
    .hero {
        padding: 6rem 0 4rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.7rem; }
    h3 { font-size: 1.3rem; }
    
    .grid-2, .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .service-visual {
        order: -1;
    }
    
    .placeholder-image {
        height: 250px !important;
    }
    
    .results-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 0.5rem;
    }
    
    .result-item {
        padding: 1rem 0.5rem;
    }
    
    .result-number {
        font-size: 1.5rem;
    }
    
    .experience-badge {
        padding: 1rem;
    }
    
    .experience-number {
        font-size: 2rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon {
        align-self: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* === DASHBOARD PREVIEW STYLES === */
.dashboard-preview {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 8px 30px rgba(8, 145, 178, 0.15);
}

.dashboard-preview iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
    display: block;
    transition: transform 0.3s ease;
}

.dashboard-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(13, 71, 161, 0.9);
    backdrop-filter: blur(3px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 12px;
    z-index: 5;
}

.dashboard-preview:hover .dashboard-overlay {
    opacity: 1;
}

.dashboard-preview:hover iframe {
    transform: scale(1.02);
}

.dashboard-link {
    background: var(--white);
    color: var(--primary-blue);
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    transform: translateY(10px);
}

.dashboard-preview:hover .dashboard-link {
    transform: translateY(0);
}

.dashboard-link:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(13, 71, 161, 0.3);
}

.dashboard-link span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Service visual container adjustments */
.service-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.service-visual .dashboard-preview {
    width: 100%;
    max-width: 100%;
}

/* Ensure Service 3 grid alignment */
.service-detail .grid.grid-2 {
    align-items: stretch;
    gap: 3rem;
}

.service-detail .service-content,
.service-detail .service-visual {
    min-height: 400px;
}

/* Mobile responsiveness for dashboard preview */
@media (max-width: 768px) {
    .dashboard-preview {
        height: 300px;
    }
    
    .dashboard-link {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
} 

/* === MOBILE MENU BUTTON === */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 4px;
    z-index: 1001;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    min-width: 44px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--dark-gray);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* === MOBILE NAVIGATION === */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 1000;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        display: flex;
        transform: translateX(0);
    }
    
    .nav-links li {
        margin: 0;
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .nav-links a {
        font-size: 1.5rem;
        font-weight: 600;
        padding: 1rem 2rem;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        border-radius: 8px;
        transition: all 0.3s ease;
        width: 100%;
        max-width: 300px;
    }
    
    .nav-links a:hover {
        background: var(--light-gray);
        color: var(--primary-blue);
    }
    
    /* Language switcher mobile styles */
    .language-switcher {
        margin-left: 0;
        margin-top: 1rem;
        width: 100%;
        display: flex;
        justify-content: center;
        position: relative;
        z-index: 1001;
    }
    
    .lang-dropdown-btn {
        min-width: 100px;
        font-size: 1rem;
        padding: 0.75rem 1rem;
        border: 2px solid var(--light-gray);
    }
    
    .lang-dropdown-menu {
        position: absolute;
        left: 50%;
        right: auto;
        transform: translateX(-50%) translateY(-10px);
        min-width: 160px;
        max-width: calc(100vw - 2rem);
        width: auto;
        max-height: 50vh;
        overflow-y: auto;
        z-index: 1002;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0;
    }
    
    .language-switcher.active .lang-dropdown-menu {
        transform: translateX(-50%) translateY(0);
    }
    
    .lang-dropdown-item {
        font-size: 0.9rem;
        padding: 0.75rem 0.5rem;
        text-align: center;
        border-bottom: 1px solid var(--light-gray);
        border-right: 1px solid var(--light-gray);
    }
    
    .lang-dropdown-item:nth-child(even) {
        border-right: none;
    }
    
    .lang-dropdown-item:nth-child(n+3) {
        border-bottom: 1px solid var(--light-gray);
    }
    
    .lang-dropdown-item:last-child,
    .lang-dropdown-item:nth-last-child(2) {
        border-bottom: none;
    }
    
    .lang-dropdown-item .lang-code {
        font-size: 1rem;
    }
    
    .lang-dropdown-item .lang-name {
        font-size: 0.9rem;
    }
    
    /* Hide old mobile language switcher styles */
    .lang-link {
        display: none;
    }
    
    .lang-separator {
        display: none;
    }
    
    /* AI Predictive dropdown mobile styles */
    .ai-predictive-dropdown {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .ai-dropdown-btn {
        font-size: 1.5rem;
        font-weight: 600;
        padding: 1rem 2rem;
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .ai-dropdown-menu {
        position: static;
        transform: none;
        width: 100%;
        max-width: 280px;
        margin-top: 0.5rem;
        display: none;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.95);
        border: 1px solid var(--light-gray);
    }
    
    .ai-predictive-dropdown.active .ai-dropdown-menu {
        display: block;
    }
    
    .ai-dropdown-item {
        text-align: center;
        font-size: 1.2rem;
        padding: 0.75rem 1rem;
    }
} 