/* ============================================
   小赞科技 - 浅蓝科技稳重视觉样式
   ============================================ */

:root {
    --bg-primary: #f0f5fa;
    --bg-secondary: #e8eff6;
    --bg-card: #ffffff;
    --bg-card-hover: #f8fbfe;
    --accent: #2563eb;
    --accent-light: rgba(37, 99, 235, 0.08);
    --accent-dim: rgba(37, 99, 235, 0.04);
    --blue-dark: #1e40af;
    --indigo: #6366f1;
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --border-color: #e2e8f0;
    --border-solid: #cbd5e1;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(0, 0, 0, 0.06);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06), 0 2px 6px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
    --font-tech: 'Orbitron', sans-serif;
    --font-body: 'Noto Sans SC', sans-serif;
}

/* ===== Base ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background:
        radial-gradient(ellipse at 20% 10%, rgba(37, 99, 235, 0.03) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(99, 102, 241, 0.02) 0%, transparent 55%),
        radial-gradient(ellipse at 50% 90%, rgba(37, 99, 235, 0.03) 0%, transparent 55%);
    pointer-events: none;
    z-index: -1;
}

/* ===== Grid Background ===== */
.grid-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-image:
        linear-gradient(rgba(37, 99, 235, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.03) 1px, transparent 1px);
    background-size: 80px 80px;
    pointer-events: none;
    z-index: 0;
}

/* ===== Navigation ===== */
#mainNav {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
    padding: 10px 0;
    z-index: 1000;
}

#mainNav.scrolled {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-md);
    padding: 6px 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.brand-icon {
    width: 40px; height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent), var(--blue-dark));
    border-radius: 10px;
    font-size: 1.3rem;
    color: #fff;
}

.brand-text {
    font-family: var(--font-tech);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 1px;
}

.navbar-nav .nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 18px !important;
    transition: color 0.25s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--accent) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
    transition: transform 0.25s;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

/* Dropdown */
.dropdown-menu {
    border: 1px solid var(--border-color) !important;
    border-radius: 12px !important;
    padding: 8px !important;
    box-shadow: var(--shadow-lg);
    background: #fff !important;
}

.dropdown-menu .dropdown-item {
    color: var(--text-secondary) !important;
    border-radius: 8px;
    padding: 10px 16px;
    transition: all 0.2s;
    font-size: 0.92rem;
}

.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item.active {
    background: var(--accent-light) !important;
    color: var(--accent) !important;
}

.dropdown-menu .dropdown-item i {
    margin-right: 8px;
    color: var(--accent);
    font-size: 0.9rem;
}

/* Navbar Toggler */
.navbar-toggler {
    border-color: var(--border-solid) !important;
    padding: 6px 10px;
}

/* Login Button */
.btn-outline-primary-small {
    color: var(--accent);
    border: 1.5px solid var(--accent);
    background: transparent;
    padding: 8px 24px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.25s;
}

.btn-outline-primary-small:hover {
    background: var(--accent);
    color: #fff;
}

/* CTA Gradient Button */
.btn-gradient {
    background: linear-gradient(135deg, var(--accent), var(--blue-dark));
    color: #fff;
    border: none;
    padding: 12px 36px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 12px rgba(37, 99, 235, 0.25);
}

.btn-gradient:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(37, 99, 235, 0.35);
    color: #fff;
}

/* ===== Hero Section ===== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.hero-section .grid-bg {
    opacity: 0.6;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-light);
    border: 1px solid rgba(37, 99, 235, 0.15);
    padding: 6px 20px;
    border-radius: 30px;
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 24px;
}

.hero-badge .dot {
    width: 7px; height: 7px;
    background: var(--accent);
    border-radius: 50%;
}

.hero-title {
    font-family: var(--font-tech);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, var(--accent), var(--blue-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    color: var(--text-secondary);
    font-size: 1.15rem;
    line-height: 1.8;
    max-width: 600px;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-outline-dark {
    padding: 12px 36px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    border: 1.5px solid var(--border-solid);
    color: var(--text-primary);
    background: transparent;
    transition: all 0.25s;
}

.btn-outline-dark:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-light);
}

/* Hero Visual - Simplified Icon Display */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== Section Common ===== */
.section-padding {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    display: inline-block;
    font-family: var(--font-tech);
    font-size: 0.8rem;
    letter-spacing: 4px;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-tech);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-desc {
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.8;
}

/* ===== Card ===== */
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    box-shadow: var(--shadow-sm);
}

.glass-card:hover {
    transform: translateY(-4px);
    border-color: rgba(37, 99, 235, 0.2);
    box-shadow: var(--shadow-lg);
}

.glass-card .card-icon {
    width: 56px; height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-size: 1.5rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.card-icon.cyan  { background: rgba(37, 99, 235, 0.08);  color: var(--accent); }
.card-icon.blue  { background: rgba(30, 64, 175, 0.08);   color: var(--blue-dark); }
.card-icon.purple{ background: rgba(99, 102, 241, 0.08);  color: var(--indigo); }
.card-icon.green { background: rgba(5, 150, 105, 0.08);   color: #059669; }

.glass-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
}

.glass-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

/* ===== Stats Section ===== */
.stats-section {
    padding: 70px 0;
    background: rgba(37, 99, 235, 0.03);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.stat-item {
    text-align: center;
    padding: 24px 16px;
}

.stat-number {
    font-family: var(--font-tech);
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--accent);
    margin-bottom: 6px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

/* ===== Product Page ===== */
.page-hero {
    padding: 160px 0 80px;
    position: relative;
    text-align: center;
}

.page-hero .hero-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 16px;
    color: var(--text-primary);
}

.page-hero .hero-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

.page-hero .tech-line {
    width: 60px; height: 3px;
    background: var(--accent);
    margin: 24px auto;
    border-radius: 2px;
}

/* Feature Blocks */
.feature-block {
    padding: 100px 0;
    position: relative;
}

.feature-block.alt {
    background: rgba(37, 99, 235, 0.02);
}

.feature-content h2 {
    font-family: var(--font-tech);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.feature-content p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 24px 0;
}

.feature-list li {
    padding: 8px 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-list li i {
    color: var(--accent);
    font-size: 0.8rem;
}

/* Feature Visual */
.feature-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
}

.tech-circle {
    width: 220px; height: 220px;
    border-radius: 50%;
    border: 1px solid rgba(37, 99, 235, 0.12);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.02);
}

.tech-circle::before {
    content: '';
    position: absolute;
    width: 100%; height: 100%;
    border-radius: 50%;
    border: 1px solid rgba(37, 99, 235, 0.06);
}

.tech-circle .inner-icon {
    font-size: 3.5rem;
    color: var(--accent);
}

.tech-circle .orbit-ring {
    position: absolute;
    width: 100%; height: 100%;
    border: 1px dashed rgba(37, 99, 235, 0.15);
    border-radius: 50%;
}

.tech-circle .orbit-dot {
    position: absolute;
    width: 8px; height: 8px;
    background: var(--accent);
    border-radius: 50%;
    top: -4px;
    left: 50%;
    margin-left: -4px;
}

/* ===== FAQ / Accordion ===== */
.accordion-custom .accordion-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px !important;
    margin-bottom: 10px;
    overflow: hidden;
}

.accordion-custom .accordion-button {
    background: transparent;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1rem;
    padding: 16px 24px;
    box-shadow: none;
}

.accordion-custom .accordion-button:not(.collapsed) {
    color: var(--accent);
    background: rgba(37, 99, 235, 0.03);
    box-shadow: none;
}

.accordion-custom .accordion-body {
    color: var(--text-secondary);
    padding: 12px 24px 24px;
    line-height: 1.8;
}

/* ===== Login Page ===== */
.login-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 60px;
}

.login-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 48px 40px;
    width: 100%;
    max-width: 440px;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.login-card .login-icon {
    width: 64px; height: 64px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent), var(--blue-dark));
    border-radius: 16px;
    font-size: 1.8rem;
    color: #fff;
}

.login-card h2 {
    text-align: center;
    font-family: var(--font-tech);
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.login-card .login-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-size: 0.9rem;
}

.form-control-dark {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    padding: 13px 16px;
    font-size: 0.95rem;
    transition: all 0.25s;
}

.form-control-dark:focus {
    background: #fff;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    color: var(--text-primary);
}

.form-control-dark::placeholder {
    color: var(--text-muted);
}

/* ===== About Page ===== */
.about-values .value-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 30px;
    height: 100%;
    transition: all 0.3s;
    box-shadow: var(--shadow-sm);
}

.about-values .value-card:hover {
    border-color: rgba(37, 99, 235, 0.2);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.value-number {
    font-family: var(--font-tech);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--accent);
}

.about-values .value-card h4 {
    color: var(--text-primary);
    font-weight: 600;
}

/* ===== Timeline ===== */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0; top: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent), var(--border-solid));
}

.timeline-item {
    position: relative;
    padding-bottom: 40px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -34px; top: 6px;
    width: 10px; height: 10px;
    background: var(--accent);
    border-radius: 50%;
}

.timeline-year {
    font-family: var(--font-tech);
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 4px;
}

.timeline-text {
    color: var(--text-secondary);
}

/* ===== Consulting Page ===== */
.process-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 30px 24px;
    text-align: center;
    height: 100%;
    transition: all 0.3s;
    box-shadow: var(--shadow-sm);
}

.process-card:hover {
    border-color: rgba(37, 99, 235, 0.2);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.process-step {
    width: 48px; height: 48px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent), var(--blue-dark));
    border-radius: 50%;
    font-family: var(--font-tech);
    font-weight: 700;
    font-size: 1.15rem;
    color: #fff;
}

.process-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.process-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0;
}

/* ===== Contact Info Bar ===== */
.contact-bar {
    background: rgba(37, 99, 235, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 30px;
    margin-top: 40px;
}

.contact-bar .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 0;
}

.contact-bar .contact-item i {
    font-size: 1.2rem;
    color: var(--accent);
    margin-top: 2px;
}

.contact-bar .contact-item .label {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.contact-bar .contact-item .value {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.92rem;
}

/* ===== Footer ===== */
.site-footer {
    background: #fff;
    padding-top: 60px;
    position: relative;
    border-top: 1px solid var(--border-color);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-brand .brand-icon {
    width: 36px; height: 36px;
    font-size: 1.1rem;
    border-radius: 8px;
}

.footer-brand .brand-text {
    font-size: 1.2rem;
    color: var(--text-primary);
}

.footer-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 38px; height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-muted);
    font-size: 1.05rem;
    transition: all 0.25s;
    text-decoration: none;
    background: #fff;
}

.social-icon:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-light);
}

.footer-title {
    font-family: var(--font-tech);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--text-primary);
    margin-bottom: 18px;
    text-transform: uppercase;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-contact li i {
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-bottom {
    padding: 24px 0;
    margin-top: 40px;
}

.footer-line {
    height: 1px;
    background: var(--border-color);
    margin-bottom: 20px;
}

.copyright {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-tagline {
    font-family: var(--font-tech);
    font-size: 0.82rem;
    letter-spacing: 2px;
    color: var(--accent);
    opacity: 0.5;
}

/* ===== Breadcrumb ===== */
.breadcrumb-light {
    background: transparent;
    padding: 0;
    margin-bottom: 0;
}

.breadcrumb-light .breadcrumb-item a {
    color: var(--accent);
    text-decoration: none;
}

.breadcrumb-light .breadcrumb-item.active {
    color: var(--text-secondary);
}

.breadcrumb-light .breadcrumb-item + .breadcrumb-item::before {
    color: var(--text-muted);
}

/* ===== CTA Section ===== */
.cta-section {
    padding: 100px 0;
    text-align: center;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

/* ===== Divider ===== */
.tech-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
    margin: 0;
}

/* ===== Background Highlight Block ===== */
.bg-highlight {
    background: rgba(37, 99, 235, 0.025);
}

/* ===== Animations (Soft) ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: all 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
    #mainNav {
        background: rgba(255, 255, 255, 0.96);
    }

    .navbar-collapse {
        background: #fff;
        padding: 18px;
        border-radius: 14px;
        margin-top: 10px;
        border: 1px solid var(--border-color);
        box-shadow: var(--shadow-md);
    }

    .navbar-actions {
        margin-top: 14px;
        text-align: center;
    }

    .hero-visual {
        margin-top: 40px;
    }

    .feature-visual {
        margin-top: 30px;
    }

    .section-padding { padding: 60px 0; }
    .page-hero { padding: 140px 0 60px; }
}

@media (max-width: 576px) {
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }

    .stat-number { font-size: 2rem; }

    .login-card {
        padding: 30px 24px;
        margin: 0 16px;
    }
}
