/* === Shared Tech Theme === */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;600;700&display=swap');

:root {
    --bg-primary: #f8f9fc;
    --bg-card: rgba(255, 255, 255, 0.72);
    --bg-glass: rgba(255, 255, 255, 0.45);
    --text-primary: #1a1e2e;
    --text-secondary: #5c6178;
    --text-muted: #8b90a0;
    --accent: #4a6cf7;
    --accent-light: #6b8cff;
    --accent-glow: rgba(74, 108, 247, 0.12);
    --green: #22c55e;
    --green-glow: rgba(34, 197, 94, 0.12);
    --border: rgba(0, 0, 0, 0.06);
    --border-accent: rgba(74, 108, 247, 0.2);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
    --shadow-md: 0 8px 32px rgba(0,0,0,0.06);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.08);
    --radius: 5px;
    --radius-sm: 10px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { height: auto; overflow-x: hidden; }
body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    min-height: 100vh;
}

/* === Background === */
.bg-mesh {
    position: fixed; inset: 0; z-index: -1;
    background:
        radial-gradient(ellipse at 20% 0%, rgba(74,108,247,0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 100%, rgba(107,140,255,0.05) 0%, transparent 50%),
        var(--bg-primary);
}
.bg-grid {
    position: fixed; inset: 0; z-index: -1;
    background-image:
        linear-gradient(rgba(0,0,0,0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.018) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

/* === Navbar === */
.navbar-main {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 14px 0;
    background: rgba(248,249,252,0.82);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: all 0.3s;
}
.navbar-main.scrolled {
    padding: 10px 0;
    border-bottom-color: var(--border);
    box-shadow: 0 2px 24px rgba(0,0,0,0.04);
}
.nav-inner {
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo img { height: 38px; }
.nav-menu { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-menu a {
    text-decoration: none; color: var(--text-secondary);
    font-size: 14px; font-weight: 500; padding: 8px 18px;
    border-radius: 8px; transition: all 0.2s;
}
.nav-menu a:hover, .nav-menu a.active { color: var(--accent); background: var(--accent-glow); }
.nav-dropdown { position: relative; }
.nav-dropdown .dropdown-list {
    display: none; position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%);
    background: rgba(255,255,255,0.96); backdrop-filter: blur(20px);
    border: 1px solid var(--border); border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg); padding: 8px; min-width: 200px; z-index: 100;
}
.nav-dropdown:hover .dropdown-list { display: block; }
.dropdown-list a { display: block; padding: 10px 16px !important; border-radius: 8px !important; font-size: 13px !important; white-space: nowrap; }
.mobile-btn { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-btn span { display: block; width: 22px; height: 2px; background: var(--text-primary); margin: 5px 0; border-radius: 2px; transition: 0.3s; }

/* === Hero === */
.hero { padding: 150px 0 80px; position: relative; }
.hero-inner {
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.hero-tag {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--green-glow); border: 1px solid rgba(34,197,94,0.15);
    padding: 6px 16px; border-radius: 100px;
    font-size: 13px; color: var(--green); font-weight: 600; margin-bottom: 24px;
}
.hero-tag svg { flex-shrink: 0; }
.hero h1 {
    font-size: 42px; font-weight: 700; line-height: 1.25; margin-bottom: 24px;
    background: linear-gradient(135deg, var(--text-primary) 0%, #3a3f55 100%);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-checks { list-style: none; padding: 0; margin-bottom: 36px; }
.hero-checks li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--text-secondary); padding: 6px 0; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-visual img {
    max-width: 100%;
    filter: drop-shadow(0 24px 60px rgba(0,0,0,0.1));
    animation: heroFloat 6s ease-in-out infinite;
}
.hero-visual::before {
    content: ''; position: absolute; width: 360px; height: 360px;
    background: radial-gradient(circle, rgba(74,108,247,0.1) 0%, transparent 70%);
    top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: -1;
}
@keyframes heroFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* === Buttons === */
.btn-main {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 13px 30px; border-radius: 12px; font-size: 15px; font-weight: 600;
    text-decoration: none; transition: all 0.3s; border: none; cursor: pointer;
}
.btn-fill {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: #fff; box-shadow: 0 4px 20px rgba(74,108,247,0.3);
}
.btn-fill:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(74,108,247,0.4); color: #fff; }
.btn-ghost {
    background: var(--bg-glass); color: var(--text-primary);
    border: 1px solid var(--border); backdrop-filter: blur(10px);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn-badge {
    display: inline-block; margin-left: 6px; padding: 1px 7px;
    font-size: 11px; font-weight: 700; letter-spacing: 0.5px;
    background: rgba(255,255,255,0.25); border-radius: 6px;
    vertical-align: middle; line-height: 1.6;
}

/* === Check Icon === */
.chk {
    width: 20px; height: 20px; border-radius: 50%;
    background: var(--accent-glow); display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.chk svg { width: 12px; height: 12px; stroke: var(--accent); }

/* === Section === */
.section { padding: 80px 0; }
.section-alt { background: linear-gradient(180deg, rgba(74,108,247,0.02), transparent); }
.sec-header { text-align: center; margin-bottom: 56px; }
.sec-tag {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 600; color: var(--accent);
    background: var(--accent-glow); border: 1px solid rgba(74,108,247,0.12);
    padding: 7px 22px; border-radius: 100px; margin-bottom: 16px;
    letter-spacing: 2px; text-transform: uppercase;
    position: relative; overflow: hidden;
}
.sec-tag::before {
    content: ''; width: 6px; height: 6px; background: var(--accent);
    border-radius: 50%; flex-shrink: 0;
    box-shadow: 0 0 8px rgba(74,108,247,0.5);
    animation: tagPulse 2s ease-in-out infinite;
}
@keyframes tagPulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.7); } }
.sec-header h2 {
    font-size: 34px; font-weight: 700;
    background: linear-gradient(135deg, var(--text-primary), #3a3f55);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.sec-header p { font-size: 15px; color: var(--text-muted); margin-top: 10px; }

/* === Feature Rows === */
.feat-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.feat-row {
    display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
    padding: 48px 0; border-bottom: 1px solid var(--border);
}
.feat-row:last-child { border-bottom: none; }
.feat-row.reverse .feat-img { order: 2; }
.feat-row.reverse .feat-info { order: 1; }
.feat-img { position: relative; }
.feat-img img {
    max-width: 100%; border-radius: var(--radius);
    box-shadow: var(--shadow-lg); transition: all 0.4s;
}
.feat-img:hover img { transform: scale(1.02); box-shadow: 0 24px 64px rgba(0,0,0,0.12); }
.feat-num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 10px;
    background: var(--accent-glow); color: var(--accent);
    font-size: 16px; font-weight: 700; margin-bottom: 16px;
}
.feat-info h3 { font-size: 22px; font-weight: 600; margin-bottom: 10px; }
.feat-info .feat-desc { font-size: 15px; color: var(--text-muted); margin-bottom: 22px; }
.feat-info .feat-list { list-style: none; padding: 0; margin-bottom: 10px; }
.feat-info .feat-list li { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--text-secondary); padding: 5px 0; }

/* === Icon Features Row === */
.icon-feat-row {
    display: flex; gap: 24px; justify-content: center; flex-wrap: wrap;
    max-width: 1200px; margin: 0 auto; padding: 0 24px 48px;
}
.icon-feat-item {
    display: flex; flex-direction: column; align-items: center; gap: 12px;
    background: var(--bg-card); backdrop-filter: blur(12px);
    border: 1px solid var(--border); border-radius: var(--radius);
    padding: 28px 32px; min-width: 160px; transition: all 0.3s;
}
.icon-feat-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.icon-feat-item img { height: 48px; }
.icon-feat-item span { font-size: 14px; font-weight: 600; color: var(--text-primary); }

/* === Full Width Screenshot === */
.full-screenshot {
    max-width: 1200px; margin: 0 auto; padding: 0 24px 48px;
}
.full-screenshot img {
    width: 100%; border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

/* === CTA === */
.cta { padding: 0; }
.cta-box { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.cta-inner {
    background: #0d1117; border-radius: 24px; padding: 80px 48px;
    text-align: center; position: relative; overflow: hidden;
    border: 1px solid rgba(74,108,247,0.15);
}
.cta-inner::before {
    content: ''; position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(74,108,247,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(74,108,247,0.06) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}
.cta-inner::after {
    content: ''; position: absolute; top: -40%; left: 50%; transform: translateX(-50%);
    width: 600px; height: 400px;
    background: radial-gradient(circle, rgba(74,108,247,0.2) 0%, rgba(107,140,255,0.05) 40%, transparent 70%);
    animation: ctaPulse 4s ease-in-out infinite;
}
@keyframes ctaPulse { 0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(1); } 50% { opacity: 1; transform: translateX(-50%) scale(1.1); } }
.cta-particles { position: absolute; inset: 0; overflow: hidden; }
.cta-particles span {
    position: absolute; width: 3px; height: 3px;
    background: rgba(74,108,247,0.5); border-radius: 50%;
    animation: particleFloat 8s linear infinite;
}
.cta-particles span:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; animation-duration: 7s; }
.cta-particles span:nth-child(2) { left: 25%; top: 60%; animation-delay: 1s; animation-duration: 9s; }
.cta-particles span:nth-child(3) { left: 40%; top: 30%; animation-delay: 2s; animation-duration: 6s; }
.cta-particles span:nth-child(4) { left: 55%; top: 70%; animation-delay: 0.5s; animation-duration: 8s; }
.cta-particles span:nth-child(5) { left: 70%; top: 25%; animation-delay: 3s; animation-duration: 10s; }
.cta-particles span:nth-child(6) { left: 85%; top: 55%; animation-delay: 1.5s; animation-duration: 7s; }
.cta-particles span:nth-child(7) { left: 15%; top: 80%; animation-delay: 4s; animation-duration: 9s; }
.cta-particles span:nth-child(8) { left: 90%; top: 40%; animation-delay: 2.5s; animation-duration: 6s; }
@keyframes particleFloat { 0% { transform: translateY(0) scale(1); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { transform: translateY(-120px) scale(0); opacity: 0; } }
.cta-line-left, .cta-line-right { position: absolute; top: 50%; width: 120px; height: 1px; background: linear-gradient(90deg, transparent, rgba(74,108,247,0.4), transparent); }
.cta-line-left { left: 0; }
.cta-line-right { right: 0; }
.cta-dot { position: absolute; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 12px rgba(74,108,247,0.6); }
.cta-dot-l { left: 120px; top: 50%; transform: translate(-50%, -50%); }
.cta-dot-r { right: 120px; top: 50%; transform: translate(50%, -50%); }
.cta-inner h2 { font-size: 36px; font-weight: 700; color: #fff; margin-bottom: 10px; position: relative; z-index: 2; letter-spacing: -0.5px; }
.cta-inner h2 span { background: linear-gradient(135deg, #6b8cff, #a5b4fc); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.cta-inner p { font-size: 15px; color: rgba(255,255,255,0.5); margin-bottom: 36px; position: relative; z-index: 2; letter-spacing: 2px; }
.cta-btns { display: flex; gap: 14px; justify-content: center; position: relative; z-index: 2; }
.cta-btns .btn-main { padding: 14px 36px; border-radius: 12px; font-size: 15px; font-weight: 600; transition: all 0.3s; }
.cta-btn-fill { background: linear-gradient(135deg, var(--accent), #6b8cff); color: #fff; box-shadow: 0 0 24px rgba(74,108,247,0.4); }
.cta-btn-fill:hover { box-shadow: 0 0 40px rgba(74,108,247,0.6); transform: translateY(-2px); color: #fff; }
.cta-btn-ghost { background: transparent; color: rgba(255,255,255,0.8); border: 1px solid rgba(74,108,247,0.3); }
.cta-btn-ghost:hover { border-color: var(--accent); color: #fff; box-shadow: 0 0 20px rgba(74,108,247,0.2); transform: translateY(-2px); }

/* === Footer === */
.footer { padding: 56px 0 36px; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; max-width: 1200px; margin: 0 auto; padding: 0 24px 40px; }
.footer-brand img { height: 34px; margin-bottom: 14px; }
.footer-brand p { font-size: 14px; color: var(--text-muted); max-width: 260px; }
.footer h4 { font-size: 14px; font-weight: 600; margin-bottom: 18px; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 14px; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding: 20px 24px 0; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--border); font-size: 13px; color: var(--text-muted); }

/* === Back to Top === */
.back-top {
    position: fixed; bottom: 32px; right: 32px; width: 46px; height: 46px;
    background: var(--bg-card); backdrop-filter: blur(10px);
    border: 1px solid var(--border); border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; opacity: 0; transform: translateY(20px);
    transition: all 0.3s; z-index: 100; box-shadow: var(--shadow-md);
    color: var(--text-secondary); text-decoration: none;
}
.back-top.show { opacity: 1; transform: translateY(0); }
.back-top:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* === Animations === */
.fade-up { opacity: 0; transform: translateY(28px); transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* === Doc Page (private, userAgreement) === */
.doc-page { padding: 150px 0 80px; }
.doc-container { max-width: 860px; margin: 0 auto; padding: 0 24px; }
.doc-title {
    font-size: 34px; font-weight: 700; margin-bottom: 16px;
    background: linear-gradient(135deg, var(--text-primary), #3a3f55);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.doc-subtitle { font-size: 15px; color: var(--text-muted); margin-bottom: 40px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.doc-section { margin-bottom: 32px; }
.doc-section h3 { font-size: 18px; font-weight: 600; margin-bottom: 12px; color: var(--text-primary); }
.doc-section p, .doc-section li { font-size: 14px; color: var(--text-secondary); line-height: 1.9; }
.doc-section ul { padding-left: 20px; margin-bottom: 12px; }
.doc-section li { margin-bottom: 6px; }

/* === Help Page === */
.help-layout { display: grid; grid-template-columns: 240px 1fr; gap: 32px; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.help-sidebar {
    position: sticky; top: 100px; align-self: start;
    background: var(--bg-card); backdrop-filter: blur(12px);
    border: 1px solid var(--border); border-radius: var(--radius);
    padding: 16px; max-height: calc(100vh - 120px); overflow-y: auto;
}
.help-sidebar a {
    display: block; padding: 10px 16px; border-radius: 8px;
    font-size: 14px; color: var(--text-secondary); text-decoration: none;
    transition: all 0.2s; margin-bottom: 2px;
}
.help-sidebar a:hover, .help-sidebar a.active { color: var(--accent); background: var(--accent-glow); }
.help-content { min-width: 0; }
.help-panel { display: none; }
.help-panel.active { display: block; }
.help-panel h3 { font-size: 20px; font-weight: 600; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.help-section { margin-bottom: 32px; }
.help-section h4 { font-size: 16px; font-weight: 600; margin-bottom: 12px; color: var(--text-primary); }
.help-section h5 { font-size: 14px; font-weight: 600; margin: 16px 0 8px; color: var(--text-primary); }
.help-section p { font-size: 14px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 8px; }
.help-section img { max-width: 100%; border-radius: var(--radius-sm); box-shadow: var(--shadow-md); margin: 12px 0; }

/* === Download Module (Help Page) === */
.down-client-module {
    display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
    background: var(--bg-glass); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 18px 24px; margin: 16px 0;
    backdrop-filter: blur(10px);
}
.down-client-module .down-client-icon {
    font-size: 36px; color: var(--accent); flex-shrink: 0;
}
.down-client-module .down-client-info { flex: 1; min-width: 160px; }
.down-client-module .down-client-info .down-client-title {
    font-size: 15px; font-weight: 600; color: var(--text-primary); margin-bottom: 4px;
}
.down-client-module .down-client-info .down-client-meta {
    font-size: 12px; color: var(--text-secondary);
}
.down-client-module .down-client-btns { display: flex; gap: 10px; flex-shrink: 0; }
.down-client-module .down-client-btns a {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 22px; border-radius: 10px; font-size: 13px; font-weight: 600;
    text-decoration: none; transition: all 0.3s; white-space: nowrap;
}
.down-client-btn-fill {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: #fff; box-shadow: 0 4px 16px rgba(74,108,247,0.25);
}
.down-client-btn-fill:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(74,108,247,0.4); color: #fff; }
.down-client-btn-ghost {
    background: var(--bg-card); color: var(--text-primary);
    border: 1px solid var(--border);
}
.down-client-btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

@media (max-width: 520px) {
    .down-client-module { flex-direction: column; align-items: flex-start; }
    .down-client-module .down-client-btns { width: 100%; }
    .down-client-module .down-client-btns a { flex: 1; justify-content: center; }
}

/* === Responsive === */
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero-visual { margin-top: 40px; order: -1; }
    .feat-row { grid-template-columns: 1fr; }
    .feat-row.reverse .feat-img { order: 0; }
    .feat-row.reverse .feat-info { order: 0; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .help-layout { grid-template-columns: 1fr; }
    .help-sidebar { position: static; }
}
@media (max-width: 768px) {
    .hero h1 { font-size: 30px; }
    .sec-header h2 { font-size: 26px; }
    .nav-menu { display: none; }
    .mobile-btn { display: block; }
    .nav-menu.open {
        display: flex; flex-direction: column; position: absolute;
        top: 100%; left: 0; right: 0;
        background: rgba(248,249,252,0.98); backdrop-filter: blur(20px);
        padding: 16px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg);
    }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
    .icon-feat-row { gap: 12px; }
    .icon-feat-item { min-width: 120px; padding: 20px; }
}