/* ============================================================
   小龙虾 OpenClaw 助手 - 主样式表
   ============================================================ */

/* CSS Variables */
:root {
    --bg-primary: #0a0e17;
    --bg-secondary: #111827;
    --bg-card: #1a1f2e;
    --bg-card-hover: #1f2a3a;
    --bg-overlay: rgba(17, 24, 39, 0.8);
    --text-primary: #e2e8f0;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --accent-red: #ef4444;
    --accent-red-light: #f87171;
    --accent-red-dark: #dc2626;
    --accent-orange: #f97316;
    --accent-amber: #f59e0b;
    --accent-blue: #3b82f6;
    --accent-cyan: #06b6d4;
    --accent-green: #10b981;
    --accent-purple: #8b5cf6;
    --gradient-lobster: linear-gradient(135deg, #ef4444, #f97316, #ef4444);
    --gradient-hero: linear-gradient(135deg, #ef4444 0%, #f97316 25%, #f59e0b 50%, #ef4444 75%, #dc2626 100%);
    --gradient-card: linear-gradient(145deg, rgba(239, 68, 68, 0.08), rgba(249, 115, 22, 0.04));
    --gradient-text: linear-gradient(135deg, #ef4444, #f97316, #f59e0b);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-glow-red: 0 0 20px rgba(239, 68, 68, 0.3);
    --shadow-glow-orange: 0 0 20px rgba(249, 115, 22, 0.3);
    --border-color: rgba(255, 255, 255, 0.06);
    --border-color-hover: rgba(239, 68, 68, 0.3);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --max-width: 1200px;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB',
                 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================================
   Navigation
   ============================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 14, 23, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background: rgba(10, 14, 23, 0.95);
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    transition: opacity var(--transition-fast);
}

.nav-logo:hover {
    opacity: 0.85;
}

.lobster-icon {
    font-size: 1.6rem;
    animation: lobsterBounce 2s ease-in-out infinite;
}

@keyframes lobsterBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.logo-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.nav-links a:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.btn-download-nav {
    background: var(--gradient-lobster) !important;
    color: white !important;
    padding: 8px 20px !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    font-size: 0.875rem !important;
    transition: all var(--transition-base) !important;
    box-shadow: var(--shadow-glow-red);
}

.btn-download-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(239, 68, 68, 0.5) !important;
    background: var(--gradient-lobster) !important;
}

.nav-link-special {
    color: var(--accent-amber) !important;
    font-weight: 700 !important;
    border: 1px solid rgba(245, 158, 11, 0.3) !important;
    background: rgba(245, 158, 11, 0.08) !important;
    border-radius: var(--radius-sm);
}

.nav-link-special:hover {
    background: rgba(245, 158, 11, 0.15) !important;
    border-color: rgba(245, 158, 11, 0.5) !important;
    color: var(--accent-amber) !important;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-primary);
    cursor: pointer;
    padding: 8px;
}

/* ============================================================
   Hero Section
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 70px;
    overflow: hidden;
    background: radial-gradient(ellipse at 30% 50%, rgba(239, 68, 68, 0.08) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 50%, rgba(249, 115, 22, 0.06) 0%, transparent 60%),
                var(--bg-primary);
}

.hero-bg-bubbles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.bubble {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(239, 68, 68, 0.1), transparent);
    animation: floatBubble 8s ease-in-out infinite;
}

.bubble:nth-child(1) { width: 300px; height: 300px; top: -50px; left: -50px; animation-delay: 0s; }
.bubble:nth-child(2) { width: 200px; height: 200px; top: 30%; right: -30px; animation-delay: -2s; }
.bubble:nth-child(3) { width: 150px; height: 150px; bottom: 20%; left: 10%; animation-delay: -4s; }
.bubble:nth-child(4) { width: 100px; height: 100px; bottom: 30%; right: 20%; animation-delay: -6s; }
.bubble:nth-child(5) { width: 250px; height: 250px; top: 50%; left: 50%; animation-delay: -3s; }
.bubble:nth-child(6) { width: 80px; height: 80px; top: 10%; right: 40%; animation-delay: -1s; }

@keyframes floatBubble {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-30px) scale(1.05); }
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.875rem;
    color: var(--accent-red-light);
    width: fit-content;
}

.badge-icon {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.btn-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 36px;
    background: var(--gradient-lobster);
    color: white;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 50px;
    overflow: hidden;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-glow-red);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 40px rgba(239, 68, 68, 0.5);
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shine 3s ease-in-out infinite;
}

@keyframes shine {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

.btn-secondary {
    padding: 16px 32px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    color: var(--text-secondary);
    font-weight: 600;
    transition: all var(--transition-base);
}

.btn-secondary:hover {
    border-color: var(--accent-red);
    color: var(--text-primary);
    background: rgba(239, 68, 68, 0.05);
}

.hero-stats {
    display: flex;
    gap: 36px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-size: 1.6rem;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Hero Visual - Lobster Mascot */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.lobster-mascot {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lobster-body {
    position: relative;
    width: 200px;
    height: 260px;
}

/* Lobster Head */
.lobster-head {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 80px;
    background: linear-gradient(180deg, #ef4444, #dc2626);
    border-radius: 50px 50px 20px 20px;
    z-index: 3;
}

.lobster-eye {
    position: absolute;
    width: 16px;
    height: 20px;
    background: white;
    border-radius: 50%;
    top: 22px;
}

.lobster-eye::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 10px;
    background: #111;
    border-radius: 50%;
    top: 4px;
    left: 4px;
}

.lobster-eye.left { left: 18px; }
.lobster-eye.right { right: 18px; }

.lobster-antenna {
    position: absolute;
    top: -30px;
    width: 3px;
    height: 40px;
    background: var(--accent-red-light);
    border-radius: 3px;
    transform-origin: bottom center;
}

.lobster-antenna.left {
    left: 15px;
    transform: rotate(-25deg);
    animation: antennaWave 2s ease-in-out infinite;
}

.lobster-antenna.right {
    right: 15px;
    transform: rotate(25deg);
    animation: antennaWave 2s ease-in-out 0.5s infinite;
}

@keyframes antennaWave {
    0%, 100% { transform: rotate(-25deg); }
    50% { transform: rotate(-35deg); }
}

.lobster-antenna.right { animation-name: antennaWaveRight; }

@keyframes antennaWaveRight {
    0%, 100% { transform: rotate(25deg); }
    50% { transform: rotate(35deg); }
}

/* Lobster Body/Tail */
.lobster-tail {
    position: absolute;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    z-index: 1;
}

.tail-segment {
    width: 80px;
    height: 24px;
    background: linear-gradient(180deg, #dc2626, #b91c1c);
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.2);
}

.tail-segment:nth-child(1) { width: 90px; }
.tail-segment:nth-child(2) { width: 76px; }
.tail-segment:nth-child(3) { width: 60px; }

.tail-fan {
    width: 90px;
    height: 40px;
    background: linear-gradient(180deg, #ef4444, #dc2626);
    border-radius: 0 0 20px 20px;
    position: relative;
}

.tail-fan::before,
.tail-fan::after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 30px;
    height: 25px;
    background: #ef4444;
    border-radius: 0 0 15px 15px;
}

.tail-fan::before { left: -15px; transform: rotate(-15deg); }
.tail-fan::after { right: -15px; transform: rotate(15deg); }

/* Lobster Claws */
.lobster-claw {
    position: absolute;
    top: 60px;
    z-index: 4;
}

.lobster-claw.left {
    left: -30px;
}

.lobster-claw.right {
    right: -30px;
}

.claw-arm {
    width: 40px;
    height: 8px;
    background: var(--accent-red);
    border-radius: 4px;
}

.claw-pincer {
    width: 36px;
    height: 36px;
    background: var(--accent-red);
    border-radius: 50%;
    position: relative;
    margin-top: -6px;
    border: 2px solid rgba(0,0,0,0.1);
}

.claw-pincer::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 8px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
}

.lobster-claw.left .claw-arm,
.lobster-claw.left .claw-pincer {
    transform-origin: right center;
    animation: clawWave 3s ease-in-out infinite;
}

.lobster-claw.right .claw-arm,
.lobster-claw.right .claw-pincer {
    transform-origin: left center;
    animation: clawWave 3s ease-in-out 1.5s infinite;
}

@keyframes clawWave {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-15deg); }
    75% { transform: rotate(15deg); }
}

/* Lobster Legs */
.lobster-legs {
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 0;
}

.leg {
    width: 3px;
    height: 30px;
    background: var(--accent-red-dark);
    border-radius: 3px;
    animation: legWiggle 1.5s ease-in-out infinite;
}

.leg:nth-child(1) { animation-delay: 0s; }
.leg:nth-child(2) { animation-delay: 0.2s; }
.leg:nth-child(3) { animation-delay: 0.4s; }
.leg:nth-child(4) { animation-delay: 0.6s; }

@keyframes legWiggle {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(10deg); }
}

/* Speech Bubble */
.speech-bubble {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 12px 24px;
    border-radius: var(--radius-lg);
    margin-top: 20px;
    animation: bubbleFloat 3s ease-in-out infinite;
}

.speech-bubble::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid var(--bg-card);
}

.speech-bubble span {
    font-size: 1rem;
    font-weight: 600;
    white-space: nowrap;
}

@keyframes bubbleFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Hero Wave */
.hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 120px;
    z-index: 1;
}

.hero-wave svg {
    width: 100%;
    height: 100%;
}

/* ============================================================
   Section Common
   ============================================================ */
section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.15);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--accent-red-light);
    width: fit-content;
    margin: 0 auto;
}

.section-header h2 {
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: 1.05rem;
    color: var(--text-secondary);
}

/* ============================================================
   Pain Points
   ============================================================ */
.pain-points {
    background: var(--bg-primary);
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.pain-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: all var(--transition-base);
    cursor: default;
}

.pain-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-color-hover);
    box-shadow: var(--shadow-glow-red);
    background: var(--bg-card-hover);
}

.pain-emoji {
    font-size: 3rem;
    margin-bottom: 16px;
}

.pain-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.pain-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.pain-arrow {
    text-align: center;
    margin-top: 20px;
}

.arrow-down {
    font-size: 2rem;
    display: block;
    animation: bounceDown 2s ease-in-out infinite;
}

@keyframes bounceDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

.pain-arrow p {
    margin-top: 10px;
    font-weight: 700;
    color: var(--accent-red-light);
    font-size: 1.1rem;
}

/* ============================================================
   Features
   ============================================================ */
.features {
    background: var(--bg-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-lobster);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-color-hover);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    position: relative;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-card);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.icon-glow {
    position: absolute;
    inset: -4px;
    border-radius: var(--radius-md);
    background: var(--gradient-lobster);
    opacity: 0;
    filter: blur(12px);
    transition: opacity var(--transition-base);
    z-index: -1;
}

.feature-card:hover .icon-glow {
    opacity: 0.3;
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-card > p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
}

.feature-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feature-details li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding-left: 4px;
}

/* ============================================================
   Architecture
   ============================================================ */
.architecture {
    background: var(--bg-primary);
}

.arch-diagram {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.arch-row {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.arch-row-dual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    width: 100%;
    max-width: 800px;
}

.arch-row-single {
    width: 100%;
    max-width: 400px;
}

.arch-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    text-align: center;
    transition: all var(--transition-base);
    position: relative;
}

.arch-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.user-box {
    border-color: rgba(59, 130, 246, 0.3);
    background: rgba(59, 130, 246, 0.05);
    max-width: 260px;
}

.local-box {
    border-color: rgba(16, 185, 129, 0.3);
    background: rgba(16, 185, 129, 0.05);
}

.cloud-box {
    border-color: rgba(239, 68, 68, 0.3);
    background: rgba(239, 68, 68, 0.05);
}

.storage-box {
    border-color: rgba(139, 92, 246, 0.3);
    background: rgba(139, 92, 246, 0.05);
}

.arch-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.arch-box h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.arch-box > span {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.arch-port {
    display: inline-block;
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 10px;
    border-radius: 4px;
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 6px;
}

.arch-desc {
    margin-top: 16px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.8;
    text-align: left;
}

.arch-arrows {
    display: flex;
    justify-content: space-around;
    width: 100%;
    max-width: 600px;
}

.arch-arrow-left,
.arch-arrow-right {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
}

.arch-arrow-left span,
.arch-arrow-right span {
    display: block;
    animation: arrowPulse 2s ease-in-out infinite;
}

@keyframes arrowPulse {
    0%, 100% { opacity: 0.5; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(4px); }
}

/* ============================================================
   Providers
   ============================================================ */
.providers {
    background: var(--bg-secondary);
}

.providers-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.provider-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px 16px;
    text-align: center;
    transition: all var(--transition-base);
    position: relative;
}

.provider-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-color-hover);
    box-shadow: var(--shadow-md);
}

.provider-card.configured {
    border-color: rgba(16, 185, 129, 0.3);
    background: rgba(16, 185, 129, 0.04);
}

.provider-badge {
    position: absolute;
    top: -10px;
    right: -8px;
    background: var(--accent-green);
    color: white;
    font-size: 0.7rem;
    padding: 3px 10px;
    border-radius: 50px;
    font-weight: 600;
    white-space: nowrap;
}

.provider-logo {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    color: white;
    margin: 0 auto 12px;
}

.provider-logo.deepseek { background: linear-gradient(135deg, #4f46e5, #7c3aed); }
.provider-logo.xiaomi { background: linear-gradient(135deg, #ff6900, #ff8c00); }
.provider-logo.openai { background: linear-gradient(135deg, #10a37f, #0d8a6a); }
.provider-logo.anthropic { background: linear-gradient(135deg, #d97706, #b45309); }
.provider-logo.google { background: linear-gradient(135deg, #4285f4, #34a853); }
.provider-logo.zhipu { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.provider-logo.moonshot { background: linear-gradient(135deg, #f59e0b, #d97706); }
.provider-logo.baidu { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.provider-logo.tencent { background: linear-gradient(135deg, #06b6d4, #0891b2); }
.provider-logo.bytedance { background: linear-gradient(135deg, #ec4899, #db2777); }
.provider-logo.alibaba { background: linear-gradient(135deg, #f97316, #ea580c); }
.provider-logo.xunfei { background: linear-gradient(135deg, #14b8a6, #0d9488); }
.provider-logo.groq { background: linear-gradient(135deg, #f43f5e, #e11d48); }
.provider-logo.together { background: linear-gradient(135deg, #0ea5e9, #0284c7); }
.provider-logo.mistral { background: linear-gradient(135deg, #f97316, #f59e0b); }
.provider-logo.openrouter { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.provider-logo.minimax { background: linear-gradient(135deg, #06b6d4, #3b82f6); }
.provider-logo.lingyi { background: linear-gradient(135deg, #22c55e, #16a34a); }

.provider-card h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.provider-models {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ============================================================
   Install Steps
   ============================================================ */
.install {
    background: var(--bg-primary);
}

.install-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    width: 280px;
    transition: all var(--transition-base);
    position: relative;
}

.step-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-color-hover);
    box-shadow: var(--shadow-glow-red);
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-lobster);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0 auto 12px;
}

.step-lobster {
    font-size: 2rem;
    margin-bottom: 8px;
    animation: lobsterBounce 2s ease-in-out infinite;
}

.step-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.step-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
}

.step-tag {
    display: inline-block;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--accent-red-light);
}

.step-connector {
    font-size: 2rem;
    color: var(--accent-red-light);
    animation: arrowPulse 2s ease-in-out infinite;
}

/* ============================================================
   Download
   ============================================================ */
.download {
    background: var(--bg-secondary);
}

.download-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.download-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    transition: all var(--transition-base);
    position: relative;
}

.download-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-color-hover);
    box-shadow: var(--shadow-lg);
}

.download-card.featured {
    border-color: rgba(239, 68, 68, 0.3);
    background: linear-gradient(180deg, rgba(239, 68, 68, 0.06), var(--bg-card));
    transform: scale(1.03);
}

.download-card.featured:hover {
    transform: scale(1.03) translateY(-8px);
    border-color: var(--accent-red);
    box-shadow: 0 0 40px rgba(239, 68, 68, 0.2);
}

.download-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-lobster);
    color: white;
    padding: 6px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: var(--shadow-glow-red);
}

.download-os-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.download-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.download-card > p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.download-features {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.download-features span {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.btn-download {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 16px 24px;
    background: var(--gradient-lobster);
    color: white;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 1rem;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-glow-red);
    margin-bottom: 12px;
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(239, 68, 68, 0.5);
}

.download-icon {
    font-size: 1.2rem;
}

.btn-download small {
    font-size: 0.75rem;
    opacity: 0.8;
    font-weight: 400;
}

.download-hash {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: 'SF Mono', 'Fira Code', monospace;
    word-break: break-all;
}

.download-note {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.download-note code {
    background: rgba(239, 68, 68, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 0.85rem;
    color: var(--accent-red-light);
}

/* ============================================================
   Motto
   ============================================================ */
.motto {
    background: var(--bg-primary);
    padding: 80px 0;
}

.motto-content {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 48px 56px;
}

.motto-lobster {
    flex-shrink: 0;
}

/* Small Lobster Mascot */
.lobster-mascot-small {
    width: 120px;
    height: 160px;
    position: relative;
}

.lobster-body-small {
    position: relative;
    width: 100%;
    height: 100%;
}

.lobster-head-small {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 50px;
    background: linear-gradient(180deg, #ef4444, #dc2626);
    border-radius: 30px 30px 12px 12px;
    z-index: 3;
}

.lobster-eye-small {
    position: absolute;
    width: 10px;
    height: 12px;
    background: white;
    border-radius: 50%;
    top: 14px;
}

.lobster-eye-small::after {
    content: '';
    position: absolute;
    width: 5px;
    height: 6px;
    background: #111;
    border-radius: 50%;
    top: 2px;
    left: 2px;
}

.lobster-eye-small.left { left: 12px; }
.lobster-eye-small.right { right: 12px; }

.lobster-claw-small {
    position: absolute;
    top: 35px;
    width: 20px;
    height: 20px;
    background: var(--accent-red);
    border-radius: 50%;
    z-index: 4;
}

.lobster-claw-small.left { left: 5px; }
.lobster-claw-small.right { right: 5px; }

.lobster-tail-small {
    position: absolute;
    top: 48px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 80px;
    background: linear-gradient(180deg, #dc2626, #b91c1c);
    border-radius: 8px 8px 20px 20px;
    z-index: 1;
}

.motto-text h2 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.motto-text blockquote {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.9;
    border-left: 3px solid var(--accent-red);
    padding-left: 20px;
    font-style: italic;
}

.motto-text blockquote strong {
    color: var(--accent-red-light);
}

.motto-author {
    margin-top: 16px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
    background: var(--bg-secondary);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-base);
}

.faq-item:hover {
    border-color: var(--border-color-hover);
}

.faq-item.active {
    border-color: rgba(239, 68, 68, 0.3);
    box-shadow: var(--shadow-glow-red);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
}

.faq-question span:first-child {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.faq-arrow {
    margin-left: auto;
    transition: transform var(--transition-base);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
    color: var(--accent-red-light);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow), padding var(--transition-base);
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 24px 20px 24px;
    padding-left: 52px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-links h4,
.footer-contact h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-red-light);
}

.footer-contact p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-made {
    margin-top: 6px;
}

/* ============================================================
   Back to Top Button
   ============================================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-lobster);
    color: white;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-glow-red);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 30px rgba(239, 68, 68, 0.5);
}

/* ============================================================
   Scroll Animations
   ============================================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        align-items: center;
    }

    .hero-subtitle {
        max-width: 100%;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
    }

    .lobster-body {
        width: 150px;
        height: 200px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .providers-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .download-cards {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .download-card.featured {
        transform: none;
    }

    .download-card.featured:hover {
        transform: translateY(-8px);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .arch-row-dual {
        grid-template-columns: 1fr;
    }

    .motto-content {
        flex-direction: column;
        text-align: center;
        padding: 36px 28px;
    }

    .motto-text blockquote {
        border-left: none;
        padding-left: 0;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--bg-overlay);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px;
        gap: 4px;
        border-bottom: 1px solid var(--border-color);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all var(--transition-base);
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-links a {
        display: block;
        padding: 12px 16px;
        font-size: 1rem;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-stats {
        gap: 20px;
        flex-wrap: wrap;
    }

    .pain-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .providers-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .install-steps {
        flex-direction: column;
    }

    .step-connector {
        transform: rotate(90deg);
    }

    .step-card {
        width: 100%;
        max-width: 320px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .pain-grid {
        grid-template-columns: 1fr;
    }

    .providers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
