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

:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary-color: #8b5cf6;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --gray: #64748b;
    --gray-light: #cbd5e1;
    --gray-lighter: #f1f5f9;
    --white: #ffffff;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.logo-image {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.logo-subtitle {
    font-size: 0.7rem;
    color: var(--gray);
    letter-spacing: 1px;
    text-align: center;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-2);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

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

/* 英雄区域 */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--dark);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    opacity: 0.9;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: float 20s infinite alternate;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 2rem;
    padding-top: 100px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 4rem;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    gap: 4rem;
    justify-content: center;
    animation: fadeInUp 1s ease 0.6s backwards;
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

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

/* 产品服务 */
.products {
    padding: 6rem 0;
    background: var(--gray-lighter);
    scroll-margin-top: 80px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    font-size: 1.2rem;
    margin-bottom: 4rem;
}

.product-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--white);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.product-card.featured {
    border: 2px solid var(--primary-color);
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gradient-2);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.card-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.card-icon svg {
    width: 40px;
    height: 40px;
    color: var(--white);
}

.api-icon {
    background: var(--gradient-2);
}

.ai-icon {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.card-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark);
}

.card-description {
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.feature-section {
    margin-bottom: 2rem;
}

.feature-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark);
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: var(--gray-lighter);
    color: var(--dark);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tag:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.05);
}

.feature-note {
    margin-top: 1rem;
    color: var(--gray);
    font-size: 0.9rem;
    font-style: italic;
    padding-left: 1rem;
    border-left: 3px solid var(--primary-color);
}

.cherry-studio-card {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(255, 182, 193, 0.15) 0%, rgba(255, 105, 180, 0.15) 100%);
    border: 2px solid rgba(255, 105, 180, 0.3);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.cherry-studio-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(255, 105, 180, 0.2);
    border-color: rgba(255, 105, 180, 0.5);
}

.cherry-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: var(--dark);
    font-size: 1.1rem;
}

.cherry-icon {
    font-size: 1.5rem;
}

.cherry-desc {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.cherry-link {
    display: inline-flex;
    align-items: center;
    color: #ff1493;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.cherry-link:hover {
    color: #ff69b4;
    transform: translateX(5px);
}

.pricing-highlight {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-radius: 15px;
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: center;
}

.pricing-badge {
    display: inline-block;
    background: var(--gradient-2);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.pricing-text {
    font-size: 1.3rem;
    color: var(--dark);
}

.pricing-text strong {
    color: var(--primary-color);
    font-weight: 700;
}

.highlights {
    margin: 2rem 0;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.highlight-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.highlight-title {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.highlight-desc {
    color: var(--gray);
    font-size: 0.9rem;
}

.card-button {
    display: block;
    width: 100%;
    padding: 1rem;
    background: var(--gradient-2);
    color: var(--white);
    text-align: center;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    margin-top: 2rem;
}

.card-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* 核心优势 */
.advantages {
    padding: 6rem 0;
    background: var(--white);
    scroll-margin-top: 80px;
}

.comparison-table {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: 4rem;
}

.comparison-header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    background: var(--gray-lighter);
    padding: 1.5rem 0;
}

.header-item {
    text-align: center;
    padding: 1rem;
    position: relative;
}

.header-item.highlight {
    background: var(--gradient-2);
    color: var(--white);
}

.header-badge {
    background: rgba(255, 255, 255, 0.3);
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.header-title {
    font-size: 1.3rem;
    font-weight: 700;
}

.comparison-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    border-bottom: 1px solid var(--gray-lighter);
    transition: background 0.3s ease;
}

.comparison-row:hover {
    background: rgba(99, 102, 241, 0.02);
}

.row-label {
    padding: 1.5rem;
    font-weight: 600;
    color: var(--dark);
    border-right: 1px solid var(--gray-lighter);
}

.row-value {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.row-value .icon {
    font-size: 1.2rem;
    font-weight: 700;
}

.row-value.success .icon {
    color: var(--success-color);
}

.row-value:not(.success) .icon {
    color: var(--danger-color);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.advantage-card {
    text-align: center;
    padding: 2rem;
    background: var(--gray-lighter);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.advantage-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.advantage-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.advantage-card p {
    color: var(--gray);
    line-height: 1.6;
}

/* 支付宝红包 */
.alipay-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1677ff 0%, #00a6ff 100%);
    position: relative;
    overflow: hidden;
    scroll-margin-top: 80px;
}

.alipay-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.alipay-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.alipay-section .section-title {
    color: var(--white);
    position: relative;
    z-index: 1;
}

.alipay-section .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 1;
}

.alipay-content {
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.alipay-card {
    background: var(--white);
    border-radius: 25px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 400px;
    position: relative;
    transition: all 0.3s ease;
}

.alipay-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.alipay-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.alipay-qr {
    width: 280px;
    height: 280px;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.alipay-qr:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.alipay-tip {
    color: var(--gray);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.alipay-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    animation: pulse 2s infinite;
}

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

/* 速创博客 */
.blog-section {
    padding: 6rem 0;
    background: var(--white);
    scroll-margin-top: 80px;
}

.blog-intro {
    max-width: 900px;
    margin: 0 auto;
}

.blog-description {
    background: var(--gray-lighter);
    padding: 3rem;
    border-radius: 20px;
    margin-bottom: 3rem;
}

.blog-intro-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1.5rem;
}

.blog-intro-text {
    color: var(--gray);
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 1rem;
}

.blog-intro-text:last-child {
    margin-bottom: 0;
}

.blog-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.blog-feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--gray-lighter);
    padding: 1.5rem;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.blog-feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    background: var(--white);
}

.blog-feature-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.blog-feature-text {
    font-weight: 600;
    color: var(--dark);
    font-size: 1rem;
}

.blog-cta {
    text-align: center;
}

.blog-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: var(--gradient-2);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.blog-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* 联系我们 */
.contact {
    padding: 6rem 0;
    background: var(--gray-lighter);
    scroll-margin-top: 80px;
}

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

.contact-info {
    margin-bottom: 3rem;
}

.contact-text {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 2rem;
}

.contact-detail {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    display: inline-block;
}

.contact-label {
    color: var(--gray);
    margin-right: 0.5rem;
}

.contact-value {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-qr {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

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

.qr-code {
    width: 200px;
    height: 200px;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    cursor: pointer;
}

.qr-code:hover {
    transform: scale(1.2);
    box-shadow: var(--shadow-xl);
}

.qr-label {
    margin-top: 1rem;
    font-weight: 600;
    color: var(--dark);
    font-size: 1.1rem;
}

/* 页脚 */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p,
.footer-section a {
    color: var(--gray-light);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--dark-light);
    color: var(--gray-light);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .logo-image {
        height: 35px;
    }

    .logo-subtitle {
        font-size: 0.6rem;
    }

    .hero-content {
        padding-top: 80px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

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

    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }

    .product-cards {
        grid-template-columns: 1fr;
    }

    .comparison-header,
    .comparison-row {
        grid-template-columns: 1fr;
    }

    .row-label {
        border-right: none;
        border-bottom: 1px solid var(--gray-lighter);
        background: var(--gray-lighter);
    }

    .nav-links {
        gap: 0.75rem;
    }

    .nav-link {
        font-size: 0.85rem;
    }

    .contact-qr {
        gap: 2rem;
    }

    .qr-code {
        width: 150px;
        height: 150px;
    }

    .alipay-card {
        padding: 2rem;
        max-width: 100%;
    }

    .alipay-qr {
        width: 220px;
        height: 220px;
    }

    .alipay-icon {
        font-size: 3rem;
    }

    .alipay-badge {
        font-size: 1rem;
        padding: 0.6rem 1.2rem;
    }

    .blog-description {
        padding: 2rem;
    }

    .blog-intro-title {
        font-size: 1.5rem;
    }

    .blog-intro-text {
        font-size: 1rem;
    }

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

    .blog-feature-item {
        padding: 1.2rem;
    }

    .blog-feature-icon {
        font-size: 1.8rem;
    }

    .blog-button {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
}