/* ===== Reset & Variables ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --c-brand: #242424;
    --c-bg: #fff;
    --c-surface: #fff;
    --c-text: #1a1a1a;
    --c-text-secondary: #555;
    --c-text-muted: #888;
    --c-border: rgba(34,42,53,0.08);
    --c-hover: #f5f5f5;
    --c-accent: #2563eb;
    --shadow-sm: rgba(19,19,22,0.07) 0px 1px 5px -4px, rgba(34,42,53,0.08) 0px 0px 0px 1px;
    --shadow-md: rgba(19,19,22,0.07) 0px 1px 5px -4px, rgba(34,42,53,0.08) 0px 0px 0px 1px, rgba(34,42,53,0.05) 0px 4px 8px 0px;
    --shadow-lg: rgba(19,19,22,0.07) 0px 2px 8px -4px, rgba(34,42,53,0.08) 0px 0px 0px 1px, rgba(34,42,53,0.08) 0px 8px 16px 0px;
    --radius: 12px;
}
body {
    font-family: -apple-system, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
    color: var(--c-text);
    line-height: 1.625;
    background: var(--c-bg);
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ===== Navigation ===== */
.nav {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s, box-shadow .2s;
}
.nav.scrolled {
    border-bottom-color: var(--c-border);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.nav-inner {
    display: flex; align-items: center;
    height: 64px; max-width: 1140px;
    margin: 0 auto; padding: 0 24px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.nav-logo-icon {
    width: 36px; height: 36px;
    background: var(--c-brand); border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; flex-shrink: 0;
}
.nav-logo-icon svg { width: 18px; height: 18px; }
.nav-logo-title { font-size: 16px; font-weight: 600; color: var(--c-text); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
    display: inline-flex; align-items: center;
    padding: 7px 14px; border-radius: 8px;
    font-size: 14px; font-weight: 500;
    color: var(--c-text-secondary);
    transition: all .15s ease;
}
.nav-link:hover { color: var(--c-text); background: var(--c-hover); }
.nav-link.active { color: #fff; background: var(--c-brand); }
.nav-toggle {
    display: none;
    background: none; border: none; cursor: pointer;
    width: 40px; height: 40px; border-radius: 8px;
    align-items: center; justify-content: center;
    color: var(--c-text);
}
.nav-toggle svg { width: 22px; height: 22px; }

/* ===== Hero ===== */
.hero {
    padding: 140px 0 80px;
    text-align: center;
    background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(37,99,235,0.04) 0%, transparent 60%);
}
.hero .container { position: relative; }
.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(37,99,235,0.06);
    color: var(--c-accent);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 24px;
    letter-spacing: 0.02em;
}
.hero h1 {
    font-size: 44px; font-weight: 700;
    color: var(--c-text);
    letter-spacing: -0.025em;
    margin-bottom: 16px;
    line-height: 1.2;
}
.hero-desc {
    font-size: 17px; color: var(--c-text-secondary);
    max-width: 560px; margin: 0 auto 36px;
    line-height: 1.7;
}
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ===== Buttons ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 12px 28px; border-radius: 10px;
    font-size: 14px; font-weight: 600;
    cursor: pointer; border: none;
    transition: all .15s ease;
    text-decoration: none;
}
.btn-primary {
    background: var(--c-brand); color: #fff;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
.btn-primary:hover { background: #333; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.btn-outline {
    background: var(--c-surface); color: var(--c-text);
    box-shadow: var(--shadow-sm);
}
.btn-outline:hover { background: var(--c-hover); }

/* ===== Trust Bar ===== */
.trust-bar {
    padding: 40px 0;
    border-bottom: 1px solid var(--c-border);
}
.trust-grid {
    display: flex; justify-content: center; gap: 48px; flex-wrap: wrap;
}
.trust-item {
    display: flex; align-items: baseline; gap: 8px;
    font-size: 14px; color: var(--c-text-muted);
}
.trust-item strong {
    font-size: 28px; font-weight: 700; color: var(--c-text);
    letter-spacing: -0.02em;
}

/* ===== Section Header ===== */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}
.section-header h2 {
    font-size: 30px;
    font-weight: 700;
    color: var(--c-text);
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}
.section-header p {
    font-size: 15px;
    color: var(--c-text-muted);
    max-width: 480px;
    margin: 0 auto;
}

/* ===== Services ===== */
.services { padding: 80px 0; }
.services-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.service-card {
    background: var(--c-surface);
    border-radius: var(--radius);
    padding: 32px 28px;
    box-shadow: var(--shadow-md);
    transition: all .2s ease;
}
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.service-icon {
    width: 44px; height: 44px;
    background: #fafafa; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
    color: var(--c-text);
}
.service-icon svg { width: 22px; height: 22px; }
.service-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 10px; }
.service-card p { font-size: 13.5px; color: var(--c-text-secondary); line-height: 1.75; }

/* ===== About ===== */
.about { padding: 80px 0; background: #fafafa; }
.about-content { display: flex; gap: 48px; align-items: flex-start; }
.about-text { flex: 1.2; }
.about-text h2 { font-size: 28px; font-weight: 700; margin-bottom: 16px; letter-spacing: -0.02em; }
.about-text p { color: var(--c-text-secondary); font-size: 14.5px; margin-bottom: 16px; line-height: 1.8; }
.about-highlights { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.about-highlights li {
    display: flex; align-items: center; gap: 10px;
    font-size: 14px; font-weight: 500; color: var(--c-text);
}
.about-highlights svg { width: 18px; height: 18px; color: #22c55e; flex-shrink: 0; }
.about-visual { flex: 0.8; display: flex; flex-direction: column; gap: 16px; }
.about-card {
    background: var(--c-surface); border-radius: var(--radius);
    padding: 28px 24px; box-shadow: var(--shadow-md);
}
.about-card-icon {
    width: 40px; height: 40px;
    background: rgba(37,99,235,0.06); border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: var(--c-accent); margin-bottom: 16px;
}
.about-card-icon svg { width: 20px; height: 20px; }
.about-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.about-card p { font-size: 13px; color: var(--c-text-muted); line-height: 1.7; }

/* ===== Contact ===== */
.contact { padding: 80px 0; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.contact-card {
    background: var(--c-surface); padding: 32px 24px;
    border-radius: var(--radius); text-align: center;
    box-shadow: var(--shadow-md);
    transition: all .2s ease;
}
.contact-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.contact-icon {
    width: 48px; height: 48px;
    background: #fafafa; border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
    margin-bottom: 16px; color: var(--c-text);
}
.contact-icon svg { width: 22px; height: 22px; }
.contact-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.contact-card p { font-size: 13.5px; color: var(--c-text-muted); }

/* ===== Footer ===== */
.footer {
    background: var(--c-brand); color: rgba(255,255,255,0.7);
    padding: 48px 0 0;
}
.footer-inner {
    display: flex; justify-content: space-between; align-items: flex-start;
    padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand strong { color: #fff; font-size: 16px; display: block; margin-bottom: 8px; }
.footer-brand p { font-size: 13px; max-width: 320px; line-height: 1.7; }
.footer-links { display: flex; gap: 24px; }
.footer-links a {
    font-size: 13px; color: rgba(255,255,255,0.6);
    transition: color .15s;
}
.footer-links a:hover { color: rgba(255,255,255,0.95); }
.footer-bottom {
    padding: 20px 0;
    text-align: center; font-size: 12.5px;
    color: rgba(255,255,255,0.4);
}

/* ===== Friend Links ===== */
.friend-links {
    padding: 32px 0;
    background: var(--c-bg);
    border-top: 1px solid var(--c-border);
}
.friend-links-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--c-text);
    margin-bottom: 12px;
}
.friend-links-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
}
.friend-links-list a {
    font-size: 13px;
    color: var(--c-muted);
    text-decoration: none;
    transition: color .15s;
    line-height: 1.8;
}
.friend-links-list a:hover {
    color: var(--c-accent);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .hero { padding: 120px 0 60px; }
    .hero h1 { font-size: 28px; }
    .hero-desc { font-size: 15px; }
    .services-grid, .contact-grid { grid-template-columns: 1fr; }
    .about-content { flex-direction: column; gap: 32px; }
    .trust-grid { gap: 24px; }
    .trust-item strong { font-size: 22px; }
    .footer-inner { flex-direction: column; gap: 24px; }
    .nav-links { 
        display: none;
        position: absolute; top: 64px; left: 0; right: 0;
        flex-direction: column; padding: 12px 24px 16px;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--c-border);
        gap: 4px;
    }
    .nav-links.open { display: flex; }
    .nav-toggle { display: flex; }
}
