/* ============================================
   Corporate Tech Home Page Styles
   ============================================ */

/* --- Base --- */
body.tech-home {
    background: #fff;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Microsoft YaHei", sans-serif;
    color: #1A202C;
    overflow-x: hidden;
}

/* --- Header (Transparent, overlapping Hero) --- */
.tech-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 1000;
    background: rgba(10, 22, 40, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.tech-header .container {
    height: 100%;
}

.tech-header .logo a {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.tech-nav {
    display: flex;
    gap: 8px;
}

.tech-nav a {
    color: rgba(255, 255, 255, 0.75);
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s;
}

.tech-nav a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-actions .btn-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    padding: 8px 12px;
}

.header-actions .btn-text:hover {
    color: #fff;
}

.header-actions .btn-primary {
    background: var(--brand-blue);
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    border: none;
}

.header-actions .btn-primary:hover {
    background: var(--brand-dark-blue);
}

.tech-theme-toggle {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    /* Always white on home header */
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
    font-weight: 500;
    backdrop-filter: blur(4px);
}

.tech-theme-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #fff;
}

/* ============================================
   HERO SECTION
   ============================================ */
.tech-hero {
    position: relative;
    min-height: 680px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 100px 0 140px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(10, 22, 40, 0.85) 0%,
            rgba(10, 22, 40, 0.6) 50%,
            rgba(10, 22, 40, 0.9) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    color: #fff;
}

.hero-title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Buttons */
.hero-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 0;
}

.hero-btns .btn {
    padding: 14px 36px;
    font-size: 15px;
    border-radius: 6px;
    font-weight: 600;
}

.btn-outline-light {
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    color: #fff;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-1px);
}

.btn-lg {
    font-size: 15px;
}

/* Hero Partners */
.hero-partners {
    margin-top: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

.partner-logo {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   FLOATING CARDS
   ============================================ */
.tech-cards-section {
    position: relative;
    z-index: 20;
    margin-top: -90px;
    padding-bottom: 80px;
}

/* --- Base --- */
body.tech-home {
    background: var(--bg-color);
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Microsoft YaHei", sans-serif;
    color: var(--text-primary);
    overflow-x: hidden;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.tech-card {
    background: var(--container-bg);
    border-radius: 12px;
    padding: 32px 28px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
}

.tech-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
}

.card-header {
    margin-bottom: 16px;
}

.card-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.badge {
    display: inline-block;
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.badge.blue {
    background: var(--brand-light-blue);
    color: var(--brand-blue);
}

.card-desc {
    font-size: 14px;
    color: #718096;
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

.card-price {
    margin-bottom: 24px;
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.currency {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.amount {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -2px;
    line-height: 1;
}

.unit {
    font-size: 13px;
    color: #A0AEC0;
    margin-left: 4px;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s;
}

/* ============================================
   CONTENT SECTION (Text + Image)
   ============================================ */
.content-section {
    padding: 80px 0;
}

.content-section .container {
    gap: 60px;
}

.text-col {
    flex: 1;
}

.img-col {
    flex: 1;
}

.section-tag {
    display: inline-block;
    color: var(--brand-blue);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.section-tag.light {
    color: rgba(255, 255, 255, 0.6);
}

.section-heading {
    font-size: 36px;
    font-weight: 800;
    color: #1A202C;
    margin-bottom: 16px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.section-heading.light {
    color: #fff;
}

.section-desc {
    font-size: 16px;
    color: #718096;
    line-height: 1.7;
    margin-bottom: 32px;
}

.section-desc.light {
    color: rgba(255, 255, 255, 0.7);
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.feature-list li {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    align-items: flex-start;
}

.feature-list .icon {
    font-size: 28px;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--brand-light-blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-text strong {
    display: block;
    font-size: 16px;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.feature-text p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.img-placeholder {
    width: 100%;
    height: 420px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.img-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================
   DARK SECTION
   ============================================ */
.dark-section {
    background: var(--brand-navy);
    padding: 100px 0;
    text-align: center;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 800px;
    margin: 30px auto 0;
    text-align: left;
}

.grid-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.05);
    padding: 20px 24px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.2s;
}

.grid-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.grid-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.grid-item span {
    font-size: 14px;
    color: #CBD5E0;
    line-height: 1.5;
}

.grid-item strong {
    color: #fff;
}

/* ============================================
   MAP / NETWORK SECTION
   ============================================ */
.map-section {
    padding: 80px 0;
    background: var(--input-bg);
}

.map-container {
    position: relative;
    height: 320px;
    background: var(--brand-navy);
    border-radius: 16px;
    margin: 30px 0;
    overflow: hidden;
}

#map-canvas {
    display: block;
}

.map-features {
    gap: 40px;
    justify-content: center;
}

.map-feature {
    text-align: center;
    flex: 1;
    max-width: 280px;
}

.map-feature strong {
    display: block;
    font-size: 16px;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.map-feature p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ============================================
   CTA FOOTER
   ============================================ */
.cta-footer {
    background: var(--brand-blue);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-footer .bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
}

.cta-footer .section-heading.light {
    font-size: 36px;
    margin-bottom: 12px;
}

.cta-footer .section-desc.light {
    margin-bottom: 32px;
}

.btn-light {
    background: #fff;
    color: var(--brand-blue);
    padding: 14px 36px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 15px;
    border: none;
}

.btn-light:hover {
    background: #F7FAFC;
    transform: translateY(-1px);
}

/* ============================================
   SIMPLE FOOTER
   ============================================ */
.simple-footer {
    background: var(--brand-navy);
    color: #718096;
    padding: 28px 0;
    font-size: 13px;
}

.simple-footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: #718096;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #A0AEC0;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .card-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }

    .content-section .container {
        flex-direction: column;
    }

    .hero-title {
        font-size: 36px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .tech-nav {
        display: none;
    }

    .tech-hero {
        min-height: 500px;
        padding: 80px 0 120px;
    }

    .hero-title {
        font-size: 30px;
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
    }

    .hero-partners {
        flex-wrap: wrap;
    }

    .section-heading {
        font-size: 28px;
    }

    .simple-footer .container {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .tech-nav a.active {
        color: #fff;
        background: rgba(255, 255, 255, 0.2);
        font-weight: 600;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .header-actions .btn-text {
        color: rgba(255, 255, 255, 0.9);
        /* Increased opacity */
        font-size: 14px;
        font-weight: 500;
        text-decoration: none;
        padding: 8px 12px;
    }

    /* ... existing styles ... */

    /* --- Language Switcher (Select) --- */
    .lang-switcher {
        position: relative;
        margin-left: 10px;
        display: flex;
        align-items: center;
        background: rgba(0, 0, 0, 0.2);
        /* Darker background for contrast */
        border: 1px solid rgba(255, 255, 255, 0.3);
        /* Lighter border */
        border-radius: 20px;
        padding: 0 10px;
        transition: all 0.2s;
        backdrop-filter: blur(4px);
        /* Glassmorphism */
    }

    .lang-switcher:hover {
        background: rgba(0, 0, 0, 0.4);
        border-color: rgba(255, 255, 255, 0.6);
    }

    .lang-icon {
        font-size: 14px;
        margin-right: 4px;
        pointer-events: none;
        filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
        /* Shadow for icon visibility */
    }

    .lang-select {
        background: transparent;
        border: none;
        color: #fff;
        /* White text for header */
        font-size: 13px;
        font-weight: 500;
        font-family: inherit;
        cursor: pointer;
        outline: none;
        padding: 6px 0;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        width: 100%;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
        /* Shadow for text visibility */
    }

    .lang-select option {
        color: #333;
        /* Dark text for dropdown options */
        background: #fff;
        /* White background for dropdown */
        padding: 10px;
    }

    /* Separator */
    .sep {
        margin: 0 5px;
        font-size: 12px;
    }
}

/* --- Hero Slider --- */
.carousel-container {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-color: #0c1524;
    /* Fallback color */
    z-index: 0;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-bg .bg-overlay {
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(180deg,
            rgba(10, 22, 40, 0.4) 0%,
            rgba(10, 22, 40, 0.2) 50%,
            rgba(10, 22, 40, 0.6) 100%);
}

/* Slider Controls */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn svg {
    width: 24px;
    height: 24px;
    stroke-width: 2.5;
}

.carousel-btn.prev {
    left: 40px;
}

.carousel-btn.next {
    right: 40px;
}

@media (max-width: 768px) {
    .carousel-btn {
        width: 36px;
        height: 36px;
    }

    .carousel-btn.prev {
        left: 10px;
    }

    .carousel-btn.next {
        right: 10px;
    }
}