/* ==================== Reset & Base ==================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --navy-900: #0A1E3F;
    --navy-800: #0F2A5C;
    --navy-700: #163B7C;
    --blue-600: #1A5BB5;
    --blue-500: #2575D8;
    --blue-400: #4A9BF0;
    --blue-300: #7FB8F5;
    --blue-100: #E3F0FC;
    --blue-50: #F0F7FE;
    --ocean: #0E4D92;
    --ocean-light: #1E6BBA;
    --sky: #E8F4FD;

    --white: #FFFFFF;
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1E293B;
    --gray-900: #0F172A;

    --text-primary: #0F1B2D;
    --text-secondary: #475569;
    --text-light: #94A3B8;
    --text-white: #FFFFFF;

    /* Typography */
    --font-heading: 'DM Sans', 'Noto Sans SC', sans-serif;
    --font-body: 'Inter', 'Noto Sans SC', sans-serif;

    /* Spacing */
    --section-padding: 100px 0;
    --container-max: 1280px;
    --container-padding: 24px;

    /* Effects */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-sm: 0 1px 3px rgba(10, 30, 63, 0.08);
    --shadow-md: 0 4px 20px rgba(10, 30, 63, 0.1);
    --shadow-lg: 0 12px 40px rgba(10, 30, 63, 0.12);
    --shadow-xl: 0 24px 60px rgba(10, 30, 63, 0.15);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

section[id] {
    scroll-margin-top: 80px;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ==================== Navigation ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    transition: all var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
    border-bottom-color: transparent;
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-decoration: none;
    gap: 12px;
}

.nav-logo-img {
    height: 42px;
    width: auto;
    display: block;
    transition: transform var(--transition);
}

.nav-logo:hover .nav-logo-img {
    transform: scale(1.05);
}

.logo-text-wrap {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: var(--navy-900);
    letter-spacing: 1px;
    line-height: 1;
}

.logo-sub {
    font-size: 11px;
    color: var(--gray-500);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 4px;
}

.nav-link {
    display: block;
    padding: 8px 16px;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--blue-600);
    background: var(--blue-50);
}

.nav-link.active {
    color: var(--blue-600);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 2px;
    background: var(--blue-600);
    border-radius: 2px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--navy-900);
    border-radius: 2px;
    transition: all var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ==================== Hero ==================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 72px;
}

/* Real Yantian Port photography is the primary hero medium. */
.hero-particles { display: none; }

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0A1E3F 0%, #0F2A5C 30%, #163B7C 60%, #1A5BB5 100%);
    z-index: 1;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(38, 117, 216, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(74, 155, 240, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(127, 184, 245, 0.1) 0%, transparent 60%);
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='grid' width='60' height='60' patternUnits='userSpaceOnUse'%3E%3Cpath d='M 60 0 L 0 0 0 60' fill='none' stroke='rgba(255,255,255,0.03)' stroke-width='1'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='60' height='60' fill='url(%23grid)' /%3E%3C/svg%3E");
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 0%, transparent 60%, rgba(10, 30, 63, 0.5) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    width: 100%;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
}

.tag-dot {
    width: 6px;
    height: 6px;
    background: var(--blue-400);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.title-line {
    display: block;
    color: var(--white);
}

.title-accent {
    background: linear-gradient(135deg, #4A9BF0 0%, #7FB8F5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.75);
    max-width: 600px;
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-values {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.value-chip {
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 100px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    font-weight: 500;
    backdrop-filter: blur(10px);
    transition: all var(--transition);
}

.value-chip:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ==================== Buttons ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--blue-500);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(37, 117, 216, 0.4);
}

.btn-primary:hover {
    background: var(--blue-600);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 117, 216, 0.5);
}

.hero .btn-outline {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.hero .btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 40px;
    font-size: 16px;
}

.contact .btn-outline {
    background: var(--white);
    color: var(--blue-600);
    border: 1px solid var(--gray-200);
}

.contact .btn-outline:hover {
    background: var(--gray-50);
    border-color: var(--gray-300);
}

/* ==================== Hero Scroll ==================== */
.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.3), transparent);
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ==================== Stats Bar ==================== */
.stats-bar {
    background: var(--navy-900);
    padding: 40px 0;
    position: relative;
    z-index: 10;
}

.stats-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.stat-item {
    flex: 1;
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}

.stat-suffix {
    font-size: 0.6em;
    color: var(--blue-400);
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 8px;
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
}

/* ==================== Section Header ==================== */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--blue-500);
    text-transform: uppercase;
    margin-bottom: 16px;
    padding: 4px 16px;
    background: var(--blue-50);
    border-radius: 100px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
}

.section-header-light .section-title {
    color: var(--white);
}

.section-header-light .section-desc {
    color: rgba(255, 255, 255, 0.7);
}

.section-header-light .section-eyebrow {
    background: rgba(74, 155, 240, 0.15);
    color: var(--blue-300);
}

/* ==================== About ==================== */
.about {
    padding: var(--section-padding);
    background: var(--gray-50);
}

/* Core Values Strip */
.values-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 50%, var(--blue-600) 100%);
    border-radius: var(--radius-xl);
    padding: 28px 40px;
    margin-bottom: 56px;
    position: relative;
    overflow: hidden;
}

.values-strip::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(74, 155, 240, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.values-strip::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -5%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(37, 117, 216, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.values-strip-label {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-right: 32px;
    white-space: nowrap;
    position: relative;
    z-index: 1;
}

.values-strip-items {
    display: flex;
    align-items: center;
    gap: 0;
    position: relative;
    z-index: 1;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 20px;
    transition: all var(--transition);
}

.value-item:hover .value-icon {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

.value-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-300);
    transition: all var(--transition);
}

.value-name {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 1px;
}

.value-divider {
    width: 1px;
    height: 32px;
    background: rgba(255, 255, 255, 0.15);
}

/* About meta tags */
.about-meta {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.meta-tag {
    display: inline-flex;
    align-items: center;
    padding: 5px 14px;
    background: var(--blue-50);
    color: var(--blue-600);
    font-size: 13px;
    font-weight: 600;
    border-radius: 100px;
    border: 1px solid var(--blue-100);
}

/* Mission quote */
.quote-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--blue-300);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.quote-sub {
    font-size: 15px !important;
    color: var(--blue-300) !important;
    font-weight: 500;
    margin-bottom: 16px !important;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 48px;
    align-items: start;
}

.about-heading {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.about-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 32px;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--blue-50);
    color: var(--blue-500);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.about-feature:hover .feature-icon {
    background: var(--blue-500);
    color: var(--white);
    transform: scale(1.05);
}

.feature-text h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.feature-text p {
    font-size: 13px;
    color: var(--text-light);
}

.about-side {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-100);
}

.card-header h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--blue-100);
}

.card-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.card-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
    padding: 10px 14px;
    background: var(--gray-50);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.card-item:hover {
    background: var(--blue-50);
    color: var(--blue-600);
    transform: translateX(4px);
}

.item-icon {
    font-size: 18px;
}

.about-quote {
    background: linear-gradient(135deg, var(--navy-800) 0%, var(--blue-600) 100%);
    border-radius: var(--radius-lg);
    padding: 28px;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.about-quote::before {
    content: '"';
    position: absolute;
    top: -10px;
    right: 20px;
    font-size: 80px;
    font-family: Georgia, serif;
    color: rgba(255, 255, 255, 0.15);
    line-height: 1;
}

.about-quote p {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.about-quote span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

/* ==================== Services ==================== */
.services {
    padding: var(--section-padding);
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--blue-500), var(--blue-400));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.service-card:hover {
    border-color: transparent;
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: all var(--transition);
}

.service-icon-1 { background: linear-gradient(135deg, #E3F0FC, #F0F7FE); color: var(--blue-500); }
.service-icon-2 { background: linear-gradient(135deg, #DBEAFE, #EFF6FF); color: var(--blue-600); }
.service-icon-3 { background: linear-gradient(135deg, #E0F2FE, #F0F9FF); color: var(--ocean); }
.service-icon-4 { background: linear-gradient(135deg, #E3F0FC, #F0F7FE); color: var(--blue-500); }
.service-icon-5 { background: linear-gradient(135deg, #DBEAFE, #EFF6FF); color: var(--blue-600); }
.service-icon-6 { background: linear-gradient(135deg, #E0F2FE, #F0F9FF); color: var(--ocean); }

.service-card:hover .service-icon {
    transform: scale(1.05) rotate(-5deg);
}

.service-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.service-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.service-tags span {
    padding: 4px 12px;
    background: var(--gray-100);
    color: var(--gray-600);
    font-size: 12px;
    font-weight: 500;
    border-radius: 100px;
    transition: all var(--transition);
}

.service-card:hover .service-tags span {
    background: var(--blue-50);
    color: var(--blue-600);
}

/* ==================== Digital Solutions ==================== */
.digital {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
    position: relative;
    overflow: hidden;
}

.digital::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(37, 117, 216, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(74, 155, 240, 0.08) 0%, transparent 50%);
}

.digital .container {
    position: relative;
    z-index: 1;
}

.digital-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.digital-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(74, 155, 240, 0.15);
    border-radius: var(--radius-lg);
    padding: 36px;
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.digital-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--blue-500), var(--blue-300));
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.digital-card:hover {
    border-color: rgba(74, 155, 240, 0.4);
    box-shadow: 0 12px 40px rgba(37, 117, 216, 0.2), 0 4px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-4px);
}

.digital-card:hover::before {
    height: 6px;
}

.digital-card-content {
    position: relative;
    z-index: 1;
}

.digital-card-visual {
    position: relative;
    z-index: 1;
}

.digital-card-visual::after {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(74, 155, 240, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.digital-card-large {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
}

.digital-badge {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(74, 155, 240, 0.15);
    color: var(--blue-300);
    font-size: 12px;
    font-weight: 600;
    border-radius: 100px;
    margin-bottom: 16px;
}

.digital-badge-2 { background: #DCFCE7; color: #16A34A; }
.digital-badge-3 { background: #F3E8FF; color: #9333EA; }

.digital-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 12px;
}

.digital-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 20px;
}

.digital-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.digital-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
}

.check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: rgba(74, 155, 240, 0.2);
    color: var(--blue-300);
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.digital-card-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mockup-window {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(74, 155, 240, 0.1);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.mockup-bar {
    height: 32px;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    padding: 0 12px;
    gap: 6px;
    border-bottom: 1px solid var(--gray-200);
}

.mockup-bar span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gray-300);
}

.mockup-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mockup-row {
    height: 8px;
    background: var(--gray-100);
    border-radius: 4px;
    overflow: hidden;
}

.mockup-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--blue-500), var(--blue-400));
    border-radius: 4px;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.mockup-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 8px 0;
}

.mockup-card {
    height: 48px;
    background: var(--gray-100);
    border-radius: 6px;
    border: 1px solid var(--gray-200);
}

/* ==================== Network ==================== */
.network {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
    position: relative;
    overflow: hidden;
}

.network-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.route-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: center;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.route-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(180deg, transparent, var(--blue-50));
    transition: height var(--transition);
    z-index: 0;
}

.route-card:hover {
    border-color: var(--blue-300);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.route-card:hover::after {
    height: 100%;
}

.route-card > * {
    position: relative;
    z-index: 1;
}

.route-icon {
    font-size: 36px;
    margin-bottom: 16px;
}

.route-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.route-sub {
    font-size: 13px;
    color: var(--blue-500);
    font-weight: 500;
    margin-bottom: 12px;
}

.route-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.network-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 40px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
}

.net-stat {
    text-align: center;
}

.net-stat-num {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--blue-500);
    line-height: 1;
}

.net-stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 8px;
}

/* ==================== Network Map Visualization ==================== */
.network .section-header {
    position: relative;
    z-index: 2;
}

.network-canvas-wrapper {
    position: relative;
    z-index: 2;
    margin-bottom: 48px;
}

.network-canvas-bg {
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 1;
    max-height: 480px;
    background: radial-gradient(ellipse at center, rgba(37, 117, 216, 0.08) 0%, transparent 70%);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(74, 155, 240, 0.25);
}

.world-map-bg {
    opacity: 0.9;
}

.world-map-bg .continent {
    fill: rgba(74, 155, 240, 0.12);
    stroke: rgba(74, 155, 240, 0.5);
    stroke-width: 1.0;
}

.network-map-dots {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.map-port {
    position: absolute;
    width: 8px;
    height: 8px;
    transform: translate(-50%, -50%);
    z-index: 3;
}

.map-port::after {
    content: attr(data-port);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    color: var(--text-secondary);
    white-space: nowrap;
    margin-bottom: 4px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.map-port:hover::after {
    opacity: 1;
}

.port-pulse {
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--blue-500);
    box-shadow: 0 0 8px rgba(37, 117, 216, 0.5);
    position: relative;
}

.port-pulse::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(37, 117, 216, 0.3);
    animation: portRipple 2s ease-out infinite;
}

@keyframes portRipple {
    0% { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(2.5); opacity: 0; }
}

.network-routes {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.route-line {
    stroke-dasharray: 8 4;
    animation: routeDash 30s linear infinite;
    opacity: 0.6;
}

@keyframes routeDash {
    to { stroke-dashoffset: -1000; }
}

.hub-ring {
    animation: hubPulse 2s ease-in-out infinite;
}

@keyframes hubPulse {
    0%, 100% { r: 12; opacity: 0.4; }
    50% { r: 18; opacity: 0.1; }
}

.hub-core {
    filter: drop-shadow(0 0 6px rgba(37, 117, 216, 0.6));
}

.network-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 24px;
    padding: 16px 24px;
    margin-top: 16px;
    background: rgba(15, 30, 60, 0.8);
    border: 1px solid rgba(74, 155, 240, 0.2);
    border-radius: var(--radius-md);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.legend-dot.na { background: #2575D8; }
.legend-dot.eu { background: #22C55E; }
.legend-dot.asia { background: #D97706; }
.legend-dot.me { background: #7C3AED; }
.legend-dot.au { background: #DB2777; }
.legend-dot.sa { background: #06B6D4; }
.legend-dot.af { background: #DC2626; }

/* ==================== Process ==================== */
.process {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
}

.process-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px 32px;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: all var(--transition);
    min-width: 140px;
}

.process-step:hover {
    background: var(--blue-50);
    border-color: var(--blue-300);
    transform: translateY(-4px);
}

.step-number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--blue-500);
    line-height: 1;
}

.step-content {
    text-align: center;
}

.step-content h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.step-content p {
    font-size: 13px;
    color: var(--text-secondary);
}

.process-connector {
    width: 40px;
    height: 2px;
    background: rgba(255, 255, 255, 0.25);
    position: relative;
}

.process-connector::after {
    content: '';
    position: absolute;
    right: -4px;
    top: -3px;
    width: 8px;
    height: 8px;
    border-right: 2px solid rgba(255, 255, 255, 0.25);
    border-top: 2px solid rgba(255, 255, 255, 0.25);
    transform: rotate(45deg);
}

.process-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    color: var(--blue-300);
    padding: 16px 32px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 100px;
    max-width: fit-content;
    margin: 0 auto;
}

.note-icon {
    color: var(--blue-500);
    display: flex;
    align-items: center;
}

/* ==================== Partners ==================== */
.partners {
    padding: var(--section-padding);
    background: var(--white);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 64px;
}

.partner-card {
    display: block;
    text-decoration: none;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 28px 16px;
    text-align: center;
    transition: all var(--transition);
    cursor: pointer;
}

.partner-card:hover {
    border-color: var(--blue-300);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    text-decoration: none;
}

.partner-card:hover .partner-name {
    color: var(--blue-500);
}

.partner-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--navy-900);
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.partner-full {
    font-size: 13px;
    color: var(--text-secondary);
}

.partners-advantages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    padding: 48px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
}

.advantage {
    text-align: center;
}

.adv-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: var(--blue-50);
    color: var(--blue-500);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.advantage:hover .adv-icon {
    background: var(--blue-500);
    color: var(--white);
    transform: scale(1.05);
}

.advantage h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.advantage p {
    font-size: 13px;
    color: var(--text-secondary);
}

/* ==================== Team ==================== */
.team {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
}

.team-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.team-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    gap: 20px;
    height: 100%;
}

.team-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    height: 100%;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-image-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: white;
    padding: 24px 16px 12px;
    font-size: 14px;
    font-weight: 600;
}

.team-side h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.team-side > p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.team-badge {
    display: inline-block;
    background: rgba(74, 155, 240, 0.15);
    color: var(--blue-300);
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.team-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.team-feature-box {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 20px;
    text-align: center;
    transition: all var(--transition);
}

.team-feature-box:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.team-feature-icon {
    font-size: 24px;
    margin-bottom: 8px;
}

.team-feature-box h5 {
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 4px;
}

.team-feature-box p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

/* ==================== Contact ==================== */
.contact {
    padding: var(--section-padding);
    background: linear-gradient(135deg, #0a1628, #1e3a5f);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 32px;
    align-items: stretch;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-card {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: 28px;
    border: 1px solid var(--gray-100);
    transition: all var(--transition);
}

.contact-card:hover {
    background: var(--blue-50);
    border-color: var(--blue-200);
}

.contact-card-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--blue-500);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.contact-card-text {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.contact-card-sub {
    font-size: 13px;
    color: var(--text-light);
}

.contact-cta {
    display: flex;
}

.cta-box {
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 40%, var(--blue-600) 100%);
    border-radius: var(--radius-xl);
    padding: 48px;
    color: var(--white);
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(74, 155, 240, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-box::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(37, 117, 216, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.cta-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
}

.cta-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}

.cta-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.cta-feature .check-icon {
    background: rgba(74, 155, 240, 0.3);
    color: var(--blue-300);
}

/* ==================== Footer ==================== */
.footer {
    background: var(--navy-900);
    color: rgba(255, 255, 255, 0.7);
    padding: 64px 0 32px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 64px;
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.footer-logo-img {
    height: 80px;
    width: auto;
    display: block;
    margin-bottom: 16px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 8px;
}

.footer-brand-name {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    margin-bottom: 4px;
}

.footer-brand-en {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 12px;
}

.footer-tagline {
    font-size: 14px;
    color: var(--blue-400);
    font-weight: 500;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 32px;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color var(--transition);
}

.footer-col a:hover {
    color: var(--blue-400);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-copyright {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
}

.footer-icp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
    margin: 0;
}
.footer-icp a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.footer-icp a:hover {
    color: rgba(255, 255, 255, 0.95);
}
.footer-sep {
    color: rgba(255, 255, 255, 0.25);
    user-select: none;
}
.beian-icon {
    width: 14px;
    height: 14px;
    vertical-align: middle;
    margin-right: 2px;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom-color: rgba(255, 255, 255, 0.6);
}

/* ==================== Background Music Player (Floating Button) ==================== */
.music-floating-btn {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 0;
    background: var(--white);
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
    cursor: move;
    user-select: none;
    /* 防止触摸设备上的默认行为 */
    -webkit-touch-callout: none;
    -webkit-user-select: none;
}

.music-floating-btn:hover {
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.22);
}

.music-toggle-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
    border: none;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.music-toggle-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(37, 117, 216, 0.4);
}

.music-toggle-btn:active {
    transform: scale(0.95);
}

.music-toggle-btn.playing {
    background: linear-gradient(135deg, var(--blue-600), var(--blue-700));
    animation: musicPulse 2s ease-in-out infinite;
}

.music-close-btn {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.15);
    border: none;
    color: var(--white);
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    position: absolute;
    top: -6px;
    right: -6px;
}

.music-floating-btn:hover .music-close-btn {
    display: flex;
}

.music-close-btn:hover {
    background: rgba(220, 38, 38, 0.9);
    transform: scale(1.1);
}

@keyframes musicPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(37, 117, 216, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(37, 117, 216, 0); }
}

@media (max-width: 400px) {
    .music-floating-btn {
        bottom: 16px;
        left: 16px;
    }
}

/* ==================== Smart Customer Service ==================== */
.chat-widget {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 1001;
    font-family: var(--font-body);
}
.chat-toggle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 117, 216, 0.4);
    transition: all var(--transition);
    position: relative;
}
.chat-toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 24px rgba(37, 117, 216, 0.5);
}
.chat-toggle .chat-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 18px;
    height: 18px;
    background: #EF4444;
    border-radius: 50%;
    border: 2px solid var(--white);
    animation: chatBadgePulse 2s infinite;
}
@keyframes chatBadgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}
.chat-window {
    position: absolute;
    bottom: 72px;
    right: 0;
    width: 380px;
    max-width: calc(100vw - 64px);
    max-height: 560px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 40px rgba(10, 30, 63, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.chat-window.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    visibility: visible;
}
.chat-header {
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
    color: var(--white);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.chat-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}
.chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue-400), var(--blue-500));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}
.chat-header-title h4 {
    font-size: 15px;
    font-weight: 700;
    margin: 0;
}
.chat-header-title p {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    margin: 0;
}
.chat-close {
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all var(--transition);
}
.chat-close:hover {
    color: var(--white);
    background: rgba(255,255,255,0.1);
}
.chat-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: var(--gray-50);
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.chat-message {
    display: flex;
    gap: 10px;
    max-width: 85%;
}
.chat-message.bot {
    align-self: flex-start;
}
.chat-message.user {
    align-self: flex-end;
    flex-direction: row-reverse;
}
.chat-message-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}
.chat-message.bot .chat-message-avatar {
    background: linear-gradient(135deg, var(--blue-400), var(--blue-500));
    color: var(--white);
}
.chat-message.user .chat-message-avatar {
    background: var(--gray-200);
    color: var(--gray-600);
}
.chat-message-bubble {
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.6;
    word-break: break-word;
}
.chat-message.bot .chat-message-bubble {
    background: var(--white);
    color: var(--text-primary);
    border: 1px solid var(--gray-200);
    border-bottom-left-radius: 4px;
}
.chat-message.user .chat-message-bubble {
    background: var(--blue-500);
    color: var(--white);
    border-bottom-right-radius: 4px;
}
.chat-quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}
.chat-quick-reply {
    padding: 6px 14px;
    background: var(--white);
    border: 1px solid var(--blue-200);
    color: var(--blue-600);
    font-size: 13px;
    font-weight: 500;
    border-radius: 100px;
    cursor: pointer;
    transition: all var(--transition);
}
.chat-quick-reply:hover {
    background: var(--blue-500);
    color: var(--white);
    border-color: var(--blue-500);
}
.chat-footer {
    padding: 12px 16px;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    display: flex;
    gap: 8px;
    align-items: center;
}
.chat-input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--gray-200);
    border-radius: 100px;
    font-size: 14px;
    outline: none;
    transition: all var(--transition);
    font-family: var(--font-body);
}
.chat-input:focus {
    border-color: var(--blue-300);
    box-shadow: 0 0 0 3px rgba(37, 117, 216, 0.1);
}
.chat-send {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--blue-500);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    flex-shrink: 0;
}
.chat-send:hover {
    background: var(--blue-600);
    transform: scale(1.05);
}
.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 12px 16px;
    align-self: flex-start;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    border-bottom-left-radius: 4px;
}
.typing-indicator span {
    width: 8px;
    height: 8px;
    background: var(--blue-400);
    border-radius: 50%;
    animation: typingBounce 1.4s infinite ease-in-out both;
}
.typing-indicator span:nth-child(1) { animation-delay: -0.32s; }
.typing-indicator span:nth-child(2) { animation-delay: -0.16s; }
@keyframes typingBounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

@media (max-width: 480px) {
    .chat-widget { bottom: 16px; right: 16px; }
    .chat-window { width: calc(100vw - 32px); max-height: 480px; }
}
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: var(--blue-500);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--blue-600);
    transform: translateY(-4px);
}

/* ==================== Animations ==================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== Responsive ==================== */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .digital-card-large {
        grid-column: span 2;
        grid-template-columns: 1fr;
    }
    
    .digital-card-visual {
        display: none;
    }
    
    .partners-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .partners-advantages {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 64px 0;
    }
    
    .nav-menu {
        display: none;
        position: fixed;
        top: 72px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 16px;
        gap: 4px;
        box-shadow: var(--shadow-lg);
        border-bottom: 1px solid var(--gray-200);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .stats-grid {
        flex-direction: column;
        gap: 24px;
    }
    
    .stat-divider {
        width: 60px;
        height: 1px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .digital-grid {
        grid-template-columns: 1fr;
    }
    
    .digital-card-large {
        grid-column: span 1;
    }
    
    .network-grid {
        grid-template-columns: 1fr;
    }
    
    .network-stats {
        grid-template-columns: repeat(2, 1fr);
        padding: 24px;
    }
    
    .process-flow {
        flex-direction: column;
    }
    
    .process-connector {
        width: 2px;
        height: 24px;
        transform: rotate(90deg);
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .partners-advantages {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        padding: 32px;
    }
    
    .footer-links {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 24px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }

    .cta-box {
        padding: 32px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .values-strip {
        flex-direction: column;
        gap: 20px;
        padding: 24px;
    }

    .values-strip-label {
        margin-right: 0;
        margin-bottom: 4px;
    }

    .values-strip-items {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    .value-item {
        padding: 0 12px;
    }

    .value-divider {
        display: none;
    }

    /* Team section responsive */
    .team-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .team-images {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr;
        gap: 16px;
        min-height: 280px;
    }

    .team-image {
        border-radius: var(--radius-md);
    }

    .team-side {
        padding: 0;
    }

    .team-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .team-feature-box {
        padding: 16px;
    }

    .team-feature-box h5 {
        font-size: 13px;
    }

    .team-feature-box p {
        font-size: 11px;
    }

    /* Hero section responsive */
    .hero h1 {
        font-size: 2rem;
    }

    .hero .lead {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .hero-stat-number {
        font-size: 2rem;
    }

    .hero-stat-label {
        font-size: 0.8rem;
    }

    /* Section typography responsive */
    .section-title {
        font-size: 1.75rem;
    }

    .section-desc {
        font-size: 0.95rem;
    }

    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    /* Digital cards responsive */
    .digital-card {
        padding: 24px;
    }

    .digital-title {
        font-size: 1.25rem;
    }

    .digital-features li {
        font-size: 13px;
    }

    .digital-card-large {
        grid-template-columns: 1fr;
    }

    .digital-card-visual {
        display: none;
    }

    /* Process responsive */
    .process-step {
        padding: 20px;
        min-width: auto;
    }

    .process-step-title {
        font-size: 14px;
    }

    .process-step-desc {
        font-size: 12px;
    }

    .process-number {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .process-connector {
        width: 2px;
        height: 24px;
        transform: rotate(90deg);
    }

    .process-note {
        font-size: 12px;
        padding: 12px 24px;
    }

    /* Network responsive */
    .network-canvas-wrapper {
        padding: 16px;
    }

    .network-legend {
        gap: 12px 16px;
        padding: 12px 16px;
    }

    .legend-item {
        font-size: 12px;
    }

    /* About responsive */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about-image-wrapper {
        order: -1;
    }

    .about-image-main {
        aspect-ratio: 16/9;
    }

    .about-features {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .about-feature-item {
        padding: 16px;
    }

    .about-feature-item h4 {
        font-size: 14px;
    }

    .about-feature-item p {
        font-size: 12px;
    }

    /* Services responsive */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        padding: 28px;
    }

    .service-card h3 {
        font-size: 1.15rem;
    }

    .service-card p {
        font-size: 14px;
    }

    /* Contact responsive */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .contact-card {
        padding: 24px;
    }

    .contact-card-title {
        font-size: 1.1rem;
    }

    .qr-section {
        flex-direction: column;
        align-items: center;
    }

    .qr-card {
        max-width: 200px;
    }
}

/* 2026 density and mobile media pass */
.values-strip {
    padding: 20px 32px;
    margin-bottom: 32px;
}

.services,
.partners {
    padding-top: 72px;
    padding-bottom: 72px;
}

.services-grid {
    gap: 18px;
}

.service-card {
    padding: 24px;
}

.service-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 18px;
}

.partners-grid {
    gap: 14px;
    margin-bottom: 40px;
}

.partner-card {
    min-height: 96px;
    padding: 20px 12px;
}

.contact-website {
    margin-top: 8px;
}

.contact-website a {
    color: var(--blue-500);
    font-size: 0.92rem;
    text-decoration: none;
    word-break: break-word;
}

.contact-website a:hover {
    text-decoration: underline;
}

.qr-card-optional {
    display: none;
}

.qr-card-optional.is-configured {
    display: block;
}

.contact-info .qr-card-optional {
    display: none !important;
}

.footer-brand-matrix {
    display: block;
    padding: 22px 0 24px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.footer-brand-matrix[hidden] {
    display: none !important;
}

.footer-brand-matrix-heading .section-eyebrow {
    color: var(--blue-300);
}

.footer-brand-matrix-heading h3 {
    display: inline-block;
    margin: 10px 0 0 12px;
    color: var(--white);
    font-size: 16px;
    line-height: 1.45;
}

.footer-brand-matrix-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: 10px;
    margin-top: 12px;
}

.footer-brand-matrix .qr-card-optional.is-configured {
    display: flex;
}

.footer-brand-matrix .qr-card {
    width: 140px !important;
    flex: 0 0 140px;
    min-height: 0;
    padding: 10px 8px;
    border-color: rgba(148, 193, 255, .2);
    background: rgba(255, 255, 255, .06) !important;
    color: rgba(255, 255, 255, .8) !important;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    box-sizing: border-box;
}

.footer-brand-matrix .qr-image {
    width: 68px;
    height: 68px;
    background: #fff;
}

.footer-brand-matrix .qr-card h4 {
    color: var(--white);
    margin-top: 6px;
    font-size: 12px;
}

.footer-brand-matrix .qr-card p {
    color: rgba(255, 255, 255, .55);
    font-size: 11px;
    line-height: 1.35;
}

.qr-image {
    aspect-ratio: 1;
    object-fit: contain;
}

.video-player video {
    background: #071529;
}

@media (max-width: 768px) {
    .values-strip {
        padding: 18px 14px;
        margin-bottom: 28px;
    }

    .values-strip-items {
        gap: 8px 4px;
    }

    .value-item {
        padding: 0 7px;
        gap: 6px;
    }

    .value-icon {
        width: 32px;
        height: 32px;
    }

    .value-icon svg {
        width: 18px;
        height: 18px;
    }

    .value-name {
        font-size: 15px;
    }

    .services,
    .partners {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .service-card {
        padding: 20px;
    }

    .partners-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin-bottom: 28px;
    }

    .partner-card {
        min-height: 82px;
        padding: 16px 8px;
    }

    .partner-name {
        font-size: 1rem;
    }

    .partner-full {
        font-size: 12px;
    }

    .hero-values {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        width: min(100%, 360px);
    }

    .value-chip {
        padding: 9px 10px;
        text-align: center;
        font-size: 13px;
    }

    .qr-section {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .footer-brand-matrix {
        padding: 20px 0;
    }

    .footer-brand-matrix-heading h3 {
        display: block;
        margin: 8px 0 0;
        font-size: 15px;
    }

    .footer-brand-matrix-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-brand-matrix .qr-card {
        width: calc(50% - 5px) !important;
        flex-basis: calc(50% - 5px);
    }
}

/* QR Code Upload */
.qr-upload {
    position: relative;
    cursor: pointer;
}
.qr-upload .qr-file-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
    width: 100%;
    height: 100%;
}
.qr-upload:hover .qr-image {
    filter: brightness(0.95);
    transform: scale(1.02);
    transition: all 0.3s ease;
}
.qr-upload .qr-image {
    transition: all 0.3s ease;
}

    /* Footer responsive */
    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-links {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 24px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .footer-brand h3 {
        font-size: 1.25rem;
    }

    .footer-brand p {
        font-size: 13px;
    }

    .footer-link-col h4 {
        font-size: 14px;
    }

    .footer-link-col a {
        font-size: 13px;
    }

    /* CTA responsive */
    .cta-box {
        padding: 32px;
    }

    .cta-box h2 {
        font-size: 1.5rem;
    }

    .cta-box p {
        font-size: 14px;
    }

    /* Partners responsive */
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .partners-advantages {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        padding: 32px;
    }

    .partners-advantage-item {
        padding: 20px;
    }

    .partners-advantage-item h4 {
        font-size: 14px;
    }

    .partners-advantage-item p {
        font-size: 12px;
    }

    /* Network stats responsive */
    .network-stats {
        grid-template-columns: repeat(2, 1fr);
        padding: 24px;
        gap: 16px;
    }

    .network-stat-number {
        font-size: 1.75rem;
    }

    .network-stat-label {
        font-size: 12px;
    }

    /* Music player responsive */
    .music-player {
        bottom: 16px;
        right: 16px;
        padding: 8px 12px;
    }

    .music-player-title {
        font-size: 11px;
    }

    /* Feature banner responsive */
    .feature-banner {
        padding: 32px;
    }

    .feature-banner h2 {
        font-size: 1.25rem;
    }

    .feature-banner p {
        font-size: 14px;
    }

    /* Scroll indicator responsive */
    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 480px) {
    .partners-grid {
        grid-template-columns: 1fr;
    }
    
    .network-stats {
        grid-template-columns: 1fr;
    }
    
    .logo-sub {
        display: none;
    }
}

/* ==================== News & Insights ==================== */
.news {
    padding: var(--section-padding);
    background: var(--white);
}

.news-header-bar {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 32px;
}

.news-view-all {
    display: inline-flex;
    align-items: center;
    padding: 10px 24px;
    border: 1px solid var(--blue-300);
    color: var(--blue-500);
    font-size: 14px;
    font-weight: 500;
    border-radius: 100px;
    text-decoration: none;
    transition: all var(--transition);
}

.news-view-all:hover {
    background: var(--blue-500);
    color: var(--white);
    border-color: var(--blue-500);
}

.news-scroll-wrapper {
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--blue-300) transparent;
}

.news-scroll-wrapper::-webkit-scrollbar {
    height: 6px;
}

.news-scroll-wrapper::-webkit-scrollbar-thumb {
    background: var(--blue-300);
    border-radius: 3px;
}

.news-grid {
    display: flex;
    gap: 24px;
    min-width: max-content;
}

.news-card {
    flex: 0 0 300px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
    cursor: pointer;
}

.news-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--blue-300);
}

.news-image {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    background: var(--blue-500);
    color: var(--white);
    font-size: 11px;
    font-weight: 600;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-content {
    padding: 20px;
}

.news-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.5;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-date {
    font-size: 13px;
    color: var(--text-tertiary);
}

/* ==================== Video Showcase ==================== */
.video {
    padding: var(--section-padding);
    background: var(--navy-900);
    position: relative;
    overflow: hidden;
}

.video::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(37, 117, 216, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(74, 155, 240, 0.04) 0%, transparent 50%);
}

.video .section-header {
    position: relative;
    z-index: 1;
}

.video .section-title,
.video .section-desc {
    color: var(--white);
}

.video .section-eyebrow {
    color: var(--blue-400);
}

.video-player-wrapper {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.video-player {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--navy-900);
    border: 1px solid rgba(74, 155, 240, 0.2);
    box-shadow: 0 0 60px rgba(37, 117, 216, 0.1);
}

.video-player video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(10, 21, 37, 0.5);
    transition: opacity 0.3s ease;
}

.video-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.video-play-btn {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: var(--blue-600);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.video-play-btn:hover {
    transform: scale(1.1);
    background: var(--white);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.4);
}

.video-duration {
    position: absolute;
    bottom: 16px;
    left: 16px;
    padding: 4px 10px;
    background: rgba(0, 0, 0, 0.6);
    color: var(--white);
    font-size: 13px;
    font-weight: 500;
    border-radius: 6px;
}

.video-hint {
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.video-subtitle {
    position: absolute;
    bottom: 48px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 24px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Noto Sans SC', 'Source Han Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    text-align: center;
    line-height: 1.5;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    white-space: normal;
    z-index: 5;
    max-width: 85%;
}

.video-player:hover .video-subtitle,
.video-subtitle.show {
    opacity: 1;
}

/* 视频加载动画 */
.video-loading {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 21, 37, 0.4);
    opacity: 0;
    pointer-events: none;
    z-index: 6;
    transition: opacity 0.3s ease;
}
.video-loading.show {
    opacity: 1;
}
.video-spinner {
    width: 44px;
    height: 44px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-top-color: var(--blue-400);
    border-radius: 50%;
    animation: video-spin 0.8s linear infinite;
}
@keyframes video-spin {
    to { transform: rotate(360deg); }
}

/* ==================== Gallery / Team Moments ==================== */
.gallery {
    padding: var(--section-padding);
    background: var(--white);
}

.gallery-scroll {
    display: flex;
    gap: 20px;
    overflow-x: hidden;
    padding: 8px 4px 24px;
    scroll-behavior: auto;
    -webkit-overflow-scrolling: touch;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
    flex: 0 0 auto;
    width: 300px;
    height: 400px;
}

.gallery-item:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
    color: var(--white);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

.gallery-caption-label {
    display: inline-block;
    padding: 2px 10px;
    background: var(--blue-500);
    font-size: 11px;
    font-weight: 600;
    border-radius: 100px;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gallery-caption p {
    font-size: 14px;
    font-weight: 500;
    margin: 0;
}

.gallery-hint {
    text-align: center;
    margin-top: 24px;
    font-size: 13px;
    color: var(--text-tertiary);
}

/* Gallery Photo Upload Overlay */
.gallery-upload-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 30, 63, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 3;
    pointer-events: none;
    border-radius: var(--radius-lg);
}

.gallery-item:hover .gallery-upload-overlay {
    opacity: 1;
}

.gallery-item .gallery-upload-overlay svg {
    width: 32px;
    height: 32px;
    margin-bottom: 8px;
    opacity: 0.9;
}

.gallery-item input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 4;
    width: 100%;
    height: 100%;
}

/* Gallery scroll navigation */
.gallery-scroll-wrapper {
    position: relative;
    overflow: hidden;
}

.gallery-scroll {
    cursor: grab;
}

.gallery-scroll:active {
    cursor: grabbing;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(15, 43, 92, 0.75);
    color: white;
    border: none;
    cursor: pointer;
    z-index: 10;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    user-select: none;
}

.gallery-nav:hover {
    background: rgba(15, 43, 92, 0.95);
    transform: translateY(-50%) scale(1.1);
}

.gallery-nav-prev { left: -24px; }
.gallery-nav-next { right: -24px; }

@media (max-width: 768px) {
    .gallery-nav { display: none; }
    .gallery-scroll { cursor: default; }
}

/* ==================== Footer Social Icons (legacy, still used by some pages) ==================== */
.footer-social {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-social-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-social-icons {
    display: flex;
    gap: 12px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background: var(--blue-500);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-legal {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-legal p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* ==================== News & Video & Gallery Responsive ==================== */
@media (max-width: 768px) {
    .news-card {
        flex: 0 0 260px;
    }

    .news-image {
        height: 150px;
    }

    .news-title {
        font-size: 14px;
    }

    .video-player {
        aspect-ratio: 16/10;
    }

    .video-play-btn {
        width: 48px;
        height: 48px;
    }

    .video-play-btn svg {
        width: 22px;
        height: 22px;
    }

    .video-subtitle {
        bottom: 40px;
        font-size: 13px;
        padding: 8px 14px;
        max-width: 92%;
        line-height: 1.4;
    }

    .video-duration {
        bottom: 10px;
        left: 10px;
        font-size: 11px;
        padding: 3px 8px;
    }

    .video-loading .video-spinner {
        width: 34px;
        height: 34px;
        border-width: 2px;
    }

    .video-hint {
        font-size: 12px;
        margin-top: 14px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 160px);
    }

    .gallery-item--wide {
        grid-column: span 2;
    }

    .gallery-caption {
        transform: translateY(0);
        padding: 10px;
    }

    .gallery-caption p {
        font-size: 12px;
    }

    .footer-social {
        flex-direction: column;
        gap: 12px;
    }

    .footer-legal {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .news-card {
        flex: 0 0 220px;
    }

    .news-image {
        height: 130px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .gallery-item,
    .gallery-item--wide {
        grid-column: span 1;
        height: 200px;
    }

    .video-subtitle {
        bottom: 32px;
        font-size: 11px;
        padding: 6px 10px;
        max-width: 94%;
    }

    .video-play-btn {
        width: 40px;
        height: 40px;
    }

    .video-play-btn svg {
        width: 18px;
        height: 18px;
    }
}

/* ==================== Admin Entry Section ==================== */
.admin-entry-section {
    padding: 60px 0 30px;
    background: linear-gradient(135deg, #f0f5ff 0%, #e8f0fe 100%);
}

.admin-entry-card {
    display: flex;
    align-items: center;
    gap: 24px;
    background: white;
    border: 2px solid #2C5282;
    border-radius: 12px;
    padding: 28px 32px;
    box-shadow: 0 8px 24px rgba(44, 82, 130, 0.12);
    transition: all 0.3s ease;
}

.admin-entry-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(44, 82, 130, 0.18);
}

.admin-entry-icon {
    font-size: 48px;
    flex-shrink: 0;
}

.admin-entry-text {
    flex: 1;
}

.admin-entry-text h3 {
    font-size: 20px;
    color: #1a365d;
    margin: 0 0 6px 0;
    font-weight: 700;
}

.admin-entry-text p {
    color: #4a5568;
    font-size: 14px;
    margin: 0;
}

.admin-entry-btn {
    background: linear-gradient(135deg, #2C5282 0%, #1a365d 100%);
    color: white;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    white-space: nowrap;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(44, 82, 130, 0.3);
}

.admin-entry-btn:hover {
    transform: translateX(4px);
    box-shadow: 0 6px 16px rgba(44, 82, 130, 0.4);
}

@media (max-width: 768px) {
    .admin-entry-card {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        padding: 20px;
    }
    .admin-entry-btn {
        width: 100%;
    }
}


/* ===========================================
   询盘弹窗 + CTA 按钮 + 浮动客服
   =========================================== */

/* 立即询盘按钮 */
.btn-cta {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%) !important;
    color: white !important;
    border: none !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 20px -6px rgba(255, 107, 53, 0.5);
    animation: ctaPulse 2.5s ease-in-out infinite;
    position: relative;
}
.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -6px rgba(255, 107, 53, 0.65);
}
@keyframes ctaPulse {
    0%, 100% { box-shadow: 0 8px 20px -6px rgba(255, 107, 53, 0.5); }
    50% { box-shadow: 0 8px 24px -2px rgba(255, 107, 53, 0.7); }
}

/* 弹窗遮罩 */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 30, 63, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.modal-overlay.show { opacity: 1; pointer-events: auto; }

.modal-container {
    background: white;
    border-radius: 20px;
    max-width: 560px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 36px 32px 28px;
    position: relative;
    transform: translateY(20px) scale(0.95);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}
.modal-overlay.show .modal-container { transform: translateY(0) scale(1); }

.modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: none;
    background: #f1f5f9;
    border-radius: 50%;
    font-size: 24px;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
    line-height: 1;
    padding: 0;
}
.modal-close:hover { background: #e2e8f0; color: #1e293b; transform: rotate(90deg); }

.modal-header { text-align: center; margin-bottom: 24px; }
.modal-header h2 { font-size: 26px; font-weight: 800; color: #0f2b5c; margin: 0 0 6px; }
.modal-header p { color: #64748b; font-size: 14px; margin: 0; }

.inquiry-form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-group { display: flex; flex-direction: column; gap: 4px; }
.form-group label { font-size: 13px; font-weight: 600; color: #334155; }
.form-group .required { color: #ef4444; }
.form-group input,
.form-group select,
.form-group textarea {
    padding: 10px 12px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    color: #1e293b;
    background: white;
    transition: all 0.2s;
    outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: #2575d8; box-shadow: 0 0 0 3px rgba(37, 117, 216, 0.1); }
.form-group textarea { resize: vertical; min-height: 60px; }
.btn-block { width: 100%; padding: 14px; font-size: 15px; font-weight: 700; margin-top: 8px; }
.form-tip { text-align: center; color: #94a3b8; font-size: 12px; margin: 12px 0 0; }

.modal-success { text-align: center; padding: 30px 0 10px; }
.success-icon {
    width: 72px; height: 72px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 36px; font-weight: 800;
    margin: 0 auto 20px;
    box-shadow: 0 8px 20px -4px rgba(16, 185, 129, 0.4);
    animation: successPop 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes successPop { 0% { transform: scale(0); } 60% { transform: scale(1.15); } 100% { transform: scale(1); } }
.modal-success h3 { font-size: 22px; color: #0f2b5c; margin: 0 0 8px; }
.modal-success p { color: #64748b; font-size: 14px; margin: 0 0 20px; line-height: 1.6; }

/* 浮动客服 */
.float-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
}
.float-btn {
    width: 56px; height: 56px;
    border-radius: 50%;
    border: none;
    color: white;
    cursor: pointer;
    box-shadow: 0 8px 20px -4px rgba(0, 0, 0, 0.15);
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s;
    position: relative;
}
.float-btn:hover { transform: scale(1.08); }
.float-btn-wechat { background: linear-gradient(135deg, #07c160 0%, #00a651 100%); }
.float-btn-phone { background: linear-gradient(135deg, #2575d8 0%, #1a5fb0 100%); }
.float-btn-top { background: linear-gradient(135deg, #475569 0%, #334155 100%); opacity: 0; pointer-events: none; }
.float-btn-top.show { opacity: 1; pointer-events: auto; }

.float-btn::before {
    content: ''; position: absolute; inset: -4px;
    border-radius: 50%;
    opacity: 0;
    animation: floatPing 1.8s ease-out infinite;
}
.float-btn-wechat::before { border: 2px solid #07c160; }
.float-btn-phone::before { border: 2px solid #2575d8; }
@keyframes floatPing { 0% { transform: scale(1); opacity: 0.6; } 100% { transform: scale(1.5); opacity: 0; } }

.float-qr-popup {
    position: absolute; bottom: 70px; right: 0;
    background: white; border-radius: 12px; padding: 12px;
    box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.2);
    width: 160px; display: none;
    animation: fadeInUp 0.3s ease;
    z-index: 1000;
}
.float-qr-popup.show { display: block; }
.float-qr-popup img { 
    width: 100%; 
    height: 140px;
    object-fit: contain; 
    border-radius: 6px; 
    background: #f8fafc;
}
.float-qr-popup p { text-align: center; margin: 8px 0 0; font-size: 12px; color: #475569; font-weight: 600; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 768px) {
    .form-row { grid-template-columns: 1fr; }
    .modal-container { padding: 28px 20px 20px; border-radius: 16px; }
    .modal-header h2 { font-size: 22px; }
    .float-contact { bottom: 16px; right: 16px; }
    .float-btn { width: 50px; height: 50px; }
    .btn-cta { font-size: 14px; padding: 10px 18px; }
}


/* ===========================================
   AI Chat 智能小助手 升级样式
   =========================================== */

/* AI 角标 */
.chat-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    color: white;
    font-size: 9px;
    font-weight: 800;
    padding: 2px 5px;
    border-radius: 8px 8px 8px 0;
    letter-spacing: 0.5px;
    line-height: 1;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
}

/* AI 头像 - 三点跳动 */
.chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2575d8 0%, #1a5fb0 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    box-shadow: 0 4px 12px rgba(37, 117, 216, 0.3);
    flex-shrink: 0;
}
.ai-dot {
    width: 5px;
    height: 5px;
    background: white;
    border-radius: 50%;
    animation: aiDot 1.4s ease-in-out infinite;
}
.ai-dot:nth-child(2) { animation-delay: 0.2s; }
.ai-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes aiDot {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
    30% { transform: translateY(-4px); opacity: 1; }
}

/* 在线状态 */
.chat-header-title p {
    display: flex;
    align-items: center;
    gap: 5px;
}
.status-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    background: #10b981;
    border-radius: 50%;
    animation: statusBlink 2s ease-in-out infinite;
}
@keyframes statusBlink {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
    50% { opacity: 0.6; box-shadow: 0 0 0 3px rgba(16, 185, 129, 0); }
}

/* 欢迎动画 */
.chat-welcome {
    text-align: center;
    padding: 24px 16px 20px;
    animation: welcomeIn 0.5s ease-out;
}
@keyframes welcomeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.welcome-icon {
    font-size: 42px;
    margin-bottom: 10px;
    animation: welcomeWave 2s ease-in-out infinite;
    display: inline-block;
    transform-origin: 70% 70%;
}
@keyframes welcomeWave {
    0%, 100% { transform: rotate(0deg); }
    10%, 30% { transform: rotate(14deg); }
    20% { transform: rotate(-8deg); }
    40% { transform: rotate(0); }
}
.chat-welcome h3 {
    font-size: 16px;
    font-weight: 700;
    color: #0f2b5c;
    margin: 0 0 8px;
}
.chat-welcome p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 12px;
}
.chat-welcome p strong {
    color: #2575d8;
    font-weight: 600;
}
.welcome-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    display: inline-block;
}
.welcome-list li {
    font-size: 12px;
    color: #475569;
    padding: 4px 0;
}

/* 加载中动画 */
.chat-typing {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    background: #f1f5f9;
    border-radius: 14px 14px 14px 4px;
    width: fit-content;
}
.chat-typing-dot {
    width: 6px;
    height: 6px;
    background: #94a3b8;
    border-radius: 50%;
    animation: typingDot 1.4s ease-in-out infinite;
}
.chat-typing-dot:nth-child(2) { animation-delay: 0.2s; }
.chat-typing-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingDot {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-4px); opacity: 1; }
}

@media (max-width: 768px) {
    .chat-welcome { padding: 18px 12px 14px; }
    .chat-welcome h3 { font-size: 14px; }
    .welcome-icon { font-size: 36px; }
}


/* ===========================================
   行业解决方案 4 大入口
   =========================================== */
.solutions {
    padding: 100px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.solution-card {
    background: white;
    border-radius: 20px;
    padding: 36px 28px;
    border: 1px solid #e2e8f0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}
.solution-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2575d8 0%, #4A9BF0 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s;
}
.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -12px rgba(37, 117, 216, 0.2);
    border-color: #4A9BF0;
}
.solution-card:hover::before { transform: scaleX(1); }

.solution-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 20px;
    transition: transform 0.3s;
}
.solution-card:hover .solution-icon { transform: scale(1.1) rotate(-5deg); }
.solution-icon-1 { background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%); }
.solution-icon-2 { background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%); }
.solution-icon-3 { background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%); }
.solution-icon-4 { background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%); }

.solution-title {
    font-size: 20px;
    font-weight: 800;
    color: #0f2b5c;
    margin: 0 0 10px;
}
.solution-desc {
    font-size: 13px;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 20px;
    min-height: 42px;
}
.solution-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    flex: 1;
}
.solution-features li {
    font-size: 13px;
    color: #475569;
    padding: 6px 0;
    border-bottom: 1px dashed #e2e8f0;
    position: relative;
    padding-left: 18px;
}
.solution-features li:last-child { border-bottom: none; }
.solution-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 700;
}
.solution-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #2575d8;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: gap 0.3s;
}
.solution-cta:hover { gap: 12px; color: #1a5fb0; }

@media (max-width: 1024px) {
    .solutions-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .solutions { padding: 60px 0; }
    .solutions-grid { grid-template-columns: 1fr; }
    .solution-card { padding: 28px 24px; }
}

/* ==================== Global Network Map ==================== */
.network-canvas-wrapper {
    padding: 28px;
    background: #071529;
    border: 1px solid rgba(76, 163, 242, 0.3);
    box-shadow: 0 24px 54px rgba(0, 0, 0, 0.24), inset 0 0 80px rgba(22, 111, 207, 0.07);
}

.network-canvas-bg {
    aspect-ratio: 2 / 1;
    max-height: none;
    border-radius: 8px;
    background: radial-gradient(ellipse at 68% 42%, rgba(29, 129, 232, 0.2), transparent 50%), #061326;
    isolation: isolate;
}

.network-canvas-wrapper::before,
.network-canvas-wrapper::after { pointer-events: none; }

.network-map-svg {
    display: block;
    width: 100%;
    height: 100%;
}

.network-land { opacity: 0.94; }
.network-routes-layer { filter: url(#network-glow); }
.network-route { fill: none !important; stroke-width: 1.45; stroke-dasharray: 7 6; opacity: 0.68; animation: networkRouteFlow 4.5s linear infinite; }
.region-na { stroke: #48a4ff; fill: #48a4ff; }
.region-eu { stroke: #4ade80; fill: #4ade80; }
.region-asia { stroke: #f8b22b; fill: #f8b22b; }
.region-me { stroke: #a78bfa; fill: #a78bfa; }
.region-au { stroke: #f472b6; fill: #f472b6; }
.region-sa { stroke: #22d3ee; fill: #22d3ee; }
.region-af { stroke: #fb7185; fill: #fb7185; }
.route-particle { filter: drop-shadow(0 0 4px currentColor); }

@keyframes networkRouteFlow { to { stroke-dashoffset: -52; } }

.network-port { cursor: pointer; outline: none; }
.network-port .port-dot { stroke: rgba(231, 247, 255, 0.9); stroke-width: 1.3; }
.network-port .port-ripple { fill: none; stroke-width: 1.4; opacity: 0; transform-box: fill-box; transform-origin: center; animation: networkPortPulse 3.2s ease-out infinite; }
.network-port .ripple-two { animation-delay: 1.6s; }
.network-port text { fill: #d9efff; font-size: 12px; font-weight: 650; paint-order: stroke; stroke: #061326; stroke-width: 4px; stroke-linejoin: round; opacity: 0; transition: opacity 180ms ease; }
.network-port:hover text, .network-port:focus text { opacity: 1; }
.network-port.is-active-label text { opacity: 1; animation: networkPortLabel 2.6s cubic-bezier(.2,.8,.2,1) both; }
.network-port.is-hub.is-active-label text { opacity: 1; animation: none; }
.network-country-label { fill: #dceeff; font-size: 14px; font-weight: 750; letter-spacing: 0; paint-order: stroke; stroke: #061326; stroke-width: 5px; stroke-linejoin: round; pointer-events: none; }
.network-port.is-hub .port-dot { fill: #f9b62d; stroke: #fff2c7; stroke-width: 1.8; }
.network-port.is-hub .port-ripple { stroke: #f9b62d; animation-duration: 2.4s; }

@keyframes networkPortPulse { 0% { opacity: .8; transform: scale(.5); } 72%, 100% { opacity: 0; transform: scale(3.2); } }
@keyframes networkPortLabel { 0% { opacity: 0; } 16%, 76% { opacity: 1; } 100% { opacity: 0; } }

.network-canvas-wrapper[data-active-region] .network-route,
.network-canvas-wrapper[data-active-region] .route-particle,
.network-canvas-wrapper[data-active-region] .network-port { transition: opacity 180ms ease; }
.network-canvas-wrapper[data-active-region="na"] .region-eu, .network-canvas-wrapper[data-active-region="na"] .region-asia, .network-canvas-wrapper[data-active-region="na"] .region-me, .network-canvas-wrapper[data-active-region="na"] .region-au, .network-canvas-wrapper[data-active-region="na"] .region-sa, .network-canvas-wrapper[data-active-region="na"] .region-af,
.network-canvas-wrapper[data-active-region="eu"] .region-na, .network-canvas-wrapper[data-active-region="eu"] .region-asia, .network-canvas-wrapper[data-active-region="eu"] .region-me, .network-canvas-wrapper[data-active-region="eu"] .region-au, .network-canvas-wrapper[data-active-region="eu"] .region-sa, .network-canvas-wrapper[data-active-region="eu"] .region-af,
.network-canvas-wrapper[data-active-region="asia"] .region-na, .network-canvas-wrapper[data-active-region="asia"] .region-eu, .network-canvas-wrapper[data-active-region="asia"] .region-me, .network-canvas-wrapper[data-active-region="asia"] .region-au, .network-canvas-wrapper[data-active-region="asia"] .region-sa, .network-canvas-wrapper[data-active-region="asia"] .region-af,
.network-canvas-wrapper[data-active-region="me"] .region-na, .network-canvas-wrapper[data-active-region="me"] .region-eu, .network-canvas-wrapper[data-active-region="me"] .region-asia, .network-canvas-wrapper[data-active-region="me"] .region-au, .network-canvas-wrapper[data-active-region="me"] .region-sa, .network-canvas-wrapper[data-active-region="me"] .region-af,
.network-canvas-wrapper[data-active-region="au"] .region-na, .network-canvas-wrapper[data-active-region="au"] .region-eu, .network-canvas-wrapper[data-active-region="au"] .region-asia, .network-canvas-wrapper[data-active-region="au"] .region-me, .network-canvas-wrapper[data-active-region="au"] .region-sa, .network-canvas-wrapper[data-active-region="au"] .region-af,
.network-canvas-wrapper[data-active-region="sa"] .region-na, .network-canvas-wrapper[data-active-region="sa"] .region-eu, .network-canvas-wrapper[data-active-region="sa"] .region-asia, .network-canvas-wrapper[data-active-region="sa"] .region-me, .network-canvas-wrapper[data-active-region="sa"] .region-au, .network-canvas-wrapper[data-active-region="sa"] .region-af,
.network-canvas-wrapper[data-active-region="af"] .region-na, .network-canvas-wrapper[data-active-region="af"] .region-eu, .network-canvas-wrapper[data-active-region="af"] .region-asia, .network-canvas-wrapper[data-active-region="af"] .region-me, .network-canvas-wrapper[data-active-region="af"] .region-au, .network-canvas-wrapper[data-active-region="af"] .region-sa { opacity: .12; }

.network-canvas-wrapper .is-dimmed { opacity: .12 !important; }

.network-legend { position: relative; z-index: 12; }
.network-legend .legend-item { cursor: pointer; user-select: none; transition: color 180ms ease, opacity 180ms ease; }
.network-legend .legend-item[aria-pressed="true"] { color: #fff; }
.network-legend .legend-item:focus-visible { outline: 2px solid #74c0ff; outline-offset: 4px; border-radius: 2px; }

@media (max-width: 700px) {
    .network-canvas-wrapper { padding: 12px; }
    .network-canvas-bg { aspect-ratio: 1.55 / 1; }
    .network-map-svg { width: 155%; margin-left: -27.5%; }
    .network-port text { display: none; }
    .network-port.is-hub text { display: block; font-size: 11px; }
    .network-country-label { font-size: 11px; }
    .network-legend { gap: 10px 14px; padding: 14px; }
}

@media (prefers-reduced-motion: reduce) {
    .network-route, .network-port .port-ripple { animation: none; }
    .network-port.is-active-label text { animation: none; opacity: 1; }
    .route-particle { display: none; }
}
