/* ============================================================================
 * 睿数科技官网样式 (方案 D · 反诈扫描器伪装用)
 * ============================================================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: #2c3644;
    line-height: 1.6;
    background: #f7f9fc;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
a { color: #3f6fc4; text-decoration: none; transition: color 0.15s; }
a:hover { color: #234a97; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { color: #1a2e52; font-weight: 700; letter-spacing: -0.01em; }

/* ─── 顶部提示条 ─── */
.top-notice {
    background: #1a2e52;
    color: #d5deee;
    padding: 8px 0;
    font-size: 13px;
}
.top-notice .container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}
.top-notice a { color: #ffd54d; font-weight: 600; }
.top-notice a:hover { color: #ffe07a; }

/* ─── Header ─── */
.site-header {
    background: #fff;
    border-bottom: 1px solid #e5e9f0;
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 22px;
    color: #1a2e52;
    text-decoration: none;
    flex-shrink: 0;
}
.logo img { width: 34px; height: 34px; }
.logo-text { font-weight: 800; letter-spacing: 0.02em; }
.logo-text em {
    font-style: normal;
    font-weight: 500;
    color: #3f6fc4;
    margin-left: 4px;
}
.main-nav {
    display: flex;
    gap: 28px;
    flex: 1;
    justify-content: center;
}
.main-nav a {
    color: #4a5568;
    font-size: 15px;
    font-weight: 500;
    padding: 6px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.15s;
}
.main-nav a:hover {
    color: #3f6fc4;
    border-bottom-color: #3f6fc4;
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.btn-ghost {
    color: #4a5568;
    font-size: 14px;
    padding: 8px 14px;
    font-weight: 500;
}
.btn-ghost:hover { color: #3f6fc4; }

/* ─── Buttons ─── */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.18s;
    cursor: pointer;
    border: none;
    line-height: 1.4;
}
.btn-sm { padding: 8px 18px; font-size: 14px; }
.btn-lg { padding: 15px 36px; font-size: 16px; }
.btn-primary {
    background: #3f6fc4;
    color: #fff;
    box-shadow: 0 2px 6px rgba(63,111,196,0.24);
}
.btn-primary:hover {
    background: #234a97;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(63,111,196,0.32);
}
.btn-secondary {
    background: transparent;
    color: #3f6fc4;
    border: 2px solid #3f6fc4;
}
.btn-secondary:hover {
    background: #3f6fc4;
    color: #fff;
}
.hero .btn-secondary { color: #fff; border-color: #fff; }
.hero .btn-secondary:hover { background: rgba(255,255,255,0.15); color: #fff; }

/* ─── Hero ─── */
.hero {
    background: linear-gradient(135deg, #3f6fc4 0%, #234a97 65%, #1a2e52 100%);
    color: #fff;
    padding: 80px 0 96px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 60%);
    pointer-events: none;
}
.hero-content { position: relative; z-index: 1; text-align: center; }
.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255,255,255,0.14);
    backdrop-filter: blur(8px);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 24px;
    color: #fff;
}
.hero h1 {
    font-size: 44px;
    color: #fff;
    margin-bottom: 24px;
    line-height: 1.25;
}
.hero-lead {
    font-size: 18px;
    opacity: 0.92;
    max-width: 720px;
    margin: 0 auto 40px;
    line-height: 1.7;
}
.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 56px;
}
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 56px;
    list-style: none;
    padding: 0;
    flex-wrap: wrap;
}
.hero-stats li { text-align: center; }
.hero-stats strong {
    display: block;
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
}
.hero-stats sup, .hero-stats em {
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    color: #ffd54d;
}
.hero-stats span {
    font-size: 13px;
    color: #d5deee;
    letter-spacing: 0.02em;
}

/* ─── Clients Strip ─── */
.clients-strip {
    background: #fff;
    padding: 48px 0;
    border-bottom: 1px solid #e5e9f0;
}
.clients-title {
    text-align: center;
    color: #7c8797;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 28px;
}
.clients-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 24px 40px;
}
.clients-grid span {
    color: #8b95a6;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.02em;
    filter: grayscale(1);
    opacity: 0.7;
    transition: all 0.2s;
}
.clients-grid span:hover {
    opacity: 1;
    filter: grayscale(0);
    color: #3f6fc4;
}

/* ─── Section Header ─── */
.section-header {
    text-align: center;
    margin-bottom: 56px;
}
.section-header h2 {
    font-size: 34px;
    margin-bottom: 12px;
    color: #1a2e52;
}
.section-sub {
    color: #6b7684;
    font-size: 16px;
    max-width: 640px;
    margin: 0 auto;
}
.see-all {
    float: right;
    margin-top: 10px;
    color: #3f6fc4;
    font-size: 14px;
    font-weight: 500;
}

/* ─── Features ─── */
.features { padding: 96px 0; background: #fff; }
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}
.feature {
    padding: 36px 32px;
    background: #f7f9fc;
    border-radius: 12px;
    border: 1px solid transparent;
    transition: all 0.25s;
}
.feature:hover {
    background: #fff;
    border-color: #e5e9f0;
    box-shadow: 0 12px 32px rgba(26,46,82,0.08);
    transform: translateY(-2px);
}
.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 20px;
}
.feature h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: #1a2e52;
}
.feature p {
    color: #6b7684;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 16px;
}
.feature-link {
    color: #3f6fc4;
    font-size: 14px;
    font-weight: 500;
}
.feature-link:hover { color: #234a97; }

/* ─── Solutions ─── */
.solutions { padding: 96px 0; background: #f7f9fc; }
.solution-tabs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}
.solution-card {
    padding: 28px 24px;
    background: #fff;
    border-radius: 10px;
    color: inherit;
    text-decoration: none;
    border: 1px solid #e5e9f0;
    transition: all 0.2s;
}
.solution-card:hover {
    border-color: #3f6fc4;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(26,46,82,0.06);
    color: inherit;
}
.solution-card h4 {
    font-size: 17px;
    color: #1a2e52;
    margin-bottom: 8px;
}
.solution-card p {
    color: #6b7684;
    font-size: 14px;
}

/* ─── Latest News ─── */
.latest-news { padding: 96px 0; background: #fff; }
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}
.news-card {
    display: block;
    padding: 28px;
    background: #fff;
    border-radius: 12px;
    color: inherit;
    text-decoration: none;
    border: 1px solid #e5e9f0;
    transition: all 0.22s;
}
.news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(26,46,82,0.08);
    color: inherit;
    border-color: #cad4e2;
}
.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}
.news-card time {
    font-size: 13px;
    color: #97a1b3;
}
.news-tag {
    font-size: 12px;
    padding: 3px 10px;
    background: #eef3fc;
    color: #3f6fc4;
    border-radius: 4px;
    font-weight: 500;
}
.news-card h3 {
    font-size: 17px;
    color: #1a2e52;
    margin-bottom: 10px;
    line-height: 1.5;
}
.news-card p {
    color: #6b7684;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.read-more {
    color: #3f6fc4;
    font-size: 13px;
    font-weight: 500;
}

/* ─── Testimonials ─── */
.testimonials { padding: 96px 0; background: #f7f9fc; }
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}
.testimonial {
    background: #fff;
    padding: 32px;
    border-radius: 12px;
    border-left: 4px solid #3f6fc4;
    box-shadow: 0 4px 16px rgba(26,46,82,0.04);
}
.testimonial p {
    color: #2c3644;
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 16px;
    font-style: italic;
}
.testimonial cite {
    display: block;
    color: #6b7684;
    font-size: 13px;
    font-style: normal;
    font-weight: 500;
}

/* ─── CTA Section ─── */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a2e52 0%, #234a97 100%);
    color: #fff;
    text-align: center;
}
.cta-section h2 {
    color: #fff;
    font-size: 34px;
    margin-bottom: 16px;
}
.cta-section p {
    font-size: 16px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 36px;
}
.cta-section .btn-primary {
    background: #ffd54d;
    color: #1a2e52;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.cta-section .btn-primary:hover {
    background: #ffe07a;
    color: #1a2e52;
    box-shadow: 0 6px 20px rgba(0,0,0,0.28);
}
.cta-section .btn-secondary {
    color: #fff;
    border-color: #fff;
}
.cta-section .btn-secondary:hover {
    background: rgba(255,255,255,0.14);
    color: #fff;
}
.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ─── Footer ─── */
.site-footer {
    background: #1a2e52;
    color: #97a5be;
    padding: 64px 0 24px;
}
.footer-cols {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.4fr;
    gap: 40px;
    margin-bottom: 48px;
}
.footer-brand { }
.footer-logo { color: #fff; margin-bottom: 16px; }
.footer-logo .logo-text { color: #fff; }
.footer-logo .logo-text em { color: #ffd54d; }
.footer-desc {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #b5c1d6;
}
.footer-social {
    display: flex;
    gap: 12px;
}
.footer-social a {
    padding: 6px 14px;
    background: rgba(255,255,255,0.08);
    color: #d5deee;
    border-radius: 6px;
    font-size: 13px;
    transition: all 0.2s;
}
.footer-social a:hover {
    background: rgba(255,213,77,0.16);
    color: #ffd54d;
}
.footer-col h4 {
    color: #fff;
    font-size: 15px;
    margin-bottom: 20px;
    font-weight: 600;
}
.footer-col p {
    font-size: 14px;
    margin-bottom: 10px;
    color: #b5c1d6;
    line-height: 1.6;
}
.footer-col a {
    color: #b5c1d6;
    text-decoration: none;
    transition: color 0.15s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid #2f4676;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: #8896b3;
}
.footer-info { display: flex; flex-wrap: wrap; gap: 12px 20px; }
.footer-info a { color: #8896b3; }
.footer-info a:hover { color: #d5deee; }
.footer-links {
    display: flex;
    gap: 10px;
    align-items: center;
}
.footer-links a { color: #8896b3; }
.footer-links span { opacity: 0.5; }

/* ─── Responsive ─── */
@media (max-width: 1024px) {
    .footer-cols { grid-template-columns: 1fr 1fr; }
    .main-nav { gap: 20px; }
    .main-nav a { font-size: 14px; }
}
@media (max-width: 768px) {
    .top-notice { padding: 6px 0; font-size: 12px; }
    .top-notice .container { flex-direction: column; gap: 4px; text-align: center; }
    .header-inner { flex-wrap: wrap; gap: 12px; }
    .main-nav { display: none; }
    .hero { padding: 60px 0 72px; }
    .hero h1 { font-size: 30px; }
    .hero-lead { font-size: 15px; }
    .hero-stats { gap: 32px 20px; }
    .hero-stats strong { font-size: 26px; }
    .features, .solutions, .latest-news, .testimonials { padding: 64px 0; }
    .section-header h2, .cta-section h2 { font-size: 26px; }
    .footer-cols { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .see-all { float: none; display: block; margin-top: 16px; text-align: center; }
}
@media (max-width: 480px) {
    .hero h1 { font-size: 24px; }
    .btn-lg { padding: 12px 24px; font-size: 15px; }
    .clients-grid { gap: 16px; }
    .clients-grid span { font-size: 13px; }
}
