:root {
    --primary: #1a1a2e;
    --primary-light: #16213e;
    --accent: #0f3460;
    --accent-light: #1a508b;
    --blue-accent: #0851FD;
    --blue-accent-light: #6b9aff;
    --bg: #fafafa;
    --bg-alt: #f0f2f5;
    --text: #2c2c2c;
    --text-muted: #666;
    --text-light: #999;
    --white: #ffffff;
    --border: #e8e8e8;
    --shadow: 0 2px 20px rgba(0,0,0,0.06);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.08);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

/* ===== NAVIGATION ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 40px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
}

.nav.scrolled {
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    box-shadow:
        0 1px 0 rgba(0,0,0,0.04),
        0 4px 16px rgba(0,0,0,0.04);
}

/* Scroll state: subtle bottom accent line */
.nav.scrolled::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 5%, var(--blue-accent) 50%, transparent 95%);
    opacity: 0.25;
}

.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav.scrolled .nav-inner {
    height: 64px;
}

/* Logo */
.nav-logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    position: relative;
}

.nav-logo:hover {
    transform: translateY(-1px);
}

.nav-logo-img {
    height: 36px;
    width: auto;
    transition: filter 0.3s ease;
}

.nav.scrolled .nav-logo-img {
    filter: none;
}

.nav-logo-text {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--white);
    transition: var(--transition);
}

.nav.scrolled .nav-logo-text {
    color: var(--primary);
}

/* Links */
.nav-links {
    display: flex;
    gap: 4px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: rgba(255,255,255,0.78);
    font-size: 14px;
    font-weight: 450;
    transition: all 0.25s ease;
    position: relative;
    padding: 8px 16px;
    border-radius: 8px;
    letter-spacing: 0.2px;
}

.nav.scrolled .nav-links a {
    color: var(--text-muted);
}

.nav-links a:hover {
    color: #fff;
    background: rgba(255,255,255,0.1);
}

.nav.scrolled .nav-links a:hover {
    color: var(--blue-accent);
    background: rgba(37,99,235,0.06);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--blue-accent), var(--blue-accent-light));
    border-radius: 1px;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover::after {
    width: 60%;
}

/* Active nav link */
.nav-links a.active {
    color: #fff;
}

.nav.scrolled .nav-links a.active {
    color: var(--blue-accent);
    font-weight: 600;
}

.nav-links a.active::after {
    width: 60%;
}

/* Language Switcher */
.nav-lang {
    display: flex;
    align-items: center;
    gap: 0;
    margin-left: 12px;
    background: rgba(255,255,255,0.08);
    border-radius: 50px;
    padding: 3px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition);
}

.nav.scrolled .nav-lang {
    background: rgba(0,0,0,0.03);
    border-color: rgba(0,0,0,0.06);
}

.lang-btn {
    background: none;
    border: none;
    color: rgba(255,255,255,0.55);
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.25s ease;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.3px;
    position: relative;
    z-index: 1;
}

.lang-btn:hover {
    color: rgba(255,255,255,0.9);
}

.lang-btn.active {
    background: rgba(255,255,255,0.15);
    color: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.nav.scrolled .lang-btn {
    color: var(--text-light);
}

.nav.scrolled .lang-btn:hover {
    color: var(--text);
}

.nav.scrolled .lang-btn.active {
    background: var(--white);
    color: var(--blue-accent);
    box-shadow: 0 1px 6px rgba(0,0,0,0.08);
}

.lang-sep {
    color: rgba(255,255,255,0.15);
    font-size: 10px;
    margin: 0 -1px;
    user-select: none;
    position: relative;
    z-index: 0;
}

.nav.scrolled .lang-sep {
    color: rgba(0,0,0,0.1);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.mobile-menu-btn:hover {
    background: rgba(255,255,255,0.08);
}

.nav.scrolled .mobile-menu-btn:hover {
    background: rgba(0,0,0,0.04);
}

.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    margin: 4px 0;
    transition: all 0.3s ease;
    border-radius: 1px;
}

.nav.scrolled .mobile-menu-btn span { background: var(--primary); }

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

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    object-fit: cover;
    object-position: center center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(10, 15, 35, 0.92) 0%,
        rgba(18, 28, 55, 0.85) 35%,
        rgba(15, 52, 96, 0.55) 70%,
        rgba(8, 81, 253, 0.18) 100%
    );
    z-index: 1;
}

.hero-grid {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 60px;
    display: grid;
    grid-template-columns: 4fr 1fr;
    gap: 60px;
    align-items: center;
}

/* --- LEFT COLUMN --- */
.hero-content {
    animation: fadeInUp 0.9s ease forwards;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 18px;
    border: 1px solid rgba(8, 81, 253, 0.35);
    border-radius: 50px;
    color: var(--blue-accent-light);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 3px;
    margin-bottom: 28px;
    backdrop-filter: blur(12px);
    background: rgba(8, 81, 253, 0.06);
}

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

@keyframes tagPulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 6px var(--blue-accent); }
    50% { opacity: 0.4; box-shadow: 0 0 2px var(--blue-accent); }
}

.hero-title {
    font-size: clamp(36px, 5.5vw, 62px);
    font-weight: 700;
    color: var(--white);
    line-height: 1.25;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
}

.hero-title .highlight {
    background: linear-gradient(135deg, #3b82f6, #60a5fa, #93c5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* English title is much longer — reduce max font size */
html[lang="en"] .hero-title {
    font-size: clamp(26px, 3vw, 40px);
}

.hero-subtitle {
    font-size: 17px;
    color: rgba(255,255,255,0.58);
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 560px;
}

/* English text is longer — let it fill the column */
html[lang="en"] .hero-subtitle {
    max-width: 100%;
}

.hero-cta {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 38px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    letter-spacing: 0.3px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #fff;
    box-shadow: 0 4px 24px rgba(37, 99, 235, 0.35);
}

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

.btn-primary .btn-arrow {
    transition: transform 0.3s ease;
}
.btn-primary:hover .btn-arrow {
    transform: translateX(4px);
}

.btn-outline {
    background: transparent;
    color: rgba(255,255,255,0.85);
    border: 1px solid rgba(255,255,255,0.2);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.4);
    color: #fff;
}

/* Trust indicators */
.hero-trust {
    display: flex;
    gap: 36px;
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.hero-trust-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-trust-num {
    font-size: 26px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.5px;
    line-height: 1;
}

.hero-trust-num .plus {
    color: var(--blue-accent);
}

.hero-trust-label {
    font-size: 12px;
    color: rgba(255,255,255,0.45);
    letter-spacing: 0.5px;
}

/* --- RIGHT COLUMN: Visual --- */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInUp 0.9s 0.2s ease forwards;
    opacity: 0;
    height: 500px;
}

.hero-orb {
    position: relative;
    width: 340px;
    height: 340px;
}

/* Central glow */
.hero-orb-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.55) 0%, rgba(37, 99, 235, 0.25) 40%, transparent 70%);
    box-shadow: 0 0 80px rgba(59, 130, 246, 0.3), 0 0 160px rgba(37, 99, 235, 0.12);
    animation: orbBreath 4s ease-in-out infinite;
}

.hero-orb-core-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #60a5fa);
    box-shadow: 0 0 40px rgba(37, 99, 235, 0.6);
}

@keyframes orbBreath {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.7; }
    50% { transform: translate(-50%, -50%) scale(1.12); opacity: 1; }
}

/* Orbiting rings */
.hero-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border: 1px solid;
    transform: translate(-50%, -50%);
}

.hero-ring.r1 {
    width: 220px; height: 220px;
    border-color: rgba(59, 130, 246, 0.2);
    animation: ringSpin 20s linear infinite;
}

.hero-ring.r2 {
    width: 300px; height: 300px;
    border-color: rgba(96, 165, 250, 0.12);
    border-style: dashed;
    animation: ringSpin 30s linear infinite reverse;
}

.hero-ring.r3 {
    width: 380px; height: 380px;
    border-color: rgba(147, 197, 253, 0.08);
    animation: ringSpin 40s linear infinite;
}

@keyframes ringSpin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Floating data nodes on rings */
.hero-node {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--blue-accent);
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.6);
}

.hero-node.n1 { top: 10px; left: 50%; }
.hero-node.n2 { top: 50%; right: 10px; }
.hero-node.n3 { bottom: 30px; left: 20%; }
.hero-node.n4 { top: 30%; left: 10px; width: 7px; height: 7px; background: #60a5fa; }
.hero-node.n5 { bottom: 50px; right: 25%; width: 6px; height: 6px; background: #93c5fd; }

/* Connection lines between nodes */
.hero-visual svg.connections {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 380px;
    height: 380px;
    z-index: 1;
    pointer-events: none;
}

/* Scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
    cursor: pointer;
}

.hero-scroll span {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255,255,255,0.25);
    border-radius: 50px;
    position: relative;
}

.hero-scroll span::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: rgba(255,255,255,0.7);
    border-radius: 50px;
    animation: scroll-dot 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes scroll-dot {
    0% { top: 6px; opacity: 1; }
    100% { top: 22px; opacity: 0; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== SECTIONS ===== */
.section {
    padding: 120px 40px;
    max-width: 1280px;
    margin: 0 auto;
}

.section-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--blue-accent);
    margin-bottom: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.section-label::before {
    content: '';
    width: 32px;
    height: 2px;
    background: linear-gradient(90deg, var(--blue-accent), var(--blue-accent-light));
    display: inline-block;
    border-radius: 1px;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 18px;
    letter-spacing: -0.8px;
    line-height: 1.15;
}

.section-desc {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 640px;
    margin-bottom: 64px;
    line-height: 1.85;
    font-weight: 300;
}

/* ===== ABOUT ===== */
#about {
    position: relative;
}

#about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,0,0,0.06), transparent);
}

/* 核心数字横排 */
.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 48px;
    box-shadow: var(--shadow);
}

.about-stat {
    background: var(--white);
    padding: 36px 28px;
    text-align: center;
    transition: background 0.3s ease;
    position: relative;
}

.about-stat::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--blue-accent), var(--blue-accent-light));
    transition: width 0.35s ease;
}

.about-stat:hover {
    background: #f8faff;
}

.about-stat:hover::after {
    width: 60%;
}

.about-stat-num {
    font-size: 44px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -2px;
    line-height: 1;
    margin-bottom: 10px;
}

.about-stat-num span {
    font-size: 28px;
    color: var(--blue-accent);
    font-weight: 700;
}

.about-stat-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

.about-stat-desc {
    font-size: 12px;
    color: var(--text-light);
    line-height: 1.6;
    font-weight: 300;
}

/* 使命愿景 横排 */
.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 0;
}

.mv-card {
    padding: 28px 32px;
    background: var(--white);
    border-radius: 16px;
    border: 1px solid var(--border);
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.mv-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--blue-accent), var(--blue-accent-light));
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mv-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.06);
    transform: translateY(-3px);
    border-color: rgba(37,99,235,0.15);
}

.mv-card:hover::before {
    transform: scaleY(1);
}

.mv-card .mv-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(37,99,235,0.12), rgba(96,165,250,0.06));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 22px;
    border: 1px solid rgba(37,99,235,0.1);
    transition: all 0.3s ease;
}

.mv-card:hover .mv-icon {
    background: linear-gradient(135deg, rgba(37,99,235,0.18), rgba(96,165,250,0.1));
    border-color: rgba(37,99,235,0.2);
}

.mv-card .mv-content h4 {
    font-size: 11px;
    color: var(--blue-accent);
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.mv-card .mv-content p {
    font-size: 17px;
    color: var(--primary);
    font-weight: 700;
    margin: 0;
    line-height: 1.4;
    letter-spacing: -0.3px;
}

/* ===== CAPABILITIES ===== */
.capabilities {
    background: linear-gradient(180deg, var(--bg) 0%, #f0f4f8 50%, var(--bg) 100%);
    position: relative;
    overflow: hidden;
}

.capabilities::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(37,99,235,0.12), transparent);
}

.capabilities::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(37,99,235,0.08), transparent);
}

.capabilities .section {
    padding-top: 120px;
    padding-bottom: 120px;
}

.cap-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.cap-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 36px;
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.cap-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue-accent), var(--blue-accent-light), #93c5fd);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.cap-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(37,99,235,0.03), transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.cap-card:hover::before { opacity: 1; }
.cap-card:hover {
    box-shadow: 0 16px 48px rgba(0,0,0,0.06), 0 0 0 1px rgba(37,99,235,0.08);
    transform: translateY(-6px);
    border-color: rgba(37,99,235,0.12);
}

.cap-card .cap-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(37,99,235,0.1), rgba(96,165,250,0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 28px;
    border: 1px solid rgba(37,99,235,0.08);
    position: relative;
    transition: all 0.35s ease;
}

.cap-card:hover .cap-icon {
    background: linear-gradient(135deg, rgba(37,99,235,0.16), rgba(96,165,250,0.08));
    border-color: rgba(37,99,235,0.15);
    transform: scale(1.05);
}

.cap-card .cap-icon::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 19px;
    background: linear-gradient(135deg, rgba(37,99,235,0.15), transparent, rgba(96,165,250,0.08));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cap-card:hover .cap-icon::after { opacity: 1; }

.cap-card h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 14px;
    letter-spacing: -0.5px;
    line-height: 1.3;
}

.cap-card .cap-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 28px;
    line-height: 1.8;
    font-weight: 300;
}

.cap-features {
    display: grid;
    gap: 6px;
}

.cap-feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 14px;
    padding: 12px 16px;
    border-radius: 12px;
    transition: all 0.25s ease;
}

.cap-feature:hover {
    background: rgba(37,99,235,0.03);
    transform: translateX(4px);
}

.cap-feature .check {
    width: 24px;
    height: 24px;
    border-radius: 7px;
    background: linear-gradient(135deg, var(--blue-accent), #3b82f6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
    box-shadow: 0 2px 8px rgba(37,99,235,0.25);
}

.cap-feature .feat-label {
    font-weight: 600;
    color: var(--primary);
    font-size: 13px;
    margin-bottom: 3px;
}

.cap-feature .feat-desc {
    color: var(--text-light);
    font-size: 12px;
    line-height: 1.55;
}

/* ===== BUSINESS ===== */
#business {
    position: relative;
}

#business::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,0,0,0.06), transparent);
}

.business-tabs {
    display: inline-flex;
    gap: 6px;
    margin-bottom: 52px;
    padding: 5px;
    background: var(--white);
    border-radius: 60px;
    border: 1px solid var(--border);
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.biz-tab {
    padding: 13px 28px;
    border-radius: 55px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    background: transparent;
    color: var(--text-muted);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    white-space: nowrap;
    letter-spacing: 0.2px;
}

.biz-tab.active {
    background: linear-gradient(135deg, var(--blue-accent), #3b82f6);
    color: #fff;
    box-shadow: 0 4px 20px rgba(37,99,235,0.35);
    font-weight: 600;
}

.biz-tab:hover:not(.active) {
    color: var(--primary);
    background: rgba(37,99,235,0.04);
}

.biz-panel {
    display: none;
    animation: fadeInUp 0.5s ease;
}

.biz-panel.active { display: block; }

.biz-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.biz-info h3 {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 18px;
    letter-spacing: -0.8px;
    line-height: 1.25;
}

.biz-info .biz-desc {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 36px;
    line-height: 1.9;
    font-weight: 300;
}

.biz-items {
    display: grid;
    gap: 8px;
}

.biz-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--white);
    border-radius: 14px;
    border: 1px solid var(--border);
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.biz-item:hover {
    border-color: rgba(37,99,235,0.25);
    background: linear-gradient(135deg, rgba(37,99,235,0.02), rgba(96,165,250,0.02));
    transform: translateX(8px);
    box-shadow: 0 4px 16px rgba(37,99,235,0.06);
}

.biz-item .biz-dot {
    width: 10px;
    height: 10px;
    border-radius: 3px;
    background: linear-gradient(135deg, var(--blue-accent), #60a5fa);
    flex-shrink: 0;
    box-shadow: 0 0 8px rgba(37,99,235,0.3);
}

.biz-visual {
    position: relative;
}

.biz-visual-card {
    background: linear-gradient(160deg, #070b1a 0%, #0f1a35 40%, #162a50 70%, #1e3a5f 100%);
    border-radius: 24px;
    padding: 52px 44px;
    color: var(--white);
    position: relative;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow:
        0 25px 80px -12px rgba(15,23,42,0.3),
        0 0 0 1px rgba(59,130,246,0.1);
}

/* Grid texture in visual card */
.biz-visual-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 0;
}

/* Top-right glow orb */
.biz-visual-card::after {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(59,130,246,0.18) 0%, transparent 65%);
    border-radius: 50%;
    z-index: 0;
}

.biz-visual-card .biz-big-num {
    font-size: 72px;
    font-weight: 800;
    background: linear-gradient(135deg, #60a5fa 0%, #93c5fd 50%, #bfdbfe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
    letter-spacing: -2px;
}

.biz-visual-card .biz-big-label {
    font-size: 15px;
    opacity: 0.65;
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.biz-visual-card .biz-quote {
    font-size: 14px;
    opacity: 0.5;
    line-height: 1.9;
    font-style: italic;
    border-left: 3px solid rgba(59,130,246,0.4);
    padding-left: 20px;
    position: relative;
    z-index: 1;
    font-weight: 300;
}

/* ===== CASES ===== */
#cases {
    position: relative;
}

#cases::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,0,0,0.06), transparent);
}

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

.case-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.case-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--blue-accent), var(--blue-accent-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.case-card:hover::before { transform: scaleX(1); }
.case-card:hover {
    box-shadow: 0 20px 50px rgba(0,0,0,0.07), 0 0 0 1px rgba(37,99,235,0.08);
    transform: translateY(-8px);
    border-color: rgba(37,99,235,0.12);
}

.case-header {
    padding: 36px 32px 24px;
    border-bottom: 1px solid var(--border);
    position: relative;
}

.case-num {
    font-size: 64px;
    font-weight: 900;
    color: var(--blue-accent);
    opacity: 0.06;
    line-height: 1;
    position: absolute;
    top: 16px;
    right: 24px;
    letter-spacing: -2px;
}

.case-header h3 {
    font-size: 19px;
    font-weight: 700;
    color: var(--primary);
    margin-top: 0;
    letter-spacing: -0.3px;
    line-height: 1.4;
    position: relative;
}

.case-header .case-tag {
    display: inline-flex;
    align-items: center;
    padding: 5px 14px;
    background: linear-gradient(135deg, rgba(37,99,235,0.08), rgba(96,165,250,0.04));
    color: var(--blue-accent);
    font-size: 11px;
    font-weight: 600;
    border-radius: 50px;
    margin-top: 12px;
    border: 1px solid rgba(37,99,235,0.1);
    letter-spacing: 0.3px;
}

.case-body {
    padding: 24px 32px 36px;
    font-size: 14px;
}

.case-body ul {
    list-style: none;
}

.case-body li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 10px;
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.7;
    transition: color 0.2s ease;
}

.case-card:hover .case-body li {
    color: var(--text);
}

.case-body li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 2px;
    background: linear-gradient(135deg, var(--blue-accent), #60a5fa);
}

/* ===== CONTACT ===== */
.contact {
    background: linear-gradient(160deg, #060a18 0%, #0c1528 30%, #0f1a35 60%, #0a1025 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(37,99,235,0.08) 0%, transparent 65%);
    border-radius: 50%;
}

.contact::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59,130,246,0.05) 0%, transparent 65%);
}

.contact .section {
    padding-top: 100px;
    padding-bottom: 100px;
    position: relative;
    z-index: 1;
}

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

.contact .section-desc {
    color: rgba(255,255,255,0.45);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info h3 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 36px;
    letter-spacing: -0.8px;
}

.contact-items {
    display: grid;
    gap: 16px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 22px 24px;
    border-radius: 16px;
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-item:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(59,130,246,0.2);
    transform: translateX(4px);
}

.contact-item .ci-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(37,99,235,0.2), rgba(96,165,250,0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 20px;
    border: 1px solid rgba(59,130,246,0.15);
    transition: all 0.3s ease;
}

.contact-item:hover .ci-icon {
    background: linear-gradient(135deg, rgba(37,99,235,0.3), rgba(96,165,250,0.12));
    border-color: rgba(59,130,246,0.3);
}

.contact-item .ci-text h4 {
    font-size: 11px;
    color: var(--blue-accent-light);
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.contact-item .ci-text p {
    font-size: 15px;
    opacity: 0.75;
    line-height: 1.6;
    font-weight: 300;
}

.contact-qr {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.qr-card {
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 24px;
    padding: 40px 36px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow:
        0 25px 80px rgba(0,0,0,0.3),
        0 0 0 1px rgba(255,255,255,0.03);
    transition: all 0.35s ease;
}

.qr-card:hover {
    border-color: rgba(59,130,246,0.15);
    box-shadow:
        0 25px 80px rgba(0,0,0,0.3),
        0 0 60px -10px rgba(37,99,235,0.1),
        0 0 0 1px rgba(255,255,255,0.05);
}

.qr-placeholder {
    width: 160px;
    height: 160px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 18px;
    padding: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.qr-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
}

.qr-card p {
    font-size: 13px;
    color: rgba(255,255,255,0.45);
}

.qr-card .qr-label {
    font-weight: 600;
    color: #fff;
    margin-bottom: 6px;
    font-size: 14px;
    letter-spacing: 0.3px;
}

/* ===== FOOTER ===== */
.footer {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 24px 40px;
    background: rgba(0,0,0,0.25);
    font-size: 13px;
    color: rgba(255,255,255,0.35);
    line-height: 1.6;
    letter-spacing: 0.2px;
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 16px;
}

.footer-copyright {
    margin: 0;
    flex-shrink: 0;
}

.footer-beian {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px 14px;
    flex-shrink: 0;
}

.footer-beian a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: rgba(255,255,255,0.35);
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
}

.footer-beian a:visited {
    color: rgba(255,255,255,0.35);
}

.footer-beian a:hover {
    color: var(--blue-accent-light);
}

.footer-beian img {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    display: block;
}

.footer-beian a:hover img {
    opacity: 1;
}

.beian-divider {
    color: rgba(255,255,255,0.2);
    user-select: none;
}

.footer-beian a:hover img {
    opacity: 1;
}

.beian-divider {
    opacity: 0.3;
    user-select: none;
}

/* ===== FLOATING CONTACT WIDGET ===== */
.floating-contact {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

/* --- FAB Button --- */
.fc-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4), 0 0 0 0 rgba(37, 99, 235, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    animation: fcPulse 3s infinite;
}

.fc-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 28px rgba(37, 99, 235, 0.55);
}

.fc-btn.open {
    animation: none;
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
    transform: rotate(0deg);
}

@keyframes fcPulse {
    0%   { box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4), 0 0 0 0 rgba(37, 99, 235, 0.25); }
    70%  { box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4), 0 0 0 12px rgba(37, 99, 235, 0); }
    100% { box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4), 0 0 0 0 rgba(37, 99, 235, 0); }
}

.fc-btn svg {
    width: 24px;
    height: 24px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.fc-icon-close {
    position: absolute;
    transform: rotate(-90deg) scale(0);
    opacity: 0;
}

.fc-btn.open .fc-icon-chat {
    transform: rotate(90deg) scale(0);
    opacity: 0;
}

.fc-btn.open .fc-icon-close {
    transform: rotate(0deg) scale(1);
    opacity: 1;
}

/* --- Panel --- */
.fc-panel {
    position: absolute;
    bottom: 72px;
    right: 0;
    width: 300px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(0.95);
    transform-origin: bottom right;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-contact.open .fc-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.fc-header {
    padding: 20px 20px 16px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #fff;
}

.fc-title {
    font-size: 16px;
    font-weight: 700;
    display: block;
    letter-spacing: -0.3px;
}

.fc-subtitle {
    font-size: 12px;
    opacity: 0.75;
    margin-top: 2px;
    display: block;
}

.fc-body {
    padding: 8px;
}

.fc-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 12px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--text);
    transition: all 0.2s ease;
    cursor: pointer;
}

.fc-item:hover {
    background: rgba(37, 99, 235, 0.04);
}

.fc-item + .fc-item {
    border-top: 1px solid var(--border);
    margin-top: 0;
    padding-top: 13px;
}

.fc-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(96, 165, 250, 0.04));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 16px;
    border: 1px solid rgba(37, 99, 235, 0.06);
}

.fc-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.fc-label {
    font-size: 11px;
    color: var(--text-light);
    font-weight: 500;
    letter-spacing: 0.3px;
}

.fc-value {
    font-size: 13px;
    color: var(--primary);
    font-weight: 500;
    margin-top: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fc-arrow {
    font-size: 13px;
    color: var(--blue-accent);
    opacity: 0.5;
    flex-shrink: 0;
    font-weight: 500;
    transition: all 0.2s ease;
}

.fc-item:hover .fc-arrow {
    opacity: 1;
    transform: translate(2px, -2px);
}

/* --- QR Inline (expand inside panel) --- */
.fc-qr-inline {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    text-align: center;
    padding: 0 16px;
}

.fc-qr-inline.show {
    max-height: 220px;
    padding: 12px 16px 8px;
}

.fc-qr-inline img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 8px;
    display: block;
    margin: 0 auto 6px;
    background: #fff;
    border: 1px solid var(--border);
    padding: 4px;
}

.fc-qr-inline p {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0;
}

.fc-qr-inline .fc-qr-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    margin-top: 2px;
}

/* --- Mobile --- */
@media (max-width: 768px) {
    .floating-contact {
        bottom: 20px;
        right: 20px;
    }

    .fc-panel {
        width: calc(100vw - 40px);
        max-width: 300px;
    }

    .fc-qr-popup {
        right: 0;
        bottom: 72px;
    }

    .fc-qr-popup-arrow {
        right: 30px;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .about-stats { grid-template-columns: repeat(2, 1fr); }
    .mission-vision { grid-template-columns: 1fr; }

    .biz-content,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cap-grid { grid-template-columns: 1fr; }
    .cases-grid { grid-template-columns: 1fr; }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 0 40px;
        text-align: center;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-subtitle { max-width: 100%; }
    .hero-cta { justify-content: center; }
    .hero-trust { justify-content: center; }

    .hero-visual {
        display: none;
    }

    .hero-title { font-size: 42px; }
    .section-title { font-size: 32px; }

    .footer-inner {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }

    .hero-grid { padding: 0 24px; }
    .hero-title { font-size: 30px; letter-spacing: -0.5px; }
    .hero-subtitle { font-size: 15px; }
    .hero-trust { gap: 20px; flex-wrap: wrap; }
    .hero-trust-num { font-size: 22px; }

    .section { padding: 60px 24px; }
    .section-title { font-size: 28px; }

    .hero-cta { flex-direction: column; width: 100%; max-width: 300px; }
    .hero-cta .btn { width: 100%; justify-content: center; }
    .business-tabs { gap: 8px; }
    .biz-tab { padding: 10px 18px; font-size: 13px; }

    .about-stats { grid-template-columns: repeat(2, 1fr); }
    .about-stat-num { font-size: 32px; }
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 40px;
    left: 40px;
    z-index: 1001;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: var(--white);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.04);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.back-to-top:hover {
    background: var(--blue-accent);
    color: var(--white);
    box-shadow: 0 4px 24px rgba(37, 99, 235, 0.35);
    transform: translateY(-2px);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        left: 20px;
        width: 40px;
        height: 40px;
    }
}
    
