/* ===== 云原生架构师 · 浅色商务风 ===== */
:root {
    --bg: #ffffff;
    --panel: #f8fafc;
    --panel2: #f1f5f9;
    --border: #e2e8f0;
    --text: #0f172a;
    --muted: #64748b;
    --accent: #2563eb;
    --accent2: #6366f1;
    --grad: linear-gradient(90deg, #2563eb, #6366f1);
    --ok: #10b981;
    --err: #ef4444;
}

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

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
        "Microsoft YaHei", "Noto Sans SC", sans-serif;
    line-height: 1.6;
}

a { color: var(--accent); text-decoration: none; }
img { max-width: 100%; display: block; }

/* ===== 导航 ===== */
.nav {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}
.nav-inner {
    max-width: 1120px; margin: 0 auto; padding: 14px 20px;
    display: flex; align-items: center; gap: 24px;
}
.brand { font-weight: 700; font-size: 17px; color: var(--text); letter-spacing: 0.5px; display: flex; align-items: center; gap: 8px; }
.brand:hover { color: var(--accent); }
.brand-logo { width: 40px; height: 40px; display: inline-block; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: var(--muted); font-size: 14px; transition: color .2s; }
.nav-links a:hover { color: var(--accent); }
.nav-cta { margin-left: 8px; }
.lang-select { 
    appearance: none; 
    -webkit-appearance: none; 
    background: linear-gradient(135deg, var(--panel) 0%, var(--panel2) 100%);
    border: 1.5px solid var(--border); 
    border-radius: 8px; 
    padding: 6px 32px 6px 12px; 
    font-size: 13px; 
    font-weight: 500;
    color: var(--text); 
    cursor: pointer; 
    margin-left: 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%232563eb' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; 
    background-position: right 10px center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
}
.lang-select:hover { 
    border-color: var(--accent); 
    box-shadow: 0 2px 8px rgba(37,99,235,0.15);
    transform: translateY(-1px);
}
.lang-select:focus { 
    outline: none; 
    border-color: var(--accent); 
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.nav-toggle { display: none; background: none; border: 1px solid var(--border); color: var(--text); border-radius: 8px; padding: 6px 10px; font-size: 16px; cursor: pointer; }
.nav-toggle:hover { border-color: var(--accent); color: var(--accent); }

/* ===== 按钮 ===== */
.btn {
    display: inline-block; padding: 10px 22px; border-radius: 10px;
    font-size: 14px; font-weight: 600; transition: all .2s; cursor: pointer; border: none;
}
.btn-lg { padding: 13px 30px; font-size: 15px; }
.btn-primary { background: var(--grad); color: #06121f; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(76, 201, 255, 0.25); }
.btn-ghost { border: 1px solid var(--border); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ===== Hero ===== */
.hero { max-width: 1120px; margin: 0 auto; padding: 32px 20px 60px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.eyebrow {
    display: inline-block; font-size: 12px; letter-spacing: 2px; color: var(--accent);
    border: 1px solid rgba(76, 201, 255, 0.35); padding: 4px 12px; border-radius: 999px;
    background: rgba(76, 201, 255, 0.06); margin-bottom: 18px;
}
.hero h1 { font-size: 42px; line-height: 1.25; font-weight: 800; letter-spacing: 0.5px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { margin-top: 18px; color: var(--muted); font-size: 16px; max-width: 520px; }
.hero-cta { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-tags { margin-top: 34px; display: flex; gap: 10px; flex-wrap: wrap; }
.hero-tags span {
    font-size: 12px; color: var(--muted); border: 1px solid var(--border);
    padding: 4px 12px; border-radius: 6px; font-family: ui-monospace, Consolas, monospace;
}

/* ===== Hero 图片轮播 ===== */
.hero-carousel {
    max-width: 1120px;
    margin: 20px auto 28px;
    padding: 0 20px;
    position: relative;
}
.hc-track {
    position: relative;
    aspect-ratio: 16 / 7;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
    background: #0d1220;
}
.hc-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    pointer-events: none;
}
.hc-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}
.hc-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hc-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);
}
.hc-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 0;
    padding: 0;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.45);
    transition: background 0.25s, transform 0.25s;
}
.hc-dot:hover {
    background: rgba(255, 255, 255, 0.75);
}
.hc-dot.is-active {
    background: #fff;
    transform: scale(1.25);
}
@media (max-width: 768px) {
    .hero-carousel { margin: 28px auto 20px; }
    .hc-track { aspect-ratio: 16 / 10; }
}

/* 终端装饰窗 */
.hero-term {
    background: #1e40af; border: 1px solid #1e3a8a; border-radius: 12px;
    box-shadow: 0 24px 60px rgba(37, 99, 235, 0.25); overflow: hidden;
}
.term-head {
    display: flex; align-items: center; gap: 8px;
    padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,0.15); background: #1e3a8a;
}
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot.r { background: #ff5f57; } .dot.y { background: #febc2e; } .dot.g { background: #28c840; }
.term-title { margin-left: 8px; font-size: 12px; color: rgba(255,255,255,0.7); font-family: ui-monospace, Consolas, monospace; }
.term-body {
    padding: 18px 20px; font-size: 12.5px; line-height: 1.8;
    font-family: ui-monospace, Consolas, "Courier New", monospace;
    color: #e0e7ff; overflow-x: auto;
}

/* ===== 信任数字 ===== */
.stats {
    display: grid; grid-template-columns: repeat(4, 1fr);
    max-width: 1120px; margin: 0 auto; padding: 28px 20px;
    border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
    background: var(--panel2);
}
.stat { text-align: center; padding: 10px; }
.stat-num {
    font-size: 30px; font-weight: 800; background: var(--grad);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-label { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* ===== 区块通用 ===== */
.section { max-width: 1120px; margin: 0 auto; padding: 84px 20px; }
.section.alt { max-width: none; background: var(--panel2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section.alt > * { max-width: 1120px; margin-left: auto; margin-right: auto; }
.sec-head { text-align: center; margin-bottom: 48px; }
.sec-head h2 { font-size: 30px; font-weight: 800; margin-bottom: 10px; }
.sec-head p { color: var(--muted); font-size: 15px; }

/* ===== 服务卡片 ===== */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
    background: var(--panel); border: 1px solid var(--border); border-radius: 14px;
    padding: 30px 26px; transition: all .25s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(76, 201, 255, 0.5); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35); }
.card-icon { font-size: 26px; margin-bottom: 14px; }
.card h3 { font-size: 19px; font-weight: 700; margin-bottom: 14px; }
.card ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.card li { font-size: 14px; color: var(--muted); padding-left: 18px; position: relative; }
.card li::before { content: "▸"; position: absolute; left: 0; color: var(--accent); }
.card-deliver {
    margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--border);
    font-size: 12.5px; color: var(--accent2);
}
.card-price {
    margin-top: 10px; font-size: 15px; font-weight: 700; color: var(--accent);
    letter-spacing: 0.3px;
}

/* ===== 技术栈 ===== */
.stack-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.stack-group { background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 22px; }
.stack-group h4 { font-size: 14px; color: var(--accent); margin-bottom: 14px; letter-spacing: 1px; }
.stack-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.stack-tags span {
    font-size: 12.5px; padding: 5px 11px; border-radius: 6px;
    background: rgba(76, 201, 255, 0.07); border: 1px solid var(--border); color: var(--text);
    font-family: ui-monospace, Consolas, monospace;
}

/* ===== 流程 ===== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { position: relative; background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 24px 20px; }
.step-num {
    width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    background: var(--grad); color: #06121f; font-weight: 800; font-size: 15px; margin-bottom: 14px;
}
.step h4 { font-size: 16px; margin-bottom: 8px; }
.step p { font-size: 13px; color: var(--muted); }
.step-out { margin-top: 12px; font-size: 12px; color: var(--accent2); }

/* ===== 案例 ===== */
.case-card {
    display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 0;
    background: var(--panel); border: 1px solid var(--border); border-radius: 14px; overflow: hidden;
}
.case-img { background: var(--panel2); border-right: 1px solid var(--border); height: 280px; cursor: pointer; }
.case-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.case-body { padding: 30px 28px; }
.case-tag {
    display: inline-block; font-size: 11px; color: var(--ok);
    border: 1px solid rgba(16, 185, 129, 0.4); background: rgba(16, 185, 129, 0.08);
    padding: 2px 8px; border-radius: 999px; margin-bottom: 6px;
}
.case-body h3 { font-size: 20px; margin-bottom: 10px; }
.case-desc { font-size: 14px; color: var(--muted); }
.case-result { margin-top: 18px; display: flex; gap: 18px; flex-wrap: wrap; font-size: 13.5px; }
.case-result span { color: var(--text); }

/* ===== FAQ ===== */

/* ===== Pricing ===== */
.pricing-note {
    text-align: center; font-size: 13px; color: var(--muted);
    margin-bottom: 28px;
}
.pricing-cards {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
    margin-bottom: 32px;
}
.pricing-card {
    background: var(--panel); border: 1px solid var(--border); border-radius: 14px;
    padding: 24px; transition: transform .25s, border-color .25s, box-shadow .25s;
}
.pricing-card:hover {
    transform: translateY(-4px); border-color: rgba(76, 201, 255, 0.5);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}
.pricing-icon { font-size: 26px; margin-bottom: 12px; }
.pricing-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.pricing-amount {
    font-size: 16px; font-weight: 700; color: var(--accent);
    margin-bottom: 8px; letter-spacing: 0.3px;
}
.pricing-meta { font-size: 12.5px; color: var(--accent2); }

.pricing-detail {
    background: var(--panel); border: 1px solid var(--border); border-radius: 14px;
    padding: 0 24px; margin-bottom: 32px;
}
.pricing-detail > summary {
    cursor: pointer; list-style: none; padding: 18px 0;
    font-size: 15px; font-weight: 600; color: var(--accent);
    display: flex; justify-content: space-between; align-items: center;
}
.pricing-detail > summary::-webkit-details-marker { display: none; }
.pricing-detail > summary::after {
    content: "+"; color: var(--accent); font-size: 18px;
    margin-left: 12px;
}
.pricing-detail[open] > summary::after { content: "−"; }
.pricing-toggle { display: none; }
.pricing-detail[open] .pricing-toggle { display: none; }
.pricing-table-wrap { padding: 8px 0 20px; }
.pricing-table {
    width: 100%; border-collapse: collapse; font-size: 14px;
}
.pricing-table th, .pricing-table td {
    text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border);
}
.pricing-table th {
    font-size: 12px; color: var(--muted); font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.5px;
}
.pricing-table td.pricing-amt {
    font-weight: 700; color: var(--accent); white-space: nowrap; text-align: right;
}
.pricing-row-group td {
    background: var(--panel2); color: var(--accent2); font-weight: 600;
    font-size: 13px; padding-top: 14px;
}
.pricing-disclaimer {
    margin-top: 12px; font-size: 12.5px; color: var(--muted); text-align: right;
}
.pricing-cta { text-align: center; }

/* ===== FAQ ===== */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-list details {
    background: var(--panel); border: 1px solid var(--border); border-radius: 10px; padding: 0 20px;
}
.faq-list summary {
    cursor: pointer; padding: 16px 0; font-size: 15px; font-weight: 600; list-style: none;
    display: flex; justify-content: space-between; align-items: center;
}
.faq-list summary::after { content: "+"; color: var(--accent); font-size: 18px; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { padding: 0 0 16px; font-size: 14px; color: var(--muted); }

/* ===== 联系 ===== */
.contact { padding-bottom: 100px; }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: start; max-width: 640px; margin: 0 auto; }
.contact-note { margin-top: 4px; font-size: 13px; color: var(--muted); text-align: center; }

.contact-form { display: flex; flex-direction: column; gap: 14px; }
.contact-form input, .contact-form select, .contact-form textarea {
    background: var(--panel); border: 1px solid var(--border); border-radius: 10px;
    padding: 12px 14px; color: var(--text); font-size: 14px; font-family: inherit;
    transition: border-color .2s;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
    outline: none; border-color: var(--accent);
}
.contact-form input.input-error, .contact-form select.input-error, .contact-form textarea.input-error {
    border-color: var(--err);
}
.contact-form select option { background: var(--panel); }
.contact-form button { align-self: flex-start; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

.form-banner { padding: 12px 16px; border-radius: 10px; font-size: 14px; }
.form-banner.ok { background: rgba(52, 211, 153, 0.1); border: 1px solid rgba(52, 211, 153, 0.4); color: var(--ok); }
.form-banner.err { background: rgba(248, 113, 113, 0.1); border: 1px solid rgba(248, 113, 113, 0.4); color: var(--err); }

/* ===== Footer ===== */
footer { border-top: 1px solid var(--border); padding: 30px 20px; text-align: center; color: var(--muted); font-size: 13px; }
footer p + p { margin-top: 6px; }

/* ===== Lightbox ===== */
.lightbox-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85); z-index: 1000;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; animation: fadeIn 0.2s;
}
.lightbox-overlay img {
    max-width: 90%; max-height: 90%; border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ===== 响应式 ===== */
@media (max-width: 960px) {
    .hero-grid, .contact-grid { grid-template-columns: 1fr; }
    .case-card { grid-template-columns: 1fr; }
    .case-img { border-right: none; border-bottom: 1px solid var(--border); }
    .cards3, .stack-grid, .steps { grid-template-columns: repeat(2, 1fr); }
    .stats { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .pricing-cards { grid-template-columns: 1fr; }
    .pricing-table { font-size: 13px; }
    .pricing-table th, .pricing-table td { padding: 8px 8px; }
}
@media (max-width: 640px) {
    .hero h1 { font-size: 30px; }
    .nav-links {
        display: none; position: absolute; top: 58px; left: 0; right: 0;
        flex-direction: column; background: var(--panel); border-bottom: 1px solid var(--border);
        padding: 12px 20px; gap: 12px;
    }
    .nav-links.open { display: flex; }
    .nav-cta { display: none; }
    .nav-toggle { display: block; margin-left: auto; }
    .cards3, .stack-grid, .steps { grid-template-columns: 1fr; }
    .section { padding: 60px 20px; }
}
