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

:root {
    --primary: #1a6dff;
    --primary-dark: #1454c7;
    --secondary: #00c6a7;
    --text: #1f2937;
    --text-light: #6b7280;
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --border: #e5e7eb;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --radius: 8px;
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 100;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 18px;
}

.logo-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.nav {
    display: flex;
    gap: 28px;
}

.nav a {
    font-size: 15px;
    color: var(--text);
    transition: color 0.2s;
}

.nav a:hover {
    color: var(--primary);
}

.auth-btns {
    display: flex;
    gap: 12px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: rgba(26, 109, 255, 0.06);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
}

/* Hero */
.hero {
    padding: 160px 0 120px;
    background: linear-gradient(135deg, #0f1c3f 0%, #1a3a6c 50%, #0d2137 100%);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(26, 109, 255, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    line-height: 1.8;
}

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

.hero-actions .btn-outline {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

.hero-actions .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Sections */
.section {
    padding: 100px 0;
}

.section-alt {
    background: var(--bg-alt);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 17px;
    color: var(--text-light);
}

.section-header.light h2,
.section-header.light p {
    color: #fff;
}

.section-header.light p {
    opacity: 0.85;
}

/* About */
.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.about-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-text h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 24px;
}

.about-text p {
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 18px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 32px;
}

.stat-item {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
}

.stat-item strong {
    display: block;
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 4px;
}

.stat-item span {
    font-size: 13px;
    color: var(--text-light);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    background: var(--bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-body {
    padding: 28px;
}

.service-body h3 {
    font-size: 20px;
    margin-bottom: 14px;
}

.service-body > p {
    color: var(--text-light);
    font-size: 15px;
    margin-bottom: 14px;
}

.service-body ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-body li {
    position: relative;
    padding-left: 18px;
    font-size: 14px;
    color: var(--text);
}

.service-body li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

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

.solution-card {
    background: var(--bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: transform 0.2s;
}

.solution-card:hover {
    transform: translateY(-4px);
}

.solution-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.solution-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.solution-card:hover .solution-image img {
    transform: scale(1.05);
}

.solution-card h3 {
    font-size: 20px;
    padding: 24px 24px 12px;
}

.solution-card p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.8;
    padding: 0 24px 28px;
}

/* Process */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.process-step {
    background: var(--bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    padding: 32px 24px;
    text-align: center;
    position: relative;
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 9999; /* 给高层级，确保可以被点击 */
  cursor: pointer;
  border: none;
  background: transparent;
  font-size:24px;
}
.process-step::after {
    content: "→";
    position: absolute;
    top: 50%;
    right: -22px;
    transform: translateY(-50%);
    color: var(--primary);
    font-size: 20px;
    font-weight: 700;
}

.process-step:last-child::after {
    display: none;
}

.step-number {
    display: inline-block;
    width: 48px;
    height: 48px;
    line-height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    border-radius: 50%;
    font-weight: 700;
    margin-bottom: 18px;
}

.process-step h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.process-step p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.7;
}

/* Data section */
.data-section {
    background: linear-gradient(135deg, #0f1c3f 0%, #1a3a6c 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.data-section::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(26, 109, 255, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.data-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    position: relative;
    z-index: 1;
}

.data-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    padding: 40px 24px;
    text-align: center;
    backdrop-filter: blur(6px);
}

.data-card strong {
    display: block;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #fff, #7dd3fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.data-card span {
    font-size: 15px;
    opacity: 0.85;
}

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

.advantage-item {
    background: var(--bg);
    padding: 28px 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary);
}

.advantage-item strong {
    display: block;
    font-size: 18px;
    margin-bottom: 8px;
}

.advantage-item span {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
}

/* Contact */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-info {
    padding-top: 12px;
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 24px;
}

.contact-info p {
    margin-bottom: 16px;
    color: var(--text-light);
    line-height: 1.8;
}

.contact-form {
    background: var(--bg);
    padding: 36px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.form-row {
    margin-bottom: 20px;
}

.form-row label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
}

.form-row input,
.form-row textarea,
.form-row select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 15px;
    transition: border-color 0.2s;
    background: var(--bg);
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
    outline: none;
    border-color: var(--primary);
}

.input-group {
    display: flex;
    gap: 12px;
}

.input-group input {
    flex: 1;
}

.input-group .btn {
    white-space: nowrap;
    padding: 10px 14px;
}

/* Footer */
.footer {
    background: #0f172a;
    color: rgba(255, 255, 255, 0.7);
    padding: 40px 0;
    font-size: 14px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.footer-info p,
.footer-icp p {
    margin-bottom: 6px;
}

.footer-icp {
    text-align: right;
}

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--bg);
    border-radius: 16px;
    width: 100%;
    max-width: 440px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    transform: translateY(-20px);
    transition: transform 0.25s;
}

.modal-overlay.active .modal {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--text-light);
    cursor: pointer;
}

.modal-tabs {
    display: flex;
    border-bottom: 1px solid var(--border);
}

.modal-tab {
    flex: 1;
    padding: 18px;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    color: var(--text-light);
    position: relative;
}

.modal-tab.active {
    color: var(--primary);
}

.modal-tab.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 20%;
    right: 20%;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.modal-body {
    padding: 32px;
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.auth-form h3 {
    font-size: 22px;
    margin-bottom: 24px;
    text-align: center;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 14px;
}

.form-options label {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-light);
    cursor: pointer;
}

.form-options a {
    color: var(--primary);
}

.form-tip {
    text-align: center;
    font-size: 12px;
    color: var(--text-light);
    margin-top: 16px;
}

/* Responsive */
@media (max-width: 1100px) {
    .nav {
        gap: 18px;
    }

    .nav a {
        font-size: 14px;
    }
}

@media (max-width: 992px) {
    .about-split {
        grid-template-columns: 1fr;
    }

    .about-image {
        max-height: 360px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid,
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .process-step:nth-child(3)::after {
        display: none;
    }

    .data-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .nav,
    .auth-btns {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero {
        padding: 120px 0 80px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .section {
        padding: 64px 0;
    }

    .section-header h2,
    .about-text h2 {
        font-size: 28px;
    }

    .services-grid,
    .solutions-grid,
    .advantages-grid,
    .process-grid,
    .data-grid {
        grid-template-columns: 1fr;
    }

    .process-step::after {
        display: none;
    }

    .service-image,
    .solution-image {
        height: 180px;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-icp {
        text-align: center;
    }
}
