/* ===== 全局重置 & 基础 ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Segoe UI', 'PingFang SC', Roboto, sans-serif;
    color: #333;
    background: #f8fafc;
    line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== 导航栏 ===== */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
    border-bottom: 2px solid #1e3a6b;
}
.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

/* Logo 样式 - 图片 + 文字 */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
}
.logo .logo-img {
    height: 40px;
    width: auto;
    display: block;
}
.logo .logo-text {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1px;
}
.logo .logo-text span {
    color: #4a9eff;
}
.logo .logo-sub {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    font-weight: 400;
    margin-left: 4px;
    letter-spacing: 0.5px;
    border-left: 1px solid rgba(255,255,255,0.15);
    padding-left: 12px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-links a {
    color: rgba(255,255,255,0.8);
    padding: 8px 18px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.25s ease;
    position: relative;
}
.nav-links a:hover,
.nav-links a.active {
    color: #fff;
    background: rgba(74,158,255,0.15);
}
.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: #4a9eff;
    border-radius: 4px;
}
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 26px;
    cursor: pointer;
}

/* ===== 页面内容 ===== */
.page-content {
    padding-top: 68px;
    min-height: 80vh;
}

/* ===== Hero ===== */
.hero {
    min-height: 90vh;
    background: linear-gradient(135deg, #0a192f 0%, #1a365d 50%, #1e3a6b 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.hero::before, .hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(74,158,255,0.08) 0%, transparent 70%);
}
.hero::before { top: -50%; right: -20%; width: 600px; height: 600px; }
.hero::after { bottom: -30%; left: -10%; width: 500px; height: 500px; }
.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 30px 0 40px;
}
.hero-content h1 {
    font-size: 52px;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 12px;
    letter-spacing: 2px;
}
.hero-content h1 .highlight { color: #4a9eff; }
.hero-content .subtitle {
    font-size: 22px;
    color: rgba(255,255,255,0.85);
    font-weight: 300;
    margin-bottom: 20px;
}
.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 30px;
    margin-bottom: 32px;
}
.hero-tags span {
    color: rgba(255,255,255,0.75);
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.hero-tags span i { color: #4a9eff; }
.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #4a9eff;
    color: #fff;
    padding: 14px 38px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 17px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(74,158,255,0.35);
}
.btn-primary:hover {
    background: #3a8aee;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(74,158,255,0.45);
}
.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}
.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: #fff;
    padding: 14px 38px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 17px;
    border: 2px solid rgba(255,255,255,0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-outline:hover {
    border-color: #4a9eff;
    background: rgba(74,158,255,0.1);
    transform: translateY(-2px);
}
.hero-placeholder {
    width: 100%;
    max-width: 520px;
    aspect-ratio: 4/3;
    background: rgba(255,255,255,0.04);
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    backdrop-filter: blur(4px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.hero-placeholder i {
    font-size: 80px;
    color: rgba(74,158,255,0.3);
    margin-bottom: 20px;
}
.hero-placeholder p {
    color: rgba(255,255,255,0.4);
    font-size: 14px;
    letter-spacing: 2px;
}

/* ===== 通用标题 ===== */
.section-title {
    text-align: center;
    margin-bottom: 48px;
}
.section-title h2 {
    font-size: 36px;
    font-weight: 700;
    color: #0a192f;
    letter-spacing: 1px;
}
.section-title h2 span {
    border-bottom: 4px solid #4a9eff;
    padding-bottom: 6px;
}
.section-title p {
    color: #6b7a8f;
    margin-top: 12px;
    font-size: 17px;
}

/* ===== 产品网格 ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 28px;
}
.product-card {
    background: #fff;
    border-radius: 16px;
    padding: 20px 16px;
    text-align: center;
    border: 1px solid #eef2f7;
    transition: all 0.35s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
.product-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4a9eff, #2563eb);
    opacity: 0;
    transition: opacity 0.35s ease;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
    border-color: #d0dbe8;
}
.product-card:hover::before { opacity: 1; }
.product-img {
    width: 100%;
    aspect-ratio: 1/1;
    background: #f0f4fa;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: #4a9eff;
    margin-bottom: 12px;
    transition: transform 0.3s ease;
    background-image: linear-gradient(145deg, #e8edf5, #d5dee9);
}
.product-card:hover .product-img { transform: scale(1.04); }
.product-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: #0a192f;
    margin-bottom: 2px;
}
.product-card .model {
    color: #4a9eff;
    font-weight: 600;
    font-size: 14px;
}
.product-card .feature {
    color: #6b7a8f;
    font-size: 13px;
}

/* ===== 新闻 ===== */
.news-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.news-featured {
    background: #fff;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    border: 1px solid #eef2f7;
}
.news-featured .badge {
    display: inline-block;
    background: #4a9eff;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 16px;
    border-radius: 20px;
    letter-spacing: 1px;
    margin-bottom: 12px;
}
.news-featured h3 {
    font-size: 22px;
    font-weight: 700;
    color: #0a192f;
    margin-bottom: 10px;
}
.news-featured p {
    color: #5a6a7f;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 16px;
}
.read-more {
    color: #4a9eff;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.3s ease;
}
.read-more:hover { gap: 12px; }
.news-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.news-item {
    background: #fff;
    border-radius: 14px;
    padding: 16px 20px;
    border: 1px solid #eef2f7;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}
.news-item:hover {
    border-color: #4a9eff;
    transform: translateX(6px);
    box-shadow: 0 4px 20px rgba(74,158,255,0.10);
}
.news-item .info { flex: 1; }
.news-item .info h4 {
    font-size: 16px;
    font-weight: 600;
    color: #0a192f;
    margin-bottom: 2px;
    transition: color 0.3s ease;
}
.news-item:hover .info h4 { color: #4a9eff; }
.news-item .info p {
    color: #6b7a8f;
    font-size: 13px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-item .date {
    color: #8a9aa8;
    font-size: 13px;
    white-space: nowrap;
    margin-left: 16px;
}

/* ===== 搜索框 ===== */
.search-box {
    max-width: 420px;
    margin: 0 auto 32px;
    display: flex;
    border: 2px solid #e0e6ef;
    border-radius: 30px;
    overflow: hidden;
    background: #fff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.search-box:focus-within {
    border-color: #4a9eff;
    box-shadow: 0 0 0 4px rgba(74,158,255,0.12);
}
.search-box input {
    flex: 1;
    border: none;
    padding: 12px 20px;
    outline: none;
    font-size: 15px;
    background: transparent;
}
.search-box input::placeholder { color: #aab5c4; }
.search-box button {
    background: none;
    border: none;
    padding: 0 20px;
    color: #4a9eff;
    font-size: 18px;
    cursor: pointer;
    transition: color 0.3s ease;
}
.search-box button:hover { color: #2563eb; }

/* ===== 优势 ===== */
.advantages-grid {
    display: grid;
    gap: 30px;
}
.advantage-item {
    text-align: center;
    padding: 28px 16px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #eef2f7;
    transition: all 0.35s ease;
}
.advantage-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
    border-color: #d0dbe8;
}
.advantage-item .icon {
    font-size: 40px;
    color: #4a9eff;
    margin-bottom: 10px;
}
.advantage-item h4 {
    font-size: 18px;
    font-weight: 700;
    color: #0a192f;
    margin-bottom: 4px;
}
.advantage-item p {
    color: #6b7a8f;
    font-size: 14px;
}

/* ===== 流程 ===== */
.process-flow {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    border-radius: 20px;
    padding: 36px 40px;
    border: 1px solid #eef2f7;
}
.process-step { text-align: center; }
.process-step .num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #4a9eff;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 10px;
}
.process-step h5 {
    font-size: 16px;
    font-weight: 600;
    color: #0a192f;
}
.process-step p {
    font-size: 14px;
    color: #6b7a8f;
}

/* ===== 联系 ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}
.contact-details div {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 8px 0;
    color: #3a4a5f;
    font-size: 15px;
}
.contact-details div i {
    width: 36px;
    height: 36px;
    background: #eef2f7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4a9eff;
    font-size: 16px;
}

/* ===== 表单通用 ===== */
.form-group { margin-bottom: 16px; }
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid #dde3ec;
    font-size: 15px;
    transition: all 0.3s ease;
    outline: none;
    background: #fafbfc;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: #4a9eff;
    box-shadow: 0 0 0 3px rgba(74,158,255,0.08);
    background: #fff;
}

/* ===== 定制合作 - 咨询表单区域 ===== */
.consult-box {
    background: #0a192f;
    border-radius: 20px;
    padding: 40px;
    color: #fff;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 50px;
}
.consult-box .left h3 {
    font-size: 24px;
    margin-bottom: 12px;
}
.consult-box .left p {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
}
.consult-box .left .info-item {
    margin-top: 16px;
}
.consult-box .left .info-item i {
    color: #4a9eff;
    width: 30px;
}
.consult-box .right input,
.consult-box .right textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-size: 15px;
    transition: all 0.3s ease;
    outline: none;
}
.consult-box .right input::placeholder,
.consult-box .right textarea::placeholder {
    color: rgba(255,255,255,0.4);
}
.consult-box .right input:focus,
.consult-box .right textarea:focus {
    border-color: #4a9eff;
    background: rgba(255,255,255,0.12);
    box-shadow: 0 0 0 3px rgba(74,158,255,0.15);
}
.consult-box .right textarea {
    min-height: 80px;
    resize: vertical;
}
.consult-box .right .btn-primary {
    width: 100%;
    justify-content: center;
    padding: 14px;
    font-size: 17px;
    margin-top: 4px;
}

/* ===== 表单提交反馈消息 ===== */
.form-message {
    margin-top: 14px;
    font-size: 14px;
    text-align: center;
    padding: 8px 12px;
    border-radius: 8px;
    display: none;
}
.form-message.show {
    display: block;
}
.form-message.success {
    color: #27ae60;
    background: rgba(39,174,96,0.12);
}
.form-message.error {
    color: #e74c3c;
    background: rgba(231,76,60,0.12);
}

/* ===== 加载动画 ===== */
.loading-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== 弹窗 ===== */
.modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(6px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.modal-overlay.active {
    display: flex;
    opacity: 1;
}
.modal-content {
    background: #fff;
    max-width: 600px;
    width: 90%;
    border-radius: 24px;
    padding: 32px;
    position: relative;
    transform: scale(0.95);
    transition: transform 0.3s ease;
    box-shadow: 0 40px 80px rgba(0,0,0,0.3);
}
.modal-overlay.active .modal-content { transform: scale(1); }
.modal-close {
    position: absolute;
    top: 16px; right: 20px;
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    color: #8a9aa8;
    transition: color 0.3s ease;
}
.modal-close:hover { color: #0a192f; }
.modal-body { margin-top: 8px; }
.modal-body .product-img-big {
    width: 100%;
    aspect-ratio: 4/3;
    background: #f0f4fa;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 72px;
    color: #4a9eff;
    margin-bottom: 16px;
    background-image: linear-gradient(145deg, #e8edf5, #d5dee9);
}
.modal-body h2 {
    font-size: 24px;
    color: #0a192f;
    margin-bottom: 4px;
}
.modal-body .model-detail {
    color: #4a9eff;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 8px;
}
.modal-body .desc {
    color: #5a6a7f;
    line-height: 1.8;
}

/* ===== 页脚 ===== */
.footer {
    background: #0a192f;
    color: rgba(255,255,255,0.6);
    padding: 30px 0;
    border-top: 1px solid rgba(255,255,255,0.04);
}
.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.footer .social a {
    color: rgba(255,255,255,0.4);
    margin-left: 16px;
    font-size: 18px;
    transition: color 0.3s ease;
}
.footer .social a:hover { color: #4a9eff; }

/* ===== 浮动客服 ===== */
.float-consult {
    position: fixed;
    right: 24px;
    bottom: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.float-consult .btn-float {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #4a9eff;
    color: #fff;
    border: none;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(74,158,255,0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.float-consult .btn-float:hover { transform: scale(1.06); }
.float-consult .btn-float.chat {
    background: #1a365d;
    box-shadow: 0 4px 20px rgba(26,54,93,0.4);
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-tags { justify-content: center; }
    .hero-buttons { justify-content: center; }
    .hero-placeholder { max-width: 400px; margin: 0 auto; }
    .news-wrapper { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .process-flow { grid-template-columns: 1fr; gap: 20px; padding: 28px; }
    .consult-box { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .navbar .container { height: 60px; }
    .logo .logo-img { height: 30px; }
    .logo .logo-text { font-size: 17px; }
    .logo .logo-sub { font-size: 11px; padding-left: 8px; }
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0; right: 0;
        background: rgba(10,25,47,0.98);
        padding: 16px 24px 24px;
        gap: 6px;
        border-bottom: 2px solid #1e3a6b;
    }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 10px 16px; width: 100%; text-align: center; }
    .nav-toggle { display: block; }
    .hero-content h1 { font-size: 34px; }
    .hero-content .subtitle { font-size: 18px; }
    .section-title h2 { font-size: 28px; }
    .products-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
    .news-item { flex-direction: column; align-items: flex-start; gap: 6px; }
    .news-item .date { margin-left: 0; }
    .float-consult { right: 16px; bottom: 20px; }
    .float-consult .btn-float { width: 48px; height: 48px; font-size: 20px; }
    .consult-box { padding: 24px 18px; }
    .contact-grid .right { padding: 24px 18px; }
}
@media (max-width: 480px) {
    .logo .logo-sub { display: none; }
    .hero-content h1 { font-size: 28px; }
    .hero-buttons .btn-primary,
    .hero-buttons .btn-outline { padding: 12px 24px; font-size: 15px; }
    .advantages-grid { grid-template-columns: 1fr !important; }
}