:root {
    --primary: #1E40AF;
    --primary-light: #3B82F6;
    --primary-dark: #1E3A8A;
    --accent: #0EA5E9;
    --text: #0F172A;
    --text-secondary: #475569;
    --text-muted: #94A3B8;
    --bg: #FFFFFF;
    --bg-alt: #F8FAFC;
    --bg-dark: #0F172A;
    --border: #E2E8F0;
    --border-light: #F1F5F9;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --transition: all 0.2s ease;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--bg);
}

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

ul {
    list-style: none;
}

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

.section {
    padding: 100px 0;
}

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

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    font-weight: 300;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 500;
    border-radius: var(--radius);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: inherit;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: rgba(255,255,255,0.12);
    color: white;
    border: 1px solid rgba(255,255,255,0.25);
    backdrop-filter: blur(4px);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.2);
}

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

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-1px);
}

.btn-white {
    background: white;
    color: var(--primary);
    padding: 14px 40px;
    font-size: 16px;
    font-weight: 600;
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-block {
    width: 100%;
}

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.logo-icon svg {
    width: 20px;
    height: 20px;
}

.logo {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 15px;
    font-weight: 400;
    color: var(--text-secondary);
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-login {
    margin-left: 8px;
    padding: 8px 20px;
    background: var(--primary);
    color: white !important;
    border-radius: var(--radius);
    transition: var(--transition);
}

.nav-login::after {
    display: none;
}

.nav-login:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    width: 20px;
    height: 2px;
    background: var(--text);
    border-radius: 1px;
    transition: var(--transition);
}

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #1E3A8A 0%, #1E40AF 40%, #2563EB 100%);
    color: white;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 70% 40%, rgba(59,130,246,0.25), transparent),
        radial-gradient(ellipse 60% 50% at 20% 80%, rgba(14,165,233,0.2), transparent);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 400;
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
}

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

.hero-subtitle {
    font-size: 18px;
    line-height: 1.7;
    opacity: 0.85;
    max-width: 640px;
    margin: 0 auto 40px;
    font-weight: 300;
}

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

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    padding-top: 48px;
    border-top: 1px solid rgba(255,255,255,0.15);
}

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

.stat-number {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 14px;
    opacity: 0.7;
    font-weight: 300;
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: rgba(255,255,255,0.15);
}

/* ===== Advantages ===== */
.features {
    background: var(--bg-alt);
}

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

.advantage-item {
    text-align: center;
    padding: 32px 16px;
    background: var(--bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.advantage-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.advantage-num {
    display: block;
    font-size: 48px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 16px;
}

.advantage-item h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.advantage-item p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
}

/* ===== Capabilities ===== */
.capabilities {
    background: var(--bg);
    padding: 100px 0;
}

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

.capability-card {
    background: var(--bg-alt);
    padding: 36px 28px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.capability-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    background: var(--bg);
    border-color: var(--border);
}

.capability-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
    color: white;
}

.capability-icon svg {
    width: 24px;
    height: 24px;
}

.capability-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text);
}

.capability-desc {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 14px;
    flex: 1;
}

/* ===== Workflow ===== */
.workflow {
    background: var(--bg);
}

.workflow-tabs {
    max-width: 800px;
    margin: 0 auto;
}

.tabs-header {
    display: flex;
    gap: 8px;
    margin-bottom: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 10px 24px;
    background: var(--bg-alt);
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
    font-size: 15px;
    color: var(--text-secondary);
    font-family: inherit;
}

.tab-btn:hover {
    color: var(--text);
}

.tab-btn.active {
    background: var(--primary);
    color: white;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.workflow-steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 15px;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text);
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 14px;
}

.workflow-flow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    justify-content: center;
    margin-bottom: 20px;
}

.flow-item {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    padding: 12px 16px;
    border-radius: var(--radius);
    text-align: center;
    min-width: 90px;
    transition: var(--transition);
}

.flow-item:hover {
    border-color: var(--primary-light);
    background: #EFF6FF;
}

.flow-start {
    border-color: #22C55E;
    background: #F0FDF4;
    color: #166534;
}

.flow-end {
    border-color: var(--primary);
    background: #EFF6FF;
    color: var(--primary);
}

.flow-exception {
    border-color: #F59E0B;
    background: #FEF3C7;
    color: #92400E;
}

.flow-canceled {
    border-color: #A855F7;
    background: #F5F3FF;
    color: #6B21A8;
}

.flow-returned {
    border-color: #EF4444;
    background: #FEF2F2;
    color: #991B1B;
}

.flow-label {
    font-weight: 600;
    font-size: 14px;
    display: block;
    margin-bottom: 4px;
}

.flow-item p {
    font-size: 12px;
    opacity: 0.7;
}

.flow-arrow {
    color: var(--text-muted);
    font-size: 16px;
}

.flow-extra {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
}

.flow-separator {
    color: var(--text-muted);
    font-size: 16px;
    margin: 0 4px;
}

.flow-note {
    text-align: center;
    background: var(--bg-alt);
    padding: 16px 24px;
    border-radius: var(--radius);
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.7;
}

/* ===== Pricing ===== */
.pricing {
    background: var(--bg-alt);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg);
    padding: 40px 32px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    text-align: center;
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.pricing-popular {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.pricing-popular:hover {
    box-shadow: var(--shadow-xl);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 4px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
}

.pricing-name {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text);
}

.pricing-desc {
    color: var(--text-muted);
    margin-bottom: 28px;
    font-size: 14px;
}

.pricing-features {
    text-align: left;
    margin-bottom: 32px;
    flex: 1;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-secondary);
    font-size: 14px;
}

.pricing-features li:last-child {
    border-bottom: none;
}

/* ===== CTA ===== */
.cta {
    background: linear-gradient(135deg, #1E3A8A 0%, #1E40AF 50%, #2563EB 100%);
    padding: 80px 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 50% 80% at 80% 20%, rgba(59,130,246,0.2), transparent);
    pointer-events: none;
}

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

.cta h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
}

.cta p {
    font-size: 16px;
    opacity: 0.85;
    margin-bottom: 32px;
    font-weight: 300;
}

/* ===== Footer ===== */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 40px 0 32px;
}

.footer-bottom {
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,0.4);
}

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

.footer-bottom a {
    color: rgba(255,255,255,0.5);
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: rgba(255,255,255,0.8);
}

.footer-beian a {
    color: rgba(255,255,255,0.5);
    transition: var(--transition);
}

.footer-beian a:hover {
    color: rgba(255,255,255,0.8);
}

.beian-sep {
    margin: 0 8px;
    color: rgba(255,255,255,0.3);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .hamburger {
        display: flex;
    }

    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: white;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
    }

    .nav-link::after {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 120px 0 80px;
    }

    .hero-title {
        font-size: 36px;
    }

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        margin-bottom: 48px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

    .stat-divider {
        width: 48px;
        height: 1px;
    }

    .section {
        padding: 64px 0;
    }

    .section-title {
        font-size: 24px;
    }

    .advantages-grid,
    .capabilities-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .workflow-flow {
        flex-direction: column;
    }

    .flow-arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .sub-title {
        font-size: 22px;
    }

    .footer-bottom {
        font-size: 12px;
    }

    .tabs-header {
        flex-direction: column;
        align-items: stretch;
    }

    .tab-btn {
        text-align: center;
    }
}