:root {
    --primary-red: #dc2626; /* red-600 */
    --hover-red: #b91c1c;   /* red-700 */
    --text-dark: #1f2937;   /* gray-800 */
    --text-gray: #6b7280;   /* gray-500 */
    --bg-gray: #f3f4f6;     /* gray-100 */
}

/* 禁止页面默认滚动 */
html, body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    height: 100vh;
    max-height: 100vh;
}

body {
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #1f2937;
    background-color: #ffffff;
    /* 防止闪烁 */
    opacity: 1;
    overflow: hidden;
}

/* Grid paper background */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image:
        linear-gradient(to right, rgba(0, 0, 0, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* 极光效果 - 多层光幕 */
@keyframes aurora1 {
    0%, 100% { 
        transform: translateX(0) scaleY(1);
        opacity: 0.5;
    }
    25% {
        transform: translateX(-3%) scaleY(1.05);
        opacity: 0.7;
    }
    50% { 
        transform: translateX(2%) scaleY(0.95);
        opacity: 0.6;
    }
    75% {
        transform: translateX(-1%) scaleY(1.02);
        opacity: 0.8;
    }
}

@keyframes aurora2 {
    0%, 100% { 
        transform: translateX(0) skewX(0deg);
        opacity: 0.4;
    }
    33% {
        transform: translateX(4%) skewX(2deg);
        opacity: 0.6;
    }
    66% { 
        transform: translateX(-3%) skewX(-1deg);
        opacity: 0.5;
    }
}

@keyframes aurora3 {
    0%, 100% { 
        transform: translateX(2%);
        opacity: 0.3;
    }
    50% { 
        transform: translateX(-4%);
        opacity: 0.5;
    }
}

/* 第一层极光 - 主绿色光幕 */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: -20%;
    width: 140%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background: 
        linear-gradient(to bottom,
            rgba(34, 197, 94, 0.15) 0%,
            rgba(34, 197, 94, 0.1) 15%,
            rgba(6, 182, 212, 0.08) 30%,
            transparent 50%
        );
    filter: blur(50px);
    animation: aurora1 12s ease-in-out infinite;
}

/* 极光容器 */
.aurora-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    /* 渐显动画 */
    opacity: 0;
    animation: fadeIn 1.2s ease-out 0s forwards;
}

/* 第二层 - 青蓝色光带 */
.aurora-layer::before {
    content: '';
    position: absolute;
    top: -10%;
    left: 10%;
    width: 60%;
    height: 70%;
    background: linear-gradient(
        165deg,
        transparent 0%,
        rgba(6, 182, 212, 0.1) 20%,
        rgba(34, 197, 94, 0.12) 40%,
        rgba(16, 185, 129, 0.08) 60%,
        transparent 80%
    );
    filter: blur(60px);
    animation: aurora2 18s ease-in-out infinite;
}

/* 第三层 - 紫色光带 */
.aurora-layer::after {
    content: '';
    position: absolute;
    top: 0;
    right: 5%;
    width: 50%;
    height: 60%;
    background: linear-gradient(
        195deg,
        transparent 0%,
        rgba(139, 92, 246, 0.08) 25%,
        rgba(168, 85, 247, 0.1) 45%,
        rgba(6, 182, 212, 0.06) 65%,
        transparent 85%
    );
    filter: blur(70px);
    animation: aurora3 20s ease-in-out infinite;
}

.container,
.hero {
    position: relative;
    z-index: 1;
}

/* ========== 全屏滚动样式 ========== */
.fullpage-wrapper {
    position: relative;
    z-index: 1;
    transition: transform 0.8s cubic-bezier(0.645, 0.045, 0.355, 1);
    will-change: transform;
    overflow: hidden;
}

.fullpage-section {
    height: 100vh;
    max-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.section-content {
    width: 100%;
    max-width: 1280px;
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
}

/* 页面指示器 */
.page-indicator {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.indicator-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(34, 197, 94, 0.5);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.indicator-dot:hover {
    border-color: #22c55e;
    transform: scale(1.2);
}

.indicator-dot.active {
    background: linear-gradient(135deg, #22c55e 0%, #06b6d4 100%);
    border-color: transparent;
    transform: scale(1.2);
}

/* 滚动提示 */
.scroll-hint {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: fit-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #9ca3af;
    font-size: 0.85rem;
    animation: fadeInUp 0.8s ease-out 1s forwards;
    opacity: 0;
    z-index: 10;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid #6b7280;
    border-bottom: 2px solid #6b7280;
    transform: rotate(45deg);
    animation: scrollBounce 2s infinite;
    margin-top: -8px;
}

@keyframes scrollBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: rotate(45deg) translate(0, 0);
    }
    40% {
        transform: rotate(45deg) translate(6px, 6px);
    }
    60% {
        transform: rotate(45deg) translate(3px, 3px);
    }
}

/* Hero 内容样式 */
.hero-content {
    padding-top: 0;
}

/* Features 内容样式 */
.features-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 70px;
    padding-bottom: 20px;
    max-height: 100vh;
    box-sizing: border-box;
}

.features-content .section-header {
    margin-bottom: 1.5rem;
    flex-shrink: 0;
}

.features-content .features-grid {
    width: 100%;
    max-width: 1100px;
    flex: 1;
    display: grid;
    align-content: center;
}

/* Toolchain 内容样式 */
.toolchain-content {
    display: flex;
    flex-direction: column;
    max-width: 1100px;
    margin: 0 auto;
}

.toolchain-content .toolchain-cards {
    width: 100%;
}

/* Partners 内容样式 */
.partners-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.partners-content .icon-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 1rem;
}

.partners-content .icon-item {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    border: 0.5px solid rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    padding: 14px;
    box-sizing: border-box;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.04),
        inset 0 0.5px 0 rgba(255, 255, 255, 0.8),
        inset 0 -0.5px 0 rgba(0, 0, 0, 0.05);
}

.partners-content .icon-item:hover {
    background: rgba(255, 255, 255, 0.55);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-4px) scale(1.02);
    box-shadow:
        0 16px 48px rgba(0, 0, 0, 0.12),
        0 4px 16px rgba(0, 0, 0, 0.06),
        inset 0 0.5px 0 rgba(255, 255, 255, 0.9);
}

.partners-content .icon-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.partners-content .icon-item.icon-invert img {
    filter: none;
}

/* 页面进入动画 */
.fullpage-section .brand,
.fullpage-section .headlines,
.fullpage-section .copy-url,
.fullpage-section .cta-group,
.fullpage-section .section-header,
.fullpage-section .toolchain-header,
.fullpage-section .features-grid,
.fullpage-section .toolchain-cards,
.fullpage-section .icon-grid {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* 卡片和图标的渐显动画 */
.feature-card,
.toolchain-card,
.partners-content .icon-item {
    opacity: 0;
    transform: translateY(50px) scale(0.9);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s ease,
                border-color 0.3s ease;
}

.feature-card.animate-in,
.toolchain-card.animate-in,
.partners-content .icon-item.animate-in {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.fullpage-section.visible .brand {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0s;
}

.fullpage-section.visible .headlines {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.15s;
}

.fullpage-section.visible .copy-url {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.fullpage-section.visible .cta-group {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.45s;
}

.fullpage-section.visible .section-header,
.fullpage-section.visible .toolchain-header {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0s;
}

.fullpage-section.visible .features-grid,
.fullpage-section.visible .toolchain-cards,
.fullpage-section.visible .icon-grid {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

/* 移动端指示器 */
@media (max-width: 768px) {
    .page-indicator {
        display: none;
    }

    .indicator-dot {
        width: 10px;
        height: 10px;
    }

    .scroll-hint {
        display: none;
    }

    .scroll-arrow {
        width: 16px;
        height: 16px;
    }

    /* 移动端：取消全屏分页，使用普通滚动 */
    html, body {
        overflow: auto;
        height: auto;
    }

    .fullpage-wrapper {
        transform: none !important;
        transition: none !important;
    }

    .fullpage-section {
        height: auto;
        min-height: auto;
        padding: 60px 15px;
    }

    /* 首页稍微高一点 */
    .fullpage-section[data-section="0"] {
        min-height: 100vh;
        padding-top: 80px;
        padding-bottom: 40px;
    }

    .section-content {
        padding: 15px;
        max-width: 100%;
        text-align: center;
    }

    /* Hero 页面移动端 */
    .hero-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        min-height: auto;
        text-align: center;
    }

    .hero-content .brand {
        margin-bottom: 1.25rem;
        align-items: center;
    }

    .hero-content .logo-container {
        width: 120px;
        height: auto;
        margin: 0 auto;
    }

    .hero-content .brand-name {
        font-size: 1.75rem;
        text-align: center;
    }

    .hero-content .headlines {
        text-align: center;
        width: 100%;
    }

    .hero-content .main-title {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
        text-align: center;
    }

    .hero-content .main-title .highlight {
        font-size: 1.4rem;
        margin-top: 0.35rem;
    }

    .hero-content .subtitle {
        font-size: 0.9rem;
        line-height: 1.6;
        padding: 0 0.5rem;
        text-align: center;
    }

    .hero-content .copy-url {
        margin: 1rem auto 1.25rem;
        padding: 0.5rem 0.75rem;
        width: auto;
        max-width: calc(100% - 1rem);
    }

    .hero-content .cta-group {
        gap: 0.6rem;
        margin-bottom: 0;
        width: auto;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }

    .hero-content .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
        width: auto;
        min-width: 180px;
    }

    /* 功能特性页面移动端 */
    .features-content {
        padding: 0;
        align-items: center;
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    .features-content .section-header {
        margin-bottom: 1.25rem;
        text-align: center;
        width: 100%;
    }

    .features-content .section-tag {
        font-size: 0.7rem;
        padding: 0.25rem 0.6rem;
        margin-bottom: 0.5rem;
    }

    .features-content .section-title {
        font-size: 1.35rem;
        margin-bottom: 0.5rem;
        text-align: center;
    }

    .features-content .features-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
        width: calc(100% - 2rem);
        max-width: 400px;
        margin: 0 auto;
        box-sizing: border-box;
    }

    .features-content .feature-card {
        padding: 1rem;
        border-radius: 12px;
        grid-column: span 1 !important;
        text-align: left;
    }

    .features-content .feature-icon {
        width: 32px;
        height: 32px;
        margin-bottom: 0.6rem;
    }

    .features-content .feature-icon iconify-icon {
        width: 24px;
        height: 24px;
    }

    .features-content .feature-icon .icon-text {
        font-size: 1.1rem;
    }

    .features-content .feature-title {
        font-size: 0.95rem;
        margin-bottom: 0.35rem;
    }

    .features-content .feature-desc {
        font-size: 0.75rem;
        line-height: 1.5;
    }

    /* 工具链页面移动端 */
    .toolchain-content {
        padding: 0;
        align-items: center;
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    .toolchain-content .toolchain-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 1.5rem;
        gap: 0.5rem;
        width: 100%;
    }

    .toolchain-content .toolchain-title-group {
        text-align: center;
    }

    .toolchain-content .toolchain-main-title {
        font-size: 1.35rem;
        text-align: center;
    }

    .toolchain-content .toolchain-subtitle {
        text-align: center;
        font-size: 0.85rem;
        max-width: 100%;
    }

    .toolchain-content .toolchain-cards {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        width: calc(100% - 2rem);
        max-width: 400px;
        margin: 0 auto;
        box-sizing: border-box;
    }

    .toolchain-content .toolchain-card {
        padding: 1.25rem;
        border-radius: 14px;
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 1rem;
        text-align: left;
    }

    .toolchain-content .toolchain-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .toolchain-content .toolchain-card-content {
        flex: 1;
    }

    .toolchain-content .toolchain-vendor {
        font-size: 0.6rem;
        margin-bottom: 0.25rem;
    }

    .toolchain-content .toolchain-name {
        font-size: 1.1rem;
        margin-bottom: 0.35rem;
    }

    .toolchain-content .toolchain-desc {
        font-size: 0.8rem;
        line-height: 1.5;
    }

    /* 生态伙伴页面移动端 */
    .partners-content {
        padding: 0;
        align-items: center;
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    .partners-content .section-header {
        margin-bottom: 1.5rem;
        text-align: center;
        width: 100%;
    }

    .partners-content .section-tag {
        font-size: 0.7rem;
        padding: 0.25rem 0.6rem;
        margin-bottom: 0.5rem;
    }

    .partners-content .section-title {
        font-size: 1.35rem;
        margin-bottom: 0.5rem;
        text-align: center;
    }

    .partners-content .section-subtitle {
        font-size: 0.85rem;
        line-height: 1.5;
        text-align: center;
    }

    .partners-content .icon-grid {
        gap: 0.75rem;
        width: calc(100% - 2rem);
        max-width: 320px;
        margin: 0 auto;
        justify-content: center;
        box-sizing: border-box;
    }

    .partners-content .icon-item {
        width: 60px;
        height: 60px;
        padding: 12px;
        border-radius: 12px;
    }
}

.container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 20px;
}

.hero {
    text-align: center;
    max-width: 1280px;
    width: 100%;
    padding-top: 10vh;
    padding-bottom: 5vh;
}

/* 移动端容器强制垂直布局 */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: stretch;
        padding: 15px;
    }

    .hero {
        padding-top: 3vh;
        padding-bottom: 2vh;
    }
}

/* Brand Section */
.brand {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-container {
    width: 200px;
    height: auto;
    position: relative;
    margin-bottom: 0.5rem;
    color: white;
    border-radius: 0;
    overflow: visible;
}

.logo-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 0;
}

.logo-svg {
    width: 100%;
    height: 100%;
}

.logo-text-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 15px; /* Visual adjustment */
}

.logo-text-overlay span {
    font-family: monospace;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-red);
}

.brand-name {
    font-size: 2.5rem; /* 字号调整 */
    letter-spacing: 0.1em;
    font-weight: 800;
    margin-top: 0.5rem;
    color: #1f2937;
    /* 增加一点文字阴影效果 */
    text-shadow: none;
}

/* 极光发光文字效果 */
.aurora-text {
    background: linear-gradient(
        90deg,
        #22c55e 0%,
        #06b6d4 50%,
        #22c55e 100%
    );
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: auroraGradient 4s ease-in-out infinite;
}

/* Headlines */
.headlines {
    margin-bottom: 1.5rem;
}

.main-title {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

/* 闪字效果 */
@keyframes shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

/* 极光流动渐变动画 */
@keyframes auroraGradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* 页面加载渐显动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.shimmer-text {
    display: inline-block;
    background: linear-gradient(
        90deg,
        #ffffff 0%,
        #ffffff 40%,
        #e20c0c 50%,
        #ffffff 60%,
        #ffffff 100%
    );
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s linear infinite;
}

.main-title .highlight {
    display: block;
    margin-top: 0.5rem;
    background: linear-gradient(
        90deg,
        #22c55e 0%,
        #06b6d4 50%,
        #22c55e 100%
    );
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: auroraGradient 4s ease-in-out infinite;
}

@media (min-width: 640px) {
    .main-title {
        font-size: 3.75rem;
    }
}

.subtitle {
    font-size: 1.125rem;
    color: var(--text-gray);
    max-width: 42rem;
    margin: 0 auto;
    line-height: 1.75;
}

@media (min-width: 640px) {
    .subtitle {
        font-size: 1.25rem;
    }
}

/* Copy URL */
.copy-url {
    margin: 1.5rem auto 2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.copy-prefix {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1f2937;
    padding: 0 0.25rem 0 0.5rem;
    white-space: nowrap;
}

.copy-input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 0.95rem;
    color: #1f2937;
    width: 280px;
}

.copy-btn {
    border: none;
    background: linear-gradient(135deg, #22c55e 0%, #06b6d4 100%);
    background-size: 200% 200%;
    color: #fff;
    font-weight: 600;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.2s;
    animation: auroraGradient 4s ease-in-out infinite;
}

.copy-btn:hover {
    background: linear-gradient(135deg, #16a34a 0%, #0891b2 100%);
    background-size: 200% 200%;
    animation: auroraGradient 4s ease-in-out infinite;
}

.copy-btn.copied {
    background: #16a34a;
}

@media (max-width: 640px) {
    .copy-url {
        flex-direction: row;
        border-radius: 999px;
        padding: 0.5rem 0.75rem;
        gap: 0.5rem;
    }

    .copy-input {
        width: auto;
        flex: 1;
        min-width: 120px;
        text-align: left;
        font-size: 0.85rem;
    }

    .copy-prefix {
        font-size: 0.8rem;
        padding: 0 0.25rem;
    }

    .copy-btn {
        padding: 0.35rem 0.6rem;
        font-size: 0.75rem;
    }
}

/* Buttons */
.cta-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

@media (min-width: 640px) {
    .cta-group {
        flex-direction: row;
    }
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 2rem;
    border-radius: 0.375rem;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.2s;
    width: auto;
    box-sizing: border-box;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #22c55e 0%, #06b6d4 100%);
    background-size: 200% 200%;
    color: white;
    box-shadow: 0 10px 15px -3px rgba(34, 197, 94, 0.3);
    animation: auroraGradient 4s ease-in-out infinite;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #16a34a 0%, #0891b2 100%);
    background-size: 200% 200%;
    animation: auroraGradient 4s ease-in-out infinite;
    box-shadow: 0 10px 20px -3px rgba(34, 197, 94, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-dark);
    border: 1px solid #d1d5db;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.btn-outline:hover {
    background-color: var(--bg-gray);
    border-color: #9ca3af;
}

/* Footer Icons */
.footer-icons {
    background-color: transparent;
    padding: 2rem 0 3rem;
    width: 100%;
    box-sizing: border-box;
    margin-top: 1rem;
    /* Flex box to ensure perfect centering */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* 当进入视口时 */
.footer-icons.visible {
    opacity: 1;
    transform: translateY(0);
}

.uppercase-text {
    text-align: center;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
    margin-top: 0;
}

.icon-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 3rem; /* Increased gap for better visual spacing */
    max-width: none;
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem; /* Prevent touching edges on small screens */
    box-sizing: border-box;
}

.icon-item {
    width: 3.5rem; /* Slightly larger, closer to LobeHub style */
    height: 3.5rem;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    filter: none;
    opacity: 0.85;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.icon-item:hover {
    filter: none;
    opacity: 1;
    transform: translateY(-5px); /* LobeHub 风格的上浮效果 */
}

.icon-item iconify-icon,
.icon-item img {
    width: 100%;
    height: 100%;
    /* Iconify 默认是 inline-block, 设为 block 方便宽高控制 */
    display: block; 
}

/* Specific colors for hover if supported by SVGs using currentColor */
.icon-item:hover svg, .icon-item:hover iconify-icon, .icon-item:hover img {
    /* This depends on SVG structure, but generally just removing grayscale helps */
}

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

.icon-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1f2937; /* 适配浅色背景 */
    font-family: ui-sans-serif, system-ui, -apple-system, sans-serif;
}

/* 黑色图标保持原色，适配浅色背景 */
.icon-item.icon-invert img {
    filter: none;
}

.icon-item.icon-invert:hover img {
    filter: none;
}

/* ========== 功能特性卡片区域 ========== */
.features-section {
    position: relative;
    z-index: 1;
    padding: 3rem 0;
    max-width: 100%;
    margin: 2rem auto 0;
    width: 100%;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1rem, 2vh, 1.5rem);
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: clamp(1rem, 2vh, 1.5rem);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        gap: clamp(1.25rem, 2.5vh, 2rem);
    }
}

.feature-card {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    border: 0.5px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    padding: clamp(1.5rem, 3vh, 2.5rem);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.04),
        inset 0 0.5px 0 rgba(255, 255, 255, 0.8),
        inset 0 -0.5px 0 rgba(0, 0, 0, 0.05);
    text-align: left;
    position: relative;
    overflow: hidden;
}

/* 卡片顶部高光效果 */
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.8) 50%,
        transparent 100%);
    opacity: 0.8;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.55);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-4px) scale(1.01);
    box-shadow:
        0 16px 48px rgba(0, 0, 0, 0.12),
        0 4px 16px rgba(0, 0, 0, 0.06),
        inset 0 0.5px 0 rgba(255, 255, 255, 0.9),
        inset 0 -0.5px 0 rgba(0, 0, 0, 0.05);
}

/* 高亮卡片样式 - 黄色边框 */
.feature-card-highlight {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1) 0%, rgba(255, 255, 255, 1) 100%);
    border: 1px solid rgba(251, 191, 36, 0.5);
}

.feature-card-highlight:hover {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.15) 0%, rgba(255, 255, 255, 1) 100%);
    border-color: rgba(251, 191, 36, 0.7);
}

.feature-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: clamp(0.75rem, 2vh, 1.5rem);
    font-size: 1.5rem;
}

/* 代码图标 - 橙色 */
.feature-icon-code {
    color: #f59e0b;
}

.feature-icon-code .icon-text {
    font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: #f59e0b;
}

/* 稳定图标 - 蓝色 */
.feature-icon-stable {
    color: #3b82f6;
}

/* 终端图标 - 绿色 */
.feature-icon-terminal {
    color: #10b981;
}

.feature-icon-terminal .icon-text {
    font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: #10b981;
}

/* 价格图标 - 紫色 */
.feature-icon-price {
    color: #8b5cf6;
}

.feature-title {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 0.5rem 0;
}

.feature-desc {
    font-size: clamp(0.85rem, 1.2vw, 0.95rem);
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

/* ========== 移动端适配 ========== */
@media (max-width: 480px) {
    /* 小屏页面间距 */
    .fullpage-section {
        padding: 40px 10px;
    }

    .fullpage-section[data-section="0"] {
        min-height: 100vh;
        padding-top: 60px;
        padding-bottom: 30px;
    }

    .section-content {
        padding: 10px;
        text-align: center;
    }

    /* Hero 页面小屏 */
    .hero-content .logo-container {
        width: 100px;
        margin: 0 auto;
    }

    .hero-content .brand-name {
        font-size: 1.5rem;
    }

    .hero-content .main-title {
        font-size: 1.35rem;
    }

    .hero-content .main-title .highlight {
        font-size: 1.25rem;
    }

    .hero-content .subtitle {
        font-size: 0.85rem;
    }

    .hero-content .copy-url {
        flex-wrap: nowrap;
        padding: 0.4rem 0.6rem;
    }

    .hero-content .copy-prefix {
        font-size: 0.7rem;
    }

    .hero-content .copy-input {
        font-size: 0.75rem;
        min-width: 100px;
    }

    .hero-content .copy-btn {
        font-size: 0.7rem;
        padding: 0.3rem 0.5rem;
    }

    .hero-content .btn {
        padding: 0.65rem 1.25rem;
        font-size: 0.8rem;
        width: auto;
        min-width: 160px;
    }

    /* 功能特性页面小屏 - 单列布局 */
    .features-content .features-grid {
        grid-template-columns: 1fr !important;
        gap: 0.6rem;
        width: calc(100% - 1.5rem);
        max-width: 320px;
        margin: 0 auto;
    }

    .features-content .feature-card {
        padding: 0.85rem;
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .features-content .feature-icon {
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .features-content .feature-card-content {
        flex: 1;
    }

    .features-content .feature-title {
        font-size: 0.9rem;
    }

    .features-content .feature-desc {
        font-size: 0.7rem;
    }

    /* 工具链页面小屏 */
    .toolchain-content .toolchain-main-title {
        font-size: 1.2rem;
    }

    .toolchain-content .toolchain-subtitle {
        font-size: 0.8rem;
    }

    .toolchain-content .toolchain-cards {
        width: calc(100% - 1.5rem);
        max-width: 320px;
        margin: 0 auto;
    }

    .toolchain-content .toolchain-card {
        padding: 1rem;
    }

    .toolchain-content .toolchain-icon {
        width: 36px;
        height: 36px;
    }

    .toolchain-content .toolchain-name {
        font-size: 1rem;
    }

    .toolchain-content .toolchain-desc {
        font-size: 0.75rem;
    }

    /* 生态伙伴页面小屏 */
    .partners-content .section-title {
        font-size: 1.2rem;
    }

    .partners-content .section-subtitle {
        font-size: 0.8rem;
    }

    .partners-content .icon-grid {
        gap: 0.6rem;
        width: calc(100% - 1.5rem);
        max-width: 280px;
        margin: 0 auto;
    }

    .partners-content .icon-item {
        width: 52px;
        height: 52px;
        padding: 10px;
    }

    /* 滚动提示小屏 */
    .scroll-hint {
        bottom: 15px;
        font-size: 0.7rem;
    }

    .scroll-arrow {
        width: 14px;
        height: 14px;
    }
}

/* 中等移动设备 (481px - 640px) */
@media (min-width: 481px) and (max-width: 640px) {
    .hero {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-top: 8vh;
        width: 100%;
    }

    .logo-container {
        width: 80px;
        height: 80px;
    }

    .main-title {
        font-size: 1.75rem;
    }

    .subtitle {
        font-size: 0.9rem;
        padding: 0 1rem;
    }

    .copy-url {
        width: calc(100% - 2rem);
        max-width: 340px;
    }

    .cta-group {
        margin-bottom: 1.5rem;
    }

    /* 功能卡片 - 上下结构 */
    .features-section {
        padding: 2rem 1rem;
        margin-top: 0;
    }

    .features-grid {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .footer-icons {
        margin-top: 0;
        padding: 1.5rem 0 2.5rem;
        border-top: 1px solid #e5e7eb;
    }
}

/* 平板设备横屏优化 */
@media (min-width: 641px) and (max-width: 768px) {
    .features-section {
        padding: 3rem 1.5rem;
    }

    .feature-card {
        padding: 1.75rem;
    }
}

/* 触摸设备优化 - 移除hover效果中的transform */
@media (hover: none) and (pointer: coarse) {
    .feature-card:hover {
        transform: none;
    }

    .icon-item:hover {
        transform: none;
    }

    .btn:active {
        transform: scale(0.98);
    }
}

/* 安全区域适配 (iPhone X及以上) */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .features-section {
        padding-bottom: calc(4rem + env(safe-area-inset-bottom));
    }
}

/* ========== 通用区块标题样式 ========== */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-tag {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    padding: 0.35rem 0.85rem;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 999px;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1f2937;
    margin: 0 0 1rem 0;
    line-height: 1.3;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .section-header {
        margin-bottom: 2rem;
    }

    .section-tag {
        font-size: 0.75rem;
    }

    .section-title {
        font-size: 1.65rem;
        padding: 0 0.5rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
        padding: 0 0.5rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .section-title {
        font-size: 2rem;
    }
}

/* ========== 工具链支持区域 ========== */
.toolchain-section {
    position: relative;
    z-index: 1;
    padding: 4rem 0;
    max-width: 100%;
    margin: 2rem auto 0;
    width: 100%;
}

.toolchain-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 3rem;
    gap: 2rem;
}

.toolchain-header.visible {
    opacity: 1;
    transform: translateY(0);
}

.toolchain-title-group {
    flex-shrink: 0;
}

.toolchain-main-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1f2937;
    margin: 0;
    line-height: 1.3;
}

.toolchain-subtitle {
    font-size: 1rem;
    color: #6b7280;
    max-width: 280px;
    margin: 0;
    line-height: 1.7;
    text-align: right;
}

.toolchain-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.toolchain-card {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    border: 0.5px solid rgba(255, 255, 255, 0.6);
    border-radius: 18px;
    padding: 2rem;
    text-align: left;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.04),
        inset 0 0.5px 0 rgba(255, 255, 255, 0.8),
        inset 0 -0.5px 0 rgba(0, 0, 0, 0.05);
}

/* 卡片顶部高光效果 */
.toolchain-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.9) 50%,
        transparent 100%);
    opacity: 0.9;
}

.toolchain-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.toolchain-card:hover {
    background: rgba(255, 255, 255, 0.55);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-4px) scale(1.01);
    box-shadow:
        0 16px 48px rgba(0, 0, 0, 0.12),
        0 4px 16px rgba(0, 0, 0, 0.06),
        inset 0 0.5px 0 rgba(255, 255, 255, 0.9),
        inset 0 -0.5px 0 rgba(0, 0, 0, 0.05);
}

.toolchain-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
}

.toolchain-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.toolchain-icon.icon-invert img {
    filter: none;
}

.toolchain-card-content {
    flex: 1;
}

.toolchain-vendor {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.vendor-anthropic {
    color: #f97316;
}

.vendor-openai {
    color: #1f2937;
}

.vendor-google {
    color: #3b82f6;
}

.toolchain-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 0.75rem 0;
}

.toolchain-desc {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.65;
    margin: 0;
}

/* 工具链响应式 */
@media (max-width: 1024px) {
    .toolchain-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .toolchain-subtitle {
        text-align: left;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .toolchain-section {
        padding: 3rem 1rem;
        margin-top: 1rem;
    }

    .toolchain-main-title {
        font-size: 1.75rem;
    }

    .toolchain-subtitle {
        font-size: 0.9rem;
    }

    .toolchain-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .toolchain-card {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .toolchain-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 1rem;
    }

    .toolchain-name {
        font-size: 1.25rem;
    }

    .toolchain-desc {
        font-size: 0.9rem;
    }
}

/* ========== 生态伙伴区域 ========== */
.partners-section {
    position: relative;
    z-index: 1;
    padding: 4rem 0 5rem;
    max-width: 100%;
    margin: 2rem auto 0;
    width: 100%;
}

.partners-section .section-header {
    margin-bottom: 3rem;
}

.partners-section .icon-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
}

.partners-section .icon-item {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    border: 0.5px solid rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    padding: 18px;
    box-sizing: border-box;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.04),
        inset 0 0.5px 0 rgba(255, 255, 255, 0.8),
        inset 0 -0.5px 0 rgba(0, 0, 0, 0.05);
}

.partners-section .icon-item:hover {
    background: rgba(255, 255, 255, 0.55);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-4px) scale(1.02);
    box-shadow:
        0 16px 48px rgba(0, 0, 0, 0.12),
        0 4px 16px rgba(0, 0, 0, 0.06),
        inset 0 0.5px 0 rgba(255, 255, 255, 0.9);
}

.partners-section .icon-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.partners-section .icon-item.icon-invert img {
    filter: none;
}

/* 生态伙伴响应式 */
@media (max-width: 768px) {
    .partners-section {
        padding: 3rem 1rem 4rem;
        margin-top: 1rem;
    }

    .partners-section .icon-grid {
        gap: 1rem;
    }

    .partners-section .icon-item {
        width: 64px;
        height: 64px;
        padding: 14px;
        border-radius: 14px;
    }
}
