:root {
    --bg-color: #ffffff;
    --text-primary: #1a1a1a;
    --text-secondary: #5f6368;
    --accent-color: #4285f4;
    --nav-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', 'Inter', -apple-system, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Antigravity "Halo" Glow Effect - More Expansive */
.bg-glow {
    position: fixed;
    top: -10%;
    left: 50%;
    transform: translateX(-50%);
    width: 150vw;
    height: 120vh;
    background: radial-gradient(circle at 50% 30%, rgba(66, 133, 244, 0.08) 0%, transparent 60%);
    z-index: -1;
    pointer-events: none;
}

/* Particle Canvas Background - Now Fixed to background */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

/* Subtle Particle/Grid Background - More faint */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(0, 0, 0, 0.02) 1px, transparent 0);
    background-size: 60px 60px;
    z-index: -2;
}

/* Navigation - Wider padding, clearer alignment */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    /* 80px */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 6%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: -0.5px;
    color: var(--text-primary);
    text-decoration: none;
    height: 100%;
    /* Fill nav height for alignment */
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--accent-color), #1a73e8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

.hero-logo-text {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -1px;
    background: linear-gradient(135deg, var(--accent-color), #1a73e8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.2s;
}

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

.nav-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

.btn-download {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--text-primary);
    color: #fff;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
    white-space: nowrap;
    /* Prevent text wrapping */
    flex-shrink: 0;
}

.btn-download:hover {
    background: #333;
}

/* Hero Section - Centered, minimal, like Antigravity */
.hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 100px 24px 80px;
    /* Reduced top padding */
}

.hero-logo img {
    height: 64px;
    width: auto;
    filter: drop-shadow(0 10px 20px rgba(66, 133, 244, 0.15));
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-logo:hover img {
    transform: translateY(-5px) scale(1.05);
}

.hero h1 {
    font-size: clamp(56px, 10vw, 88px);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -2px;
    color: var(--text-primary);
    margin-bottom: 24px;
    /* Avoid slanting Chinese characters unless they have a specific italic font */
    font-style: normal;
}

.hero h2 {
    font-size: clamp(20px, 3vw, 24px);
    font-weight: 400;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 64px;
    letter-spacing: 0.5px;
}


.hero-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--text-primary);
    color: #fff;
    padding: 14px 28px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-primary:hover {
    background: #333;
    transform: translateY(-1px);
}

.btn-primary svg {
    width: 18px;
    height: 18px;
}

.btn-secondary {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 14px 20px;
    transition: color 0.2s;
}

.btn-secondary:hover {
    color: var(--accent-color);
}

/* Mission Section - 科技感滚动条优化 */
.mission {
    padding: 160px 0;
    text-align: center;
    overflow: hidden;
}

.mission h3 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 400;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 80px;
}

.brand-scroller-container {
    position: relative;
    width: 100%;
    margin-top: 40px;
}

.brand-scroller {
    display: flex;
    width: max-content;
    animation: marquee-scroll 40s linear infinite;
}

.brand-scroller:hover {
    animation-play-state: paused;
}

.icon-strip {
    display: flex;
    gap: 20px;
    padding: 20px 10px;
    flex-wrap: nowrap;
}

.icon-circle {
    min-width: 120px;
    height: 56px;
    padding: 0 24px;
    border-radius: 16px;
    background: rgba(241, 243, 244, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 500;
    color: #5f6368;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    white-space: nowrap;
}

.icon-circle:hover {
    transform: translateY(-8px) scale(1.05);
    background: #ffffff;
    box-shadow: 0 20px 40px rgba(66, 133, 244, 0.15);
    border-color: var(--accent-color);
    color: var(--accent-color);
}

/* 渐变遮罩增加科技感 */
.scroller-mask-left,
.scroller-mask-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 200px;
    z-index: 10;
    pointer-events: none;
}

.scroller-mask-left {
    left: 0;
    background: linear-gradient(to right, var(--bg-color) 20%, transparent 100%);
}

.scroller-mask-right {
    right: 0;
    background: linear-gradient(to left, var(--bg-color) 20%, transparent 100%);
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Split Feature Section */
.split-feature {
    display: flex;
    align-items: center;
    padding: 100px 8%;
    gap: 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.split-feature.reverse {
    flex-direction: row-reverse;
}

.feature-content {
    flex: 1;
}

.section-tag {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature-content h2 {
    font-size: 40px;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 24px;
}

.feature-content p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.btn-text {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.2s;
}

.btn-text:hover {
    color: var(--accent-color);
}

.feature-media {
    flex: 1.2;
}

.media-window {
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    aspect-ratio: 16/10;
}

.window-header {
    height: 48px;
    background: #f8f9fa;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    padding: 0 20px;
    gap: 8px;
}

.window-header .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e0e0e0;
}

.window-body {
    padding: 30px;
    font-family: 'Fira Code', monospace;
    font-size: 14px;
    line-height: 1.8;
}

.code-line span {
    color: #005cc5;
}

.code-line-glow {
    margin-top: 20px;
    padding: 10px 15px;
    background: rgba(66, 133, 244, 0.05);
    border-left: 3px solid var(--accent-color);
    color: var(--accent-color);
    font-weight: 500;
}

/* Case Carousel Styles */
.cases-section {
    padding: 120px 0;
    background: #fff;
    overflow: hidden;
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    position: relative;
}

.case-carousel {
    position: relative;
    min-height: 650px;
    flex: 1;
}

.carousel-outer-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
}

.carousel-ctrl {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #333;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

.carousel-ctrl:hover {
    background: var(--accent-color);
    color: #fff;
    border-color: var(--accent-color);
    box-shadow: 0 8px 20px rgba(66, 133, 244, 0.2);
    transform: translateY(-2px);
}

.carousel-ctrl svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 1024px) {
    .carousel-outer-wrapper {
        flex-direction: column;
    }

    .carousel-ctrl {
        display: none;
        /* 移动端靠点击指示点切换 */
    }
}

.case-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(30px);
}

.case-slide.active {
    position: relative;
    /* 让容器撑开高度 */
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e0e0e0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    background: #bbb;
}

.dot.active {
    background: var(--accent-color);
    transform: scale(1.3);
}

/* Success Story Spotlight Styles */
.story-spotlight {
    margin-top: 24px;
}

.story-badge {
    display: inline-block;
    padding: 6px 14px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
    font-size: 12px;
    font-weight: 700;
    border-radius: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(255, 165, 0, 0.2);
}

.story-spotlight h3 {
    font-size: 28px;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 20px;
}

.story-spotlight p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.story-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 40px;
}

.meta-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.meta-label {
    display: block;
    font-size: 12px;
    color: #999;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.meta-value {
    display: block;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
}

/* Media App Mockup Styles */
.media-preview-card {
    position: relative;
    padding: 40px;
}

.app-mockup {
    width: 320px;
    height: 580px;
    background: #fff;
    border-radius: 48px;
    border: 12px solid #202124;
    margin: 0 auto;
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    position: relative;
}

.mock-ui {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    height: 100%;
    background: linear-gradient(to bottom, #f8f9fa, #fff);
}

.ui-header {
    font-size: 12px;
    font-weight: 600;
    color: #5f6368;
    margin-bottom: 60px;
}

.ui-icon {
    font-size: 80px;
    margin-bottom: 40px;
}

.ui-button {
    background: #34a853;
    color: white;
    padding: 12px 40px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 80px;
}

.ui-earnings {
    text-align: center;
    background: rgba(66, 133, 244, 0.05);
    width: 100%;
    padding: 30px;
    border-radius: 24px;
}

.income-label {
    display: block;
    font-size: 14px;
    color: #5f6368;
    margin-bottom: 10px;
}

.income-value {
    font-size: 40px;
    font-weight: 700;
    color: var(--accent-color);
    background: linear-gradient(90deg, #4285f4, #1a73e8, #4285f4);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 3s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

@media (max-width: 768px) {
    .app-mockup {
        width: 260px;
        height: 480px;
    }
}

/* Mission Control UI */
.mission-control {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.agent-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #f8f9fa;
    border-radius: 12px;
    font-size: 13px;
}

.status-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #34a853;
    box-shadow: 0 0 0 rgba(52, 168, 83, 0.4);
    animation: pulse 2s infinite;
}

.status-pulse.idle {
    background: #dadce0;
    animation: none;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(52, 168, 83, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(52, 168, 83, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(52, 168, 83, 0);
    }
}

/* Video Section */
.video-section {
    padding: 100px 8%;
    max-width: 1400px;
    margin: 0 auto;
}

.video-container {
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 48px;
    overflow: hidden;
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.2);
}

.video-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #202124, #1a73e8);
    color: white;
    font-size: 20px;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.3s;
}

.video-placeholder:hover {
    transform: scale(1.02);
}

/* Persona Section */
.persona-section {
    padding: 120px 8%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 400;
}

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

/* Updated Persona Card Styles */
.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 40%, rgba(0, 0, 0, 0.7));
    z-index: 1;
}

.card-content {
    position: relative;
    z-index: 2;
}

.persona-card {
    height: 500px;
    border-radius: 40px;
    padding: 40px;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.persona-card:hover {
    transform: scale(1.02);
}

.persona-card.blue {
    background-color: #1a73e8;
    color: white;
}

.persona-card.dark {
    background-color: #202124;
    color: white;
}

.persona-card.gray {
    background-color: #f1f3f4;
    color: var(--text-primary);
}

.card-content h3 {
    font-size: 28px;
    margin-bottom: 12px;
}

.card-content p {
    font-size: 16px;
    opacity: 0.9;
}

/* Footer Grid */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 48px;
    padding-bottom: 60px;
    text-align: left;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-brand p {
    margin-top: 16px;
    color: var(--text-secondary);
}

.footer-column h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.footer-column a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 12px;
}

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

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Responsive Overrides */
@media (max-width: 1024px) {
    .split-feature {
        flex-direction: column;
        text-align: center;
        gap: 48px;
    }

    .split-feature.reverse {
        flex-direction: column;
    }

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

    .persona-card {
        height: 350px;
    }

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

/* Responsive */
@media (max-width: 768px) {
    nav {
        padding: 0 24px;
    }

    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 40px;
    }

    .features {
        padding: 80px 24px;
    }
}