/* ============================================================
   YoLinkNet 优联云科技 - 深蓝白色主题 (Light Theme)
   ============================================================ */

:root {
    --primary: #1e40af;
    --primary-light: #2563eb;
    --primary-dark: #1e3a8a;
    --primary-glow: rgba(30, 64, 175, 0.08);
    --accent: #0284c7;
    --accent-light: #0ea5e9;
    --purple: #7c3aed;
    --green: #059669;
    --orange: #d97706;

    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #f1f5f9;
    --bg-surface: rgba(255, 255, 255, 0.9);

    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;

    --border: rgba(15, 23, 42, 0.08);
    --border-active: rgba(30, 64, 175, 0.25);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.1);
    --shadow-glow: 0 8px 32px rgba(30, 64, 175, 0.1);

    --font-cn: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-en: 'Inter', var(--font-cn);

    --nav-height: 72px;
    --container-max: 1200px;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
    font-size: 16px;
}

body {
    font-family: var(--font-cn);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; transition: color 0.3s; }
img { max-width: 100%; height: auto; }
ul { list-style: none; }

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    background: rgba(248, 250, 252, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: all 0.4s;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.25rem;
    z-index: 10;
}

.logo-img { height: 36px; width: auto; }

.nav-links { display: flex; gap: 8px; }

.nav-links a {
    display: block;
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: all 0.3s;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
    background: var(--primary-glow);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
}

/* Mobile toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 10;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s;
}

.mobile-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: var(--nav-height);
    background: linear-gradient(170deg, #eef2ff 0%, #f8fafc 40%, #ffffff 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.particle-field { position: absolute; inset: 0; }

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(30, 64, 175, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30, 64, 175, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 30%, transparent 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(30, 64, 175, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(2, 132, 199, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 80px 24px 60px;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary-glow);
    border: 1px solid var(--border-active);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 2px;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--accent), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 520px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-cn);
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    box-shadow: 0 4px 20px rgba(30, 64, 175, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(30, 64, 175, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--border-active);
}

.btn-outline:hover {
    background: var(--primary-glow);
    border-color: var(--primary);
}

.btn-full { width: 100%; }

/* Hero visual */
.hero-visual {
    position: relative;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-card {
    position: absolute;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px 28px;
    display: flex;
    align-items: center;
    gap: 14px;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    animation: float 6s ease-in-out infinite;
}

.floating-card svg { width: 40px; height: 40px; flex-shrink: 0; }
.floating-card span { font-weight: 600; font-size: 0.95rem; white-space: nowrap; }

.card-1 { top: 10%; left: 10%; color: var(--primary); animation-delay: 0s; }
.card-2 { top: 45%; right: 5%; color: var(--purple); animation-delay: -2s; }
.card-3 { bottom: 10%; left: 20%; color: var(--accent); animation-delay: -4s; }

.hero-3d-orb {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(30, 64, 175, 0.12), rgba(2, 132, 199, 0.06), transparent);
    border: 1px solid rgba(30, 64, 175, 0.1);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes pulse-glow {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.08); opacity: 0.8; }
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.75rem;
    animation: fade-bounce 2s ease-in-out infinite;
}

.mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 3px;
    height: 8px;
    background: var(--text-muted);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 1.5s ease-in-out infinite;
}

@keyframes scroll-wheel {
    0% { transform: translateX(-50%) translateY(0); opacity: 1; }
    100% { transform: translateX(-50%) translateY(12px); opacity: 0; }
}

@keyframes fade-bounce {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* --- Sections --- */
.section { padding: 120px 0; position: relative; }

.section-header { text-align: center; margin-bottom: 64px; }

.section-tag {
    display: inline-block;
    font-family: var(--font-en);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 4px;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* --- About --- */
.about { background: var(--bg-secondary); }

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.about-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity 0.4s;
}

.about-card:hover {
    border-color: var(--border-active);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.about-card:hover::before { opacity: 1; }

.about-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 24px;
    color: var(--primary);
}

.about-icon svg { width: 100%; height: 100%; }

.about-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.about-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* --- Services --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 0;
}

.service-card[data-color="blue"]::before {
    background: radial-gradient(ellipse at top left, rgba(30, 64, 175, 0.04), transparent 60%);
}
.service-card[data-color="purple"]::before {
    background: radial-gradient(ellipse at top left, rgba(124, 58, 237, 0.04), transparent 60%);
}
.service-card[data-color="cyan"]::before {
    background: radial-gradient(ellipse at top left, rgba(2, 132, 199, 0.04), transparent 60%);
}
.service-card[data-color="green"]::before {
    background: radial-gradient(ellipse at top left, rgba(5, 150, 105, 0.04), transparent 60%);
}

.service-card:hover {
    border-color: var(--border-active);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.service-card:hover::before { opacity: 1; }

.service-card > * { position: relative; z-index: 1; }

.service-number {
    font-family: var(--font-en);
    font-size: 3rem;
    font-weight: 900;
    color: rgba(15, 23, 42, 0.04);
    position: absolute;
    top: 20px;
    right: 28px;
    line-height: 1;
}

.service-icon { width: 48px; height: 48px; margin-bottom: 20px; }
.service-card[data-color="blue"] .service-icon { color: var(--primary); }
.service-card[data-color="purple"] .service-icon { color: var(--purple); }
.service-card[data-color="cyan"] .service-icon { color: var(--accent); }
.service-card[data-color="green"] .service-icon { color: var(--green); }
.service-icon svg { width: 100%; height: 100%; }

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.service-card > p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-list { display: flex; flex-wrap: wrap; gap: 8px; }

.service-list li {
    padding: 6px 14px;
    background: rgba(15, 23, 42, 0.03);
    border-radius: 100px;
    font-size: 0.82rem;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.service-card:hover .service-list li {
    border-color: var(--border-active);
    background: var(--primary-glow);
}

/* --- Solutions --- */
.solutions { background: var(--bg-secondary); }

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.solution-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    transition: all 0.4s;
}

.solution-card:hover {
    border-color: var(--border-active);
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow);
}

.solution-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    color: var(--primary);
}

.solution-icon svg { width: 100%; height: 100%; }

.solution-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.solution-card p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.7;
}

/* --- Advantages --- */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-bottom: 64px;
}

.advantage-item {
    padding: 32px 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

.advantage-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity 0.4s;
}

.advantage-item:hover {
    border-color: var(--border-active);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.advantage-item:hover::after { opacity: 1; }

.advantage-num {
    font-family: var(--font-en);
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.advantage-item h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.advantage-item p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.7;
}

/* Stats bar */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--primary-light));
    border-radius: var(--radius-xl);
    padding: 48px 40px;
    box-shadow: 0 8px 40px rgba(30, 64, 175, 0.2);
}

.stat-item { text-align: center; }

.stat-number {
    font-family: var(--font-en);
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
}

.stat-suffix {
    font-family: var(--font-en);
    font-size: 1.5rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
}

.stat-label {
    display: block;
    margin-top: 8px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

/* --- Tech Stack Marquee --- */
.tech-stack { background: var(--bg-secondary); padding: 80px 0; overflow: hidden; }

.tech-marquee {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.tech-track {
    display: flex;
    gap: 20px;
    animation: marquee 30s linear infinite;
    width: max-content;
}

.tech-item {
    flex-shrink: 0;
    padding: 20px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    text-align: center;
    min-width: 180px;
    transition: all 0.3s;
}

.tech-item:hover {
    border-color: var(--border-active);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.tech-item span {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.tech-item small { color: var(--text-muted); font-size: 0.78rem; }

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- Contact --- */
.contact { background: var(--bg-secondary); }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 28px; }

.contact-item { display: flex; gap: 18px; align-items: flex-start; }

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-glow);
    border: 1px solid var(--border-active);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary);
}

.contact-icon svg { width: 22px; height: 22px; }

.contact-item h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 4px; color: var(--text-primary); }
.contact-item p { color: var(--text-secondary); font-size: 0.9rem; }

/* Form */
.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-sm);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-cn);
    font-size: 0.92rem;
    transition: all 0.3s;
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    color: var(--text-muted);
}

.form-group select option { background: var(--bg-card); color: var(--text-primary); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.08);
}

.form-group textarea { resize: vertical; min-height: 100px; }

/* --- Footer --- */
.footer {
    background: #0f172a;
    border-top: none;
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo { height: 32px; width: auto; margin-bottom: 16px; filter: brightness(10); }

.footer-brand p { color: rgba(255, 255, 255, 0.5); font-size: 0.88rem; margin-bottom: 8px; }
.footer-desc { margin-top: 12px !important; line-height: 1.7; }

.footer-links h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.footer-links li { margin-bottom: 12px; }

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.88rem;
    transition: color 0.3s;
}

.footer-links a:hover { color: #fff; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.35);
}

.footer-bottom a { color: rgba(255, 255, 255, 0.5); }
.footer-bottom a:hover { color: #fff; }

/* --- Back to Top --- */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(30, 64, 175, 0.3);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s;
    z-index: 999;
}

.back-to-top.visible { opacity: 1; transform: translateY(0); }

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(30, 64, 175, 0.4);
}

.back-to-top svg { width: 22px; height: 22px; }

/* --- Animations --- */
.animate-in {
    opacity: 0;
    transform: translateY(30px);
    animation: animateIn 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }

@keyframes animateIn {
    to { opacity: 1; transform: translateY(0); }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible { opacity: 1; transform: translateY(0); }

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-content { grid-template-columns: 1fr; gap: 40px; }
    .hero-visual { height: 280px; }
    .hero h1 { font-size: 2.8rem; }
    .about-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .solutions-grid { grid-template-columns: repeat(2, 1fr); }
    .advantages-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-bar { grid-template-columns: repeat(2, 1fr); gap: 32px; padding: 36px 28px; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    :root { --nav-height: 64px; }
    .mobile-toggle { display: flex; }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-secondary);
        border-left: 1px solid var(--border);
        flex-direction: column;
        padding: 100px 24px 24px;
        gap: 4px;
        transition: right 0.4s;
        box-shadow: var(--shadow-lg);
    }

    .nav-links.open { right: 0; }
    .nav-links a { padding: 12px 16px; font-size: 1rem; }
    .section { padding: 80px 0; }
    .section-header h2 { font-size: 2rem; }
    .hero h1 { font-size: 2.2rem; }
    .hero-desc { font-size: 1rem; }
    .hero-visual { display: none; }
    .solutions-grid { grid-template-columns: 1fr; }
    .advantages-grid { grid-template-columns: 1fr; }
    .stats-bar { grid-template-columns: repeat(2, 1fr); }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.8rem; }
    .hero-actions { flex-direction: column; }
    .btn { width: 100%; }
    .stat-number { font-size: 2.2rem; }
    .tech-item { min-width: 150px; padding: 16px 24px; }
}



 .qrcode-container {

    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.qrcode-row {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 30px;
}

.qrcode-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.qrcode-item img {
    width: 130px;
    height: 130px;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 8px;
    background: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.qrcode-item img:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.qrcode-item p {
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    margin: 0;
    letter-spacing: 0.5px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .qrcode-row {
        flex-direction: row;
        gap: 20px;
        align-items: flex-start;
    }
}


/* 备案信息容器样式 */
.beian-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    color: #6c757d;
    margin-top: auto;
}

/* 备案链接基础样式 */
.beian-container a {
    text-decoration: none;
    color:rgba(255, 255, 255, 0.35);
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* 备案链接悬停效果 */
.beian-container a:hover {
    color: #007bff;
    text-decoration: underline;
}



/* 公安备案图片样式 */
.beian-container img {
    width: 16px;
    height: 16px;
    margin-right:5px;
    vertical-align: middle;
}

.beianmps{
	display: flex;
    align-items: center;
}
/* 响应式设计 - 小屏幕时垂直排列 */
@media (max-width: 768px) {
    .beian-container {
        flex-direction: column;
        gap: 10px;
        padding: 10px;
    }
}


