/* ========== 变量与基础 ========== */
:root {
    --primary: #0a2463;
    --primary-light: #1e3a8a;
    --accent: #1e88e5;
    --accent-light: #42a5f5;
    --highlight: #ff6b35;
    --highlight-light: #ff8a65;
    --text: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --bg-dark: #0f172a;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-lg: 16px;
    --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: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--bg);
    overflow-x: hidden;
}

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

::selection {
    background: var(--accent);
    color: white;
}

/* ========== 导航栏 ========== */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.logo img { height: 40px; width: auto; }

.logo-text {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-text span { color: var(--primary); }
.logo-text b { color: var(--accent); }

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 6px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 8px;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
    background: rgba(10,36,99,0.04);
}

.nav-cta {
    background: var(--primary) !important;
    color: white !important;
    margin-left: 8px;
}

.nav-cta:hover {
    background: var(--primary-light) !important;
}

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

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: opacity 1.2s ease-in-out;
    opacity: 0;
}

.hero-slide-1 {
    background-image: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?w=1920&q=80');
    opacity: 1;
}

.hero-slide-2 {
    background-image: url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?w=1920&q=80');
}

.hero-slide-3 {
    background-image: url('https://images.unsplash.com/photo-1480714378408-67cf0d13bc1b?w=1920&q=80');
}

.hero-bg.active { opacity: 1; }


/* 保持统一暗化效果 */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,36,99,0.7) 0%, rgba(10,36,99,0.5) 50%, rgba(10,36,99,0.8) 100%);
}

.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-particles::before,
.hero-particles::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(30,136,229,0.15) 0%, transparent 70%);
    animation: float 8s ease-in-out infinite;
}

.hero-particles::before {
    top: 10%;
    left: 10%;
}

.hero-particles::after {
    bottom: 10%;
    right: 10%;
    animation-delay: -4s;
    background: radial-gradient(circle, rgba(255,107,53,0.1) 0%, transparent 70%);
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-30px) scale(1.1); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    border: 1px solid rgba(255,255,255,0.2);
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.gradient-text {
    background: linear-gradient(135deg, #42a5f5, #ff8a65);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 18px;
    line-height: 1.8;
    opacity: 0.85;
    margin-bottom: 36px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
}

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

.h-num, .h-unit {
    font-size: 36px;
    font-weight: 800;
    color: white;
}

.h-unit { font-size: 24px; margin-left: 2px; }

.h-label {
    display: block;
    font-size: 13px;
    opacity: 0.7;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.scroll-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    opacity: 0.6;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(45deg);
}

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

/* ========== 按钮 ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    letter-spacing: 0.3px;
}

.btn-primary {
    background: var(--accent);
    color: white;
    box-shadow: 0 4px 15px rgba(30,136,229,0.3);
}

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30,136,229,0.4);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.4);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: white;
}

.btn-lg { padding: 16px 40px; font-size: 16px; }
.btn-block { width: 100%; }

/* ========== 数据背书条 ========== */
.trust-bar {
    background: var(--primary);
    padding: 40px 0;
    position: relative;
    z-index: 10;
}

.trust-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.trust-item {
    text-align: center;
    padding: 0 40px;
    color: white;
}

.trust-num {
    display: block;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 4px;
}

.trust-label {
    font-size: 14px;
    opacity: 0.7;
}

.trust-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.2);
}

/* ========== 通用区块 ========== */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    background: rgba(30,136,229,0.1);
    color: var(--accent);
    font-size: 13px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: 40px;
    font-weight: 800;
    color: var(--text);
    line-height: 1.3;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-desc {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ========== 产品卡片 ========== */
.products { background: var(--bg-alt); }

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

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

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

.product-card.featured {
    border: 2px solid var(--accent);
    box-shadow: 0 4px 20px rgba(30,136,229,0.1);
}

.product-ribbon {
    position: absolute;
    top: 16px;
    right: -40px;
    background: var(--accent);
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 40px;
    transform: rotate(45deg);
}

.product-visual {
    margin-bottom: 24px;
}

.product-icon {
    width: 64px;
    height: 64px;
    background: rgba(30,136,229,0.08);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.product-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    background: rgba(30,136,229,0.08);
    padding: 4px 12px;
    border-radius: 100px;
    margin-bottom: 16px;
}

.product-card > p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.product-features {
    list-style: none;
    margin-bottom: 24px;
}

.product-features li {
    padding: 6px 0;
    font-size: 14px;
    color: var(--text-secondary);
    position: relative;
    padding-left: 20px;
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

.product-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
}

.product-link:hover {
    color: var(--highlight);
}

/* ========== 解决方案 ========== */
.solutions { background: var(--bg); }

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

.solution-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: var(--transition);
}

.solution-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

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

.solution-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text);
}

.solution-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ========== 关于我们 ========== */
.about { background: var(--bg-alt); }

.about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-visual {
    position: relative;
}

.about-img-placeholder {
    background: linear-gradient(135deg, #e8f4fd, #fff3e0);
    border-radius: var(--radius-lg);
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 80px;
}

.about-img-placeholder p {
    font-size: 14px;
    color: var(--text-secondary);
}

.about-floating-card {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: white;
    padding: 24px 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.afc-num {
    display: block;
    font-size: 36px;
    font-weight: 800;
    color: var(--accent);
}

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

.about-content .section-title {
    text-align: left;
    font-size: 36px;
}

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

.about-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 24px;
}

.ah-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text);
}

.ah-icon {
    width: 24px;
    height: 24px;
    background: rgba(30,136,229,0.1);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

/* ========== CTA 区域 ========== */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 100px 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(30,136,229,0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(255,107,53,0.1) 0%, transparent 50%);
}

.cta-inner {
    position: relative;
    z-index: 1;
}

.cta-inner h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-inner p {
    font-size: 18px;
    opacity: 0.85;
    margin-bottom: 36px;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.cta-actions .btn-primary {
    background: var(--highlight);
    box-shadow: 0 4px 20px rgba(255,107,53,0.4);
}

.cta-actions .btn-primary:hover {
    background: var(--highlight-light);
    box-shadow: 0 8px 30px rgba(255,107,53,0.5);
}

.cta-actions .btn-outline {
    border-color: rgba(255,255,255,0.4);
}

/* ========== 联系我们 ========== */
.contact { background: var(--bg); }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

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

.ci-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: var(--bg-alt);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.ci-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow);
}

.ci-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.ci-body h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text);
}

.ci-body p, .ci-body a {
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    line-height: 1.6;
}

.ci-body a:hover {
    color: var(--accent);
}

/* ========== 联系表单 ========== */
.contact-form {
    background: var(--bg-alt);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 15px;
    font-family: inherit;
    background: white;
    color: var(--text);
    transition: var(--transition);
    width: 100%;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(30,136,229,0.1);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-muted);
}

.contact-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.form-hint {
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 8px;
}

/* ========== 页脚 ========== */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo-text {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 14px;
    opacity: 0.6;
    line-height: 1.7;
}

.footer-links h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

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

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    opacity: 0.5;
}

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

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

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .solutions-grid { grid-template-columns: repeat(2, 1fr); }
    .about-inner { gap: 40px; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 40px 24px;
        gap: 8px;
    }

    .nav-links.active { display: flex; }

    .nav-links a {
        font-size: 18px;
        padding: 12px 16px;
    }

    .nav-cta { margin-left: 0; margin-top: 16px; }

    .mobile-toggle { display: flex; }

    .hero-title { font-size: 32px; }
    .hero-desc { font-size: 16px; }
    .hero-stats { flex-wrap: wrap; gap: 24px; }
    .hero-actions { flex-direction: column; align-items: center; }

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

    .trust-inner { flex-wrap: wrap; gap: 20px; }
    .trust-item { padding: 0 20px; }
    .trust-divider { display: none; }

    .products-grid,
    .solutions-grid { grid-template-columns: 1fr; }

    .about-inner { grid-template-columns: 1fr; }
    .about-visual { order: -1; }
    .about-img-placeholder { height: 250px; }
    .about-floating-card { right: 10px; bottom: -10px; padding: 16px 24px; }
    .afc-num { font-size: 28px; }

    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }

    .cta-inner h2 { font-size: 26px; }
    .cta-actions { flex-direction: column; align-items: center; }

    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 28px; }
    .section-title { font-size: 24px; }
    .footer-grid { grid-template-columns: 1fr; }
}
