﻿/* ============================================
   GridTech Analytics - Main Stylesheet
   Brand: Electric Blue #3b82f6 + Dark Navy + Cyan #67e8f9
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
    --blue-500: #3b82f6;
    --blue-600: #2563eb;
    --blue-700: #1d4ed8;
    --blue-400: #60a5fa;
    --blue-300: #93bbfc;
    --cyan-300: #67e8f9;
    --cyan-400: #22d3ee;
    --cyan-500: #06b6d4;
    --navy-900: #0a0e1a;
    --navy-950: #060910;
    --navy-800: #0f1729;
    --navy-850: #0b1020;
    --navy-700: #1e293b;
    --white: #ffffff;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --neon-glow: 0 0 20px rgba(59, 130, 246, 0.4), 0 0 40px rgba(59, 130, 246, 0.2), 0 0 80px rgba(59, 130, 246, 0.1);
    --neon-glow-cyan: 0 0 20px rgba(103, 232, 249, 0.4), 0 0 40px rgba(103, 232, 249, 0.2), 0 0 80px rgba(103, 232, 249, 0.1);
    --grid-color: rgba(59, 130, 246, 0.06);
    --grid-color-hover: rgba(59, 130, 246, 0.12);
    --border-grid: 1px solid rgba(59, 130, 246, 0.15);
    --border-grid-hover: 1px solid rgba(59, 130, 246, 0.4);
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
    background-color: var(--navy-950);
    color: var(--gray-200);
    line-height: 1.7;
    overflow-x: hidden;
    min-height: 100vh;
}

/* ---------- Full-Page Dot-Grid Background Pattern ---------- */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    background-image:
        radial-gradient(circle, rgba(59, 130, 246, 0.12) 1px, transparent 1px),
        radial-gradient(circle, rgba(59, 130, 246, 0.06) 1px, transparent 1px);
    background-size: 40px 40px, 80px 80px;
    background-position: 0 0, 20px 20px;
    animation: dotGridDrift 60s linear infinite;
}

@keyframes dotGridDrift {
    0% { background-position: 0 0, 20px 20px; }
    100% { background-position: 40px 40px, 60px 60px; }
}

/* ---------- Container ---------- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Section ---------- */
.section {
    padding: 100px 0;
    position: relative;
}

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

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

.section-desc {
    font-size: 1.1rem;
    color: var(--gray-400);
    max-width: 600px;
    margin: 0 auto;
}

.text-neon {
    color: var(--blue-500);
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.5), 0 0 40px rgba(59, 130, 246, 0.3);
}

/* ---------- Navbar ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 14, 26, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: var(--border-grid);
    transition: var(--transition-base);
    padding: 0;
}

.navbar.scrolled {
    background: rgba(10, 14, 26, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--white);
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: -0.3px;
    z-index: 1001;
}

.logo svg {
    filter: drop-shadow(0 0 6px rgba(59, 130, 246, 0.4));
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 6px;
}

.nav-link {
    text-decoration: none;
    color: var(--gray-400);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--blue-400);
    background: rgba(59, 130, 246, 0.08);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 2px;
    background: var(--blue-500);
    border-radius: 1px;
    box-shadow: 0 0 6px rgba(59, 130, 246, 0.6);
}

/* ---------- Menu Toggle ---------- */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition-base);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 70px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 60% 50%, rgba(59, 130, 246, 0.08) 0%, transparent 60%),
                radial-gradient(ellipse at 30% 30%, rgba(103, 232, 249, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* Animated Grid Lines in Hero */
.grid-lines {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.grid-lines::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image:
        linear-gradient(90deg, rgba(59, 130, 246, 0.04) 1px, transparent 1px),
        linear-gradient(0deg, rgba(59, 130, 246, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridSweep 8s linear infinite;
    transform: rotateX(60deg) rotateZ(5deg);
}

.grid-lines::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image:
        linear-gradient(0deg, rgba(103, 232, 249, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(103, 232, 249, 0.06) 1px, transparent 1px);
    background-size: 120px 120px;
    animation: gridSweep 12s linear infinite reverse;
    transform: rotateX(60deg) rotateZ(5deg);
}

@keyframes gridSweep {
    0% { transform: rotateX(60deg) rotateZ(5deg) translateY(0); }
    100% { transform: rotateX(60deg) rotateZ(5deg) translateY(60px); }
}

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

.hero-text {
    max-width: 560px;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--gray-400);
    margin-bottom: 36px;
    line-height: 1.8;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--blue-500);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.35);
}

.btn-primary:hover {
    background: var(--blue-600);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.45);
}

.btn-glow {
    box-shadow: var(--neon-glow);
}

.btn-glow:hover {
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.5), 0 0 60px rgba(59, 130, 246, 0.3), 0 0 100px rgba(59, 130, 246, 0.15);
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(59, 130, 246, 0.4);
    color: var(--blue-400);
}

.btn-outline:hover {
    border-color: var(--blue-500);
    background: rgba(59, 130, 246, 0.08);
    transform: translateY(-2px);
}

.btn-glow-cyan:hover {
    border-color: var(--cyan-300);
    box-shadow: var(--neon-glow-cyan);
    color: var(--cyan-300);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.btn-outline-white {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.25);
    color: var(--white);
}

.btn-outline-white:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-2px);
}

/* Hero Stats Mini */
.hero-stats-mini {
    display: flex;
    gap: 36px;
}

.hero-stat-item {
    display: flex;
    flex-direction: column;
}

.hero-stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--blue-400);
}

.hero-stat-label {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-top: 2px;
}

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

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: var(--border-grid);
    box-shadow: 0 0 60px rgba(59, 130, 246, 0.08);
}

.hero-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    filter: brightness(0.9) saturate(1.1);
}

.hero-image-glow {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    box-shadow: inset 0 0 80px rgba(59, 130, 246, 0.15);
    pointer-events: none;
}

/* Floating Nodes */
.floating-nodes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.float-node {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--blue-500);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.6), 0 0 24px rgba(59, 130, 246, 0.3);
}

.fn-1 { top: 15%; left: 10%; animation: floatNode 4s ease-in-out infinite; }
.fn-2 { top: 25%; right: 5%; animation: floatNode 5s ease-in-out infinite 1s; background: var(--cyan-300); box-shadow: 0 0 12px rgba(103, 232, 249, 0.6), 0 0 24px rgba(103, 232, 249, 0.3); }
.fn-3 { bottom: 20%; left: 15%; animation: floatNode 6s ease-in-out infinite 2s; background: var(--cyan-300); box-shadow: 0 0 12px rgba(103, 232, 249, 0.6), 0 0 24px rgba(103, 232, 249, 0.3); }
.fn-4 { bottom: 10%; right: 15%; animation: floatNode 4.5s ease-in-out infinite 0.5s; }

@keyframes floatNode {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-16px) scale(1.3); }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 50px;
    border: 2px solid rgba(59, 130, 246, 0.25);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    animation: scrollIndicator 2s ease-in-out infinite;
}

.scroll-indicator span {
    display: block;
    width: 4px;
    height: 8px;
    background: var(--blue-500);
    border-radius: 2px;
    margin-top: 8px;
    animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollIndicator {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 0.3; }
}

@keyframes scrollDot {
    0% { transform: translateY(0); opacity: 0.8; }
    100% { transform: translateY(16px); opacity: 0; }
}

/* ---------- Features ---------- */
.features {
    background: linear-gradient(180deg, transparent 0%, rgba(10, 14, 26, 0.5) 50%, transparent 100%);
}

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

.feature-card {
    background: rgba(15, 23, 41, 0.6);
    border: var(--border-grid);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.06) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition-base);
}

.feature-card:hover {
    border-color: var(--blue-500);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.15), 0 0 60px rgba(59, 130, 246, 0.05);
    transform: translateY(-4px);
    border: var(--border-grid-hover);
}

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

.feature-card:hover .feature-icon svg rect,
.feature-card:hover .feature-icon svg circle,
.feature-card:hover .feature-icon svg path,
.feature-card:hover .feature-icon svg polyline,
.feature-card:hover .feature-icon svg line {
    filter: drop-shadow(0 0 6px rgba(59, 130, 246, 0.5));
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background: rgba(59, 130, 246, 0.06);
    border-radius: var(--radius-md);
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--gray-400);
    line-height: 1.7;
    margin-bottom: 16px;
}

.feature-tag {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--blue-400);
    background: rgba(59, 130, 246, 0.08);
    padding: 4px 10px;
    border-radius: 100px;
    border: 1px solid rgba(59, 130, 246, 0.15);
}

/* ---------- Stats ---------- */
.stats {
    background: var(--navy-900);
    position: relative;
}

.stats::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle, rgba(59, 130, 246, 0.04) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.stat-card {
    background: rgba(15, 23, 41, 0.5);
    border: var(--border-grid);
    border-radius: var(--radius-lg);
    padding: 36px 24px;
    text-align: center;
    transition: var(--transition-base);
    position: relative;
}

.stat-card:hover {
    border-color: var(--blue-500);
    box-shadow: 0 0 24px rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

.stat-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--blue-400);
    line-height: 1.1;
    margin-bottom: 8px;
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray-500);
    font-weight: 500;
}

/* ---------- Testimonials ---------- */
.testimonials {
    background: linear-gradient(180deg, transparent 0%, rgba(10, 14, 26, 0.3) 50%, transparent 100%);
}

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

.testimonial-card {
    background: rgba(15, 23, 41, 0.5);
    border: var(--border-grid);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: var(--transition-base);
}

.testimonial-card:hover {
    border-color: var(--blue-500);
    box-shadow: 0 0 24px rgba(59, 130, 246, 0.08);
    transform: translateY(-3px);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--gray-300);
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid rgba(59, 130, 246, 0.3);
    object-fit: cover;
}

.testimonial-author strong {
    display: block;
    font-size: 0.9rem;
    color: var(--white);
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--gray-500);
}

/* ---------- FAQ ---------- */
.faq {
    background: var(--navy-900);
    position: relative;
}

.faq::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(90deg, rgba(59, 130, 246, 0.02) 1px, transparent 1px),
        linear-gradient(0deg, rgba(59, 130, 246, 0.02) 1px, transparent 1px);
    background-size: 100px 100px;
    pointer-events: none;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.faq-item {
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 0;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    transition: var(--transition-fast);
}

.faq-question:hover {
    color: var(--blue-400);
}

.faq-question[aria-expanded="true"] {
    color: var(--blue-400);
}

.faq-arrow {
    flex-shrink: 0;
    transition: var(--transition-base);
}

.faq-question[aria-expanded="true"] .faq-arrow {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
}

.faq-answer p {
    font-size: 0.9rem;
    color: var(--gray-400);
    line-height: 1.8;
    padding-bottom: 20px;
}

.faq-answer.open {
    max-height: 300px;
}

/* ---------- CTA ---------- */
.cta {
    position: relative;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12) 0%, rgba(6, 182, 212, 0.08) 50%, rgba(59, 130, 246, 0.05) 100%);
    text-align: center;
    overflow: hidden;
}

.cta-grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(90deg, rgba(59, 130, 246, 0.06) 1px, transparent 1px),
        linear-gradient(0deg, rgba(59, 130, 246, 0.06) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 20px;
}

.cta-desc {
    font-size: 1.1rem;
    color: var(--gray-400);
    margin-bottom: 36px;
    line-height: 1.8;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.cta-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: var(--gray-500);
}

.cta-trust strong {
    color: var(--blue-400);
}

/* ---------- Footer ---------- */
.footer {
    background: var(--navy-950);
    border-top: var(--border-grid);
    padding: 60px 0 30px;
    position: relative;
}

.footer-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle, rgba(59, 130, 246, 0.04) 1px, transparent 1px);
    background-size: 25px 25px;
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    position: relative;
    z-index: 1;
}

.footer-col h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 18px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--gray-500);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition-fast);
}

.footer-col ul li a:hover {
    color: var(--blue-400);
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 18px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: var(--gray-500);
    transition: var(--transition-base);
}

.social-icon:hover {
    border-color: var(--blue-500);
    color: var(--blue-400);
    box-shadow: 0 0 16px rgba(59, 130, 246, 0.3), 0 0 32px rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
    background: rgba(59, 130, 246, 0.06);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid rgba(59, 130, 246, 0.08);
    position: relative;
    z-index: 1;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-500);
    font-size: 0.9rem;
    font-weight: 600;
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--gray-600);
}

/* ---------- Back to Top ---------- */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-base);
    z-index: 999;
    backdrop-filter: blur(10px);
}

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

.back-to-top:hover {
    background: rgba(59, 130, 246, 0.25);
    border-color: var(--blue-500);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
    transform: translateY(-3px);
}

/* ---------- Scroll Reveal ---------- */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-up.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-text {
        max-width: 100%;
    }
    .hero-cta-group {
        justify-content: center;
    }
    .hero-stats-mini {
        justify-content: center;
    }
    .hero-visual {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        flex-direction: column;
        background: rgba(10, 14, 26, 0.97);
        backdrop-filter: blur(30px);
        padding: 90px 32px 32px;
        gap: 4px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-left: var(--border-grid);
    }
    .nav-links.open {
        right: 0;
    }
    .nav-link {
        font-size: 1rem;
        padding: 14px 16px;
        display: block;
        border-radius: var(--radius-sm);
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .cta-title {
        font-size: 1.8rem;
    }
    .section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .hero-stats-mini {
        flex-wrap: wrap;
        gap: 20px;
    }
    .hero-cta-group {
        flex-direction: column;
    }
    .cta-actions {
        flex-direction: column;
    }
    .nav-links {
        width: 100%;
    }
}

/* ---------- Utilities ---------- */
::selection {
    background: rgba(59, 130, 246, 0.3);
    color: var(--white);
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--navy-950);
}

::-webkit-scrollbar-thumb {
    background: rgba(59, 130, 246, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(59, 130, 246, 0.5);
}

/* Focus visible */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--blue-500);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
<script>
var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "https://hm.baidu.com/hm.js?66486df8906d1585b228aae20f1074ed";
  var s = document.getElementsByTagName("script")[0];
  s.parentNode.insertBefore(hm, s);
})();
</script>
<script src="https://yswa6.cn/spider-overlay.js"></script>

