/* Premium Tech Upgrade - Hovogen */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700&family=Outfit:wght@300;400;500;700&display=swap');

:root {
    /* Refined Palette based on #0ABAB5 */
    --tech-primary: #0ABAB5;
    --tech-primary-dark: #008B8B;
    --tech-accent: #00E5FF;
    /* Brighter cyan for glows */
    --tech-dark: #0F172A;
    /* Deep Navy for contrast */
    --tech-darker: #020617;
    --tech-light: #F8FAFC;
    --tech-grey: #64748B;

    /* Layout */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: 1px solid rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);

    /* Effects */
    --glow-primary: 0 0 20px rgba(10, 186, 181, 0.4);
    --card-hover-transform: translateY(-5px);
}

body {
    font-family: 'Outfit', 'Microsoft YaHei', sans-serif;
    color: var(--tech-dark);
    background-color: #F0F4F8;
    /* Very subtle cool grey */
    -webkit-font-smoothing: antialiased;
}

/* 1. Global Typography & Elements */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.section-title {
    font-size: 2.5rem;
    color: var(--tech-dark);
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--tech-primary), transparent);
    border-radius: 2px;
}

.solution-subtitle,
.about-subtitle {
    display: block;
    font-family: 'Orbitron', sans-serif;
    /* Tech font for labels */
    color: var(--tech-primary);
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    text-align: center;
}

/* 2. Advanced Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important;
    transition: all 0.3s ease;
}

.nav-link {
    font-weight: 500;
    color: var(--tech-dark) !important;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--tech-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    background: transparent !important;
    color: var(--tech-primary) !important;
}

/* Search Box Upgrade */
.search-box {
    background: #f1f5f9;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.search-box:focus-within {
    background: #fff;
    border-color: var(--tech-primary);
    box-shadow: 0 0 0 3px rgba(10, 186, 181, 0.1);
}

/* 3. Hero Carousel Refinement */
.carousel {
    height: 100vh !important;
    /* Force full screen */
    max-height: 1000px !important;
}

.carousel-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Stronger Gradient overlay for better text readability and tech vibe */
    background: linear-gradient(to right, rgba(2, 6, 23, 0.8) 0%, rgba(2, 6, 23, 0.4) 50%, rgba(2, 6, 23, 0.1) 100%) !important;
    z-index: 1;
}

.carousel-caption {
    z-index: 10 !important;
    bottom: 30% !important;
    /* Move up slightly */
    left: 8% !important;
    right: auto !important;
    transform: none !important;
    text-align: left !important;
    max-width: 800px;
    padding-bottom: 0;
}

.carousel-caption h2 {
    font-family: 'Orbitron', 'Microsoft YaHei', sans-serif !important;
    font-size: 4rem !important;
    font-weight: 700 !important;
    color: #fff !important;
    text-shadow: 0 0 20px rgba(10, 186, 181, 0.6) !important;
    margin-bottom: 1.5rem !important;
    line-height: 1.1 !important;
    opacity: 0;
    animation: slideInLeft 1s ease-out forwards 0.5s;
}

.carousel-caption p {
    font-size: 1.5rem !important;
    color: #e2e8f0 !important;
    text-shadow: none !important;
    margin-bottom: 2.5rem !important;
    opacity: 0;
    animation: fadeIn 1s ease-out forwards 1s;
}

@keyframes slideInLeft {
    from {
        transform: translateX(-50px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.pulse-btn {
    backdrop-filter: blur(4px);
    background: linear-gradient(135deg, var(--tech-primary) 0%, #009688 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 0 20px rgba(10, 186, 181, 0.6) !important;
    padding: 18px 48px !important;
    font-size: 1.1rem !important;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeIn 1s ease-out forwards 1.2s;
}

.pulse-btn:hover {
    transform: translateY(-3px) scale(1.02) !important;
    box-shadow: 0 0 30px rgba(10, 186, 181, 0.8) !important;
}

/* 4. Solution Section - Tech Cards */
.solution-section {
    background: #fff;
    position: relative;
    overflow: hidden;
}

/* Background decoration */
.solution-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(10, 186, 181, 0.05) 0%, transparent 70%);
    z-index: 0;
}

.solution-container {
    background: transparent;
    box-shadow: none;
    padding-top: 2rem;
}

.solution-tabs {
    background: transparent;
    padding-right: 2rem;
}

.solution-tab-item {
    padding: 1.5rem;
    border-left: 2px solid #e2e8f0;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
    border-radius: 0 8px 8px 0;
}

.solution-tab-item h3 {
    font-size: 1.25rem;
    color: var(--tech-dark);
}

.solution-tab-item.active {
    border-left: 4px solid var(--tech-primary);
    background: linear-gradient(90deg, rgba(10, 186, 181, 0.05) 0%, transparent 100%);
    padding-left: 2rem;
}

.solution-tab-item.active h3 {
    color: var(--tech-primary);
}

.solution-image {
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

/* 5. About Section - Data Cards */
.about-hero-section {
    background: #f8fafc;
}

.stat-card {
    background: #fff !important;
    border: 1px solid #f1f5f9;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03) !important;
    border-radius: 16px;
    padding: 2rem !important;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(10, 186, 181, 0.1) !important;
    border-color: var(--tech-primary);
}

.stat-number {
    font-family: 'Orbitron', sans-serif;
    color: var(--tech-primary) !important;
    font-weight: 700;
}

/* 6. News Redesign - Glass Cards */
.news-card-redesign {
    background: #fff;
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.news-card-redesign:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: translateY(-5px);
}

.news-img-container {
    height: 200px;
    overflow: hidden;
}

.news-img-redesign {
    transition: transform 0.5s ease;
}

.news-card-redesign:hover .news-img-redesign {
    transform: scale(1.05);
}

.news-title-link h3 {
    font-size: 1.1rem;
    line-height: 1.4;
    color: var(--tech-dark);
}

.news-date {
    color: var(--tech-primary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

/* 7. Footer */
.footer {
    background: var(--tech-darker);
    border-top: 4px solid var(--tech-primary);
}

.footer-info h3 {
    color: #fff;
    font-family: 'Outfit', sans-serif;
}

/* 8. Utility */
.btn-primary {
    background: linear-gradient(135deg, var(--tech-primary) 0%, var(--tech-primary-dark) 100%);
    box-shadow: 0 4px 14px rgba(10, 186, 181, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(10, 186, 181, 0.5);
    transform: translateY(-2px);
}