:root {
    --bg-body: #0f172a;
    --bg-sidebar: #1e293b;
    --bg-card: #1e293b;
    --bg-card-hover: #334155;
    --border: 1px solid rgba(255, 255, 255, 0.15);
    --primary: #3b82f6;
    --accent: #10b981;
    --text-main: #ffffff;
    --text-body: #e2e8f0;
    --text-muted: #94a3b8;
    --sidebar-width: 260px;
    --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.15);
}
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
    font-size: 16px;
}
a { text-decoration: none; color: inherit; transition: 0.2s; }
img { display: block; max-width: 100%; }
.layout-container { display: grid; grid-template-columns: var(--sidebar-width) 1fr; min-height: 100vh; }
.sidebar {
    background: var(--bg-sidebar); border-right: var(--border);
    height: 100vh; position: sticky; top: 0; z-index: 1000;
    display: flex; flex-direction: column;
    box-shadow: 2px 0 10px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}
.sidebar-header { padding: 30px; background: rgba(0,0,0,0.1); border-bottom: var(--border); }
.logo-area { display: flex; align-items: center; gap: 12px; }
.logo-icon { width: 36px; height: 36px; background: var(--primary); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-weight: bold; color: white; font-size: 18px; }
.logo-text { font-size: 18px; font-weight: 700; color: white; letter-spacing: 0.5px; }
.nav-menu { flex: 1; padding: 20px 15px; display: flex; flex-direction: column; gap: 8px; overflow-y: auto; }
.nav-item {
    display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 8px;
    color: var(--text-body); font-size: 15px; font-weight: 500;
}
.nav-item:hover { background: rgba(255,255,255,0.1); color: white; }
.nav-item.active { background: var(--primary); color: white; box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4); }
.nav-icon { width: 20px; height: 20px; fill: currentColor; }
.sidebar-footer { padding: 20px 30px; border-top: var(--border); background: rgba(0,0,0,0.1); }
.status-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--accent); font-weight: 600; }
.status-dot { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 8px var(--accent); }
.mobile-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.8); z-index: 900; opacity: 0; pointer-events: none; transition: 0.3s; backdrop-filter: blur(4px); }
.mobile-top-bar { display: none; padding: 15px 20px; background: var(--bg-sidebar); border-bottom: var(--border); position: sticky; top: 0; z-index: 800; justify-content: space-between; align-items: center; }
.hamburger { font-size: 24px; color: white; cursor: pointer; }
.main-content { position: relative; z-index: 1; min-width: 0; }
section { scroll-margin-top: 80px; padding: 80px 60px; border-bottom: var(--border); }
.section-header { margin-bottom: 50px; max-width: 800px; }
.section-tag { color: var(--primary); font-size: 13px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 12px; display: block; }
.section-title { font-size: 36px; font-weight: 800; color: white; margin-bottom: 16px; }
.section-desc { color: var(--text-body); font-size: 18px; max-width: 700px; }
.hero-section { padding-top: 100px; padding-bottom: 100px; background: linear-gradient(180deg, rgba(59, 130, 246, 0.08) 0%, rgba(15, 23, 42, 0) 100%); }
.hero-h1 { font-size: clamp(42px, 5vw, 68px); line-height: 1.2; font-weight: 900; margin-bottom: 24px; color: white; }
.hero-desc { font-size: 20px; color: var(--text-body); max-width: 680px; margin-bottom: 40px; }
.hero-stats { display: flex; gap: 50px; margin-top: 40px; border-top: var(--border); padding-top: 30px; }
.stat h3 { font-size: 32px; color: white; font-weight: 700; }
.stat p { font-size: 14px; color: var(--text-muted); font-weight: 600; }
.category-title {
    font-size: 20px; color: white; font-weight: 700; margin: 50px 0 25px;
    border-left: 4px solid var(--primary); padding-left: 15px; display: flex; align-items: center; gap: 10px;
    background: linear-gradient(90deg, rgba(59,130,246,0.1), transparent);
    padding: 10px 15px; border-radius: 0 8px 8px 0;
}
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.service-card {
    background: var(--bg-card); border: var(--border); padding: 30px; border-radius: 12px;
    box-shadow: var(--shadow-card); transition: 0.3s; position: relative; overflow: hidden; display: flex; flex-direction: column;
}
.service-card:hover { border-color: var(--primary); background: var(--bg-card-hover); transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.3); }
.s-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; }
.s-icon { width: 48px; height: 48px; background: rgba(59, 130, 246, 0.15); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--primary); }
.icon-green { color: var(--accent); background: rgba(16, 185, 129, 0.15); }
.card-highlight { border-left: 3px solid var(--accent); }
.s-title { font-size: 18px; font-weight: 700; color: white; margin-bottom: 10px; }
.s-desc { font-size: 15px; color: var(--text-body); line-height: 1.6; margin-bottom: 20px; flex: 1; }
.s-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag-pill { font-size: 12px; padding: 4px 10px; border-radius: 4px; font-weight: 600; background: rgba(255,255,255,0.08); color: var(--text-body); border: 1px solid rgba(255,255,255,0.1); }
.tag-hot { color: var(--primary); background: rgba(59, 130, 246, 0.15); border-color: rgba(59, 130, 246, 0.3); }
.tag-green { color: var(--accent); background: rgba(16, 185, 129, 0.15); border-color: rgba(16, 185, 129, 0.3); }
.workflow-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; position: relative; margin-top: 40px; }
.step-card { position: relative; padding: 25px; border: var(--border); border-radius: 12px; background: var(--bg-card); z-index: 2; box-shadow: var(--shadow-card); }
.step-num { font-size: 40px; font-weight: 900; color: rgba(255,255,255,0.08); position: absolute; top: 15px; right: 20px; line-height: 1; }
.step-title { font-size: 18px; font-weight: 700; color: white; margin: 15px 0 10px; }
.step-desc { font-size: 14px; color: var(--text-body); }
.workflow-line { position: absolute; top: 50%; left: 0; width: 100%; height: 2px; background: rgba(255,255,255,0.1); z-index: 1; transform: translateY(-50%); display: none; }
@media(min-width: 1024px) { .workflow-line { display: block; } }
.partners-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; margin-top: 30px; }
.partner-box { height: 90px; background: var(--bg-card); border: var(--border); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 600; color: var(--text-body); transition: 0.3s; }
.partner-box:hover { color: white; border-color: var(--primary); background: var(--bg-card-hover); }
.contact-area { background: #0b1120; padding: 80px 60px; }
.contact-layout { display: grid; grid-template-columns: 1fr 280px; gap: 60px; align-items: center; }
.info-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.info-block { padding: 24px; background: var(--bg-card); border-radius: 10px; border: var(--border); }
.info-block h5 { font-size: 13px; color: var(--text-muted); margin-bottom: 8px; text-transform: uppercase; font-weight: 700; }
.info-block p { font-size: 18px; color: white; font-weight: 600; }
.highlight-text { color: var(--primary); }
.full-width { grid-column: span 2; }
.qr-pass-card { background: #ffffff; color: #000000; border-radius: 16px; padding: 20px; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5); text-align: center; }
.qr-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; border-bottom: 1px solid #f3f4f6; padding-bottom: 10px; }
.qr-title { font-weight: 700; font-size: 15px; color: #111827; }
.qr-image-box { background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 10px; padding: 8px; aspect-ratio: 1/1; position: relative; overflow: hidden; margin-bottom: 15px; }
.scan-beam { position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: var(--accent); box-shadow: 0 0 10px var(--accent); animation: scan 9s infinite linear; }
@keyframes scan { 0% {top: 0} 50% {top: 100%} 100% {top: 0} }
.qr-footer p { font-size: 12px; color: #4b5563; font-weight: 500; }
.main-footer { padding: 40px 60px; border-top: var(--border); color: var(--text-muted); font-size: 14px; display: flex; justify-content: space-between; background: var(--bg-body); flex-wrap: wrap; }
.footer-links a { color: var(--text-muted); text-decoration: none; transition: color 0.3s; }
.footer-links a:hover { color: var(--text-main); }
#backToTop {
    position: fixed; bottom: 135px; right: 30px;
    width: 48px; height: 48px;
    background: var(--primary);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 90;
    opacity: 0; visibility: hidden;
    transition: all 0.3s ease;
}
#backToTop:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5); }
#backToTop.show { opacity: 1; visibility: visible; }
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 4px;
    border-radius: 4px;
}
@media (max-width: 1024px) {
    .layout-container { grid-template-columns: 1fr; }
    .sidebar { position: fixed; top: 0; left: 0; bottom: 0; width: 280px; transform: translateX(-100%); box-shadow: 10px 0 30px rgba(0,0,0,0.5); }
    .sidebar.open { transform: translateX(0); }
    .mobile-top-bar { display: flex; }
    .mobile-overlay.active { opacity: 1; pointer-events: auto; }
    section { padding: 60px 24px; }
    .hero-h1 { font-size: 36px; }
    .contact-layout { grid-template-columns: 1fr; }
    .qr-pass-card { max-width: 240px; margin: 0 auto; }
    .info-row { grid-template-columns: 1fr; }
    .full-width { grid-column: span 1; }
    .main-footer { flex-direction: column; gap: 15px; padding: 30px 24px; text-align: center; justify-content: center; }
    #backToTop { bottom: 20px; right: 20px; width: 40px; height: 40px; }
}