/* Design System - Premium Modern */
:root {
    --color-primary: #1C1917;
    --color-accent: #059669;
    --color-accent-light: #10B981;
    --color-bg: #FAFAF9;
    --color-surface: #FFFFFF;
    --color-text: #0C0A09;
    --color-text-muted: #78716C;
    --color-border: #E7E5E4;
    --font-sans: 'DM Sans', -apple-system, system-ui, sans-serif;
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 24px 48px rgba(0, 0, 0, 0.16);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(250, 250, 249, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: var(--space-md) var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--color-primary);
}

.nav-logo svg {
    color: var(--color-accent);
}

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

.nav-links a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--color-primary);
}

.btn-nav {
    background: var(--color-primary);
    color: white !important;
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: all 0.2s;
}

.btn-nav:hover {
    background: var(--color-accent);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Hero Section */
.hero {
    padding: calc(80px + var(--space-3xl)) 0 var(--space-3xl);
    max-width: 1280px;
    margin: 0 auto;
    padding-left: var(--space-lg);
    padding-right: var(--space-lg);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.hero-container {
    /* Left side: text content */
}

.hero-content {
    /* Alternative class name for left side */
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.1), rgba(16, 185, 129, 0.1));
    border: 1px solid rgba(5, 150, 105, 0.2);
    border-radius: var(--radius-xl);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: var(--space-lg);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

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

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-lg);
    color: #0C0A09;
}

.flow-text {
    display: inline-block;
}

/* Notice Banner */
.notice-banner {
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.1), rgba(16, 185, 129, 0.05));
    border: 1px solid rgba(5, 150, 105, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--space-sm) var(--space-lg);
    margin-top: calc(var(--space-md) * -1); /* 向上移动，靠近副标题 */
    margin-bottom: var(--space-lg);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--color-accent);
    font-size: 0.95rem;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.1);
    animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.notice-banner svg {
    color: var(--color-accent);
}

.flow-char {
    display: inline-block;
    will-change: transform, opacity;
}

.hero-highlight {
    /* 流光渐变:放大背景 + 横向 background-position 动画
       使用 --color-accent → 白 → --color-accent-light 三段,
       营造"光从左扫到右"的效果。 */
    background: linear-gradient(
        100deg,
        var(--color-accent) 0%,
        var(--color-accent) 35%,
        #5eead4 50%,
        var(--color-accent-light) 65%,
        var(--color-accent-light) 100%
    );
    background-size: 250% 100%;
    background-position: 100% 0;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: heroShine 6s ease-in-out infinite;
}

@keyframes heroShine {
    0%   { background-position: 100% 0; }
    50%  { background-position: 0% 0; }
    100% { background-position: 100% 0; }
}

.hero-subtitle {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #44403C;
    margin-bottom: var(--space-xl);
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--color-surface);
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    transition: all 0.3s;
}

.btn-secondary:hover {
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.hero-stats {
    display: flex;
    gap: var(--space-xl);
}

.stat {
    text-align: center;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent);
}

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

/* Stats Bar */
.stats-bar {
    max-width: 1280px;
    margin: 0 auto;
    padding: var(--space-2xl) var(--space-lg);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-xl);
    border-top: 1px solid var(--color-border);
}

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

.stat-value {
    font-size: 2rem;
    font-weight: 900;
    color: var(--color-accent);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--color-border);
}

/* Hero Visual */
.hero-visual {
    position: relative;
}

/* Whiteboard Mockup - FlowMuse Style */
.whiteboard-mockup {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    background: #FFFFFF;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--color-border);
}

/* App Bar - Day Theme */
.wb-app-bar {
    height: 56px;
    background: linear-gradient(180deg, #FFFFFF 0%, #F7FAF8 100%);
    border-bottom: 1px solid #E0E3E1;
    display: flex;
    align-items: center;
    padding: 0 16px;
    justify-content: space-between;
}

.wb-app-title {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
}

.wb-app-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wb-save-status {
    font-size: 13px;
    color: #4F8F84;
    font-weight: 500;
}

.wb-icon-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
}

.wb-icon-btn:hover {
    background: rgba(79, 143, 132, 0.1);
    color: #4F8F84;
}

/* Canvas Area */
.wb-canvas {
    position: relative;
    width: 100%;
    aspect-ratio: 3/2;
    background: #FDFEFE;
    overflow: hidden;
}

/* Grid Background */
.wb-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(79, 143, 132, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(79, 143, 132, 0.06) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* Toolbar - Day Theme */
.wb-toolbar {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 4px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid #E0E3E1;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    z-index: 10;
}

.wb-tool {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
}

.wb-tool:hover {
    background: rgba(79, 143, 132, 0.1);
    color: #4F8F84;
}

.wb-tool.active {
    background: #4F8F84;
    color: white;
}

.wb-divider {
    width: 1px;
    height: 32px;
    background: #E0E3E1;
    margin: 4px 4px;
}

/* Drawing */
.wb-drawing {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* Controls */
.wb-controls {
    position: absolute;
    bottom: 16px;
    right: 16px;
    display: flex;
    gap: 4px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid #E0E3E1;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.wb-control-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
}

.wb-control-btn:hover {
    background: rgba(79, 143, 132, 0.1);
    color: #4F8F84;
}

/* Zoom Display */
.wb-zoom {
    position: absolute;
    bottom: 16px;
    left: 16px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid #E0E3E1;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    font-size: 14px;
    font-weight: 600;
    color: #4F8F84;
}

.art-path-1, .art-path-2, .art-path-3 {
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.1), rgba(16, 185, 129, 0.1));
    border: 1px solid rgba(5, 150, 105, 0.2);
    border-radius: var(--radius-xl);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: var(--space-md);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--color-primary);
    margin-bottom: var(--space-md);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    max-width: 640px;
    margin: 0 auto;
}

/* Features Section */
.features {
    padding: var(--space-3xl) 0;
    background: linear-gradient(to bottom, var(--color-bg) 0%, var(--color-surface) 15%);
}

/* Main Feature Cards */
.feature-main-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.feature-main-grid .feature-card {
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.05), rgba(16, 185, 129, 0.05));
    border: 1px solid rgba(5, 150, 105, 0.2);
    padding: var(--space-2xl);
}

/* Feature Carousel - Belt Style */
.feature-carousel-container {
    position: relative;
    padding: var(--space-lg) 0;
    overflow: hidden;
    cursor: grab;
    user-select: none;
}

.feature-carousel-container:active {
    cursor: grabbing;
}

.feature-carousel {
    display: flex;
    position: relative;
    height: 420px;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
    perspective: 1500px;
}

.feature-card-small {
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -150px; /* 卡片宽度的一半 */
    margin-top: -160px; /* 卡片高度的一半 */
    width: 300px;
    min-height: 320px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: all 0.3s ease-out;
    cursor: pointer;
    transform-style: preserve-3d;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.feature-card-small .feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    color: white;
    flex-shrink: 0;
}

.feature-card-small .feature-icon svg {
    width: 24px;
    height: 24px;
}

.feature-card-small .feature-title {
    font-size: 1.0625rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--color-text);
    line-height: 1.3;
}

.feature-card-small .feature-desc {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--color-text-muted);
    flex-grow: 1;
}

/* Carousel Navigation */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border: 2px solid var(--color-border);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 100;
    color: var(--color-text);
}

.carousel-nav:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: white;
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 8px 24px rgba(5, 150, 105, 0.3);
}

.carousel-nav:active {
    transform: translateY(-50%) scale(1.05);
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

/* Carousel Progress Indicator */
.carousel-progress {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: var(--space-xl);
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-border);
    transition: all 0.3s;
    cursor: pointer;
}

.carousel-dot.active {
    background: var(--color-accent);
    width: 24px;
    border-radius: 4px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.feature-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: all 0.3s;
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(5, 150, 105, 0.3);
}

.feature-highlight {
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.05), rgba(16, 185, 129, 0.05));
    border: 1px solid rgba(5, 150, 105, 0.2);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    color: white;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
}

.feature-icon-large {
    width: 64px;
    height: 64px;
}

.feature-icon-large svg {
    width: 32px;
    height: 32px;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--color-primary);
}

.feature-desc {
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* Platforms Section */
.platforms {
    padding: var(--space-3xl) 0;
    background: var(--color-surface);
}

.platforms-grid {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.platform-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    transition: all 0.3s;
    position: relative;
    width: 160px;
}

.platform-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.platform-highlight {
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.05), rgba(16, 185, 129, 0.05));
    border-color: var(--color-accent);
}

.platform-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.1), rgba(16, 185, 129, 0.05));
    border-radius: var(--radius-lg);
    color: var(--color-accent);
    /* transition 被移除，让 GSAP 完全控制动画 */
}

.platform-icon svg {
    width: 36px;
    height: 36px;
    fill: currentColor;
}

.platform-card:hover .platform-icon {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
    color: white;
    transform: scale(1.1);
}

.platform-name {
    font-weight: 600;
    color: var(--color-primary);
}

.platform-badge {
    margin-top: var(--space-xs);
    font-size: 0.75rem;
    color: var(--color-accent);
    font-weight: 600;
}

/* Tech Section */
.tech {
    padding: var(--space-3xl) 0;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.tech-item {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: all 0.3s;
}

.tech-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.tech-number {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
    color: white;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: var(--space-md);
}

.tech-item-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--color-primary);
}

.tech-item-desc {
    color: var(--color-text-muted);
    line-height: 1.6;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    justify-content: center;
}

.stack-badge {
    padding: 0.625rem 1.25rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    font-weight: 600;
    color: var(--color-primary);
    transition: all 0.2s;
}

.stack-badge:hover {
    border-color: var(--color-accent);
    transform: translateY(-2px);
}

/* Download Section */
.download {
    padding: var(--space-3xl) 0;
    background: linear-gradient(135deg, var(--color-primary), #292524);
    color: white;
}

.download-content {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.download-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--space-md);
}

.download-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: var(--space-xl);
}

.download-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.125rem 2.5rem;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    transition: all 0.3s;
}

.btn-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(5, 150, 105, 0.4);
}

.btn-download-alt {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.125rem 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s;
}

.btn-download-alt:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* Footer */
.footer {
    padding: var(--space-3xl) 0 var(--space-xl);
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: var(--space-3xl);
    margin-bottom: var(--space-2xl);
}

.footer-brand {
    flex: 0 0 300px;
}

.footer-links {
    display: flex;
    gap: var(--space-3xl);
    flex: 1;
    justify-content: flex-end;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
}

.footer-logo svg {
    color: var(--color-accent);
}

.footer-tagline {
    color: var(--color-text-muted);
}

.footer-group h4 {
    font-weight: 600;
    margin-bottom: var(--space-md);
    color: var(--color-primary);
}

.footer-group a {
    display: block;
    color: var(--color-text-muted);
    text-decoration: none;
    margin-bottom: var(--space-sm);
    transition: color 0.2s;
}

.footer-group a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-border);
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

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

    .feature-highlight {
        grid-column: span 1;
    }

    .platforms-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .tech-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links a:not(.btn-nav) {
        display: none;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--space-md);
    }

    .platforms-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .download-buttons {
        flex-direction: column;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

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

a:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 4px;
}

/* Canvas Toolbar Styles */
.canvas-toolbar {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    right: var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    z-index: 10;
    box-shadow: var(--shadow-md);
}

.tool-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--color-border);
    background: var(--color-surface);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--color-text-muted);
}

.tool-btn:hover {
    background: var(--color-bg);
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.tool-btn.active {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
    border-color: var(--color-accent);
    color: white;
}

.tool-divider {
    width: 1px;
    height: 30px;
    background: var(--color-border);
}

.color-picker,
.size-picker {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.color-picker label,
.size-picker label {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.color-picker input[type="color"] {
    width: 40px;
    height: 40px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    cursor: pointer;
}

.size-picker input[type="range"] {
    width: 80px;
}

.demo-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: crosshair;
}

.canvas-hint {
    position: absolute;
    bottom: var(--space-md);
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem 1rem;
    background: rgba(5, 150, 105, 0.1);
    border: 1px solid rgba(5, 150, 105, 0.2);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    color: var(--color-accent);
    pointer-events: none;
    opacity: 0.8;
}

/* ========================================
   ENHANCED EFFECTS - 炫酷特效
   ======================================== */

/* Animated Gradient Background */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(5, 150, 105, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(16, 185, 129, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(5, 150, 105, 0.04) 0%, transparent 50%);
    animation: backgroundShift 25s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes backgroundShift {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(30px, 30px) rotate(5deg); }
}

/* Cursor Glow Effect */
.cursor-glow {
    position: fixed;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(5, 150, 105, 0.12) 0%, rgba(16, 185, 129, 0.08) 30%, transparent 70%);
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: multiply;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
    opacity: 0;
}

/* Enhanced Feature Card with Glow and 3D Tilt */
.feature-card {
    position: relative;
    overflow: hidden;
    perspective: 1000px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.08) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}

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

.feature-card:hover {
    transform: translateY(-16px) rotateX(5deg) rotateY(-3deg) scale(1.03);
    box-shadow:
        0 35px 70px -20px rgba(5, 150, 105, 0.35),
        0 0 0 1px rgba(5, 150, 105, 0.2),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.7),
        0 0 40px 0 rgba(5, 150, 105, 0.15);
    border-color: rgba(5, 150, 105, 0.5);
}

.feature-card:nth-child(2n):hover {
    transform: translateY(-16px) rotateX(5deg) rotateY(3deg) scale(1.03);
}

.feature-card:nth-child(3n):hover {
    transform: translateY(-16px) rotateX(-3deg) rotateY(-5deg) scale(1.03);
}

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

/* Enhanced Platform Card with Ripple */
.platform-card {
    overflow: hidden;
    perspective: 1000px;
}

.platform-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(5, 150, 105, 0.15) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    border-radius: 50%;
    z-index: 0;
}

.platform-card:hover::after {
    width: 300%;
    height: 300%;
}

.platform-card:hover {
    transform: translateY(-10px) rotateY(8deg) rotateX(2deg);
    box-shadow: 
        0 25px 50px -12px rgba(5, 150, 105, 0.3),
        0 0 0 1px rgba(5, 150, 105, 0.2),
        0 0 30px 0 rgba(5, 150, 105, 0.1);
    border-color: rgba(5, 150, 105, 0.4);
}

/* Whiteboard Mockup Glow */
.whiteboard-mockup {
    position: relative;
}

.whiteboard-mockup::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: radial-gradient(circle at 50% 50%, rgba(5, 150, 105, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.8s ease;
    border-radius: calc(var(--radius-xl) + 20px);
    z-index: -1;
    animation: mockupGlow 3s ease-in-out infinite;
}

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

/* Button Shine Effect */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

/* Stats Bar Animated Gradient */
.stat-value {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

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

/* Hero Title Glow(配合上面的流光渐变,position:relative 用于内部装饰元素定位) */
.hero-highlight {
    position: relative;
}

/* Section Tag Pulse */
.section-tag {
    animation: tagPulse 2s ease-in-out infinite;
}

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

/* Floating Animation for Icons */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.feature-icon {
    animation: float 3s ease-in-out infinite;
}

.platform-icon {
    animation: float 4s ease-in-out infinite;
}

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Selection Style */
::selection {
    background: rgba(5, 150, 105, 0.2);
    color: var(--color-primary);
}

/* Link Underline Animation */
nav a {
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

/* ========================================
   新增交互元素:Scroll Progress / Back-to-Top
   ======================================== */

/* 顶部滚动进度条
   —— 固定在 viewport 顶部,JS 里用 ScrollTrigger.scrub 驱动 scaleX 0→1。
   transform-origin: left 让它从左边长出来。
   只在 prefers-reduced-motion: no-preference 时显示。 */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    transform-origin: left center;
    transform: scaleX(0);
    background: linear-gradient(
        90deg,
        var(--color-accent) 0%,
        var(--color-accent-light) 50%,
        #5eead4 100%
    );
    z-index: 10000;
    pointer-events: none;
    box-shadow: 0 0 8px rgba(5, 150, 105, 0.4);
}

@media (prefers-reduced-motion: reduce) {
    .scroll-progress { display: none; }
}

/* 返回顶部按钮
   —— 默认 autoAlpha:0(JS 控制),滚动 400px 后浮现。
   固定在右下,圆形悬浮,带阴影。 */
.back-to-top {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 10px 25px -5px rgba(5, 150, 105, 0.5),
        0 0 0 1px rgba(5, 150, 105, 0.3);
    z-index: 9998;
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.3s ease;
    /* visibility 和 opacity 由 GSAP autoAlpha 控制 */
}

.back-to-top:hover {
    transform: translateY(-4px) scale(1.08);
    box-shadow:
        0 18px 35px -8px rgba(5, 150, 105, 0.6),
        0 0 0 2px rgba(5, 150, 105, 0.5);
}

.back-to-top:active {
    transform: translateY(-2px) scale(0.96);
}

.back-to-top:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 4px;
}

@media (max-width: 640px) {
    .back-to-top {
        right: 1rem;
        bottom: 1rem;
        width: 42px;
        height: 42px;
    }
}

/* ========================================
   FAQ 手风琴
   ======================================== */

.faq-section {
    padding: var(--space-3xl) 0;
    background: var(--color-bg);
}

.faq-list {
    max-width: 760px;
    margin: var(--space-2xl) auto 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(5, 150, 105, 0.3);
}

.faq-item.faq-open {
    border-color: rgba(5, 150, 105, 0.5);
    box-shadow: 0 10px 30px -10px rgba(5, 150, 105, 0.2);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
    font-family: inherit;
    transition: color 0.2s ease;
}

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

.faq-question-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.faq-item.faq-open .faq-question-icon {
    transform: rotate(45deg);
}

.faq-answer {
    /* 高度由 GSAP 控制,这里只负责内边距和样式 */
    padding: 0 1.5rem;
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.faq-answer-inner {
    padding-bottom: 1.25rem;
}

.faq-answer-inner code {
    background: rgba(5, 150, 105, 0.08);
    color: var(--color-accent);
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    font-size: 0.85em;
    font-family: 'SF Mono', Monaco, Consolas, monospace;
}

.faq-answer-inner strong {
    color: var(--color-text);
    font-weight: 600;
}

/* ========================================
   项目数据墙
   ======================================== */

.project-stats-section {
    padding: var(--space-3xl) 0;
    background:
        linear-gradient(135deg, #064e3b 0%, #047857 50%, #065f46 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

/* 背景装饰:几个浮动的圆光晕 */
.project-stats-section::before,
.project-stats-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    pointer-events: none;
}

.project-stats-section::before {
    width: 400px;
    height: 400px;
    background: rgba(16, 185, 129, 0.4);
    top: -100px;
    left: -100px;
}

.project-stats-section::after {
    width: 500px;
    height: 500px;
    background: rgba(5, 150, 105, 0.3);
    bottom: -150px;
    right: -150px;
}

.project-stats-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
}

.project-stat-card {
    text-align: center;
    padding: var(--space-lg) var(--space-md);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.project-stat-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
}

.project-stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #a7f3d0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-variant-numeric: tabular-nums;
}

.project-stat-label {
    font-size: 0.875rem;
    opacity: 0.8;
}

.project-stats-section .section-tag {
    background: rgba(255, 255, 255, 0.15);
    color: #a7f3d0;
}

.project-stats-section .section-title {
    color: white;
}

.project-stats-section .section-subtitle {
    color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 720px) {
    .project-stat-value {
        font-size: 2rem;
    }
}
