/* --- Global Variables & Resets --- */
:root {
    --primary-blue: #007aff;
    --text-light: #f5f5f7;
    --text-dark: #1d1d1f;
    --text-secondary: #a1a1a6;
    --bg-black: #000000;
    --bg-dark-grey: #1a1a1c;
    --border-color: #424245;
    --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-black);
    color: var(--text-light);
    font-family: var(--font-main);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- Common Components --- */
.container {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 20px;
}

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

h1,
h2,
h3,
h4,
p {
    letter-spacing: 0.5px;
}

h1 {
    font-size: 56px;
    font-weight: 600;
    line-height: 1.1;
}

h2 {
    font-size: 48px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 20px;
}

p {
    font-size: 17px;
    line-height: 1.6;
    color: var(--text-secondary);
}

section {
    padding: 120px 0;
    overflow: hidden;
}

.text-section {
    text-align: center;
}

/* Button Styles */
.primary-button,
.secondary-button,
.cta-button {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 980px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.primary-button {
    background-color: var(--primary-blue);
    color: white;
}

.primary-button:hover {
    background-color: #0077f0;
    transform: scale(1.05);
}

.secondary-button {
    color: var(--primary-blue);
    border: 1px solid transparent;
}

.secondary-button:hover {
    text-decoration: underline;
}

.cta-button {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--text-light);
    font-size: 14px;
    padding: 8px 16px;
}

.cta-button:hover {
    background-color: rgba(255, 255, 255, 0.25);
}

.primary-button.large {
    font-size: 18px;
    padding: 16px 32px;
}

/* Placeholder Styles */
.image-placeholder,
.visual-content-placeholder,
.showcase-video-placeholder,
.workflow-visual-placeholder {
    background-color: var(--bg-dark-grey);
    /* border: 1px dashed var(--border-color); */
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-secondary);
    font-size: 16px;
}

.placeholder-text.large {
    font-size: 24px;
}


/* --- Header Navigation --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 0;
    z-index: 1000;
    /* background-color: rgba(0, 0, 0, 0.7); */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    /* border-bottom: 1px solid rgba(255, 255, 255, 0.1); */
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-light);
    text-decoration: none;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

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

/* --- Hero Section --- */
.hero-section {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 80px;
    position: relative;
}

.hero-video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    /* 将视频容器置于背景层 */
}

.hero-video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 确保视频铺满整个区域且不变形 */
}

/* 添加一个深色半透明遮罩，让文字更易读 */
.hero-video-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* 50% 透明度的黑色遮罩 */
}

.hero-content {
    position: relative;
    /* 确保内容在视频之上 */
    z-index: 2;
    /* 将内容层级置于视频和遮罩之上 */
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.hero-content p {
    font-size: 24px;
    max-width: 600px;
    margin: 20px auto 30px;
    color: var(--text-light);
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* --- Problem Section --- */
.problem-section h2 {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.problem-section p {
    font-size: 21px;
    color: var(--text-light);
    margin-top: 10px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 80px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.stat-item h3 {
    font-size: 32px;
    font-weight: 600;
    color: var(--primary-blue);
}

.stat-item p {
    font-size: 16px;
    margin-top: 5px;
}

/* --- Workflow Section --- */
.workflow-sequence-container {
    height: 400vh;
    position: relative;
}

.workflow-step-panel {
    height: 100vh;
    width: 100%;
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px;
}

#step-1,
#step-3 {
    background-color: var(--bg-black);
}

#step-2,
#step-4 {
    background-color: var(--bg-dark-grey);
}

.step-content {
    max-width: 900px;
    width: 100%;
}

.step-content p {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
}

.workflow-visual-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    transition: transform 0.8s ease-out, opacity 0.8s ease-out;
    transform: scale(0.95);
    opacity: 0.8;
}

.workflow-visual-placeholder video,
.showcase-video-placeholder video{
    width: 100%;
    /* height: 100%; */
    border-radius: 20px
}

.workflow-step-panel.is-active .workflow-visual-placeholder {
    transform: scale(1);
    opacity: 1;
}

/* --- Target Audience Section --- */
.target-audience-section {
    background-color: var(--bg-black);
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.audience-card {
    background-color: var(--bg-dark-grey);
    padding: 30px;
    border-radius: 20px;
    text-align: left;
}

.image-placeholder.tall {
    width: 100%;
    height: 250px;
    margin-bottom: 20px;
}

.audience-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}

/* --- Showcase Section --- */
.showcase-section {
    background-color: var(--bg-dark-grey);
}

.showcase-section p {
    max-width: 500px;
    margin: 10px auto 50px;
}

.showcase-video-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
}

/* --- NEW: Monetization Section --- */
.monetization-section {
    background-color: var(--bg-black);
}

.monetization-section p {
    max-width: 600px;
    margin: 0 auto 60px auto;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-item {
    background-color: var(--bg-dark-grey);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
}

.service-item i {
    font-size: 32px;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.service-item h3 {
    font-size: 21px;
    margin-bottom: 10px;
    color: var(--text-light);
}

/* --- NEW: Creator Marketplace Section --- */
.marketplace-section {
    background-color: var(--bg-dark-grey);
}

.marketplace-section p {
    max-width: 600px;
    margin: 0 auto 60px auto;
}

.order-flow-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 60px;
}

.flow-card {
    background-color: var(--bg-black);
    padding: 30px;
    border-radius: 20px;
    width: 300px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.flow-card i {
    font-size: 24px;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.flow-card h4 {
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--text-light);
}

.flow-arrow {
    font-size: 32px;
    color: var(--text-secondary);
}

.final-motto {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-light);
}

/* --- Features Section --- */
.features-section {
    background-color: var(--bg-black);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.feature-item {
    background-color: var(--bg-dark-grey);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
}

.feature-item i {
    font-size: 32px;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.feature-item h4 {
    font-size: 21px;
    margin-bottom: 10px;
}

/* --- Final CTA Section --- */
.final-cta-section h2 {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.final-cta-section p {
    font-size: 21px;
    color: var(--text-light);
    margin: 20px auto 40px;
    max-width: 500px;
}

/* --- Footer --- */
.main-footer-bottom {
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 12px;
    background-color: var(--bg-dark-grey);
}

.main-footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
}

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

/* --- Animation Effects --- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in:nth-child(2) {
    transition-delay: 0.1s;
}

.fade-in:nth-child(3) {
    transition-delay: 0.2s;
}

.fade-in:nth-child(4) {
    transition-delay: 0.3s;
}

.stats-grid .fade-in,
.audience-grid .fade-in,
.features-grid .fade-in,
.service-grid .fade-in {
    transition-delay: var(--delay, 0s);
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    h1 {
        font-size: 40px;
    }

    h2 {
        font-size: 32px;
    }

    p {
        font-size: 16px;
    }

    section {
        padding: 80px 20px;
    }

    .nav-links {
        display: none;
    }

    .hero-content p {
        font-size: 18px;
    }

    .stats-grid,
    .service-grid {
        grid-template-columns: 1fr;
    }

    .workflow-sequence-container {
        height: auto;
    }

    .workflow-step-panel {
        height: auto;
        position: static;
        padding: 80px 20px;
    }

    .order-flow-container {
        flex-direction: column;
    }

    .flow-arrow {
        transform: rotate(90deg);
        margin: 20px 0;
    }

    .flow-card {
        width: 100%;
    }
}