/* ============================================
   临沂安数信息 — 前台主样式表
   ============================================ */

/* ── CSS Variables ── */
:root {
    --primary: #1a56db;
    --primary-dark: #1341a8;
    --primary-light: #e8effd;
    --accent: #f59e0b;
    --accent-dark: #d97706;
    --text: #1f2937;
    --text-light: #6b7280;
    --text-white: #ffffff;
    --bg: #ffffff;
    --bg-gray: #f9fafb;
    --bg-dark: #111827;
    --border: #e5e7eb;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --radius: 8px;
    --radius-lg: 12px;
    --shadow: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
    --max-width: 1200px;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main { flex: 1; }

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }

img { max-width: 100%; height: auto; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* ── Navigation ── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    height: 64px;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
}
.logo-icon { font-size: 1.5rem; }
.logo-text { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

.nav-menu {
    display: flex;
    list-style: none;
    gap: 4px;
}

.nav-link {
    padding: 8px 16px;
    border-radius: var(--radius);
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}
.nav-link:hover { background: var(--primary-light); color: var(--primary); }
.nav-link.active { background: var(--primary); color: white; }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

/* ── Hero Section ── */
.hero {
    background: linear-gradient(135deg, #1a56db 0%, #0f3d8a 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--bg);
    clip-path: ellipse(70% 100% at 50% 100%);
}
.hero h1 { font-size: 2.8rem; font-weight: 800; margin-bottom: 16px; line-height: 1.2; }
.hero p { font-size: 1.2rem; opacity: 0.9; max-width: 600px; margin: 0 auto 32px; }
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Mouse-following repair robot */
.hero .container { position: relative; z-index: 2; }
.hero-robot {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 900;
    width: 200px !important;
    min-width: 200px;
    max-width: 200px;
    height: 150px !important;
    min-height: 150px;
    max-height: 150px;
    overflow: visible;
    pointer-events: none;
    color: inherit;
    text-decoration: none;
    will-change: transform;
    filter: drop-shadow(0 10px 12px rgba(4, 25, 60, .28));
}
.hero-robot-svg { display: block; width: 200px; height: 150px; overflow: hidden; }
.hero-robot.facing-left .hero-robot-svg { transform: scaleX(-1); }
.hero-robot-help {
    position: absolute;
    right: -8px;
    top: -18px;
    z-index: 2;
    padding: 8px 13px;
    border: 1px solid rgba(255,255,255,.85);
    border-radius: 15px 15px 15px 4px;
    color: #0753c8;
    background: rgba(255,255,255,.96);
    box-shadow: 0 8px 24px rgba(4,28,68,.2);
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    transform: none !important;
}
.hero-robot-help::after {
    content: "";
    position: absolute;
    left: 13px;
    bottom: -6px;
    width: 10px;
    height: 10px;
    border-right: 1px solid rgba(255,255,255,.85);
    border-bottom: 1px solid rgba(255,255,255,.85);
    background: rgba(255,255,255,.96);
    transform: rotate(45deg);
}
.hero-robot:focus-visible { outline: 3px solid #00d4ff; outline-offset: 5px; border-radius: 18px; }
.hero-robot-wrench { transform-origin: 94px 72px; animation: wrenchWave 1.4s ease-in-out infinite; }
@keyframes wrenchWave { 0%, 100% { transform: rotate(-7deg); } 50% { transform: rotate(10deg); } }

@media (max-width: 640px), (pointer: coarse) {
    .hero-robot { opacity: .92; }
}
@media (prefers-reduced-motion: reduce) {
    .hero-robot-wrench { animation: none; }
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}
.btn-primary { background: var(--accent); color: white; }
.btn-primary:hover { background: var(--accent-dark); color: white; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: white; border: 2px solid rgba(255,255,255,0.5); }
.btn-outline:hover { border-color: white; background: rgba(255,255,255,0.1); }
.btn-secondary { background: var(--bg-gray); color: var(--text); }
.btn-secondary:hover { background: var(--border); }
.btn-danger { background: var(--danger); color: white; }
.btn-danger:hover { background: #dc2626; }
.btn-sm { padding: 8px 16px; font-size: 0.875rem; }
.btn-block { width: 100%; }

/* ── Sections ── */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-gray); }
.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 48px;
    position: relative;
}
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary);
    margin: 12px auto 0;
    border-radius: 2px;
}

/* ── Service Highlights Grid ── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}
.service-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-icon { font-size: 2.5rem; margin-bottom: 16px; }
.service-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.service-card p { font-size: 0.9rem; color: var(--text-light); }

/* ── Recovery Type Grid ── */
.recovery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}
.recovery-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
    cursor: default;
}
.recovery-card:hover { border-color: var(--primary); transform: translateY(-2px); }
.recovery-icon { font-size: 3rem; margin-bottom: 12px; }
.recovery-card h3 { font-size: 1rem; margin-bottom: 4px; }
.recovery-card p { font-size: 0.85rem; color: var(--text-light); }

/* ── Stats Counter ── */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
    text-align: center;
}
.stat-item { padding: 24px; }
.stat-number { font-size: 2.5rem; font-weight: 800; color: var(--primary); }
.stat-label { font-size: 1rem; color: var(--text-light); margin-top: 4px; }

/* ── Testimonials ── */
.testimonial-carousel {
    max-width: 700px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}
.testimonial-slide {
    text-align: center;
    padding: 32px;
    display: none;
}
.testimonial-slide.active { display: block; }
.testimonial-text { font-size: 1.1rem; font-style: italic; color: var(--text-light); margin-bottom: 16px; }
.testimonial-author { font-weight: 600; color: var(--text); }

/* ── Contact Section ── */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}
.contact-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}
.contact-card .contact-icon { font-size: 2.5rem; margin-bottom: 12px; }
.contact-card h3 { font-size: 1rem; margin-bottom: 8px; }
.contact-card p { font-size: 0.95rem; color: var(--text-light); }

/* ── Page Banner ── */
.page-banner {
    background: linear-gradient(135deg, #1a56db 0%, #0f3d8a 100%);
    color: white;
    padding: 100px 0 60px;
    text-align: center;
}
.page-banner h1 { font-size: 2.2rem; font-weight: 700; }
.page-banner p { opacity: 0.85; margin-top: 8px; }

/* ── Equipment Page ── */
.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}
.equipment-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
    cursor: pointer;
}
.equipment-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.equipment-card img { width: 100%; height: 200px; object-fit: cover; }
.equipment-card-body { padding: 20px; }
.equipment-card-body .equipment-icon-image { width: 58px; height: 58px; object-fit: contain; margin: 0 auto 10px; }
.equipment-icon-text { font-size: 3rem; margin-bottom: 8px; }
.equipment-card-body h3 { font-size: 1.1rem; margin-bottom: 8px; }
.equipment-card-body p { font-size: 0.9rem; color: var(--text-light); }

/* ── Analysis Page ── */
.analysis-content { max-width: 800px; margin: 0 auto; line-height: 1.8; }
.analysis-content h2 { font-size: 1.5rem; margin: 32px 0 16px; color: var(--primary); }
.analysis-content p { margin-bottom: 16px; }
.analysis-content ul, .analysis-content ol { margin: 16px 0; padding-left: 24px; }
.analysis-content li { margin-bottom: 8px; }
.analysis-content img { border-radius: var(--radius); margin: 24px 0; }

/* ── Blog Page ── */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}
.blog-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-card img { width: 100%; height: 200px; object-fit: cover; }
.blog-card-body { padding: 20px; }
.blog-card-category {
    display: inline-block;
    padding: 2px 10px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 8px;
}
.blog-card-body h3 { font-size: 1.1rem; margin-bottom: 8px; line-height: 1.4; }
.blog-card-body h3 a { color: var(--text); }
.blog-card-body h3 a:hover { color: var(--primary); }
.blog-card-body p { font-size: 0.9rem; color: var(--text-light); margin-bottom: 12px; }
.blog-meta { font-size: 0.8rem; color: var(--text-light); display: flex; gap: 16px; }

/* Blog Detail */
.blog-detail { max-width: 800px; margin: 0 auto; }
.blog-detail-header { margin-bottom: 32px; }
.blog-detail-header h1 { font-size: 2rem; margin-bottom: 12px; }
.blog-detail .blog-content { line-height: 1.8; }
.blog-detail .blog-content h2 { font-size: 1.5rem; margin: 32px 0 16px; }
.blog-detail .blog-content p { margin-bottom: 16px; }
.blog-detail .blog-content img { border-radius: var(--radius); margin: 24px 0; }
.blog-detail .blog-content video { display: block; max-width: 100%; margin: 24px 0; border-radius: var(--radius); background: #000; }
.blog-detail .blog-content blockquote { margin: 24px 0; padding: 12px 16px; border-left: 4px solid var(--primary); background: var(--primary-light); color: var(--text); }
.blog-detail .blog-content hr { border: 0; border-top: 1px solid var(--border); margin: 28px 0; }

/* ── Price Page ── */
.price-page { max-width: 1000px; margin: 0 auto; }
.price-promise {
    background: linear-gradient(135deg, #059669, #10b981);
    color: white;
    padding: 20px 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 40px;
}

.price-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.price-tab {
    padding: 10px 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: white;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
}
.price-tab:hover { border-color: var(--primary); color: var(--primary); }
.price-tab.active { background: var(--primary); color: white; border-color: var(--primary); }

.price-table-wrapper { display: none; }
.price-table-wrapper.active { display: block; }

.price-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.price-table th, .price-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); }
.price-table th { background: var(--bg-gray); font-weight: 600; font-size: 0.9rem; }
.price-table td { font-size: 0.95rem; }
.price-table tbody tr:hover { background: var(--primary-light); }
.price-range { color: var(--primary); font-weight: 700; }
.price-note { font-size: 0.85rem; color: var(--text-light); }

/* Inquiry Form */
.inquiry-form { max-width: 600px; margin: 40px auto 0; padding: 32px; background: white; border-radius: var(--radius-lg); box-shadow: var(--shadow); border: 1px solid var(--border); }
.inquiry-form h3 { text-align: center; margin-bottom: 24px; }

/* ── Contact Page ── */
.contact-page-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}
.contact-page-info h2 { font-size: 1.5rem; margin-bottom: 16px; }
.contact-page-info p { margin-bottom: 12px; color: var(--text-light); }

/* ── Forms ── */
.form-group { margin-bottom: 16px; }
.captcha-row { display: flex; gap: 10px; align-items: center; }
.captcha-row .form-control { flex: 1; min-width: 0; text-transform: uppercase; }
.captcha-image { width: 130px; height: 44px; border: 1px solid #ccdaeb; border-radius: 6px; cursor: pointer; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 500; font-size: 0.9rem; }
.form-control {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.95rem;
    transition: var(--transition);
    font-family: inherit;
}
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light); }
textarea.form-control { min-height: 100px; resize: vertical; }
select.form-control { appearance: auto; }
.form-error { color: var(--danger); font-size: 0.9rem; margin-top: 4px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── Pagination ── */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}
.pagination a, .pagination span {
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.9rem;
    transition: var(--transition);
}
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination .current { background: var(--primary); color: white; border-color: var(--primary); }
.pagination .disabled { opacity: 0.5; cursor: not-allowed; }

/* ── Modal ── */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}
.modal-overlay.active { display: flex; }
.modal-content {
    background: white;
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 400px;
    padding: 0;
    box-shadow: var(--shadow-lg);
    animation: modalIn 0.3s ease;
}
@keyframes modalIn { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }
.modal-header { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--border); }
.modal-header h3 { font-size: 1.1rem; }
.modal-close { background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--text-light); padding: 0 4px; }
.modal-close:hover { color: var(--text); }
.modal-body { padding: 24px; }

/* ── Floating Login Button ── */
.biz-login-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}
.biz-login-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 14px 20px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}
.biz-login-btn:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(26,86,219,0.4); }

/* ── Page Content ── */
.page-content { max-width: 800px; margin: 40px auto; line-height: 1.8; }
.page-content h2 { font-size: 1.5rem; margin: 32px 0 16px; color: var(--primary); }
.page-content p { margin-bottom: 16px; }
.page-content img { border-radius: var(--radius); margin: 24px 0; max-width: 100%; }

/* ── Footer ── */
.footer {
    background: var(--bg-dark);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 0;
    margin-top: 80px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
.footer-col h4 { color: white; font-size: 1rem; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col a { color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.footer-col a:hover { color: white; }
.contact-info li { font-size: 0.9rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; text-align: center; font-size: 0.85rem; }

/* ── Print Styles ── */
@media print {
    .navbar, .footer, .biz-login-float, .price-tabs, .inquiry-form, .hero-buttons { display: none !important; }
    .page-banner { padding: 40px 0; background: none !important; color: black !important; }
    body { font-size: 12pt; }
}

/* ── Responsive ── */
@media (max-width: 767px) {
    .hamburger { display: flex; }
    .nav-menu {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 16px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-md);
    }
    .nav-menu.active { display: flex; }

    .hero h1 { font-size: 1.8rem; }
    .hero p { font-size: 1rem; }
    .section { padding: 48px 0; }
    .section-title { font-size: 1.5rem; margin-bottom: 32px; }

    .services-grid { grid-template-columns: 1fr 1fr; }
    .recovery-grid { grid-template-columns: 1fr 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }

    .price-table { font-size: 0.85rem; }
    .price-table th, .price-table td { padding: 8px 10px; }

    .contact-page-grid { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }

    .biz-login-btn { padding: 10px 16px; font-size: 0.85rem; }
    .biz-login-float { bottom: 20px; right: 20px; }

    .page-banner { padding: 80px 0 40px; }
    .page-banner h1 { font-size: 1.5rem; }

    /* Price card view on mobile */
    .price-table-wrapper.active table { display: none; }
    .price-table-wrapper.active .price-card-list { display: block; }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .hero h1 { font-size: 2.2rem; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-page-grid { grid-template-columns: 1fr; }
}

/* Mobile price cards (shown on small screens) */
.price-card-list { display: none; }
.price-card-item {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 12px;
}
.price-card-item .price-card-title { font-weight: 600; margin-bottom: 4px; }
.price-card-item .price-card-fault { font-size: 0.85rem; color: var(--text-light); margin-bottom: 8px; }
.price-card-item .price-card-range { color: var(--primary); font-weight: 700; font-size: 1.1rem; }

/* ── Notification Toast ── */
.toast {
    position: fixed;
    top: 80px;
    right: 20px;
    padding: 12px 24px;
    border-radius: var(--radius);
    color: white;
    font-weight: 500;
    z-index: 3000;
    animation: slideInRight 0.3s ease;
    box-shadow: var(--shadow-lg);
}
.toast-success { background: var(--success); }
.toast-error { background: var(--danger); }
@keyframes slideInRight { from { opacity: 0; transform: translateX(100px); } to { opacity: 1; transform: translateX(0); } }

/* ── Empty State ── */
.empty-state { text-align: center; padding: 60px 20px; color: var(--text-light); }
.empty-state .empty-icon { font-size: 3rem; margin-bottom: 16px; }
.empty-state p { font-size: 1.1rem; }

/* Technology visual polish */
:root {
    --primary: #0f62fe;
    --primary-dark: #063ea7;
    --primary-light: #edf5ff;
    --accent: #00a6ff;
    --accent-dark: #0077c8;
    --bg-gray: #f5f8fc;
    --border: #dfe7f2;
    --shadow: 0 8px 26px rgba(18, 38, 74, 0.08);
    --shadow-md: 0 16px 38px rgba(18, 38, 74, 0.12);
    --shadow-lg: 0 26px 70px rgba(18, 38, 74, 0.18);
}

body {
    background:
        radial-gradient(circle at top left, rgba(15, 98, 254, 0.05), transparent 30rem),
        linear-gradient(180deg, #fff 0%, #f8fbff 48%, #fff 100%);
}

.navbar {
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 10px 34px rgba(15, 35, 70, 0.08);
}

.logo-text {
    background: linear-gradient(135deg, #082f7c, #0f62fe 58%, #00a6ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-banner,
.hero {
    background:
        linear-gradient(135deg, rgba(7, 21, 48, 0.96), rgba(13, 68, 150, 0.92)),
        radial-gradient(circle at 22% 18%, rgba(0, 214, 255, 0.34), transparent 30%);
}

.page-banner {
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.24;
    background-image:
        linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 42px 42px;
}

.page-banner .container {
    position: relative;
    z-index: 1;
}

.btn,
.nav-link,
.price-tab,
.form-control {
    border-radius: 8px;
}

.btn-primary {
    color: white;
    background: linear-gradient(135deg, #0f62fe, #00a6ff);
    box-shadow: 0 12px 28px rgba(15, 98, 254, 0.22);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #063ea7, #0f62fe);
}

.service-card,
.recovery-card,
.contact-card,
.blog-card,
.equipment-card,
.inquiry-form,
.price-table,
.price-card-item {
    border-color: rgba(15, 98, 254, 0.12);
    box-shadow: var(--shadow);
}

.price-table th {
    color: #102a43;
    background: linear-gradient(180deg, #f8fbff, #edf5ff);
}

.wechat-contact-card {
    max-width: 360px;
    margin: 0 0 24px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
}

.wechat-contact-card strong,
.phone-contact strong {
    color: var(--text);
}

.wechat-contact-card span {
    display: block;
    margin: 6px 0 14px;
    color: var(--text-light);
    font-size: 0.92rem;
}

.wechat-contact-card img {
    display: block;
    width: min(100%, 140px);
    border-radius: 8px;
    border: 1px solid var(--border);
}

.phone-contact {
    margin: 0 0 16px;
    font-size: 1.05rem;
}

.phone-contact a {
    color: var(--primary);
    font-size: 1.35rem;
    font-weight: 800;
    text-decoration: none;
}

.address-contact {
    line-height: 1.8;
}

.map-nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    margin-left: 10px;
    padding: 0 14px;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(135deg, #0f62fe, #00a6ff);
    font-size: 0.92rem;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(15, 98, 254, 0.18);
    white-space: nowrap;
}

.map-nav-btn:hover {
    color: #fff;
    background: linear-gradient(135deg, #063ea7, #0f62fe);
}

@media (max-width: 640px) {
    .wechat-contact-card {
        max-width: 100%;
    }

    .map-nav-btn {
        display: flex;
        width: 100%;
        margin: 10px 0 0;
    }
}

/* ==========================================================
   ANSHU DATA LAB — 2026 front-end visual system
   Presentation-only overrides. No business/data dependencies.
   ========================================================== */
:root {
    --primary: #1668ff;
    --primary-dark: #0748c9;
    --primary-light: #eaf2ff;
    --accent: #00d4ff;
    --accent-dark: #00a9d6;
    --text: #10213d;
    --text-light: #66758d;
    --bg: #ffffff;
    --bg-gray: #f5f8fd;
    --bg-dark: #061226;
    --border: #dce6f4;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 12px 35px rgba(24, 52, 92, .08);
    --shadow-md: 0 22px 55px rgba(24, 52, 92, .14);
    --shadow-lg: 0 30px 80px rgba(2, 15, 38, .26);
    --transition: all .28s cubic-bezier(.2,.8,.2,1);
    --max-width: 1220px;
}

html { scroll-padding-top: 76px; }
body {
    background: #fff;
    color: var(--text);
    letter-spacing: .01em;
}
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(circle at 8% 12%, rgba(22,104,255,.07), transparent 24rem),
        radial-gradient(circle at 92% 48%, rgba(0,212,255,.055), transparent 25rem);
}

.container { padding-left: 28px; padding-right: 28px; }
.navbar {
    height: 72px;
    background: rgba(255,255,255,.78);
    border-bottom: 1px solid rgba(188,205,229,.52);
    box-shadow: none;
    transition: background .25s ease, box-shadow .25s ease, height .25s ease;
}
.navbar.scrolled {
    height: 64px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 12px 38px rgba(20,45,82,.1);
}
.logo { gap: 11px; }
.logo-mark {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 11px;
    background: linear-gradient(145deg, #1668ff, #00bfe8);
    box-shadow: 0 9px 22px rgba(22,104,255,.3), inset 0 1px 0 rgba(255,255,255,.4);
}
.logo-mark svg { width: 25px; height: 25px; }
.logo-mark path:first-child { fill: rgba(255,255,255,.16); stroke: #fff; stroke-width: 1.7; }
.logo-mark path:last-child { fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.logo-copy { display: flex; flex-direction: column; line-height: 1.05; }
.logo-text { font-size: 1.05rem; font-weight: 850; letter-spacing: .04em; }
.logo-copy small { margin-top: 5px; color: #7a8ca8; font-size: .52rem; font-weight: 800; letter-spacing: .16em; }
.nav-menu { gap: 7px; align-items: center; }
.nav-link {
    position: relative;
    padding: 9px 14px;
    border-radius: 10px;
    font-size: .9rem;
    color: #3b4d68;
}
.nav-link::after {
    content: "";
    position: absolute;
    left: 50%; bottom: 2px;
    width: 0; height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: translateX(-50%);
    transition: width .25s ease;
}
.nav-link:hover { background: rgba(22,104,255,.06); }
.nav-link:hover::after { width: 24px; }
.nav-link.active { color: #fff; background: linear-gradient(135deg, #1668ff, #0753df); box-shadow: 0 8px 18px rgba(22,104,255,.23); }
.nav-link.active::after { display: none; }

.hero {
    min-height: 520px;
    display: grid;
    align-items: center;
    padding: 130px 0 105px;
    text-align: left;
    isolation: isolate;
    background:
        radial-gradient(circle at 78% 32%, rgba(0,212,255,.25), transparent 18rem),
        radial-gradient(circle at 18% 20%, rgba(35,118,255,.32), transparent 24rem),
        linear-gradient(128deg, #061226 0%, #092d67 55%, #0751a8 100%);
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: .27;
    background-image:
        linear-gradient(rgba(90,185,255,.2) 1px, transparent 1px),
        linear-gradient(90deg, rgba(90,185,255,.2) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: linear-gradient(90deg, #000, transparent 88%);
}
.hero::after {
    height: 48px;
    background: #fff;
    clip-path: polygon(0 70%, 55% 100%, 100% 36%, 100% 100%, 0 100%);
}
.hero .container { width: 100%; }
.hero .container > *:not(.hero-buttons) { max-width: 760px; margin-left: 0; margin-right: 0; }
.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.3rem);
    letter-spacing: -.045em;
    text-shadow: 0 12px 35px rgba(0,0,0,.22);
}
.hero p { max-width: 750px; margin: 0 0 13px; font-size: 1.08rem; line-height: 1.75; opacity: .82; }
.hero p:first-of-type { margin-bottom: 22px; color: #bdeeff; font-size: 1.25rem; font-weight: 650; opacity: 1; }
.hero-buttons { justify-content: flex-start; margin-top: 28px; }
.hero-robot { z-index: 4; }

/* Database-driven introduction immediately below the hero */
.hero + .section { padding: 30px 0 54px; background: #fff; }
.hero + .section > .container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: -6px;
}
.hero + .section > .container > p {
    position: relative;
    margin: 0;
    padding: 17px 18px 17px 48px;
    border: 1px solid #e0e9f5;
    border-radius: 14px;
    color: #40536d;
    background: linear-gradient(135deg, #fff, #f7faff);
    box-shadow: 0 8px 24px rgba(25,54,96,.055);
}
.hero + .section > .container > p::before {
    content: "";
    position: absolute;
    left: 19px; top: 21px;
    width: 10px; height: 10px;
    border: 3px solid #fff;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(0,212,255,.14);
}

.btn {
    min-height: 46px;
    padding: 12px 24px;
    border-radius: 12px;
    letter-spacing: .02em;
}
.btn-primary { background: linear-gradient(135deg, #1668ff, #00bce7); box-shadow: 0 12px 28px rgba(22,104,255,.26); }
.btn-primary:hover { background: linear-gradient(135deg, #0753df, #00a9d6); transform: translateY(-3px); box-shadow: 0 17px 36px rgba(22,104,255,.34); }
.btn-outline { border-color: rgba(183,228,255,.55); background: rgba(255,255,255,.06); backdrop-filter: blur(8px); }
.btn-secondary { border: 1px solid var(--border); background: #fff; }

.section { position: relative; padding: 96px 0; }
.section-alt {
    background:
        linear-gradient(135deg, rgba(22,104,255,.025), rgba(0,212,255,.025)),
        #f5f8fd;
    border-top: 1px solid #eaf0f8;
    border-bottom: 1px solid #eaf0f8;
}
.section-title { margin-bottom: 54px; font-size: clamp(1.75rem, 3vw, 2.45rem); letter-spacing: -.025em; }
.section-title::before {
    content: "DATA RECOVERY LAB";
    display: block;
    margin-bottom: 8px;
    color: var(--primary);
    font-size: .7rem;
    font-weight: 850;
    letter-spacing: .2em;
}
.section-title::after { width: 44px; height: 4px; margin-top: 15px; background: linear-gradient(90deg, var(--primary), var(--accent)); }

.services-grid, .recovery-grid, .equipment-grid, .blog-grid { gap: 26px; }
.service-card, .recovery-card, .equipment-card, .blog-card, .contact-card, .software-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(183,202,227,.68);
    background: rgba(255,255,255,.9);
    box-shadow: 0 12px 38px rgba(20,49,88,.07);
}
.service-card::before, .recovery-card::before, .equipment-card::before, .blog-card::before {
    content: "";
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--accent), transparent);
    opacity: 0;
    transition: opacity .25s ease;
}
.service-card:hover, .recovery-card:hover, .equipment-card:hover, .blog-card:hover, .software-card:hover {
    transform: translateY(-7px);
    border-color: rgba(22,104,255,.35);
    box-shadow: 0 24px 55px rgba(20,49,88,.14);
}
.service-card:hover::before, .recovery-card:hover::before, .equipment-card:hover::before, .blog-card:hover::before { opacity: 1; }
.service-card { padding: 36px 25px; }
.service-icon, .recovery-icon, .equipment-icon-text {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border: 1px solid rgba(22,104,255,.16);
    border-radius: 18px;
    background: linear-gradient(145deg, #f5f9ff, #e7f2ff);
    font-size: 2rem;
    box-shadow: inset 0 1px 0 #fff, 0 10px 25px rgba(22,104,255,.1);
}
.recovery-card { padding: 32px 18px; }
.service-card h3, .recovery-card h3, .equipment-card h3, .blog-card h3 { color: #132845; }

#stats { overflow: hidden; color: #fff; background: linear-gradient(120deg, #07162d, #0a3776); }
#stats::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 75% 20%, rgba(0,212,255,.18), transparent 28rem); }
#stats .section-title { color: #fff; }
#stats .section-title::before { color: #75ddff; }
.stats-grid { position: relative; gap: 0; }
.stat-item { border-right: 1px solid rgba(255,255,255,.14); }
.stat-item:last-child { border-right: 0; }
.stat-number { color: #fff; font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -.04em; text-shadow: 0 0 32px rgba(0,212,255,.35); }
.stat-label { color: #a9bed9; letter-spacing: .1em; }

.page-banner {
    min-height: 330px;
    display: grid;
    align-items: center;
    padding: 115px 0 72px;
    background:
        radial-gradient(circle at 72% 24%, rgba(0,212,255,.26), transparent 20rem),
        linear-gradient(125deg, #061226, #0a397b 68%, #0756ad);
}
.page-banner::before { opacity: .2; background-size: 50px 50px; }
.page-banner::after { content: ""; position: absolute; left: 50%; bottom: 30px; width: 70px; height: 2px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, #49dcff, transparent); }
.page-banner h1 { font-size: clamp(2.2rem, 4vw, 3.6rem); letter-spacing: -.035em; }
.page-banner p { margin-top: 14px; color: #c1d7ef; font-size: 1.05rem; }

.price-promise { padding: 24px; border: 1px solid rgba(0,220,170,.2); background: linear-gradient(135deg, #047d70, #00a987); box-shadow: 0 16px 35px rgba(0,137,112,.18); }
.price-tabs { padding: 7px; border: 1px solid var(--border); border-radius: 15px; background: #f4f7fb; }
.price-tab { border: 0; border-radius: 10px; background: transparent; }
.price-tab.active { background: #fff; color: var(--primary); box-shadow: 0 6px 17px rgba(31,62,105,.12); }
.price-table { border: 1px solid var(--border); border-collapse: separate; border-spacing: 0; background: #fff; }
.price-table th { padding: 16px 18px; color: #294463; background: #f2f6fc; }
.price-table td { padding: 15px 18px; }
.price-table tbody tr:last-child td { border-bottom: 0; }
.price-table tbody tr:hover { background: #f3f8ff; }
.price-range { color: #075ce5; }

.analysis-content, .blog-detail {
    padding: 40px clamp(24px, 5vw, 64px);
    max-width: 920px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: rgba(255,255,255,.94);
    box-shadow: var(--shadow);
}
.analysis-content h2, .page-content h2 { padding-bottom: 10px; border-bottom: 1px solid #e8eef7; color: #075ce5; }
.analysis-content h3 { color: #203955; }
.analysis-content img, .blog-content img { box-shadow: 0 16px 40px rgba(13,34,66,.14); }
.blog-card-category { padding: 5px 12px; border: 1px solid rgba(22,104,255,.14); background: #edf4ff; font-weight: 700; }
.blog-detail-header h1 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.03em; }
.inquiry-form, .modal-content { border: 1px solid rgba(185,204,229,.7); border-radius: 22px; box-shadow: var(--shadow-lg); }
.form-control { min-height: 46px; border-color: #ccdaeb; background: #fbfdff; }
.form-control:focus { background: #fff; box-shadow: 0 0 0 4px rgba(22,104,255,.1); }

.footer {
    position: relative;
    overflow: hidden;
    margin-top: 0;
    padding-top: 76px;
    background: linear-gradient(135deg, #040d1c, #071a35 62%, #08294d);
}
.footer::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 10% 0%, rgba(0,212,255,.1), transparent 23rem); pointer-events: none; }
.footer-grid, .footer-bottom { position: relative; }
.footer-kicker { display: block; margin-bottom: 10px; color: #45d8ff; font-size: .62rem; font-weight: 800; letter-spacing: .18em; }
.footer-col h4 { font-size: 1.05rem; }
.footer-col a { color: #8fa5bf; }
.footer-col a:hover { color: #5ee1ff; transform: translateX(2px); }
.footer-bottom { border-color: rgba(123,164,210,.14); }
.biz-login-btn { border: 1px solid rgba(255,255,255,.28); background: linear-gradient(135deg, #1668ff, #00a9d6); box-shadow: 0 16px 40px rgba(4,57,142,.35); }
.modal-overlay { background: rgba(3,12,27,.68); backdrop-filter: blur(7px); }

.reveal-ready { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s cubic-bezier(.2,.8,.2,1); }
.reveal-ready.is-visible { opacity: 1; transform: none; }

@media (max-width: 1023px) {
    .nav-link { padding: 9px 10px; }
    .hero { min-height: 490px; }
}
@media (max-width: 767px) {
    .container { padding-left: 20px; padding-right: 20px; }
    .navbar, .navbar.scrolled { height: 64px; }
    .logo-mark { width: 32px; height: 32px; border-radius: 9px; }
    .logo-copy small { display: none; }
    .nav-menu { top: 64px; padding: 14px 20px 20px; gap: 5px; border-radius: 0 0 18px 18px; background: rgba(255,255,255,.97); backdrop-filter: blur(16px); }
    .nav-link { display: block; padding: 11px 14px; }
    .nav-link::after { display: none; }
    .hero { min-height: 540px; padding: 110px 0 105px; text-align: center; }
    .hero .container > *:not(.hero-buttons) { margin-left: auto; margin-right: auto; }
    .hero h1 { font-size: clamp(2.2rem, 10vw, 3rem); }
    .hero p { margin-left: auto; margin-right: auto; font-size: .96rem; }
    .hero p:first-of-type { font-size: 1.08rem; }
    .hero-buttons { justify-content: center; }
    .hero-robot { opacity: .75; }
    .hero + .section { padding: 22px 0 42px; }
    .hero + .section > .container { grid-template-columns: 1fr; gap: 10px; }
    .hero + .section > .container > p { padding: 14px 14px 14px 42px; font-size: .9rem; }
    .hero + .section > .container > p::before { left: 16px; top: 18px; }
    .section { padding: 70px 0; }
    .section-title { margin-bottom: 38px; }
    .services-grid, .recovery-grid { gap: 14px; }
    .service-card, .recovery-card { padding: 25px 14px; border-radius: 16px; }
    .service-icon, .recovery-icon { width: 54px; height: 54px; border-radius: 15px; font-size: 1.65rem; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .stat-item { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
    .page-banner { min-height: 265px; padding: 95px 0 55px; }
    .analysis-content, .blog-detail { padding: 26px 20px; border-radius: 18px; }
    .price-tabs { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
    .price-tab { flex: 0 0 auto; }
    .footer { padding-top: 58px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .reveal-ready { opacity: 1; transform: none; }
}
