/* ============================================================
   TH科技官网 — 主样式表
   设计参考：威纶通官网 weinview.cn
   配色：蓝 #0669BA / 橙 #F58029 / 深灰 #222 / 浅灰 #666
   ============================================================ */

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

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

body {
    font-family: "Source Han Sans CN", "思源黑体 CN", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", Arial, Tahoma, Helvetica, sans-serif;
    color: #333;
    background: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- Section Common ---------- */
.section { padding: 80px 0; }
.section-gray { background: #f8f9fa; }
.section-dark { background: linear-gradient(135deg, #0669BA, #044a85); color: #fff; }

.section-header { text-align: center; margin-bottom: 50px; }
.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}
.section-title::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background: #0669BA;
    margin: 10px auto 0;
    border-radius: 2px;
}
.section-dark .section-title { color: #fff; }
.section-dark .section-title::after { background: #F58029; }

.section-desc {
    font-size: 1.05rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.section-tools {
    display: flex;
    justify-content: center;
    margin: -24px 0 28px;
}

.search-box {
    width: min(100%, 520px);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(20, 45, 80, 0.06);
}

.search-icon {
    color: #0669BA;
    font-size: 1rem;
    flex: 0 0 auto;
}

.search-box input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 0.96rem;
    color: #1f2d3d;
}

.search-box input::placeholder {
    color: #9aa8b8;
}

.filter-empty {
    grid-column: 1 / -1;
    padding: 28px;
    text-align: center;
    color: #7a8798;
    background: #fff;
    border: 1px dashed #d8e2ee;
    border-radius: 12px;
}

/* ---------- Header ---------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transition: box-shadow 0.3s;
}
.header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 86px;
    gap: 22px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    flex: 0 0 auto;
    min-width: 0;
    text-decoration: none;
}
.logo-icon {
    width: auto;
    height: 64px;
    border-radius: 6px;
    object-fit: contain;
}
.logo-text {
    font-size: 2rem;
    line-height: 1.1;
    color: #222;
    white-space: nowrap;
}

/* Nav */
.nav {
    flex: 1 1 auto;
    min-width: 0;
}
.nav-list {
    display: flex;
    justify-content: center;
    gap: 8px;
}
.nav-link {
    display: block;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 0.98rem;
    color: #444;
    transition: all 0.25s;
    position: relative;
    white-space: nowrap;
}
.nav-link:hover,
.nav-link.active { color: #0669BA; background: rgba(6, 105, 186, 0.06); }

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}
.btn-login {
    padding: 9px 18px;
    border: 1.5px solid #0669BA;
    border-radius: 6px;
    color: #0669BA;
    font-size: 0.95rem;
    transition: all 0.25s;
}
.btn-login:hover { background: #0669BA; color: #fff; }

/* Menu Toggle (Mobile) */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}
.menu-toggle span {
    display: block;
    width: 24px; height: 2px;
    background: #333;
    border-radius: 2px;
    transition: all 0.3s;
}

/* ---------- Hero Slider ---------- */
.hero {
    position: relative;
    margin-top: 86px;
    height: 560px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
}
.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 78% 22%, rgba(245,128,41,0.24), transparent 28%),
        radial-gradient(circle at 18% 72%, rgba(255,255,255,0.13), transparent 30%),
        linear-gradient(90deg, rgba(2,20,45,0.24), rgba(2,20,45,0.05));
    pointer-events: none;
}
.hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.16;
    background-image:
        linear-gradient(rgba(255,255,255,0.22) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.22) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(90deg, transparent, #000 35%, #000 86%, transparent);
    pointer-events: none;
}
.hero-slide.active { opacity: 1; z-index: 1; }

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: 58px;
    align-items: center;
    height: 100%;
    color: #fff;
    padding-top: 20px;
}

.hero-copy {
    align-self: center;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 7px 14px;
    border-radius: 999px;
    color: #fff;
    background: rgba(255,255,255,0.13);
    border: 1px solid rgba(255,255,255,0.22);
    backdrop-filter: blur(8px);
    font-size: 0.92rem;
    letter-spacing: 1px;
    animation: fadeInUp 0.8s ease both;
}

.hero-kicker::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #F58029;
    box-shadow: 0 0 16px rgba(245,128,41,0.9);
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    animation: fadeInUp 0.8s ease;
}
.hero-title .highlight { color: #F58029; }

.hero-subtitle {
    font-size: 1.15rem;
    max-width: 560px;
    margin-bottom: 32px;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease 0.15s both;
}

.hero-visual {
    position: relative;
    min-height: 360px;
    align-self: center;
    animation: fadeInUp 0.8s ease 0.25s both;
}

.hero-visual::before {
    content: "";
    position: absolute;
    inset: 42px 50px 26px 10px;
    border-radius: 34px;
    background: linear-gradient(135deg, rgba(255,255,255,0.18), rgba(255,255,255,0.04));
    border: 1px solid rgba(255,255,255,0.18);
    transform: rotate(-5deg);
}

.hero-visual-card {
    position: absolute;
    left: 42px;
    top: 74px;
    right: 36px;
    min-height: 218px;
    padding: 32px;
    border-radius: 28px;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.28);
    box-shadow: 0 30px 80px rgba(0,0,0,0.23);
    backdrop-filter: blur(14px);
}

.hero-visual-card span {
    display: inline-block;
    margin-bottom: 26px;
    padding: 6px 12px;
    border-radius: 999px;
    color: #F58029;
    background: rgba(245,128,41,0.13);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.hero-visual-card strong {
    display: block;
    font-size: 1.9rem;
    line-height: 1.25;
    margin-bottom: 12px;
}

.hero-visual-card em {
    display: block;
    color: rgba(255,255,255,0.72);
    font-style: normal;
}

.hero-metric {
    position: absolute;
    min-width: 142px;
    padding: 15px 18px;
    border-radius: 18px;
    background: rgba(255,255,255,0.92);
    box-shadow: 0 18px 48px rgba(0,0,0,0.18);
    color: #1f2d3d;
}

.hero-metric.top {
    top: 24px;
    right: 10px;
}

.hero-metric.bottom {
    left: 0;
    bottom: 20px;
}

.hero-metric strong {
    display: block;
    font-size: 1.35rem;
    color: #0669BA;
    line-height: 1.2;
}

.hero-metric span {
    color: #66758a;
    font-size: 0.86rem;
}

.hero-btns {
    display: flex;
    gap: 16px;
    animation: fadeInUp 0.8s ease 0.3s both;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 13px 32px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
}
.btn-primary {
    background: #F58029;
    color: #fff;
    border: 2px solid #F58029;
}
.btn-primary:hover {
    background: #e0701a;
    border-color: #e0701a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 128, 41, 0.4);
}
.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.7);
}
.btn-outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
}

/* Hero Dots & Arrows */
.hero-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}
.hero-dot {
    width: 12px; height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: 2px solid rgba(255,255,255,0.6);
    cursor: pointer;
    transition: all 0.3s;
}
.hero-dot.active { background: #fff; border-color: #fff; transform: scale(1.2); }

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    font-size: 2rem;
    width: 48px; height: 48px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
    display: flex; align-items: center; justify-content: center;
}
.hero-arrow:hover { background: rgba(255,255,255,0.3); }
.hero-arrow-left  { left: 20px; }
.hero-arrow-right { right: 20px; }

/* ---------- Features ---------- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    background: #fff;
    border-radius: 18px;
    padding: 36px 24px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid #eef2f7;
    box-shadow: 0 10px 30px rgba(20, 45, 80, 0.045);
    position: relative;
    overflow: hidden;
}
.feature-card::after {
    content: "";
    position: absolute;
    inset: auto 22px 0;
    height: 3px;
    border-radius: 999px 999px 0 0;
    background: linear-gradient(90deg, #0669BA, #F58029);
    opacity: 0;
    transition: opacity 0.3s;
}
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}
.feature-card:hover::after { opacity: 1; }

.feature-icon {
    width: 80px; height: 80px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 10px;
}
.feature-desc {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

/* ---------- Products ---------- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.product-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.3s;
    border: 1px solid #eef2f7;
    box-shadow: 0 10px 30px rgba(20, 45, 80, 0.05);
    display: block;
    width: 100%;
    min-width: 0;
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(20, 45, 80, 0.13);
    border-color: rgba(6,105,186,0.18);
}

.product-img {
    height: 200px;
    border-radius: 18px 18px 0 0;
    background-size: contain;
    background-position: center;
    background-color: #fff;
    background-repeat: no-repeat;
    transition: transform 0.35s ease;
}
.product-card:hover .product-img { transform: scale(1.03); }
.product-img-text {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    color: rgba(255,255,255,0.9);
    letter-spacing: 3px;
}
.product-info { padding: 20px; }
.product-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 6px;
}
.product-desc {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
}

/* ---------- Solutions ---------- */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.solution-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 240px;
    cursor: pointer;
}
.solution-img {
    position: absolute;
    inset: 0;
    transition: transform 0.5s;
}
.solution-card:hover .solution-img { transform: scale(1.08); }

.solution-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.1) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    color: #fff;
}
.solution-overlay h3 { font-size: 1.3rem; margin-bottom: 6px; }
.solution-overlay p { font-size: 0.9rem; opacity: 0.85; margin-bottom: 10px; }
.solution-link {
    color: #F58029;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
}
.solution-card:hover .solution-link { letter-spacing: 1px; }

/* ---------- Stats ---------- */
.stats { padding: 64px 0; }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item { padding: 20px; }
.stat-number { font-size: 3rem; font-weight: 800; }
.stat-plus  { font-size: 2rem; font-weight: 700; color: #F58029; }
.stat-label { display: block; font-size: 1rem; opacity: 0.85; margin-top: 4px; }

/* ---------- Customer Cases ---------- */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.case-card {
    position: relative;
    background: #fff;
    border: 1px solid #e7edf5;
    border-radius: 14px;
    padding: 26px;
    overflow: hidden;
    box-shadow: 0 8px 26px rgba(20, 45, 80, 0.05);
    transition: all 0.25s ease;
}

.case-card::after {
    content: "";
    position: absolute;
    right: -48px;
    top: -48px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(6, 105, 186, 0.06);
}

.case-card:hover {
    transform: translateY(-5px);
    border-color: rgba(6, 105, 186, 0.26);
    box-shadow: 0 16px 42px rgba(6, 105, 186, 0.1);
}

.case-badge {
    display: inline-flex;
    align-items: center;
    height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(245, 128, 41, 0.12);
    color: #F58029;
    font-size: 0.78rem;
    font-weight: 800;
    margin-bottom: 14px;
}

.case-card h3 {
    font-size: 1.12rem;
    color: #222;
    margin-bottom: 10px;
}

.case-card p {
    color: #666;
    font-size: 0.92rem;
    line-height: 1.8;
    margin-bottom: 14px;
}

.case-card ul {
    display: grid;
    gap: 8px;
}

.case-card li {
    position: relative;
    padding-left: 18px;
    color: #4f5f75;
    font-size: 0.88rem;
    line-height: 1.6;
}

.case-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #0669BA;
}

.case-cta {
    margin-top: 24px;
    padding: 20px 24px;
    border-radius: 14px;
    background: linear-gradient(135deg, #0669BA, #0b7bd6);
    color: #fff;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.case-cta strong { font-size: 1rem; }

.case-cta span {
    flex: 1;
    min-width: 220px;
    opacity: 0.9;
    font-size: 0.9rem;
}

.case-cta a {
    color: #fff;
    background: #F58029;
    border-radius: 999px;
    padding: 10px 16px;
    text-decoration: none;
    font-weight: 800;
    white-space: nowrap;
}

/* ---------- Footer ---------- */
.footer {
    background: #1a1a2e;
    color: #bbb;
    padding: 60px 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.2fr 1.2fr 1.2fr 1.5fr;
    gap: 30px;
}

.footer-heading {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255,255,255,0.08);
}

.footer-about p { margin-bottom: 10px; font-size: 0.88rem; line-height: 1.7; }
.footer-phone { color: #F58029; font-size: 1.2rem; font-weight: 700; }

.footer-links li { margin-bottom: 8px; }
.footer-links a {
    font-size: 0.88rem;
    color: #999;
    transition: color 0.25s;
}
.footer-links a:hover { color: #F58029; }

.footer-qr { text-align: center; }
.qr-code { width: 100px; height: 100px; margin: 0 auto 10px; }
.qr-text { font-size: 0.8rem; color: #888; }

.footer-bottom {
    margin-top: 40px;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    text-align: center;
    font-size: 0.8rem;
    color: #666;
}

.visit-stats {
    margin-top: 8px;
    color: #8d93a6;
    line-height: 1.8;
}

.visit-stats span {
    color: #F58029;
    font-weight: 700;
}

/* ---------- Back to Top ---------- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px; height: 44px;
    background: #0669BA;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(6, 105, 186, 0.3);
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: #055a9e; transform: translateY(-3px); }

/* ---------- Quick Contact ---------- */
.quick-contact {
    position: fixed;
    right: 30px;
    bottom: 158px;
    z-index: 998;
    display: grid;
    gap: 10px;
}

.quick-contact-item {
    width: 112px;
    min-height: 42px;
    border: none;
    border-radius: 999px;
    background: #fff;
    color: #0669BA;
    border: 1px solid rgba(6, 105, 186, 0.16);
    box-shadow: 0 8px 24px rgba(15, 35, 60, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: inherit;
    font-size: 0.86rem;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
}

.quick-contact-item:hover {
    color: #fff;
    background: #0669BA;
    transform: translateX(-4px);
}

.quick-phone {
    color: #F58029;
    border-color: rgba(245, 128, 41, 0.22);
}

.quick-phone:hover {
    background: #F58029;
}

.quick-icon {
    font-size: 1rem;
    line-height: 1;
}

/* ---------- AI Chat Assistant ---------- */
.ai-chat {
    position: fixed;
    bottom: 90px;
    right: 30px;
    z-index: 1000;
}

.ai-chat-panel {
    position: absolute;
    right: 0;
    bottom: 68px;
    width: 340px;
    max-width: calc(100vw - 32px);
    background: #fff;
    border: 1px solid rgba(6, 105, 186, 0.12);
    border-radius: 14px;
    box-shadow: 0 18px 50px rgba(15, 35, 60, 0.18);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(0.98);
    transform-origin: right bottom;
    transition: all 0.25s ease;
}

.ai-chat.open .ai-chat-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.ai-chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    background: linear-gradient(135deg, #0669BA, #0b7bd6);
    color: #fff;
}

.ai-chat-header strong {
    display: block;
    font-size: 1rem;
    line-height: 1.2;
}

.ai-chat-header span {
    display: block;
    margin-top: 4px;
    font-size: 0.76rem;
    opacity: 0.86;
}

.ai-chat-close {
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
    color: #fff;
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
}

.ai-chat-body {
    height: 300px;
    padding: 16px;
    overflow-y: auto;
    background: #f6f8fb;
}

.ai-message {
    max-width: 86%;
    margin-bottom: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 0.88rem;
    line-height: 1.6;
}

.ai-message-bot {
    background: #fff;
    color: #333;
    border: 1px solid #e8edf5;
    border-bottom-left-radius: 4px;
}

.ai-message-user {
    margin-left: auto;
    background: #0669BA;
    color: #fff;
    border-bottom-right-radius: 4px;
}

.ai-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0 4px;
}

.ai-quick-actions button {
    border: 1px solid rgba(6, 105, 186, 0.18);
    background: #fff;
    color: #0669BA;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 0.78rem;
    cursor: pointer;
}

.ai-quick-actions button:hover {
    background: #eef7ff;
}

.ai-chat-form {
    display: flex;
    gap: 8px;
    padding: 12px;
    border-top: 1px solid #edf0f5;
    background: #fff;
}

.ai-chat-form input {
    min-width: 0;
    flex: 1;
    height: 38px;
    padding: 0 12px;
    border: 1px solid #dfe5ee;
    border-radius: 8px;
    outline: none;
    font-size: 0.88rem;
}

.ai-chat-form input:focus {
    border-color: #0669BA;
    box-shadow: 0 0 0 3px rgba(6, 105, 186, 0.08);
}

.ai-chat-form button {
    height: 38px;
    padding: 0 14px;
    border: none;
    border-radius: 8px;
    background: #F58029;
    color: #fff;
    cursor: pointer;
    font-weight: 600;
}

.ai-chat-btn {
    width: 56px; height: 56px;
    background: linear-gradient(135deg, #0669BA, #F58029);
    border: none;
    border-radius: 999px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(6, 105, 186, 0.35);
    transition: transform 0.3s;
}
.ai-chat-btn:hover { transform: scale(1.1); }

.ai-chat-face {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .header-inner { height: 76px; }
    .logo-icon { height: 56px; }
    .logo-text { font-size: 1.72rem; }
    .nav-link { padding: 8px 8px; font-size: 0.88rem; }
    .btn-login { padding: 7px 9px; font-size: 0.82rem; }
    .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .solutions-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-top {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero-title { font-size: 2.2rem; }
    .hero { height: 420px; margin-top: 76px; }
    .hero-content {
        grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
        gap: 28px;
    }
    .hero-visual { min-height: 300px; }
    .hero-visual-card {
        left: 20px;
        right: 14px;
        top: 68px;
        min-height: 180px;
        padding: 24px;
    }
    .hero-visual-card strong { font-size: 1.45rem; }
    .hero-metric { min-width: 116px; padding: 12px 14px; }
}

@media (max-width: 768px) {
    .header-inner { height: 68px; }
    .logo-icon { height: 50px; }
    .logo-text { font-size: 1.52rem; }
    .menu-toggle { display: flex; }

    .nav {
        position: fixed;
        top: 68px;
        left: 0; right: 0;
        background: #fff;
        border-bottom: 1px solid #eee;
        padding: 16px 20px;
        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.3s;
        pointer-events: none;
    }
    .nav.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    .nav-list { flex-direction: column; gap: 4px; }
    .nav-link { padding: 12px 14px; }

    .hero { height: 430px; margin-top: 68px; }
    .hero-content {
        display: flex;
        align-items: center;
        padding-top: 0;
    }
    .hero-copy { max-width: 100%; }
    .hero-kicker { font-size: 0.78rem; }
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 0.95rem; }
    .hero-visual { display: none; }

    .features-grid { grid-template-columns: minmax(0, 1fr); }
    .products-grid { grid-template-columns: minmax(0, 1fr); }
    .product-img { height: 210px; }
    .product-info { padding: 18px; }
    .product-name { font-size: 1.05rem; }
    .product-desc { font-size: 0.88rem; }
    .solutions-grid { grid-template-columns: minmax(0, 1fr); }
    .cases-grid { grid-template-columns: minmax(0, 1fr); }
    .case-card { padding: 20px; }
    .case-cta { align-items: flex-start; flex-direction: column; }
    .case-cta span { min-width: 0; }
    .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .section { padding: 60px 0; }
    .section-title { font-size: 1.6rem; }
    .stat-number { font-size: 2.2rem; }

    .hero-arrow { display: none; }
    .quick-contact {
        left: 10px;
        right: 10px;
        bottom: 10px;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        padding: 8px;
        border-radius: 18px;
        background: rgba(255,255,255,0.94);
        box-shadow: 0 -8px 26px rgba(15, 35, 60, 0.12);
        backdrop-filter: blur(10px);
    }
    .quick-contact-item {
        width: auto;
        min-height: 44px;
        border-radius: 12px;
        box-shadow: none;
        flex-direction: column;
        gap: 2px;
        font-size: 0.78rem;
    }
    .quick-contact-item:hover {
        transform: none;
    }
    .quick-icon { font-size: 1.08rem; }
    .ai-chat { right: 14px; bottom: 78px; }
    .ai-chat-panel {
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: 146px;
        width: auto;
        max-width: none;
    }
    .ai-chat-body { height: 280px; }
}

@media (max-width: 480px) {
    .container { padding: 0 14px; }
    .section { padding: 46px 0; }
    .section-header { margin-bottom: 30px; }
    .section-title { font-size: 1.42rem; }
    .section-desc { font-size: 0.88rem; }
    .hero { height: 330px; }
    .hero-title { font-size: 1.72rem; }
    .hero-content { padding: 0 16px; }
    .btn { padding: 10px 16px; }
    .product-img { height: 190px; }
    .download-card { padding: 14px; align-items: flex-start; }
    .download-name { font-size: 0.92rem; }
    .footer-top { grid-template-columns: 1fr; }
    .ai-chat-btn { display: none; }
    .back-to-top { right: 14px; bottom: 78px; }
}


/* ---------- Download Center ---------- */
.download-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.download-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 16px 20px;
    transition: all 0.25s;
    text-decoration: none;
    color: #333;
}

.download-card:hover {
    border-color: #0669BA;
    box-shadow: 0 4px 16px rgba(6,105,186,0.1);
    transform: translateY(-2px);
}

.download-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.download-name {
    flex: 1;
    font-size: 0.9rem;
    font-weight: 600;
    color: #222;
    line-height: 1.3;
}

.download-size {
    font-size: 0.78rem;
    color: #999;
    flex-shrink: 0;
    white-space: nowrap;
}

@media (max-width: 1024px) {
    .download-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
    .download-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- FAQ ---------- */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.faq-card {
    background: #fff;
    border: 1px solid #e8edf5;
    border-radius: 12px;
    padding: 22px;
    box-shadow: 0 8px 26px rgba(20, 45, 80, 0.04);
    transition: all 0.25s ease;
}

.faq-card:hover {
    border-color: rgba(6, 105, 186, 0.28);
    box-shadow: 0 12px 34px rgba(6, 105, 186, 0.08);
    transform: translateY(-3px);
}

.faq-card h3 {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
    color: #222;
    font-size: 1rem;
    line-height: 1.5;
}

.faq-card h3::before {
    content: "Q";
    position: absolute;
    left: 0;
    top: 1px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #0669BA;
    color: #fff;
    font-size: 0.75rem;
    line-height: 20px;
    text-align: center;
}

.faq-card p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .faq-grid { grid-template-columns: minmax(0, 1fr); }
    .faq-card { padding: 18px; }
}

/* ---------- Inquiry ---------- */
.inquiry {
    background: linear-gradient(135deg, rgba(6, 105, 186, 0.06), rgba(245, 128, 41, 0.06));
}

.inquiry-box {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 28px;
    align-items: stretch;
    background: #fff;
    border-radius: 18px;
    border: 1px solid #e7edf5;
    box-shadow: 0 16px 48px rgba(20, 45, 80, 0.08);
    padding: 30px;
}

.inquiry-copy {
    padding: 8px 6px;
}

.inquiry-label {
    display: inline-flex;
    padding: 7px 13px;
    border-radius: 999px;
    background: rgba(245, 128, 41, 0.12);
    color: #F58029;
    font-size: 0.8rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.inquiry-copy h2 {
    font-size: 1.8rem;
    color: #222;
    line-height: 1.3;
    margin-bottom: 12px;
}

.inquiry-copy p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 16px;
}

.inquiry-copy ul {
    display: grid;
    gap: 9px;
}

.inquiry-copy li {
    color: #42526a;
    font-size: 0.9rem;
}

.inquiry-form {
    display: grid;
    gap: 12px;
}

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

.inquiry-form input,
.inquiry-form textarea {
    width: 100%;
    border: 1px solid #d9e2ef;
    border-radius: 10px;
    padding: 12px 14px;
    font-family: inherit;
    font-size: 0.92rem;
    outline: none;
}

.inquiry-form textarea {
    min-height: 130px;
    resize: vertical;
    line-height: 1.7;
}

.inquiry-form input:focus,
.inquiry-form textarea:focus {
    border-color: #0669BA;
    box-shadow: 0 0 0 3px rgba(6, 105, 186, 0.08);
}

.inquiry-form button {
    border: none;
    border-radius: 999px;
    background: #F58029;
    color: #fff;
    padding: 13px 18px;
    font-family: inherit;
    font-size: 0.96rem;
    font-weight: 800;
    cursor: pointer;
}

.inquiry-status {
    min-height: 22px;
    color: #2d8a4d;
    font-size: 0.88rem;
}

.inquiry-status.error {
    color: #e54d42;
}

@media (max-width: 768px) {
    .inquiry-box {
        grid-template-columns: 1fr;
        padding: 22px;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .inquiry-copy h2 {
        font-size: 1.45rem;
    }
}

/* ---------- About Us ---------- */
.about-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    align-items: start;
}

.about-text p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.9;
    margin-bottom: 16px;
    text-indent: 2em;
}

.about-info {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
}

.about-info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid #e8e8e8;
}

.about-info-item:last-child {
    border-bottom: none;
}

.about-info-icon {
    font-size: 2rem;
    flex-shrink: 0;
    width: 40px;
    text-align: center;
}

.about-info-item strong {
    display: block;
    font-size: 0.9rem;
    color: #222;
    margin-bottom: 2px;
}

.about-info-item p {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
    }
    .about-text p { text-indent: 1.5em; }
}

/* ---------- Video Center ---------- */
.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.video-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eee;
    aspect-ratio: 16/9;
}

.video-card iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    color: #aaa;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .video-grid { grid-template-columns: 1fr; }
}

/* ---------- Tech Visual Upgrade ---------- */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(circle at 12% 18%, rgba(6,105,186,0.08), transparent 28%),
        radial-gradient(circle at 88% 26%, rgba(245,128,41,0.07), transparent 26%),
        linear-gradient(135deg, rgba(6,105,186,0.025), transparent 42%);
}

.hero {
    background: #021d3a;
}

.hero-slide::before {
    background:
        radial-gradient(circle at 76% 22%, rgba(245,128,41,0.34), transparent 26%),
        radial-gradient(circle at 18% 72%, rgba(0,204,255,0.18), transparent 30%),
        linear-gradient(90deg, rgba(2,20,45,0.44), rgba(2,20,45,0.08));
}

.hero-slide::after {
    opacity: 0.24;
    background-image:
        linear-gradient(rgba(255,255,255,0.18) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.18) 1px, transparent 1px),
        linear-gradient(120deg, transparent 0 48%, rgba(0,204,255,0.22) 49%, transparent 50% 100%);
    background-size: 48px 48px, 48px 48px, 160px 160px;
}

.hero-kicker {
    background: linear-gradient(90deg, rgba(0,204,255,0.16), rgba(255,255,255,0.09));
    border-color: rgba(0,204,255,0.35);
    backdrop-filter: blur(10px);
    box-shadow: inset 0 0 16px rgba(0,204,255,0.12), 0 12px 30px rgba(0,0,0,0.08);
}

.hero-title {
    text-shadow: 0 12px 36px rgba(0,0,0,0.25);
}

.hero-title .highlight {
    text-shadow: 0 0 24px rgba(245,128,41,0.38);
}

.hero-visual::before {
    background:
        linear-gradient(135deg, rgba(0,204,255,0.16), rgba(255,255,255,0.04)),
        repeating-linear-gradient(90deg, rgba(255,255,255,0.1) 0 1px, transparent 1px 18px);
    border-color: rgba(0,204,255,0.24);
    box-shadow: 0 0 60px rgba(0,204,255,0.12);
}

.hero-visual::after {
    content: "";
    position: absolute;
    left: 72px;
    right: 76px;
    top: 96px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, rgba(0,229,255,0.95), transparent);
    box-shadow: 0 0 18px rgba(0,229,255,0.75);
    animation: scanLine 3.8s ease-in-out infinite;
}

.hero-visual-card {
    background:
        linear-gradient(150deg, rgba(255,255,255,0.2), rgba(4,48,96,0.26)),
        linear-gradient(90deg, rgba(0,204,255,0.08), transparent);
    border-color: rgba(0,204,255,0.34);
    box-shadow: 0 30px 80px rgba(0,0,0,0.28), inset 0 0 30px rgba(0,204,255,0.08);
    backdrop-filter: blur(16px);
}

.hero-visual-card::before {
    content: "";
    position: absolute;
    inset: 14px;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,0.12);
    background:
        linear-gradient(90deg, rgba(0,204,255,0.22) 0 38px, transparent 38px) left top / 80px 1px no-repeat,
        linear-gradient(rgba(0,204,255,0.22) 0 38px, transparent 38px) left top / 1px 80px no-repeat,
        linear-gradient(270deg, rgba(245,128,41,0.28) 0 38px, transparent 38px) right bottom / 80px 1px no-repeat,
        linear-gradient(0deg, rgba(245,128,41,0.28) 0 38px, transparent 38px) right bottom / 1px 80px no-repeat;
    pointer-events: none;
}

.hero-metric {
    border: 1px solid rgba(0,204,255,0.18);
    box-shadow: 0 18px 48px rgba(0,0,0,0.2), 0 0 24px rgba(0,204,255,0.12);
}

@keyframes scanLine {
    0%, 100% { transform: translateY(0); opacity: 0.35; }
    50% { transform: translateY(178px); opacity: 1; }
}

.feature-card {
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(135deg, rgba(6,105,186,0.18), rgba(245,128,41,0.14)) border-box;
    border: 1px solid transparent;
}

.feature-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(6,105,186,0.08), transparent 42%),
        radial-gradient(circle at 80% 12%, rgba(0,204,255,0.12), transparent 24%);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover::before {
    opacity: 1;
}

.product-card {
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(135deg, rgba(6,105,186,0.18), rgba(0,204,255,0.1), rgba(245,128,41,0.16)) border-box;
    border: 1px solid transparent;
}

.product-card::before {
    content: "";
    display: block;
    height: 3px;
    background: linear-gradient(90deg, #0669BA, #00c8ff, #F58029);
    opacity: 0;
    transition: opacity 0.3s;
}

.product-card:hover::before {
    opacity: 1;
}

.product-img {
    background-color: #f8fbff;
    box-shadow: inset 0 -1px 0 rgba(6,105,186,0.08);
}

@media (max-width: 768px) {
    .hero-visual::after { display: none; }
}

/* ---------- Mobile Tech Upgrade ---------- */
@media (max-width: 768px) {
    .hero-slide::before {
        background:
            radial-gradient(circle at 78% 20%, rgba(245,128,41,0.36), transparent 30%),
            radial-gradient(circle at 18% 82%, rgba(0,204,255,0.25), transparent 34%),
            linear-gradient(135deg, rgba(2,20,45,0.36), rgba(2,20,45,0.08));
    }

    .hero-slide::after {
        opacity: 0.28;
        background-size: 34px 34px, 34px 34px, 120px 120px;
        mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 90%, transparent 100%);
    }

    .hero-copy {
        position: relative;
        padding: 24px 18px;
        border-radius: 22px;
        background: linear-gradient(135deg, rgba(255,255,255,0.14), rgba(0,204,255,0.06));
        border: 1px solid rgba(0,204,255,0.22);
        box-shadow: inset 0 0 28px rgba(0,204,255,0.08), 0 18px 55px rgba(0,0,0,0.18);
        backdrop-filter: blur(10px);
    }

    .hero-copy::before,
    .hero-copy::after {
        content: "";
        position: absolute;
        width: 72px;
        height: 72px;
        pointer-events: none;
    }

    .hero-copy::before {
        left: 10px;
        top: 10px;
        border-top: 2px solid rgba(0,229,255,0.65);
        border-left: 2px solid rgba(0,229,255,0.65);
        border-radius: 18px 0 0 0;
    }

    .hero-copy::after {
        right: 10px;
        bottom: 10px;
        border-right: 2px solid rgba(245,128,41,0.7);
        border-bottom: 2px solid rgba(245,128,41,0.7);
        border-radius: 0 0 18px 0;
    }
}

/* ---------- Mobile Conversion Bar Upgrade ---------- */
@media (max-width: 768px) {
    body { padding-bottom: 82px; }
    .quick-contact {
        border: 1px solid rgba(6,105,186,0.12);
        background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(246,250,255,0.96));
    }
    .quick-contact-item {
        position: relative;
        overflow: hidden;
        border: 1px solid rgba(6,105,186,0.12);
        background: #fff;
    }
    .quick-contact-item::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(6,105,186,0.08), rgba(245,128,41,0.08));
        opacity: 0;
        transition: opacity 0.25s;
    }
    .quick-contact-item:active::before { opacity: 1; }
    .quick-contact-item span { position: relative; z-index: 1; }
    .quick-phone {
        color: #fff;
        background: linear-gradient(135deg, #F58029, #ff9b4a);
        border-color: transparent;
    }
    .quick-quote {
        color: #fff;
        background: linear-gradient(135deg, #0669BA, #0b7bd6);
        border-color: transparent;
    }
}
