:root {
    --bg-dark: #030712;
    --bg-card: #111827;
    --lobster-orange: #ff5722;
    --lobster-hover: #ff3d00;
    --neon-cyan: #00f0ff;
    --neon-cyan-dim: rgba(0, 240, 255, 0.2);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --medium-grey: #9ca3af;
    --border-color: rgba(255, 255, 255, 0.1);
    
    --font-heading: 'Inter', -apple-system, system-ui, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    --font-body: 'Inter', -apple-system, system-ui, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 240, 255, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.5), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.7), 0 4px 6px -2px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.8), 0 10px 10px -5px rgba(0, 0, 0, 0.5);
    --shadow-neon: 0 0 15px rgba(255, 87, 34, 0.4);
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    line-height: 1.25;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

.text-accent { color: var(--neon-cyan); text-shadow: 0 0 10px rgba(0,240,255,0.5); }
.text-light { color: var(--text-primary) !important; }
.mx-auto { margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }

/* === Layout === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

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

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.125rem;
}

.btn-primary {
    background-color: var(--lobster-orange);
    color: #FFF;
    box-shadow: var(--shadow-neon);
}
.btn-primary:hover {
    background-color: var(--lobster-hover);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(255, 87, 34, 0.7);
}

.btn-secondary {
    background-color: rgba(0, 240, 255, 0.1);
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
}
.btn-secondary:hover {
    background-color: var(--neon-cyan);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}

/* === Navbar === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(3, 7, 18, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
    height: 72px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 2.25rem;
    color: var(--text-primary);
}

.logo-text {
    background: linear-gradient(90deg, var(--neon-cyan) 0%, var(--lobster-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.02em;
    position: relative;
    top: 4px;
    line-height: 1;
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 48px;
    height: 48px;
    padding: 0;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 0 auto;
    background: currentColor;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--neon-cyan);
    text-shadow: 0 0 8px rgba(0,240,255,0.4);
}

/* === Hero Section === */
.hero {
    position: relative;
    background-color: var(--bg-dark);
    padding: 160px 0 100px;
    overflow: hidden;
}

.bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 40px 40px;
    background-image: 
        linear-gradient(to right, rgba(0, 240, 255, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 240, 255, 0.05) 1px, transparent 1px);
    pointer-events: none;
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    background-color: var(--neon-cyan-dim);
    color: var(--neon-cyan);
    border: 1px solid rgba(0, 240, 255, 0.4);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.05em;
    box-shadow: 0 0 10px rgba(0,240,255,0.2);
}

.hero-title {
    color: var(--text-primary);
    font-size: 3.5rem;
    margin-bottom: 24px;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    color: #9CA3AF;
    font-size: 1.25rem;
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 16px;
}

.lobster-hero-wrapper {
    position: relative;
    border-radius: 50%;
    padding: 10px;
    background: radial-gradient(circle, rgba(0,240,255,0.2) 0%, transparent 70%);
    display: inline-block;
    animation: float 6s ease-in-out infinite;
}

.lobster-hero-img {
    width: 100%;
    max-width: 450px;
    display: block;
    height: auto;
    object-fit: contain;
    border-radius: 50%;
    box-shadow: 0 0 40px rgba(0, 240, 255, 0.5), 0 0 80px rgba(255, 87, 34, 0.3);
    border: 3px solid rgba(0, 240, 255, 0.4);
}

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

/* === Trend Section === */
.trend-section {
    background-color: var(--bg-dark);
}

.card {
    background-color: var(--bg-card);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.15);
    border-color: var(--neon-cyan);
}

.card-icon {
    width: 50px;
    height: 50px;
    background-color: var(--neon-cyan-dim);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    border: 1px solid rgba(0,240,255,0.3);
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.card-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* === Workflow Section === */
.workflow-section {
    background-color: var(--bg-dark);
    position: relative;
    padding: 120px 0;
    border-top: 1px solid var(--border-color);
}

.workflow-header {
    text-align: center;
    margin-bottom: 80px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 40px;
    width: 2px;
    background-color: rgba(0, 240, 255, 0.2);
}

.timeline-item {
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    width: 80px;
    height: 80px;
    background-color: var(--bg-card);
    border: 2px solid var(--lobster-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neon-cyan);
    font-weight: 700;
    font-size: 1.5rem;
    font-family: var(--font-heading);
    z-index: 2;
    flex-shrink: 0;
    box-shadow: 0 0 15px rgba(255, 87, 34, 0.4);
}

.timeline-content {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: var(--radius-md);
    flex-grow: 1;
    backdrop-filter: blur(10px);
}

.timeline-title {
    color: var(--text-primary);
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.timeline-text {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* === Demo Flow Section === */
.demo-flow-section {
    background:
        radial-gradient(circle at top left, rgba(0, 240, 255, 0.08), transparent 35%),
        radial-gradient(circle at bottom right, rgba(255, 87, 34, 0.08), transparent 35%),
        var(--bg-dark);
    border-top: 1px solid var(--border-color);
}

.demo-flow-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
    align-items: stretch;
}

.demo-panel {
    background: linear-gradient(160deg, rgba(17, 24, 39, 0.92), rgba(3, 7, 18, 0.96));
    border: 1px solid rgba(0, 240, 255, 0.18);
    border-radius: 18px;
    padding: 32px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.demo-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.demo-panel-title {
    font-size: 1.65rem;
}

.demo-overall {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 20px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 22px;
}

.demo-overall-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(0, 240, 255, 0.14);
    border: 1px solid rgba(0, 240, 255, 0.28);
    color: var(--neon-cyan);
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
}

.demo-overall-text {
    color: var(--text-secondary);
    font-size: 0.98rem;
    text-align: right;
}

.demo-step-list {
    display: grid;
    gap: 14px;
}

.demo-step-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.demo-step-card:hover {
    border-color: rgba(0, 240, 255, 0.32);
    transform: translateY(-2px);
    box-shadow: 0 0 18px rgba(0, 240, 255, 0.08);
}

.demo-step-index {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--lobster-orange);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.demo-step-card h4 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.demo-step-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
}

.demo-step-status {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    font-size: 0.86rem;
    font-weight: 600;
    white-space: nowrap;
}

/* === Channel Section === */
.channel-section {
    background-color: var(--bg-dark);
    border-top: 1px solid var(--border-color);
}

.channel-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.badge-teal {
    display: inline-block;
    padding: 6px 14px;
    background-color: var(--neon-cyan-dim);
    color: var(--neon-cyan);
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 20px;
    border: 1px solid rgba(0,240,255,0.4);
}

.feature-list {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1.05rem;
    color: var(--text-primary);
    font-weight: 500;
}

.feature-icon {
    margin-top: 4px;
    width: 20px;
    height: 20px;
    background-color: var(--lobster-orange);
    mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>') no-repeat center;
    -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>') no-repeat center;
}

.abstract-box {
    position: relative;
    padding: 40px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
    overflow: hidden;
}

.box-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at top right, rgba(0, 240, 255, 0.1), transparent 70%);
}

.box-inner {
    position: relative;
    z-index: 2;
    text-align: left;
}

.chat-sim {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chat-row {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 16px;
    border-radius: var(--radius-md);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.85rem;
    color: #E5E7EB;
}

.badge-log {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: bold;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.badge-log.info { background: #1e293b; color: #cbd5e1; border: 1px solid rgba(255,255,255,0.1); }
.badge-log.sys { background: rgba(255, 87, 34, 0.2); color: var(--lobster-orange); border: 1px solid rgba(255,87,34,0.5); }
.badge-log.success { background: rgba(0, 240, 255, 0.2); color: var(--neon-cyan); border: 1px solid rgba(0,240,255,0.5); }

.msg-text { margin: 0; line-height: 1.5; color: var(--text-primary); }
.type-anim { opacity: 0.8; color: var(--neon-cyan); }

/* === Starter Pack === */
.startpack-section {
    background-color: var(--bg-dark);
    border-top: 1px solid var(--border-color);
}

.pack-cards {
    display: flex;
    gap: 30px;
    margin-top: 60px;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
}

.pack-card {
    flex: 1;
    min-width: 250px;
    max-width: 320px;
    padding: 40px 30px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.pack-card:hover {
    transform: translateY(-5px);
    border-color: var(--neon-cyan);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.1);
}

.pack-card h4 {
    margin: 15px 0 10px;
    font-size: 1.15rem;
}

.pack-card p {
    font-size: 0.95rem;
    color: var(--medium-grey);
}

.wx-action {
    display: inline-block;
    margin-top: 50px;
    padding: 30px 50px;
    background-color: var(--bg-card);
    border: 2px dashed var(--neon-cyan);
    border-radius: var(--radius-md);
    box-shadow: 0 0 20px rgba(0,240,255,0.05);
}

/* === FAQ === */
.faq-section {
    background-color: var(--bg-dark);
    border-top: 1px solid var(--border-color);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.faq-item {
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--neon-cyan);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--neon-cyan);
}

.faq-q {
    font-size: 1.15rem;
    margin-bottom: 12px;
}

.faq-a {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* === CTA === */
.cta-section {
    background-color: var(--bg-dark);
    background-image: radial-gradient(circle at 50% 150%, var(--bg-card) 0%, var(--bg-dark) 100%);
    padding: 120px 0;
    border-top: 1px solid var(--border-color);
}

.cta-container .section-title { margin-bottom: 20px; font-size: 2.5rem;}
.cta-container .btn-group {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.download-btn-light {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.3);
    color: #FFF;
}

.download-btn-light:hover {
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.45);
    color: #FFF;
}

.download-btn.is-disabled,
.download-btn.is-disabled:hover {
    opacity: 0.72;
    transform: none;
    box-shadow: none;
    filter: saturate(0.7);
    cursor: not-allowed;
}

.download-hint {
    margin-top: 18px;
    color: rgba(248, 250, 252, 0.72);
    font-size: 0.95rem;
}

.download-status {
    min-height: 1.5em;
    margin-top: 14px;
    font-size: 0.95rem;
    color: var(--neon-cyan);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.download-status.is-visible {
    opacity: 1;
}

.download-status.is-error {
    color: #fca5a5;
}

/* === Footer === */
.footer {
    background-color: var(--bg-dark);
    padding: 60px 0;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-top: 1px solid var(--border-color);
}

/* === Animations === */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }
.delay-4 { transition-delay: 0.8s; }
.delay-5 { transition-delay: 1s; }
.delay-6 { transition-delay: 1.2s; }
.delay-7 { transition-delay: 1.4s; }
.delay-8 { transition-delay: 1.6s; }
.delay-9 { transition-delay: 1.8s; }
.delay-10 { transition-delay: 2s; }
.delay-11 { transition-delay: 2.2s; }

.shadow-light { box-shadow: var(--shadow-sm); }
.shadow-medium { box-shadow: var(--shadow-md); }
.shadow-heavy { box-shadow: var(--shadow-xl); }

/* === Responsive === */
@media (max-width: 992px) {
    .hero-container, .channel-container, .grid-3, .demo-flow-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-container {
        gap: 16px;
    }

    .nav-links {
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        gap: 0;
        padding: 12px 24px 20px;
        background: rgba(3, 7, 18, 0.98);
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links.nav-open {
        display: flex;
    }

    .nav-links a {
        padding: 12px 0;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .nav-actions {
        margin-left: auto;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-marker {
        width: 60px;
        height: 60px;
        font-size: 1.1rem;
    }
    
    .pack-cards {
        flex-direction: column;
        align-items: center;
    }

    .cta-container .btn-group,
    .hero-cta {
        flex-direction: column;
    }

    .demo-panel-head,
    .demo-overall,
    .demo-step-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .demo-overall-text {
        text-align: left;
    }

    .btn-lg {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 18px;
    }

    .logo {
        font-size: 1.75rem;
        gap: 10px;
    }

    .logo-text {
        top: 2px;
    }

    .nav-actions .btn {
        padding: 8px 12px;
    }

    .hero-title,
    .cta-container .section-title {
        font-size: 2rem;
    }

    .hero-subtitle,
    .section-desc {
        font-size: 1rem;
    }

    .demo-panel {
        padding: 24px 20px;
    }

    .timeline-item {
        gap: 18px;
    }

    .timeline-content,
    .card,
    .faq-item,
    .pack-card,
    .abstract-box,
    .wx-action {
        padding: 24px 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}
