/* ========================================
   AI林小狼工作室 - Portfolio Styles
   Material Design + Tech Aesthetic
   ======================================== */

/* CSS Variables - Material Design Color System */
:root {
    /* Primary Colors - Tech Blue/Purple */
    --primary: #6366f1;
    --primary-light: #818cf8;
    --primary-dark: #4f46e5;
    --primary-rgb: 99, 102, 241;
    
    /* Secondary Colors */
    --secondary: #06b6d4;
    --secondary-light: #22d3ee;
    --secondary-dark: #0891b2;
    
    /* Accent */
    --accent: #f472b6;
    --accent-light: #f9a8d4;
    
    /* Neutral Colors */
    --surface: #0f172a;
    --surface-light: #1e293b;
    --surface-lighter: #334155;
    --on-surface: #f8fafc;
    --on-surface-muted: #94a3b8;
    
    /* Background */
    --background: #020617;
    --background-gradient: linear-gradient(135deg, #020617 0%, #0f172a 50%, #1e1b4b 100%);
    
    /* Shadows - Material Design elevation */
    --shadow-1: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    --shadow-2: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
    --shadow-3: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
    --shadow-4: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
    --shadow-glow: 0 0 40px rgba(var(--primary-rgb), 0.3);
    
    /* Spacing - 8dp grid */
    --space-1: 8px;
    --space-2: 16px;
    --space-3: 24px;
    --space-4: 32px;
    --space-5: 40px;
    --space-6: 48px;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Transitions - Material Design easing */
    --ease-standard: cubic-bezier(0.4, 0.0, 0.2, 1);
    --ease-decelerate: cubic-bezier(0.0, 0.0, 0.2, 1);
    --ease-accelerate: cubic-bezier(0.4, 0.0, 1, 1);
    --duration-short: 150ms;
    --duration-medium: 300ms;
    --duration-long: 500ms;
    
    /* Typography */
    --font-primary: 'Roboto', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

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

body {
    font-family: var(--font-primary);
    background: var(--background);
    color: var(--on-surface);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Particle Background */
#particles-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: var(--background-gradient);
}

#particles-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(var(--primary-rgb), 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(244, 114, 182, 0.05) 0%, transparent 40%);
    animation: bgPulse 8s ease-in-out infinite;
}

@keyframes bgPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* ========================================
   Top App Bar - Material Design
   ======================================== */
.top-app-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: all var(--duration-medium) var(--ease-standard);
}

.top-app-bar.scrolled {
    box-shadow: var(--shadow-2);
    background: rgba(15, 23, 42, 0.95);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--space-3);
}

.brand {
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

/* Logo 响应式尺寸设置 */
.nav-logo {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    object-fit: cover;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* 高分辨率屏幕优化 */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .nav-logo,
    .drawer-logo,
    .footer-logo,
    .hero-logo {
        image-rendering: auto;
    }
}

.brand-name {
    font-size: 1.125rem;
    font-weight: 500;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: var(--space-1);
}

.nav-link {
    padding: var(--space-1) var(--space-2);
    color: var(--on-surface-muted);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all var(--duration-short) var(--ease-standard);
    position: relative;
}

.nav-link:hover {
    color: var(--on-surface);
    background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
    color: var(--primary-light);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 3px;
    background: var(--primary);
    border-radius: var(--radius-full);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--on-surface);
    cursor: pointer;
    padding: var(--space-1);
    border-radius: var(--radius-full);
    transition: background var(--duration-short) var(--ease-standard);
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Navigation Drawer - Mobile */
.nav-drawer {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100vh;
    background: var(--surface);
    z-index: 1100;
    transition: transform var(--duration-medium) var(--ease-standard);
    box-shadow: var(--shadow-4);
}

.nav-drawer.open {
    transform: translateX(280px);
}

.drawer-header {
    padding: var(--space-3);
    display: flex;
    align-items: center;
    gap: var(--space-2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.drawer-logo {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    object-fit: cover;
}

.drawer-links {
    padding: var(--space-2) 0;
}

.drawer-link {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
    color: var(--on-surface);
    text-decoration: none;
    transition: background var(--duration-short) var(--ease-standard);
}

.drawer-link:hover {
    background: rgba(255, 255, 255, 0.05);
}

.drawer-link .material-icons {
    color: var(--on-surface-muted);
}

.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: all var(--duration-medium) var(--ease-standard);
}

.drawer-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* ========================================
   Hero Section
   ======================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-6) var(--space-3);
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 800px;
}

.hero-avatar {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto var(--space-4);
}

.hero-avatar img {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-full);
    object-fit: cover;
    position: relative;
    z-index: 2;
    border: 4px solid rgba(var(--primary-rgb), 0.5);
}

/* Hero Logo 专用样式 */
.hero-logo {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-full);
    object-fit: cover;
    position: relative;
    z-index: 2;
    border: 4px solid rgba(var(--primary-rgb), 0.5);
}

.avatar-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    opacity: 0.5;
    filter: blur(20px);
    z-index: 1;
}

/* Breathing Animation */
.breathing {
    animation: breathe 4s ease-in-out infinite;
}

@keyframes breathe {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.breathing .avatar-glow {
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

.hero-title {
    margin-bottom: var(--space-2);
}

.greeting {
    display: block;
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--on-surface-muted);
    margin-bottom: var(--space-1);
}

.name {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--on-surface), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--on-surface-muted);
    margin-bottom: var(--space-3);
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-1);
    margin-bottom: var(--space-4);
}

.tag {
    padding: var(--space-1) var(--space-2);
    background: rgba(var(--primary-rgb), 0.1);
    border: 1px solid rgba(var(--primary-rgb), 0.3);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    color: var(--primary-light);
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: var(--space-2);
    flex-wrap: wrap;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-full);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all var(--duration-medium) var(--ease-standard);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: var(--shadow-2), 0 0 20px rgba(var(--primary-rgb), 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-3), 0 0 30px rgba(var(--primary-rgb), 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--on-surface);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Ripple Effect */
.ripple {
    position: relative;
    overflow: hidden;
}

.ripple::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-full);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s, opacity 0.6s;
    opacity: 0;
}

.ripple:active::after {
    width: 300px;
    height: 300px;
    opacity: 0;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: var(--space-4);
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator .material-icons {
    font-size: 2rem;
    color: var(--on-surface-muted);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}


/* ========================================
   Sections
   ======================================== */
.section {
    padding: var(--space-6) var(--space-3);
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-5);
}

.section-title {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--space-2);
    background: linear-gradient(135deg, var(--on-surface), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title .material-icons {
    font-size: 2rem;
    -webkit-text-fill-color: var(--primary);
}

.section-desc {
    color: var(--on-surface-muted);
    font-size: 1.125rem;
}

/* ========================================
   Cards Grid - Material Design
   ======================================== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-3);
}

/* Product Cards */
.card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--duration-medium) var(--ease-standard);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: opacity var(--duration-medium) var(--ease-standard);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-3), var(--shadow-glow);
    border-color: rgba(var(--primary-rgb), 0.3);
}

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

.product-card .card-media {
    padding: var(--space-3);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1), rgba(6, 182, 212, 0.1));
}

.card-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-2);
}

.card-icon-wrapper .material-icons {
    font-size: 2rem;
    color: white;
}

.card-badge {
    padding: 4px 12px;
    background: rgba(var(--primary-rgb), 0.2);
    color: var(--primary-light);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 500;
}

.card-badge.soon {
    background: rgba(244, 114, 182, 0.2);
    color: var(--accent-light);
}

.card-content {
    padding: var(--space-3);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-1);
    color: var(--on-surface);
}

.card-desc {
    color: var(--on-surface-muted);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: var(--space-2);
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-1);
}

.card-tags span {
    padding: 2px 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    color: var(--on-surface-muted);
}

.card-actions {
    padding: var(--space-2) var(--space-3);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.card-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-1) var(--space-2);
    background: transparent;
    color: var(--primary-light);
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--duration-short) var(--ease-standard);
}

.card-btn:hover {
    background: rgba(var(--primary-rgb), 0.1);
}

.card-btn:disabled {
    color: var(--on-surface-muted);
    cursor: not-allowed;
}

.card-btn .material-icons {
    font-size: 1.125rem;
}

/* Coming Soon Card */
.coming-soon {
    opacity: 0.7;
}

.coming-soon:hover {
    transform: none;
    box-shadow: var(--shadow-1);
}

/* Algorithm Cards */
.algo-card {
    padding: var(--space-3);
    text-align: center;
}

.algo-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-2);
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.2), rgba(6, 182, 212, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--duration-medium) var(--ease-standard);
}

.algo-icon .material-icons {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.algo-card:hover .algo-icon {
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
}

.algo-card .card-title {
    margin-bottom: var(--space-1);
}

.algo-card .card-desc {
    margin-bottom: var(--space-2);
}

.algo-features {
    list-style: none;
    text-align: left;
}

.algo-features li {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-1) 0;
    font-size: 0.875rem;
    color: var(--on-surface-muted);
}

.algo-features .material-icons {
    font-size: 1rem;
    color: var(--secondary);
}

/* ========================================
   Contact Section
   ======================================== */
.contact-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-3);
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--space-4);
    background: var(--surface);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all var(--duration-medium) var(--ease-standard);
    border: 1px solid rgba(255, 255, 255, 0.05);
    min-width: 180px;
}

.contact-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-3);
}

.contact-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-2);
    transition: all var(--duration-medium) var(--ease-standard);
}

.contact-icon svg,
.contact-icon .material-icons {
    width: 32px;
    height: 32px;
    font-size: 32px;
}

.contact-card.xiaohongshu .contact-icon {
    background: linear-gradient(135deg, #ff2442, #ff6b6b);
    color: white;
}

.contact-card.xianyu .contact-icon {
    background: linear-gradient(135deg, #ffb800, #ffd000);
    color: white;
}

.contact-card.wechat .contact-icon {
    background: linear-gradient(135deg, #07c160, #2aae67);
    color: white;
}

.contact-card:hover .contact-icon {
    transform: scale(1.1);
}

.contact-card.wechat {
    cursor: pointer;
}

/* 微信二维码弹窗 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--duration-medium) var(--ease-standard);
}

.modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--surface);
    border-radius: var(--radius-xl);
    padding: var(--space-4);
    text-align: center;
    position: relative;
    transform: scale(0.9);
    transition: transform var(--duration-medium) var(--ease-standard);
    max-width: 400px;
}

.modal-overlay.open .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: var(--space-1);
    right: var(--space-1);
    background: none;
    border: none;
    color: var(--on-surface-muted);
    cursor: pointer;
    padding: var(--space-1);
    border-radius: var(--radius-full);
    transition: all var(--duration-short) var(--ease-standard);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--on-surface);
}

.modal-content img {
    width: 320px;
    height: 320px;
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-2);
}

.modal-content p {
    color: var(--on-surface-muted);
    font-size: 0.875rem;
}

.contact-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--on-surface);
    margin-bottom: 4px;
}

.contact-id {
    font-size: 0.875rem;
    color: var(--on-surface-muted);
}

/* ========================================
   Footer
   ======================================== */
.footer {
    padding: var(--space-4) var(--space-3);
    background: var(--surface);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-1);
    margin-bottom: var(--space-2);
}

.footer-logo {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    object-fit: cover;
}

.footer-brand span {
    font-weight: 500;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.copyright {
    font-size: 0.875rem;
    color: var(--on-surface-muted);
    margin-bottom: var(--space-1);
}

.icp-beian {
    font-size: 0.75rem;
    margin-bottom: var(--space-1);
}

.icp-beian a {
    color: var(--on-surface-muted);
    text-decoration: none;
    transition: color var(--duration-short) var(--ease-standard);
}

.icp-beian a:hover {
    color: var(--primary-light);
}

.footer-slogan {
    font-size: 0.875rem;
    color: var(--on-surface-muted);
}

/* ========================================
   FAB - Floating Action Button
   ======================================== */
.fab {
    position: fixed;
    bottom: var(--space-3);
    right: var(--space-3);
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--duration-medium) var(--ease-standard);
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
    z-index: 900;
}

.fab.visible {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.fab:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-4), var(--shadow-glow);
}

/* ========================================
   Animations - AOS-like
   ======================================== */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: all var(--duration-long) var(--ease-decelerate);
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

[data-aos="zoom-in"] {
    transform: scale(0.9);
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .name {
        font-size: 2rem;
    }
    
    .hero-avatar {
        width: 120px;
        height: 120px;
    }
    
    /* 平板端 logo 尺寸调整 */
    .nav-logo {
        width: 36px;
        height: 36px;
    }
    
    .footer-logo {
        width: 28px;
        height: 28px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-cards {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-card {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    /* 手机端 logo 尺寸调整 */
    .hero-avatar {
        width: 100px;
        height: 100px;
    }
    
    .nav-logo {
        width: 32px;
        height: 32px;
    }
    
    .drawer-logo {
        width: 40px;
        height: 40px;
    }
    
    .footer-logo {
        width: 24px;
        height: 24px;
    }
}

/* ========================================
   Sketch/Hand-drawn Decorations
   ======================================== */
.section::before {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M10 50 Q 25 25, 50 50 T 90 50' stroke='%236366f1' stroke-width='2' fill='none' opacity='0.1'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    pointer-events: none;
}

/* Decorative dots */
.products-section::after,
.algorithms-section::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background-image: radial-gradient(circle, rgba(var(--primary-rgb), 0.1) 2px, transparent 2px);
    background-size: 20px 20px;
    pointer-events: none;
    opacity: 0.5;
}

.products-section::after {
    top: 100px;
    right: -50px;
}

.algorithms-section::after {
    bottom: 100px;
    left: -50px;
}

/* Selection color */
::selection {
    background: rgba(var(--primary-rgb), 0.3);
    color: var(--on-surface);
}

/* ========================================
   Hero Stats - 信任背书
   ======================================== */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}

.stat-label {
    display: block;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.25rem;
}

@media (max-width: 600px) {
    .hero-stats {
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
}

/* ========================================
   Consult Banner - 咨询引导
   ======================================== */
.consult-banner {
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.15), rgba(var(--secondary-rgb), 0.1));
    border: 1px solid rgba(var(--primary-rgb), 0.3);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.consult-content {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.consult-icon {
    font-size: 2.5rem;
    color: var(--primary);
    flex-shrink: 0;
}

.consult-text h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--on-surface);
    margin: 0 0 0.5rem 0;
}

.consult-text p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 600px) {
    .consult-banner {
        padding: 1.25rem;
    }
    
    .consult-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .consult-icon {
        font-size: 2rem;
    }
    
    .consult-text h3 {
        font-size: 1rem;
    }
    
    .consult-text p {
        font-size: 0.85rem;
    }
}
