/* =========================================================
   Artsmcp / Artsapi Official Engine & Responsive Styling
   Shadcn Premium Dark Aesthetic - Neutral Neutral Borders & Blue Gradient Buttons
   ========================================================= */

:root {
  --background: #09090b;
  --background-secondary: #121215;
  --foreground: #ffffff;
  
  --card: #141417;
  --card-foreground: #ffffff;
  --card-hover: #1b1b20;
  --card-border: rgba(255, 255, 255, 0.12);
  
  --primary-blue: #3b82f6;
  --primary-blue-hover: #60a5fa;
  --primary-blue-glow: rgba(59, 130, 246, 0.45);

  --primary-gold: #3b82f6;
  --primary-gold-hover: #60a5fa;

  --secondary: #242429;
  --muted-foreground: #a1a1aa;
  --border: rgba(255, 255, 255, 0.12);
  
  --radius: 0.75rem;
  --radius-sm: 0.5rem;
  --radius-lg: 1.25rem;
  --radius-full: 9999px;

  --transition-fast: 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  color-scheme: dark;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  position: relative;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; background: none; border: none; outline: none; }
button { cursor: pointer; }

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

/* Header Navbar - Zero Line Pure Engine */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0; z-index: 100; width: 100%; height: 72px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0) 100%);
  display: flex; align-items: center;
  border: none !important;
  border-bottom: none !important;
  outline: none !important;
  box-shadow: none !important;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  transition: background-color 0.25s ease,
              backdrop-filter 0.25s ease,
              -webkit-backdrop-filter 0.25s ease,
              box-shadow 0.25s ease,
              height 0.25s ease;
}

.site-header.scrolled-sticky {
  background: rgba(9, 9, 11, 0.88);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  height: 66px;
}

.nav-flex-container { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.header-left-group { display: flex; align-items: center; gap: 2.25rem; }

.artsmcp-logo { display: flex; align-items: center; gap: 0.5rem; font-weight: 800; font-size: 1.4rem; color: #ffffff; }
.artsmcp-logo-triangle { width: 26px; height: 26px; fill: #3b82f6; flex-shrink: 0; }
.artsmcp-logo-img { height: 28px; width: auto; object-fit: contain; flex-shrink: 0; }
.artsmcp-logo-text {
  color: #ffffff;
  font-weight: 800; letter-spacing: -0.03em;
}

.nav-menu-left { display: flex; align-items: center; gap: 1.35rem; list-style: none; }
.nav-item { position: relative; }

.nav-link {
  font-size: 0.875rem; font-weight: 500; color: rgba(255, 255, 255, 0.9); transition: color var(--transition-fast);
  display: flex; align-items: center; gap: 0.3rem; padding: 0.5rem 0;
}

.nav-link:hover { color: #ffffff; }

.chevron-icon { width: 14px; height: 14px; opacity: 0.7; transition: transform var(--transition-fast); }
.nav-item:hover .chevron-icon { transform: rotate(180deg); opacity: 1; color: #ffffff; }
.nav-divider { width: 1px; height: 16px; background: rgba(255, 255, 255, 0.15); margin: 0 0.1rem; }

.dropdown-card {
  position: absolute; top: 100%; left: -0.5rem; margin-top: 0.5rem; width: 230px;
  background: rgba(18, 18, 23, 0.95); backdrop-filter: blur(20px); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 0.6rem; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: all var(--transition-fast); pointer-events: none; z-index: 120;
}

.nav-item:hover .dropdown-card { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }

.dropdown-link {
  display: flex; align-items: center; gap: 0.75rem; padding: 0.55rem 0.75rem; border-radius: var(--radius-sm);
  font-size: 0.85rem; font-weight: 500; color: var(--muted-foreground); transition: all var(--transition-fast);
}

.dropdown-link:hover { background: rgba(255, 255, 255, 0.08); color: #ffffff; }
.header-right-group { display: flex; align-items: center; gap: 1rem; }
.header-right-menu { display: flex; align-items: center; gap: 1.4rem; list-style: none; }

/* 蓝色渐变胶囊按钮 (Blue Gradient Pill Button) */
.btn-gold-pill, .btn-blue-pill {
  display: inline-flex; align-items: center; justify-content: center; padding: 0.65rem 1.6rem; font-size: 0.9rem; font-weight: 700;
  border-radius: var(--radius-full); text-decoration: none;
  background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  color: #ffffff; box-shadow: 0 1px 12px -3px rgba(147, 197, 253, 0.5) inset, 0 4px 24px rgba(37, 99, 235, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.25); transition: all var(--transition-fast); white-space: nowrap;
}

.btn-gold-pill:hover, .btn-blue-pill:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 1px 16px rgba(191, 219, 254, 0.7) inset, 0 6px 32px rgba(6, 182, 212, 0.6);
  background: linear-gradient(135deg, #3b82f6 0%, #22d3ee 100%);
}

/* Mobile Hamburger Button */
.mobile-menu-toggle {
  display: none;
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff; align-items: center; justify-content: center;
  transition: all var(--transition-fast);
}

.mobile-menu-toggle:active { transform: scale(0.95); background: rgba(255, 255, 255, 0.2); }

/* Mobile Drawer Overlay & Container */
.mobile-drawer-overlay {
  position: fixed; inset: 0; background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(8px);
  z-index: 150; opacity: 0; visibility: hidden; transition: all 0.3s ease;
}

.mobile-drawer-overlay.active { opacity: 1; visibility: visible; }

.mobile-drawer-menu {
  position: fixed; top: 0; right: 0; width: 85%; max-width: 320px; height: 100%;
  background: rgba(15, 15, 18, 0.96); backdrop-filter: blur(28px); border-left: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 160; transform: translateX(100%); transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex; flex-direction: column; justify-content: space-between; padding: 1.5rem;
}

.mobile-drawer-menu.active { transform: translateX(0); }

.mobile-drawer-header { display: flex; align-items: center; justify-content: space-between; padding-bottom: 1.25rem; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.mobile-drawer-close { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.08); color: #fff; display: flex; align-items: center; justify-content: center; }

.mobile-nav-list { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; margin-top: 1.25rem; overflow-y: auto; }
.mobile-nav-link { display: flex; align-items: center; gap: 0.85rem; padding: 0.75rem 1rem; border-radius: var(--radius-sm); color: rgba(255, 255, 255, 0.9); font-size: 0.95rem; font-weight: 500; transition: background 0.2s; }
.mobile-nav-link:hover, .mobile-nav-link:active { background: rgba(255, 255, 255, 0.1); color: #60a5fa; }
.mobile-drawer-footer { padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.1); }

/* Fullscreen Background Video Hero Section */
.hero-video-section {
  position: relative; width: 100%; min-height: 60vh; display: flex; flex-direction: column; justify-content: center; align-items: center; overflow: hidden; padding: 6.0rem 1rem 2.0rem;
}

.bg-video-wrap { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; overflow: hidden; }
.bg-video-element { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.75) contrast(1.05); }
.bg-video-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.65) 0%, rgba(9,9,11,0.2) 50%, rgba(9,9,11,0.98) 100%); z-index: 1; }

.hero-main-container { position: relative; z-index: 10; text-align: center; max-width: 980px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; width: 100%; }

.hero-slider-wrap {
  position: relative; width: 100%; min-height: 185px; display: flex; justify-content: center; align-items: center;
}

.hero-slide {
  position: absolute; top: 0; left: 0; width: 100%; opacity: 0; transform: translateY(18px) scale(0.98);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none; visibility: hidden;
}

.hero-slide.active {
  position: relative; opacity: 1; transform: translateY(0) scale(1);
  pointer-events: auto; visibility: visible;
}

.hero-serif-title {
  font-family: 'Playfair Display', 'Georgia', serif; font-size: 4.85rem; font-weight: 400; letter-spacing: -0.055em; color: #ffffff; line-height: 1.05; margin-bottom: 1.25rem;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.6); word-break: break-word;
}

.hero-serif-subtitle { font-size: 1.15rem; color: rgba(255, 255, 255, 0.88); line-height: 1.6; max-width: 730px; margin: 0 auto 0.75rem; text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8); }

/* Slide Indicators Dots */
.hero-slider-dots {
  display: flex; align-items: center; justify-content: center; gap: 0.55rem; margin: 0.5rem 0 2.45rem; z-index: 10;
}

.hero-dot {
  width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.3); cursor: pointer;
  transition: all 0.35s ease;
}

.hero-dot.active {
  width: 28px; border-radius: 10px; background: var(--primary-blue, #3b82f6);
  box-shadow: 0 0 14px rgba(59, 130, 246, 0.65);
}

.hero-dot:hover:not(.active) { background: rgba(255, 255, 255, 0.65); }

/* AI Models Liquid Glassmorphism Pill Bar (灰度半透明边框) */
.ai-models-pill-bar {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.85rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.75rem 2.25rem;
  border-radius: var(--radius-full);
  margin-top: 2.375rem;
  flex-wrap: nowrap;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.45), inset 0 1px 1.5px rgba(255, 255, 255, 0.4);
  max-width: 100%;
}

.model-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
  cursor: default;
}

.model-item:hover { transform: translateY(-1px); opacity: 1; }
.model-svg-icon { width: 17px; height: 17px; fill: currentColor; flex-shrink: 0; color: #ffffff; }

/* AI Toolkit Section */
.ai-toolkit-section { padding: 3.5rem 0 3rem; background: #09090b; }
.ai-toolkit-header { text-align: center; max-width: 760px; margin: 0 auto 3rem; display: flex; flex-direction: column; align-items: center; }
.ai-toolkit-title { font-family: 'Playfair Display', 'Georgia', serif; font-size: 4rem; font-weight: 400; color: #ffffff; margin-bottom: 0.75rem; }
.ai-toolkit-subtitle { font-size: 1.1rem; color: rgba(255, 255, 255, 0.8); margin-bottom: 1.5rem; }

/* 透明毛玻璃 Base URL 包含框与复制按钮 */
.base-url-glass-pill {
  display: inline-flex; align-items: center; gap: 1.1rem;
  background: rgba(255, 255, 255, 0.08); backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.2); padding: 0.55rem 0.75rem 0.55rem 1.6rem;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.3);
  transition: all var(--transition-fast);
}

.base-url-glass-pill:hover {
  border-color: rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55), inset 0 1px 1px rgba(255, 255, 255, 0.4);
}

.base-url-text { font-size: 0.95rem; font-weight: 500; color: rgba(255, 255, 255, 0.92); display: flex; align-items: center; gap: 0.35rem; }
.base-url-code { font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace; color: #ffffff; font-weight: 600; }

.base-url-copy-btn {
  display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.48rem 1.15rem; font-size: 0.85rem; font-weight: 600;
  border-radius: var(--radius-full); background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25); color: #ffffff; cursor: pointer; transition: all var(--transition-fast);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); white-space: nowrap;
}

.base-url-copy-btn:hover {
  background: rgba(255, 255, 255, 0.22); border-color: rgba(255, 255, 255, 0.45); transform: scale(1.04);
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.2);
}

.base-url-copy-btn .lucide { width: 14px; height: 14px; }

.ai-cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-bottom: 2rem; position: relative; z-index: 5; }

/* AI 核心卡片 (灰度边框) */
.ai-feature-card {
  background: rgba(20, 20, 25, 0.85); backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.25rem; padding: 1.75rem 1.5rem 1.5rem; display: flex; flex-direction: column; justify-content: space-between; min-height: 240px; transition: all var(--transition-fast);
}

.ai-feature-card:hover { border-color: rgba(255, 255, 255, 0.28); transform: translateY(-4px); background: rgba(25, 25, 32, 0.95); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5); }
.ai-card-icon { width: 22px; height: 22px; color: #ffffff; margin-bottom: 1rem; }
.ai-card-name { font-size: 1.4rem; font-weight: 700; color: #ffffff; margin-bottom: 0.5rem; }
.ai-card-desc { font-size: 0.875rem; color: rgba(255, 255, 255, 0.7); line-height: 1.5; margin-bottom: 2rem; }
.ai-card-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 1rem; }

.learn-more-link { font-size: 0.85rem; font-weight: 500; color: rgba(255, 255, 255, 0.9); text-decoration: underline; text-underline-offset: 4px; transition: color 0.15s; }
.learn-more-link:hover { color: #ffffff; }

/* 蓝色渐变体验按钮 */
.btn-try-now {
  padding: 0.45rem 1.1rem; font-size: 0.825rem; font-weight: 600; border-radius: var(--radius-full); text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%); color: #ffffff; border: 1px solid rgba(255, 255, 255, 0.25); transition: all var(--transition-fast);
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.35);
}
.btn-try-now:hover { background: linear-gradient(135deg, #3b82f6 0%, #22d3ee 100%); transform: scale(1.04); box-shadow: 0 4px 15px rgba(6, 182, 212, 0.5); }

/* 展示区域灰度边框 */
.prompt-showcase-container {
  position: relative; width: 100%; height: 480px; border-radius: 1.5rem; overflow: hidden; margin-top: -3.5rem; z-index: 1; border: 1px solid rgba(255, 255, 255, 0.15); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

.prompt-showcase-bg { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.85) contrast(1.05); }

.prompt-bar-wrapper {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); width: 90%; max-width: 620px;
  background: rgba(20, 20, 25, 0.85); backdrop-filter: blur(24px); border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-full); padding: 0.5rem 0.6rem 0.5rem 1.5rem; display: flex; align-items: center; justify-content: space-between;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

.prompt-input-text { font-size: 0.925rem; color: rgba(255, 255, 255, 0.95); display: flex; align-items: center; gap: 2px; }

.typing-cursor {
  display: inline-block; width: 2px; height: 1.1rem; background: #ffffff; margin-left: 2px; animation: blinkCursor 0.9s infinite;
}

@keyframes blinkCursor { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.btn-prompt-send { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%); color: #ffffff; display: flex; align-items: center; justify-content: center; transition: all var(--transition-fast); flex-shrink: 0; box-shadow: 0 2px 10px rgba(37, 99, 235, 0.4); }
.btn-prompt-send:hover { transform: scale(1.08); box-shadow: 0 4px 15px rgba(6, 182, 212, 0.6); }

/* Artsmcp / Artsapi x Claude MCP Section (灰度边框) */
.artsmcp-mcp-section { padding: 6rem 0; background: #060608; position: relative; }
.mcp-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 4.5rem; align-items: center; }
.mcp-brand-cross { display: flex; align-items: center; gap: 0.65rem; margin-bottom: 2rem; }
.mcp-brand-artsmcp { font-size: 1.6rem; font-weight: 800; color: #ffffff; }
.mcp-cross-icon { color: rgba(255, 255, 255, 0.35); font-size: 1rem; }
.mcp-brand-claude { display: flex; align-items: center; gap: 0.4rem; font-family: 'Playfair Display', 'Georgia', serif; font-size: 1.65rem; font-weight: 600; color: #ffffff; }
.claude-star-icon { width: 22px; height: 22px; fill: #e05e38; }

.mcp-main-title { font-size: 3.25rem; font-weight: 700; line-height: 1.12; letter-spacing: -0.035em; color: #ffffff; margin-bottom: 1.25rem; }
.mcp-subtitle { font-size: 1.05rem; color: rgba(255, 255, 255, 0.7); line-height: 1.6; margin-bottom: 2.25rem; max-width: 500px; }

.claude-ui-card { background: rgba(18, 18, 22, 0.95); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 1.5rem; padding: 1.75rem; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7); }
.claude-card-top { display: flex; justify-content: flex-end; margin-bottom: 1rem; }
.user-bubble { background: #18181c; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 12px; padding: 0.65rem 1.25rem; font-size: 0.9rem; color: #ffffff; display: flex; align-items: center; gap: 0.85rem; }
.user-avatar-small { width: 28px; height: 28px; border-radius: 6px; object-fit: cover; }

.mcp-meta-row { display: flex; align-items: center; gap: 0.65rem; margin-bottom: 1.25rem; font-size: 0.8rem; color: rgba(255, 255, 255, 0.6); }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: #4ade80; display: inline-block; }
.aspect-tag { background: rgba(255, 255, 255, 0.06); padding: 0.15rem 0.5rem; border-radius: 4px; border: 1px solid rgba(255, 255, 255, 0.08); }

.claude-gen-grid { display: grid; grid-template-columns: 1.4fr 1fr 0.8fr; gap: 0.85rem; margin-bottom: 1.25rem; }
.claude-gen-item { position: relative; border-radius: 0.85rem; overflow: hidden; aspect-ratio: 4/3; background: var(--card); }
.claude-gen-img { width: 100%; height: 100%; object-fit: cover; }

.claude-action-pills { position: absolute; bottom: 0.6rem; left: 0.6rem; display: flex; align-items: center; gap: 0.35rem; flex-wrap: wrap; }
.action-pill { font-size: 0.7rem; font-weight: 600; padding: 0.2rem 0.55rem; border-radius: var(--radius-full); background: rgba(0, 0, 0, 0.65); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, 0.15); color: #ffffff; display: flex; align-items: center; gap: 0.25rem; }

.claude-reply-text { font-size: 0.875rem; color: rgba(255, 255, 255, 0.85); margin-bottom: 1.25rem; line-height: 1.5; }
.claude-card-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 0.85rem; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.claude-star-bottom { width: 20px; height: 20px; fill: #e05e38; }
.feedback-icons { display: flex; align-items: center; gap: 0.85rem; color: rgba(255, 255, 255, 0.4); font-size: 0.85rem; }

/* Explore Apps Carousel (灰度边框) */
.explore-apps-section { padding: 5rem 0; background: #09090b; position: relative; overflow-x: hidden; }
.apps-header-row { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 2.25rem; }
.apps-title { font-size: 1.85rem; font-weight: 700; letter-spacing: -0.02em; color: #ffffff; margin-bottom: 0.35rem; }
.apps-subtitle { font-size: 0.95rem; color: rgba(255, 255, 255, 0.7); }
.see-all-link { font-size: 0.9rem; font-weight: 600; color: #ffffff; display: flex; align-items: center; gap: 0.35rem; white-space: nowrap; }
.see-all-link:hover { opacity: 0.8; }

.apps-carousel-wrapper { position: relative; width: 100vw; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; }
.apps-carousel-track { display: flex; gap: 1.35rem; overflow-x: auto; scroll-behavior: smooth; padding-bottom: 1.25rem; padding-left: 0px !important; padding-right: 2rem !important; scrollbar-width: none; -ms-overflow-style: none; }
.apps-carousel-track::-webkit-scrollbar { display: none; }

.app-card { flex: 0 0 295px; height: 385px; position: relative; border-radius: 1.25rem; overflow: hidden; background: rgba(20, 20, 25, 0.9); border: 1px solid rgba(255, 255, 255, 0.12); cursor: pointer; scroll-snap-align: start; transition: transform var(--transition-normal), border-color var(--transition-normal); }
.app-card:first-child { margin-left: 0 !important; }
.app-card:hover { transform: translateY(-5px); border-color: rgba(255, 255, 255, 0.32); box-shadow: 0 12px 35px rgba(0,0,0,0.7); }
.app-card-thumb { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-normal); }
.app-card:hover .app-card-thumb { transform: scale(1.06); }
.app-card-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.1) 30%, rgba(9, 9, 11, 0.96) 100%); display: flex; flex-direction: column; justify-content: space-between; padding: 1.25rem 1.5rem 1.5rem; }

.app-card-top-tags { display: flex; align-items: center; justify-content: space-between; }
.app-tag-pill { font-size: 0.725rem; font-weight: 600; padding: 0.2rem 0.6rem; border-radius: var(--radius-full); background: rgba(0, 0, 0, 0.65); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.15); color: #ffffff; }
.app-rating-pill { font-size: 0.725rem; font-weight: 600; padding: 0.2rem 0.55rem; border-radius: var(--radius-full); background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.18); color: #ffffff; display: flex; align-items: center; gap: 0.25rem; }

.app-card-title { font-size: 1.25rem; font-weight: 700; color: #ffffff; margin-bottom: 0.35rem; line-height: 1.2; }
.app-card-desc { font-size: 0.85rem; color: rgba(255, 255, 255, 0.75); line-height: 1.45; }

.carousel-btn-prev, .carousel-btn-next { position: absolute !important; top: 50% !important; transform: translateY(-50%) !important; width: 48px !important; height: 48px !important; border-radius: 50% !important; background: rgba(18, 20, 26, 0.92) !important; backdrop-filter: blur(16px) !important; border: 1px solid rgba(255, 255, 255, 0.25) !important; color: #ffffff !important; display: flex !important; align-items: center !important; justify-content: center !important; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8) !important; z-index: 99 !important; transition: all var(--transition-fast) !important; }
.carousel-btn-prev { left: 1rem !important; right: auto !important; }
.carousel-btn-next { right: 1rem !important; left: auto !important; }
.carousel-btn-prev:hover, .carousel-btn-next:hover { background: #ffffff !important; color: #0d0d0d !important; border-color: #ffffff !important; transform: translateY(-50%) scale(1.1) !important; }

/* Developer API Section (灰度边框) */
.api-playground-section { padding: 3.5rem 0; background: #0d0e12; border-top: 1px solid rgba(255, 255, 255, 0.08); border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.api-playground-header { text-align: center; max-width: 600px; margin: 0 auto 2rem; display: flex; flex-direction: column; align-items: center; }
.api-badge { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.3rem 0.8rem; border-radius: var(--radius-full); background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.15); color: #ffffff; font-size: 0.75rem; font-weight: 600; margin-bottom: 1rem; }
.badge-icon { width: 13px; height: 13px; }
.api-title { font-family: 'Playfair Display', 'Georgia', serif; font-size: 2.25rem; font-weight: 400; color: #ffffff; margin-bottom: 0.5rem; }
.api-subtitle { font-size: 0.925rem; color: var(--muted-foreground); line-height: 1.5; }

.code-terminal-card { max-width: 660px; margin: 0 auto; background: #11141a; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--radius-lg); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6); overflow: hidden; }
.terminal-header { display: flex; align-items: center; justify-content: space-between; padding: 0.65rem 1rem; background: #171b24; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.terminal-dots { display: flex; align-items: center; gap: 0.45rem; width: 70px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.terminal-tabs { display: flex; align-items: center; gap: 0.25rem; background: #0d1017; padding: 0.2rem; border-radius: var(--radius-sm); border: 1px solid rgba(255, 255, 255, 0.06); }
.code-tab { padding: 0.35rem 0.8rem; font-size: 0.775rem; font-weight: 500; color: var(--muted-foreground); border-radius: calc(var(--radius-sm) - 2px); transition: all var(--transition-fast); }
.code-tab:hover { color: #ffffff; }
/* 代码块 Tab 激活态使用蓝色渐变 */
.code-tab.active { background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%); color: #ffffff; font-weight: 600; box-shadow: 0 2px 8px rgba(37, 99, 235, 0.4); }

.btn-copy-code { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.35rem 0.75rem; font-size: 0.75rem; font-weight: 500; color: var(--muted-foreground); background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--radius-sm); transition: all var(--transition-fast); }
.btn-copy-code:hover { background: rgba(255, 255, 255, 0.12); color: #ffffff; }
.btn-copy-code.copied { background: rgba(34, 197, 94, 0.2); color: #4ade80; border-color: rgba(34, 197, 94, 0.4); }
.copy-icon { width: 13px; height: 13px; }

.terminal-body { position: relative; padding: 1.15rem; background: #0d1017; overflow-x: auto; }
.code-block { display: none; font-family: 'JetBrains Mono', 'Fira Code', 'Menlo', 'Consolas', monospace; font-size: 0.825rem; line-height: 1.55; color: #e2e8f0; white-space: pre; tab-size: 2; margin: 0; }
.code-block.active { display: block; }

.syn-kw { color: #ff79c6; font-weight: 600; }
.syn-var { color: #f8f8f2; }
.syn-func { color: #50fa7b; }
.syn-str { color: #f1fa8c; }
.syn-prop { color: #ffb86c; }
.syn-num { color: #bd93f9; }
.syn-bool { color: #bd93f9; font-weight: 600; }

/* Footer */
.site-footer { background: #000000; color: #ffffff; padding: 5.5rem 0 2.5rem; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.footer-top-grid { display: flex; justify-content: space-between; gap: 4rem; }
.footer-brand-col { flex: 0 0 380px; max-width: 400px; }
.footer-brand-title { font-size: 2.2rem; font-weight: 800; letter-spacing: -0.04em; color: #ffffff; margin-bottom: 0.65rem; }
.footer-brand-tagline { font-size: 0.95rem; font-weight: 700; color: rgba(255, 255, 255, 0.9); margin-bottom: 1.25rem; }
.footer-brand-desc { font-size: 0.84rem; color: rgba(255, 255, 255, 0.55); line-height: 1.65; }

.footer-nav-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3rem; flex: 1; }
.footer-link-group { margin-bottom: 2.25rem; }
.footer-link-group:last-child { margin-bottom: 0; }
.footer-group-heading { font-size: 0.875rem; font-weight: 700; color: #ffffff; margin-bottom: 1.15rem; letter-spacing: 0.01em; }
.footer-link-list { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.footer-link-item a { font-size: 0.825rem; color: rgba(255, 255, 255, 0.6); transition: color var(--transition-fast); line-height: 1.3; }
.footer-link-item a:hover { color: #ffffff; }

.footer-bottom-bar { margin-top: 4.5rem; padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, 0.08); display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.footer-social-icons { display: flex; align-items: center; gap: 1.4rem; }
.social-icon-link { color: rgba(255, 255, 255, 0.7); transition: all var(--transition-fast); display: flex; align-items: center; justify-content: center; }
.social-icon-link:hover { color: #ffffff; transform: translateY(-2px); }
.footer-legal-links { display: flex; align-items: center; gap: 2.25rem; font-size: 0.8rem; color: rgba(255, 255, 255, 0.5); flex-wrap: wrap; }
.legal-item a { color: rgba(255, 255, 255, 0.5); transition: color var(--transition-fast); }
.legal-item a:hover { color: rgba(255, 255, 255, 0.9); }

.toast-msg {
  position: fixed; top: 85px; right: 24px; background: rgba(18, 18, 23, 0.95); backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, 0.15); color: var(--foreground); padding: 0.85rem 1.35rem; border-radius: var(--radius-sm); box-shadow: 0 12px 35px rgba(0,0,0,0.6); z-index: 200; display: flex; align-items: center; gap: 0.75rem; font-size: 0.875rem; font-weight: 600;
}

/* =========================================================
   全套移动端与小屏幕自适应兼容样式 (Mobile Responsiveness)
   ========================================================= */

@media (max-width: 1024px) {
  .desktop-only-menu { display: none !important; }
  .mobile-menu-toggle { display: flex !important; }
  
  .hero-serif-title { font-size: 3.4rem; }
  .ai-cards-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .mcp-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-top-grid { flex-direction: column; gap: 3rem; }
  .footer-brand-col { max-width: 100%; flex: 1; }
  .footer-nav-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .carousel-btn-prev, .carousel-btn-next { display: none !important; }
}

@media (max-width: 768px) {
  .container { padding: 0 1.15rem; }
  .site-header { height: 64px; }
  
  .btn-gold-pill, .btn-blue-pill { padding: 0.5rem 1.15rem; font-size: 0.825rem; }

  .hero-video-section { padding: 5.2rem 0.85rem 1.8rem; min-height: 56vh; }
  .hero-serif-title { font-size: 2.35rem; line-height: 1.15; margin-bottom: 1rem; }
  .hero-serif-subtitle { font-size: 0.95rem; line-height: 1.5; margin-bottom: 1.75rem; }
  
  .ai-models-pill-bar {
    margin-top: 2.125rem;
    padding: 0.6rem 1.25rem;
    gap: 1.25rem;
    overflow-x: auto;
    justify-content: flex-start;
    border-radius: 1.25rem;
    max-width: 100%;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .ai-models-pill-bar::-webkit-scrollbar { display: none; }

  .ai-toolkit-section { padding: 2.8rem 0 2rem; }
  .ai-toolkit-title { font-size: 2.35rem; }
  .ai-toolkit-subtitle { font-size: 0.95rem; margin-bottom: 1.25rem; }
  
  .ai-cards-grid { grid-template-columns: 1fr; gap: 1rem; }
  .ai-feature-card { padding: 1.35rem; min-height: auto; }

  .prompt-showcase-container { height: 320px; margin-top: 0; border-radius: 1rem; }
  .prompt-bar-wrapper { width: 92%; padding: 0.4rem 0.5rem 0.4rem 1.1rem; bottom: 1.25rem; }
  .prompt-input-text { font-size: 0.825rem; }

  .artsmcp-mcp-section { padding: 3.5rem 0; }
  .mcp-main-title { font-size: 2.15rem; line-height: 1.2; }
  .mcp-subtitle { font-size: 0.925rem; }
  
  .claude-ui-card { padding: 1.15rem; border-radius: 1rem; }
  .claude-gen-grid { grid-template-columns: 1fr; gap: 0.75rem; }
  .user-bubble { font-size: 0.825rem; padding: 0.5rem 0.85rem; }

  .api-playground-section { padding: 2.5rem 0; }
  .api-title { font-size: 1.85rem; }
  .code-terminal-card { margin: 0; border-radius: 0.85rem; }
  .terminal-header { flex-direction: column; gap: 0.65rem; align-items: flex-start; }
  .terminal-dots { display: none; }
  .terminal-tabs { width: 100%; justify-content: flex-start; overflow-x: auto; }
  .code-tab { font-size: 0.725rem; padding: 0.35rem 0.65rem; }

  .explore-apps-section { padding: 3.5rem 0; }
  .apps-header-row { flex-direction: column; align-items: flex-start; gap: 0.75rem; margin-bottom: 1.5rem; }
  .apps-title { font-size: 1.6rem; }
  .apps-subtitle { font-size: 0.875rem; }
  
  .apps-carousel-track {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    gap: 1rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .app-card { flex: 0 0 240px; height: 330px; scroll-snap-align: center; }

  .site-footer { padding: 3.5rem 0 2rem; }
  .footer-brand-title { font-size: 1.8rem; }
  .footer-nav-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom-bar { flex-direction: column; align-items: center; text-align: center; gap: 1.35rem; margin-top: 2.5rem; padding-top: 1.5rem; }
  .footer-social-icons { justify-content: center; gap: 1.15rem; }
  .footer-legal-links { justify-content: center; gap: 1rem; font-size: 0.75rem; text-align: center; }
}

@media (max-width: 480px) {
  .hero-serif-title { font-size: 2.05rem; }
  .btn-gold-pill, .btn-blue-pill { font-size: 0.8rem; padding: 0.45rem 0.95rem; }
  .artsmcp-logo-text { font-size: 1.25rem; }
}
