* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}
:root {
    --primary: #4361ee;
    --primary-light: #607cff;
    --dark: #1a1a2e;
    --light: #f8f9fa;
    --gray: #6c757d;
    --white: #ffffff;
}
body {
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}
/* Navbar */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: var(--dark);
    color: white;
    position: sticky;
    top: 0;
    z-index: 99;
}
.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
}
.nav-links a {
    color: #ddd;
    text-decoration: none;
    margin: 0 12px;
    transition: 0.2s;
}
.nav-links a:hover {
    color: var(--primary);
}
.nav-buttons button {
    padding: 8px 18px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: 0.2s;
}
.btn-free {
    background: transparent;
    color: white;
    border: 1px solid white;
    margin-right: 10px;
}
.btn-free:hover {
    background: rgba(255,255,255,0.15);
}
.btn-download {
    background: var(--primary);
    color: white;
}
.btn-download:hover {
    background: var(--primary-light);
}
/* Hero Section */
.hero {
    background: linear-gradient(rgba(26, 26, 46, 0.9), rgba(26, 26, 46, 0.9));
    color: white;
    text-align: center;
    padding: 6rem 5%;
}
.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.hero p {
    max-width: 700px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
    color: #ccc;
}
.hero-cta button {
    padding: 12px 28px;
    margin: 0 8px;
    border-radius: 8px;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.2s;
}
.cta-create {
    background: var(--primary);
    color: white;
}
.cta-create:hover {
    background: var(--primary-light);
}
.cta-app {
    background: white;
    color: var(--dark);
}
.cta-app:hover {
    background: #eee;
}
/* Section Base */
section {
    padding: 5rem 5%;
}
.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--dark);
}
/* Advantages Grid */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}
.advantage-card {
    background: var(--light);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: 0.3s;
}
.advantage-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}
.advantage-card h3 {
    margin-bottom: 12px;
    color: var(--primary);
}
/* Functions Section */
.func-list {
    max-width: 900px;
    margin: 0 auto;
}
.func-item {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-left: 4px solid var(--primary);
    background: #f0f4ff;
}
/* How it works */
.steps-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}
.step-card {
    width: 300px;
    text-align: center;
    padding: 2rem;
}
.step-num {
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    margin: 0 auto 1rem;
    font-weight: bold;
}
/* User Scenarios */
.scenarios {
    background: #f4f6ff;
}
.scenario-wrap {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}
/* Pricing */
.pricing-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}
.price-card {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 2rem;
    width: 280px;
    transition: 0.3s;
}
.price-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}
.price-card h3 {
    margin-bottom: 1rem;
    color: var(--primary);
}
/* ========== 作品轮播样式 ========== */
.carousel-container {
    max-width: 1100px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 12px;
    position: relative;
}
.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}
.carousel-item {
    min-width: 33.333%;
    padding: 0 8px;
}
.carousel-placeholder {
    width: 100%;
    height: 250px;
    /*background: linear-gradient(135deg, #c0cfff, #94a9ff);
    border-radius: 8px;*/
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a2e;
    font-weight: bold;
}
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.8);
    font-size: 18px;
    cursor: pointer;
    z-index: 2;
}
.prev-btn { left: 12px; }
.next-btn { right: 12px; }
/* ========== 下载平台按钮 ========== */
.download-platforms {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 24px;
    flex-wrap: wrap;
}
.store-btn {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    min-width: 180px;
    text-align: center;
    transition: 0.2s;
}
.appstore { background: #000000; }
.appstore:hover { background: #222; }
.googleplay { background: #34a853; }
.googleplay:hover { background: #2d9348; }
/* ========== 联系表单模块 ========== */
.contact-section {
    background: #f4f6ff;
}
.contact-form-wrap {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.form-group {
    margin-bottom: 18px;
}
.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
}
.form-group textarea {
    min-height: 120px;
    resize: vertical;
}
.submit-btn {
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
}
.submit-btn:hover {
    background: var(--primary-light);
}
/* ========== 悬浮回到顶部按钮 ========== */
.float-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    border: none;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(67, 97, 238, 0.35);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 98;
}
.float-top-btn.show {
    opacity: 1;
    visibility: visible;
}
/* Footer */
footer {
    background: var(--dark);
    color: #bbb;
    padding: 3rem 5%;
}
.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
}
.footer-links a {
    color: #bbb;
    display: block;
    margin: 6px 0;
    text-decoration: none;
}
.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
}
/* 移动端适配 */
@media(max-width: 900px) {
    .nav-links { display: none; }
    .carousel-item { min-width: 100%; }
    .hero h1 { font-size: 1.8rem; }
}