        :root {
            /* shadcn/ui Design System - Light Theme */
            --background: #ffffff;
            --foreground: #09090b;
            --card: #ffffff;
            --card-foreground: #09090b;
            --popover: #ffffff;
            --popover-foreground: #09090b;
            --primary: #18181b;
            --primary-foreground: #fafafa;
            --secondary: #f4f4f5;
            --secondary-foreground: #18181b;
            --muted: #f4f4f5;
            --muted-foreground: #71717a;
            --accent: #f4f4f5;
            --accent-foreground: #18181b;
            --destructive: #ef4444;
            --destructive-foreground: #fafafa;
            --border: #e4e4e7;
            --input: #e4e4e7;
            --ring: #a1a1aa;
            
            /* Extended colors */
            --success: #22c55e;
            --warning: #eab308;
            --info: #3b82f6;
        }

        /* Dark theme */
        [data-theme="dark"] {
            --background: #09090b;
            --foreground: #fafafa;
            --card: #09090b;
            --card-foreground: #fafafa;
            --popover: #09090b;
            --popover-foreground: #fafafa;
            --primary: #fafafa;
            --primary-foreground: #18181b;
            --secondary: #27272a;
            --secondary-foreground: #fafafa;
            --muted: #27272a;
            --muted-foreground: #a1a1aa;
            --accent: #27272a;
            --accent-foreground: #fafafa;
            --destructive: #7f1d1d;
            --destructive-foreground: #fafafa;
            --border: #27272a;
            --input: #27272a;
            --ring: #d4d4d8;
        }

        :root {
            
            /* Spacing */
            --space-1: 4px;
            --space-2: 8px;
            --space-3: 12px;
            --space-4: 16px;
            --space-5: 20px;
            --space-6: 24px;
            --space-8: 32px;
            --space-10: 40px;
            --space-12: 48px;
            --space-16: 64px;
            --space-20: 80px;
            --space-24: 96px;
            
            /* Border radius (shadcn uses subtle radius) */
            --radius: 8px;
            --radius-sm: 6px;
            --radius-lg: 12px;
            --radius-xl: 16px;
            --radius-full: 9999px;
            
            /* Typography - Inter (shadcn default) + 思源黑体 */
            --font-sans: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
            --font-zh: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
            
            /* Shadows (subtle, shadcn style) */
            --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
            --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
            --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
            --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
        }

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

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: var(--font-sans);
            background: var(--background);
            color: var(--foreground);
            line-height: 1.6;
            overflow-x: hidden;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        /* Language switcher styles */
        [data-lang="zh"] .lang-en,
        [data-lang="en"] .lang-zh {
            display: none !important;
        }

        [data-lang="zh"] .lang-zh,
        [data-lang="en"] .lang-en {
            display: inline !important;
        }

        /* 中文字体优化 */
        [data-lang="zh"] {
            font-family: var(--font-zh);
        }

        /* Skip link for accessibility */
        .skip-link {
            position: fixed;
            top: -100px;
            left: 50%;
            transform: translateX(-50%);
            background: var(--primary);
            color: var(--primary-foreground);
            padding: var(--space-3) var(--space-5);
            border-radius: var(--radius);
            font-weight: 500;
            font-size: 0.875rem;
            z-index: 9999;
            transition: top 0.3s ease;
            text-decoration: none;
        }

        .skip-link:focus {
            top: var(--space-4);
            outline: 2px solid var(--ring);
            outline-offset: 2px;
        }

        /* Scroll progress indicator */
        .scroll-progress {
            position: fixed;
            top: 0;
            left: 0;
            height: 2px;
            background: linear-gradient(90deg, var(--info), var(--success));
            width: 0%;
            z-index: 9999;
            transition: width 0.1s ease-out;
        }

        /* Loading animation */
        .page-loader {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: #09090b;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 10000;
            transition: opacity 0.5s ease, visibility 0.5s ease;
        }

        .page-loader .loader-logo {
            color: #fafafa;
        }

        .page-loader.loaded {
            opacity: 0;
            visibility: hidden;
        }

        .loader-logo {
            font-weight: 700;
            font-size: 2rem;
            animation: pulse 1.5s ease-in-out infinite;
        }

        @keyframes pulse {
            0%, 100% { opacity: 0.5; transform: scale(0.98); }
            50% { opacity: 1; transform: scale(1); }
        }

        /* Smooth scroll indicator */
        .scroll-indicator {
            position: absolute;
            bottom: var(--space-8);
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: var(--space-2);
            color: var(--muted-foreground);
            font-size: 0.75rem;
            animation: bounce 2s infinite;
        }

        .scroll-indicator svg {
            width: 20px;
            height: 20px;
            stroke: var(--muted-foreground);
        }

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

        /* Animated grid background */
        .bg-grid {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: 
                linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
                linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
            background-size: 64px 64px;
            pointer-events: none;
            z-index: 0;
            animation: gridMove 20s linear infinite;
        }

        [data-theme="dark"] .bg-grid {
            background-image: 
                linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
        }

        @keyframes gridMove {
            0% { transform: translate(0, 0); }
            100% { transform: translate(64px, 64px); }
        }

        /* Gradient orbs with animation */
        .bg-gradient {
            position: fixed;
            width: 600px;
            height: 600px;
            border-radius: 50%;
            filter: blur(150px);
            opacity: 0.08;
            pointer-events: none;
            z-index: 0;
            animation: float 15s ease-in-out infinite;
        }

        [data-theme="dark"] .bg-gradient {
            opacity: 0.15;
        }

        .bg-gradient-1 {
            top: -200px;
            right: -200px;
            background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
        }

        .bg-gradient-2 {
            bottom: -200px;
            left: -200px;
            background: linear-gradient(135deg, #22c55e 0%, #3b82f6 100%);
            opacity: 0.05;
            animation-delay: -7.5s;
        }

        [data-theme="dark"] .bg-gradient-2 {
            opacity: 0.1;
        }

        @keyframes float {
            0%, 100% { transform: translate(0, 0) scale(1); }
            25% { transform: translate(30px, -30px) scale(1.05); }
            50% { transform: translate(0, 20px) scale(1); }
            75% { transform: translate(-30px, -10px) scale(0.95); }
        }

        /* Particle effect */
        .particles {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 0;
            overflow: hidden;
        }

        .particle {
            position: absolute;
            width: 4px;
            height: 4px;
            background: var(--muted-foreground);
            border-radius: 50%;
            opacity: 0;
            animation: particleFloat 8s ease-in-out infinite;
        }

        [data-theme="dark"] .particle {
            background: var(--ring);
        }

        @keyframes particleFloat {
            0% { opacity: 0; transform: translateY(100vh) scale(0); }
            10% { opacity: 0.6; }
            90% { opacity: 0.6; }
            100% { opacity: 0; transform: translateY(-100px) scale(1); }
        }

        /* Glow line effect */
        .glow-line {
            position: fixed;
            top: 0;
            left: 50%;
            width: 1px;
            height: 100%;
            background: linear-gradient(180deg, transparent 0%, var(--border) 50%, transparent 100%);
            opacity: 0.3;
            pointer-events: none;
            z-index: 0;
            animation: glowPulse 3s ease-in-out infinite;
        }

        [data-theme="dark"] .glow-line {
            background: linear-gradient(180deg, transparent 0%, var(--ring) 50%, transparent 100%);
            opacity: 0.1;
        }

        @keyframes glowPulse {
            0%, 100% { opacity: 0.05; }
            50% { opacity: 0.15; }
        }

        [data-theme="light"] .glow-line {
            animation: glowPulseLight 3s ease-in-out infinite;
        }

        @keyframes glowPulseLight {
            0%, 100% { opacity: 0.1; }
            50% { opacity: 0.3; }
        }

        /* Navigation - shadcn style */
        nav {
            position: fixed;
            top: var(--space-4);
            left: 50%;
            transform: translateX(-50%);
            z-index: 1000;
            background: rgba(255, 255, 255, 0.8);
            backdrop-filter: blur(12px);
            border: 1px solid var(--border);
            border-radius: var(--radius-full);
            padding: var(--space-2) var(--space-4);
            display: flex;
            align-items: center;
            gap: var(--space-6);
        }

        [data-theme="dark"] nav {
            background: rgba(9, 9, 11, 0.8);
        }

        .nav-logo {
            font-weight: 700;
            font-size: 1.1rem;
            color: var(--foreground);
            letter-spacing: -0.02em;
        }

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

        .nav-links a {
            color: var(--muted-foreground);
            text-decoration: none;
            font-size: 0.875rem;
            font-weight: 500;
            padding: var(--space-2) var(--space-3);
            border-radius: var(--radius-sm);
            transition: all 150ms ease;
            cursor: pointer;
        }

        .nav-links a:hover {
            color: var(--foreground);
            background: var(--accent);
        }

        .nav-links a:focus-visible {
            outline: 2px solid var(--ring);
            outline-offset: 2px;
        }

        .nav-right {
            display: flex;
            align-items: center;
            gap: var(--space-3);
        }

        /* Unified height for all nav-right buttons: 32px */
        .lang-switch {
            display: flex;
            align-items: center;
            background: var(--secondary);
            border: 1px solid var(--border);
            border-radius: var(--radius-full);
            padding: 2px;
            gap: 2px;
            height: 32px;
        }

        .lang-btn {
            background: transparent;
            border: none;
            color: var(--muted-foreground);
            padding: 0 var(--space-3);
            height: 26px;
            line-height: 26px;
            border-radius: var(--radius-full);
            font-size: 0.75rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
            font-family: var(--font-sans);
            position: relative;
            z-index: 1;
        }

        .lang-btn.active {
            background: var(--background);
            color: var(--foreground);
            box-shadow: var(--shadow-sm);
        }

        .lang-btn:hover:not(.active) {
            color: var(--foreground);
            background: rgba(0, 0, 0, 0.05);
        }

        [data-theme="dark"] .lang-btn:hover:not(.active) {
            background: rgba(255, 255, 255, 0.05);
        }

        .lang-btn:focus-visible {
            outline: 2px solid var(--ring);
            outline-offset: 1px;
        }

        /* Theme toggle button - circular, same height as other buttons */
        .theme-toggle {
            width: 32px;
            height: 32px;
            background: var(--secondary);
            border: 1px solid var(--border);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 200ms ease;
            color: var(--muted-foreground);
            flex-shrink: 0;
        }

        .theme-toggle:hover {
            background: var(--accent);
            color: var(--foreground);
            transform: rotate(15deg);
        }

        .theme-toggle:focus-visible {
            outline: 2px solid var(--ring);
            outline-offset: 2px;
        }

        .theme-toggle svg {
            width: 16px;
            height: 16px;
            transition: transform 200ms ease;
        }

        .theme-toggle:hover svg {
            transform: scale(1.1);
        }

        /* Sun icon for dark mode, moon icon for light mode */
        .theme-toggle .sun-icon {
            display: none;
        }

        .theme-toggle .moon-icon {
            display: block;
        }

        [data-theme="dark"] .theme-toggle .sun-icon {
            display: block;
        }

        [data-theme="dark"] .theme-toggle .moon-icon {
            display: none;
        }

        .nav-cta {
            background: var(--primary);
            color: var(--primary-foreground);
            padding: 0 var(--space-4);
            height: 32px;
            line-height: 32px;
            border-radius: var(--radius-full);
            text-decoration: none;
            font-weight: 500;
            font-size: 0.8rem;
            transition: all 200ms ease;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            white-space: nowrap;
        }

        .nav-cta:hover {
            opacity: 0.9;
            transform: translateY(-1px);
        }

        .nav-cta:focus-visible {
            outline: 2px solid var(--ring);
            outline-offset: 2px;
        }

        /* Hero Section */
        .hero {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: var(--space-24) var(--space-4);
            position: relative;
            z-index: 1;
        }

        .hero-content {
            max-width: 900px;
            text-align: center;
        }

        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: var(--space-2);
            background: var(--secondary);
            border: 1px solid var(--border);
            padding: var(--space-1) var(--space-3);
            border-radius: var(--radius-full);
            font-size: 0.8rem;
            color: var(--muted-foreground);
            margin-bottom: var(--space-6);
            animation: fadeIn 0.5s ease;
        }

        .hero-badge-dot {
            width: 6px;
            height: 6px;
            background: var(--success);
            border-radius: 50%;
        }

        .hero-title {
            font-size: clamp(2.5rem, 8vw, 4.5rem);
            font-weight: 700;
            line-height: 1.1;
            letter-spacing: -0.03em;
            margin-bottom: var(--space-4);
            animation: fadeIn 0.5s ease 0.1s both;
        }

        .hero-title-muted {
            color: var(--muted-foreground);
        }

        .hero-subtitle {
            font-size: 1.125rem;
            color: var(--muted-foreground);
            max-width: 600px;
            margin: 0 auto var(--space-8);
            line-height: 1.7;
            animation: fadeIn 0.5s ease 0.2s both;
        }

        .hero-cta-group {
            display: flex;
            gap: var(--space-3);
            justify-content: center;
            flex-wrap: wrap;
            animation: fadeIn 0.5s ease 0.3s both;
        }

        .btn-primary {
            background: var(--primary);
            color: var(--primary-foreground);
            padding: var(--space-3) var(--space-5);
            border-radius: var(--radius-full);
            text-decoration: none;
            font-weight: 500;
            font-size: 0.875rem;
            display: inline-flex;
            align-items: center;
            gap: var(--space-2);
            transition: all 200ms ease;
            cursor: pointer;
            border: none;
        }

        .btn-primary:hover {
            opacity: 0.9;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        }

        .btn-secondary {
            background: transparent;
            color: var(--foreground);
            padding: var(--space-3) var(--space-5);
            border-radius: var(--radius-full);
            text-decoration: none;
            font-weight: 500;
            font-size: 0.875rem;
            border: 1px solid var(--border);
            display: inline-flex;
            align-items: center;
            gap: var(--space-2);
            transition: all 200ms ease;
            cursor: pointer;
        }

        .btn-secondary:hover {
            background: var(--accent);
            border-color: var(--accent);
            transform: translateY(-2px);
        }

        /* Code Block - shadcn style */
        .hero-code {
            margin-top: var(--space-12);
            background: var(--card);
            border: 1px solid var(--border);
            border-radius: var(--radius-lg);
            overflow: hidden;
            text-align: left;
            animation: fadeIn 0.5s ease 0.4s both;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        .code-header {
            display: flex;
            align-items: center;
            gap: var(--space-2);
            padding: var(--space-3) var(--space-4);
            background: var(--secondary);
            border-bottom: 1px solid var(--border);
        }

        .code-dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
        }

        .code-dot-red { background: #ef4444; }
        .code-dot-yellow { background: #eab308; }
        .code-dot-green { background: #22c55e; }

        .code-title {
            margin-left: var(--space-2);
            font-family: var(--font-mono);
            font-size: 0.75rem;
            color: var(--muted-foreground);
        }

        .code-body {
            padding: var(--space-4);
            font-family: var(--font-mono);
            font-size: 0.8rem;
            line-height: 1.7;
            overflow-x: auto;
        }

        .code-comment { color: var(--muted-foreground); }
        .code-key { color: #a78bfa; }
        .code-string { color: #4ade80; }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* Typing cursor effect for hero badge */
        .hero-badge::after {
            content: '';
            display: inline-block;
            width: 2px;
            height: 14px;
            background: var(--foreground);
            margin-left: 4px;
            animation: blink 1s step-end infinite;
        }

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

        /* Gradient text animation */
        .hero-title-gradient {
            background: linear-gradient(90deg, var(--foreground), #a1a1aa, var(--foreground));
            background-size: 200% auto;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            animation: gradientShift 3s ease-in-out infinite;
        }

        @keyframes gradientShift {
            0%, 100% { background-position: 0% center; }
            50% { background-position: 100% center; }
        }

        /* Button hover glow */
        .btn-primary {
            position: relative;
            overflow: hidden;
        }

        .btn-primary::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 50%;
            transform: translate(-50%, -50%);
            transition: width 0.6s ease, height 0.6s ease;
        }

        .btn-primary:hover::before {
            width: 300px;
            height: 300px;
        }

        .btn-primary:focus-visible,
        .btn-secondary:focus-visible {
            outline: 2px solid var(--ring);
            outline-offset: 2px;
        }

        /* Code block shimmer effect */
        .hero-code {
            position: relative;
        }

        .hero-code::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.03), transparent);
            animation: shimmer 3s infinite;
            pointer-events: none;
        }

        @keyframes shimmer {
            0% { left: -100%; }
            100% { left: 100%; }
        }

        /* Section Styles */
        section {
            padding: var(--space-20) var(--space-4);
            position: relative;
            z-index: 1;
        }

        .container {
            max-width: 1100px;
            margin: 0 auto;
        }

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

        .section-label {
            font-size: 0.8rem;
            color: var(--muted-foreground);
            text-transform: uppercase;
            letter-spacing: 0.1em;
            font-weight: 500;
            margin-bottom: var(--space-3);
        }

        .section-title {
            font-size: clamp(1.75rem, 4vw, 2.5rem);
            font-weight: 700;
            letter-spacing: -0.02em;
            margin-bottom: var(--space-3);
        }

        .section-desc {
            color: var(--muted-foreground);
            max-width: 550px;
            margin: 0 auto;
            font-size: 1rem;
        }

        /* Features Grid */
        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: var(--space-4);
        }

        .feature-card {
            background: var(--card);
            border: 1px solid var(--border);
            border-radius: var(--radius-lg);
            padding: var(--space-6);
            transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
            cursor: pointer;
            position: relative;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            min-height: 200px;
        }

        .feature-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 1px;
            background: linear-gradient(90deg, transparent, var(--ring), transparent);
            opacity: 0;
            transition: opacity 300ms ease;
        }

        .feature-card:hover {
            border-color: var(--ring);
            background: var(--secondary);
            transform: translateY(-4px);
            box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.3);
        }

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

        .feature-card:focus-visible {
            outline: 2px solid var(--ring);
            outline-offset: 2px;
        }

        .feature-icon {
            width: 40px;
            height: 40px;
            background: var(--secondary);
            border-radius: var(--radius);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: var(--space-4);
        }

        .feature-icon svg {
            width: 20px;
            height: 20px;
            stroke: var(--foreground);
            stroke-width: 2;
            fill: none;
        }

        .feature-title {
            font-size: 1rem;
            font-weight: 600;
            margin-bottom: var(--space-2);
            letter-spacing: -0.01em;
        }

        .feature-desc {
            color: var(--muted-foreground);
            font-size: 0.875rem;
            line-height: 1.6;
            flex: 1;
        }

        .feature-link-hint {
            display: block;
            margin-top: var(--space-4);
            font-size: 0.8rem;
            font-weight: 500;
            color: var(--info);
            opacity: 0;
            transform: translateX(-8px);
            transition: all 300ms ease;
            align-self: flex-start;
        }

        .feature-card.clickable:hover .feature-link-hint {
            opacity: 1;
            transform: translateX(0);
        }

        .feature-card.clickable {
            cursor: pointer;
        }

        /* Tools Section */
        .tools {
            background: var(--secondary);
            border-top: 1px solid var(--border);
            border-bottom: 1px solid var(--border);
        }

        .tools-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: var(--space-4);
        }

        .tool-card {
            background: var(--background);
            border: 1px solid var(--border);
            border-radius: var(--radius-lg);
            padding: var(--space-5);
            transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
            cursor: pointer;
            position: relative;
        }

        .tool-card::after {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: var(--radius-lg);
            background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255,255,255,0.06) 0%, transparent 50%);
            opacity: 0;
            transition: opacity 300ms ease;
            pointer-events: none;
        }

        .tool-card:hover {
            border-color: var(--ring);
            transform: translateY(-2px);
        }

        .tool-card:hover::after {
            opacity: 1;
        }

        .tool-card:focus-visible {
            outline: 2px solid var(--ring);
            outline-offset: 2px;
        }

        .tool-name {
            font-family: var(--font-mono);
            font-size: 1rem;
            font-weight: 600;
            color: var(--foreground);
            margin-bottom: var(--space-2);
        }

        .tool-desc {
            color: var(--muted-foreground);
            font-size: 0.8rem;
            margin-bottom: var(--space-3);
            line-height: 1.5;
        }

        .tool-actions {
            display: flex;
            flex-wrap: wrap;
            gap: var(--space-1);
        }

        .tool-action {
            background: var(--secondary);
            padding: 4px 8px;
            border-radius: var(--radius-sm);
            font-family: var(--font-mono);
            font-size: 0.7rem;
            color: var(--muted-foreground);
        }

        /* Workflow Section */
        .workflow-demo {
            background: var(--card);
            border: 1px solid var(--border);
            border-radius: var(--radius-lg);
            overflow: hidden;
            max-width: 800px;
            margin: 0 auto;
        }

        .workflow-header {
            background: var(--secondary);
            padding: var(--space-4) var(--space-5);
            border-bottom: 1px solid var(--border);
            display: flex;
            align-items: center;
            gap: var(--space-3);
        }

        .workflow-icon {
            width: 36px;
            height: 36px;
            background: var(--background);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .workflow-icon svg {
            width: 18px;
            height: 18px;
            stroke: var(--foreground);
            stroke-width: 2;
            fill: none;
        }

        .workflow-title {
            font-weight: 600;
            font-size: 0.9rem;
        }

        .workflow-steps {
            padding: var(--space-5);
        }

        .workflow-step {
            display: flex;
            gap: var(--space-4);
            padding: var(--space-4) 0;
            border-bottom: 1px solid var(--border);
        }

        .workflow-step:last-child {
            border-bottom: none;
        }

        .step-number {
            width: 32px;
            height: 32px;
            background: var(--secondary);
            border: 1px solid var(--border);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.8rem;
            font-weight: 600;
            flex-shrink: 0;
            color: var(--muted-foreground);
        }

        .step-content h4 {
            font-size: 0.9rem;
            font-weight: 600;
            margin-bottom: var(--space-1);
        }

        .step-content p {
            color: var(--muted-foreground);
            font-size: 0.8rem;
        }

        .step-code {
            background: var(--secondary);
            padding: var(--space-2) var(--space-3);
            border-radius: var(--radius-sm);
            font-family: var(--font-mono);
            font-size: 0.75rem;
            margin-top: var(--space-2);
            color: var(--success);
            display: inline-block;
        }

        /* Stats Section */
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
            gap: var(--space-6);
            text-align: center;
        }

        .stat-item {
            padding: var(--space-4);
        }

        .stat-value {
            font-size: 3rem;
            font-weight: 700;
            letter-spacing: -0.03em;
            margin-bottom: var(--space-1);
            background: linear-gradient(135deg, var(--foreground) 0%, var(--muted-foreground) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .stat-item:hover .stat-value {
            animation: countPulse 0.5s ease;
        }

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

        .stat-label {
            color: var(--muted-foreground);
            font-size: 0.875rem;
        }

        /* CTA Section */
        .cta-box {
            background: var(--card);
            border: 1px solid var(--border);
            border-radius: var(--radius-lg);
            padding: var(--space-12) var(--space-6);
            max-width: 700px;
            margin: 0 auto;
            text-align: center;
        }

        .cta-title {
            font-size: clamp(1.5rem, 3vw, 2rem);
            font-weight: 700;
            letter-spacing: -0.02em;
            margin-bottom: var(--space-3);
        }

        .cta-desc {
            color: var(--muted-foreground);
            margin-bottom: var(--space-6);
            max-width: 450px;
            margin-left: auto;
            margin-right: auto;
            font-size: 0.95rem;
        }

        .cta-code {
            background: var(--secondary);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: var(--space-3) var(--space-4);
            font-family: var(--font-mono);
            font-size: 0.875rem;
            display: inline-flex;
            align-items: center;
            gap: var(--space-3);
            margin-bottom: var(--space-6);
        }

        .cta-code-text {
            color: var(--foreground);
        }

        .cta-copy {
            background: var(--background);
            border: 1px solid var(--border);
            padding: var(--space-1) var(--space-2);
            border-radius: var(--radius-sm);
            color: var(--muted-foreground);
            cursor: pointer;
            font-family: var(--font-sans);
            font-size: 0.75rem;
            transition: all 150ms ease;
        }

        .cta-copy:hover {
            background: var(--accent);
            color: var(--foreground);
        }

        /* Footer */
        footer {
            padding: var(--space-12) var(--space-4) var(--space-6);
            border-top: 1px solid var(--border);
            position: relative;
            z-index: 1;
        }

        .footer-content {
            max-width: 1100px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: var(--space-4);
        }

        .footer-logo {
            font-weight: 700;
            font-size: 1rem;
            color: var(--foreground);
        }

        .footer-links {
            display: flex;
            gap: var(--space-6);
            list-style: none;
        }

        .footer-links a {
            color: var(--muted-foreground);
            text-decoration: none;
            font-size: 0.8rem;
            transition: color 150ms ease;
            cursor: pointer;
        }

        .footer-links a:hover {
            color: var(--foreground);
        }

        .footer-copy {
            color: var(--muted-foreground);
            font-size: 0.75rem;
        }

        /* Scroll Animation */
        .animate-on-scroll {
            opacity: 0;
            transform: translateY(20px);
            transition: all 0.6s ease;
        }

        .animate-on-scroll.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* Responsive */
        @media (max-width: 768px) {
            nav {
                padding: var(--space-2) var(--space-3);
                gap: var(--space-3);
            }

            .nav-links {
                display: none;
            }

            .hero {
                padding: var(--space-20) var(--space-4);
            }

            section {
                padding: var(--space-16) var(--space-4);
            }

            .features-grid,
            .tools-grid {
                grid-template-columns: 1fr;
            }

            .footer-content {
                flex-direction: column;
                text-align: center;
            }

            .footer-links {
                flex-wrap: wrap;
                justify-content: center;
            }
        }

        /* Reduced motion */
        @media (prefers-reduced-motion: reduce) {
            *,
            *::before,
            *::after {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
            }
        }

/* Examples Section Styles */
.example-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-bottom: var(--space-8);
}

.example-tab {
    background: var(--secondary);
    border: 1px solid var(--border);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--muted-foreground);
    cursor: pointer;
    transition: all 200ms ease;
    font-family: var(--font-sans);
}

.example-tab:hover {
    background: var(--accent);
    color: var(--foreground);
    border-color: var(--ring);
}

.example-tab.active {
    background: var(--primary);
    color: var(--primary-foreground);
    border-color: var(--primary);
}

.example-panels {
    position: relative;
}

.example-panel {
    display: none;
    animation: fadeInPanel 0.4s ease;
}

.example-panel.active {
    display: block;
}

@keyframes fadeInPanel {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.example-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
}

.example-card-header {
    background: var(--secondary);
    padding: var(--space-5) var(--space-6);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.example-card-icon {
    width: 48px;
    height: 48px;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.example-card-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--foreground);
}

.example-card-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--space-1);
}

.example-card-info p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.example-card-body {
    padding: var(--space-6);
}

/* Chat Demo Styles */
.chat-demo {
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.chat-demo-header {
    background: var(--secondary);
    padding: var(--space-3) var(--space-4);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

.chat-demo-header svg {
    width: 14px;
    height: 14px;
    stroke: var(--muted-foreground);
}

.chat-demo-body {
    padding: var(--space-5);
}

.chat-msg {
    display: flex;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.chat-msg:last-child {
    margin-bottom: 0;
}

.chat-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.75rem;
    font-weight: 600;
}

.chat-msg.user .chat-avatar {
    background: var(--info);
    color: white;
}

.chat-msg.ai .chat-avatar {
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    color: white;
}

.chat-bubble {
    flex: 1;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--foreground);
}

.tool-indicator {
    background: var(--secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: var(--space-2) var(--space-3);
    margin-top: var(--space-3);
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 0.8rem;
    color: var(--muted-foreground);
}

.tool-indicator svg {
    width: 14px;
    height: 14px;
    stroke: var(--success);
}

.result-indicator {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: var(--radius-sm);
    padding: var(--space-2) var(--space-3);
    margin-top: var(--space-2);
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 0.8rem;
    color: var(--success);
}

.result-indicator svg {
    width: 14px;
    height: 14px;
    stroke: var(--success);
    flex-shrink: 0;
}

/* Enhanced Demo Styles */
.result-indicator.success {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-2);
}

.result-indicator.success > svg {
    display: none;
}

.result-list {
    width: 100%;
}

.result-list ul {
    margin-top: var(--space-2);
    padding-left: var(--space-4);
    list-style: none;
}

.result-list ul li {
    position: relative;
    padding-left: var(--space-3);
    margin-bottom: var(--space-1);
    font-size: 0.8rem;
    color: var(--muted-foreground);
}

.result-list ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-size: 0.7rem;
}

/* AI Options */
.ai-options {
    background: var(--secondary);
    border-radius: var(--radius-sm);
    padding: var(--space-3);
    margin-top: var(--space-3);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    font-size: 0.85rem;
}

.ai-options span {
    color: var(--muted-foreground);
}

/* Skill Preview */
.skill-preview {
    background: var(--secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-top: var(--space-3);
    overflow: hidden;
}

.skill-preview-header {
    background: var(--background);
    padding: var(--space-2) var(--space-3);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.skill-preview-header code {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--foreground);
}

.skill-version {
    font-size: 0.7rem;
    color: var(--muted-foreground);
    background: var(--secondary);
    padding: 2px 6px;
    border-radius: var(--radius-sm);
}

.skill-features {
    padding: var(--space-3);
    margin: 0;
    list-style: none;
}

.skill-features li {
    position: relative;
    padding-left: var(--space-4);
    margin-bottom: var(--space-2);
    font-size: 0.85rem;
    color: var(--muted-foreground);
}

.skill-features li::before {
    content: "•";
    position: absolute;
    left: var(--space-2);
    color: var(--info);
}

/* Dispatch Result */
.dispatch-result {
    width: 100%;
}

.dispatch-action {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-2);
}

.action-type {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
}

.action-type.use {
    background: rgba(34, 197, 94, 0.2);
    color: var(--success);
}

.action-type.create {
    background: rgba(59, 130, 246, 0.2);
    color: var(--info);
}

.action-type.install {
    background: rgba(168, 85, 247, 0.2);
    color: #a855f7;
}

.confidence {
    font-size: 0.75rem;
    font-weight: 600;
}

.confidence.high {
    color: var(--success);
}

.confidence.medium {
    color: var(--warning);
}

.dispatch-skill {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    flex-wrap: wrap;
    margin-bottom: var(--space-2);
    font-size: 0.85rem;
}

.dispatch-skill code {
    font-family: var(--font-mono);
    font-weight: 600;
    color: var(--foreground);
}

.dispatch-reason {
    font-size: 0.8rem;
    color: var(--muted-foreground);
    margin: 0;
}

/* Skill Source Badge */
.skill-source {
    font-size: 0.65rem;
    font-weight: 500;
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
}

.skill-source.project {
    background: rgba(59, 130, 246, 0.2);
    color: var(--info);
}

.skill-source.global {
    background: rgba(168, 85, 247, 0.2);
    color: #a855f7;
}

.skill-override {
    font-size: 0.7rem;
    color: var(--muted-foreground);
    font-style: italic;
}

/* Market Results */
.market-results {
    width: 100%;
}

.market-skill {
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: var(--space-2) var(--space-3);
    margin-top: var(--space-2);
}

.market-skill code {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--foreground);
    display: block;
    margin-bottom: var(--space-1);
}

.market-desc {
    font-size: 0.8rem;
    color: var(--muted-foreground);
    display: block;
    margin-bottom: var(--space-1);
}

.market-tags {
    font-size: 0.7rem;
    color: var(--info);
}
