/* ================================================================
   悟参一启 - 首页样式
   Clean, modern, responsive. Primary: navy blue + gold accent.
   ================================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue",
                 Helvetica, Arial, "Segoe UI", Roboto, sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: #2b2f36;
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5 {
    margin: 0 0 .6em;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.3;
    letter-spacing: -.01em;
}
p  { margin: 0 0 1em; }
a  { color: inherit; text-decoration: none; transition: all .25s ease; }
a:hover { color: #1e3a8a; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------- Layout: centered wrap ---------- */
.wrap {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ================================================================
   Header / Nav
   ================================================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,.88);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid rgba(15,23,42,.06);
}
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}
.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: #0f172a;
}
.logo-mark {
    width: 34px; height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(37,99,235,.25);
}
.logo-text { font-size: 17px; letter-spacing: .5px; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}
.nav-links a {
    font-size: 14.5px;
    color: #475569;
    position: relative;
}
.nav-links a:not(.btn-ghost):hover { color: #1e3a8a; }
.nav-links a:not(.btn-ghost)::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -6px;
    height: 2px;
    background: linear-gradient(90deg, #2563eb, #c9a227);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
    border-radius: 2px;
}
.nav-links a:not(.btn-ghost):hover::after { transform: scaleX(1); }

.btn-ghost {
    padding: 8px 18px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px !important;
    color: #1e293b !important;
    transition: all .2s;
}
.btn-ghost:hover {
    background: #0f172a;
    color: #fff !important;
    border-color: #0f172a;
}

/* Hamburger */
.nav-toggle {
    display: none;
    width: 40px; height: 40px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #0f172a;
    margin: 0 auto;
    border-radius: 2px;
    transition: all .25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================================================================
   Buttons
   ================================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all .25s ease;
    white-space: nowrap;
}
.btn-primary {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    color: #fff;
    box-shadow: 0 8px 20px -4px rgba(37,99,235,.45);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -6px rgba(37,99,235,.55);
    color: #fff;
}
.btn-outline {
    background: #fff;
    color: #1e293b;
    border-color: #e2e8f0;
}
.btn-outline:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-2px);
}
.btn-light {
    background: #fff;
    color: #1e3a8a;
    font-weight: 600;
    box-shadow: 0 8px 20px -6px rgba(0,0,0,.2);
}
.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -6px rgba(0,0,0,.28);
    color: #1e3a8a;
}

/* ================================================================
   Hero Section
   ================================================================ */
.hero {
    position: relative;
    overflow: hidden;
    padding: 80px 0 100px;
    background: linear-gradient(180deg,
        #f8fafc 0%,
        #eef4ff 55%,
        #f8fafc 100%);
}
.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(ellipse 60% 50% at 10% 0%, rgba(37,99,235,.14), transparent 60%),
        radial-gradient(ellipse 50% 50% at 90% 20%, rgba(201,162,39,.10), transparent 60%),
        radial-gradient(ellipse 70% 60% at 50% 100%, rgba(30,58,138,.08), transparent 70%);
}
.hero-inner { position: relative; text-align: center; }

.hero-tag {
    display: inline-block;
    padding: 6px 16px;
    font-size: 13px;
    color: #1e3a8a;
    background: rgba(37,99,235,.08);
    border: 1px solid rgba(37,99,235,.15);
    border-radius: 999px;
    margin-bottom: 24px;
    letter-spacing: .5px;
}
.hero-title {
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -.02em;
}
.hero-accent {
    background: linear-gradient(90deg, #2563eb 0%, #c9a227 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-desc {
    max-width: 720px;
    margin: 0 auto 36px;
    font-size: 17px;
    color: #475569;
    line-height: 1.8;
}
.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 70px;
}

/* Hero stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
    padding: 32px 28px;
    background: #fff;
    border: 1px solid rgba(15,23,42,.06);
    border-radius: 20px;
    box-shadow: 0 20px 50px -20px rgba(15,23,42,.12);
}
.stat { text-align: center; }
.stat-num {
    font-size: 32px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.1;
    margin-bottom: 6px;
    font-variant-numeric: tabular-nums;
}
.stat-label {
    font-size: 13.5px;
    color: #64748b;
}
.stat + .stat { border-left: 1px solid #f1f5f9; }

/* Icon inline */
.ico {
    display: inline-block;
    width: 18px; height: 18px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.ico-chart {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M3 3v18h18'/><path d='M7 15l4-4 4 4 5-7'/></svg>");
}

/* ================================================================
   Sections generic
   ================================================================ */
.section-head {
    text-align: center;
    margin-bottom: 56px;
}
.section-eyebrow {
    display: inline-block;
    font-size: 13px;
    letter-spacing: 2px;
    color: #c9a227;
    text-transform: uppercase;
    margin-bottom: 12px;
    font-weight: 600;
}
.section-title {
    font-size: 36px;
    margin-bottom: 12px;
}
.section-sub {
    font-size: 16px;
    color: #64748b;
    margin: 0;
}

/* ================================================================
   Features
   ================================================================ */
.features {
    padding: 100px 0 110px;
    background: #fff;
}
.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.feature-card {
    padding: 36px 32px;
    background: #fafbfc;
    border: 1px solid #eef1f6;
    border-radius: 18px;
    transition: all .3s ease;
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2563eb, #c9a227);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
}
.feature-card:hover {
    transform: translateY(-6px);
    background: #fff;
    border-color: rgba(37,99,235,.18);
    box-shadow: 0 20px 40px -16px rgba(15,23,42,.15);
}
.feature-card:hover::before { transform: scaleX(1); }

.feature-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background-size: 28px;
    background-repeat: no-repeat;
    background-position: center;
}
.ico-report {
    background-color: rgba(37,99,235,.10);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/><polyline points='14 2 14 8 20 8'/><line x1='16' y1='13' x2='8' y2='13'/><line x1='16' y1='17' x2='8' y2='17'/></svg>");
}
.ico-phoenix {
    background-color: rgba(201,162,39,.12);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9a227' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 2l3 6 6 1-4.5 4 1 6L12 16l-5.5 3 1-6L3 9l6-1z'/></svg>");
}
.ico-alpha {
    background-color: rgba(16,185,129,.12);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M3 3v18h18'/><path d='M7 17c3-6 6-6 8-10s2-3 4-2'/><circle cx='7' cy='17' r='1.5' fill='%2310b981'/></svg>");
}
.ico-watch {
    background-color: rgba(139,92,246,.12);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b5cf6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='9'/><path d='M12 7v5l3 2'/></svg>");
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}
.feature-card p {
    font-size: 14.5px;
    color: #57606a;
    margin-bottom: 16px;
}
.feature-list li {
    position: relative;
    padding-left: 22px;
    font-size: 14px;
    color: #475569;
    margin-bottom: 8px;
    line-height: 1.6;
}
.feature-list li::before {
    content: "";
    position: absolute;
    left: 2px; top: 9px;
    width: 12px; height: 2px;
    background: linear-gradient(90deg, #2563eb, #c9a227);
    border-radius: 2px;
}

/* ================================================================
   CTA Band
   ================================================================ */
.cta-band {
    padding: 60px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    position: relative;
    overflow: hidden;
}
.cta-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse 50% 100% at 100% 50%, rgba(201,162,39,.15), transparent 60%),
        radial-gradient(ellipse 50% 100% at 0% 50%, rgba(37,99,235,.2), transparent 60%);
}
.cta-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.cta-text h2 {
    color: #fff;
    font-size: 28px;
    margin-bottom: 8px;
}
.cta-text p {
    color: rgba(255,255,255,.7);
    margin: 0;
    font-size: 15px;
}

/* ================================================================
   Footer
   ================================================================ */
.site-footer {
    background: #0b1220;
    color: rgba(255,255,255,.6);
    padding: 60px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .logo { color: #fff; margin-bottom: 16px; }
.footer-brand .logo-mark {
    background: linear-gradient(135deg, #2563eb, #c9a227);
    box-shadow: 0 4px 14px rgba(37,99,235,.35);
}
.footer-brand .logo-text { color: #fff; }
.footer-desc {
    font-size: 14px;
    max-width: 320px;
    margin: 0;
    line-height: 1.8;
    color: rgba(255,255,255,.5);
}
.footer-col h5 {
    color: #fff;
    font-size: 14px;
    margin-bottom: 18px;
    font-weight: 600;
    letter-spacing: .5px;
}
.footer-col a,
.footer-col span {
    display: block;
    font-size: 14px;
    color: rgba(255,255,255,.5);
    padding: 5px 0;
    line-height: 1.7;
}
.footer-col a:hover { color: #fff; }

.footer-bottom {
    padding: 22px 0;
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,.4);
}
.footer-bottom p { margin: 0; }
.footer-bottom a {
    color: rgba(255,255,255,.4);
    margin-left: 10px;
}
.footer-bottom a:hover { color: #fff; }

/* ================================================================
   Responsive
   ================================================================ */

/* Tablet */
@media (max-width: 992px) {
    .hero { padding: 60px 0 80px; }
    .hero-title { font-size: 40px; }
    .hero-desc { font-size: 16px; }
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 12px;
    }
    .stat:nth-child(odd) { border-left: none; }
    .stat:nth-child(n+3) { border-top: 1px solid #f1f5f9; padding-top: 20px; }
    .stat:nth-child(2) { border-left: 1px solid #f1f5f9; }

    .features { padding: 70px 0 80px; }
    .section-title { font-size: 30px; }
    .feature-grid { grid-template-columns: 1fr; }

    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

/* Mobile */
@media (max-width: 768px) {
    .wrap { padding: 0 18px; }
    .nav { height: 60px; }
    .nav-toggle { display: flex; }

    .nav-links {
        position: fixed;
        top: 60px; left: 0; right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 18px 20px;
        background: #fff;
        border-bottom: 1px solid rgba(15,23,42,.08);
        box-shadow: 0 10px 30px -10px rgba(15,23,42,.1);
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: all .3s ease;
    }
    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    .nav-links a {
        padding: 14px 4px;
        border-bottom: 1px solid #f1f5f9;
        font-size: 15px;
    }
    .nav-links a:last-child { border-bottom: none; }
    .btn-ghost {
        border: none;
        padding: 14px 4px !important;
        background: transparent !important;
        color: #1e293b !important;
        box-shadow: none;
        text-align: left;
    }
    .nav-links a:not(.btn-ghost)::after { display: none; }

    .hero { padding: 40px 0 60px; }
    .hero-tag { font-size: 12px; padding: 5px 14px; margin-bottom: 18px; }
    .hero-title { font-size: 30px; line-height: 1.3; }
    .hero-desc { font-size: 15px; margin-bottom: 28px; }
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        margin-bottom: 48px;
    }
    .hero-cta .btn { width: 100%; }

    .hero-stats {
        grid-template-columns: 1fr 1fr;
        padding: 24px 16px;
        gap: 20px 10px;
        border-radius: 16px;
    }
    .stat-num { font-size: 24px; }
    .stat-label { font-size: 12.5px; }

    .section-head { margin-bottom: 36px; }
    .section-eyebrow { font-size: 12px; }
    .section-title { font-size: 24px; }
    .section-sub { font-size: 14px; }

    .features { padding: 50px 0 60px; }
    .feature-card {
        padding: 26px 22px;
        border-radius: 14px;
    }
    .feature-icon {
        width: 46px; height: 46px;
        border-radius: 12px;
        margin-bottom: 16px;
        background-size: 24px;
    }
    .feature-card h3 { font-size: 18px; }
    .feature-card p { font-size: 14px; }
    .feature-list li { font-size: 13.5px; }

    .cta-band { padding: 40px 0; }
    .cta-inner {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    .cta-text h2 { font-size: 22px; }
    .cta-text p { font-size: 14px; }
    .cta-actions { width: 100%; }
    .cta-actions .btn { width: 100%; }

    .site-footer { padding-top: 40px; }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-bottom: 28px;
    }
    .footer-col h5 { margin-bottom: 12px; }
    .footer-bottom {
        font-size: 12px;
        padding: 18px 0;
        line-height: 1.8;
    }
}

/* Tiny phones */
@media (max-width: 380px) {
    .hero-title { font-size: 26px; }
    .stat-num { font-size: 22px; }
    .section-title { font-size: 22px; }
}
