/* Kimi GEO Optimization — English Version
 * Design: Clean light-gray/white base, brand red #991B2D CTAs, Inter font
 * Color philosophy: #F7F7F9 bg, #1A1A2E dark text, #991B2D accent, no blue
 */

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

:root {
  --kimi-dark:    #1A1A2E;
  --kimi-muted:   #6B6B8A;
  --kimi-light:   #F7F7F9;
  --kimi-white:   #FFFFFF;
  --kimi-border:  #E4E4EE;
  --kimi-cta:     #991B2D;
  --kimi-cta-h:   #7A1524;
  --kimi-red-lt:  #FDF2F4;
  --radius:       10px;
  --radius-lg:    16px;
  --ease-out:     cubic-bezier(0.23, 1, 0.32, 1);
}

body {
  font-family: 'Inter', 'Noto Sans TC', system-ui, sans-serif;
  background: var(--kimi-white);
  color: var(--kimi-dark);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* ── SHARED SECTION LABELS ── */
.section-label {
  display: inline-block;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--kimi-cta);
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800; color: var(--kimi-dark);
  line-height: 1.25; margin-bottom: 14px;
}
.section-desc {
  font-size: 1rem; color: var(--kimi-muted);
  max-width: 680px; line-height: 1.7;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--kimi-cta); color: #fff;
  padding: 14px 28px; border-radius: var(--radius);
  font-size: 0.95rem; font-weight: 700;
  transition: background 0.18s var(--ease-out), transform 0.12s var(--ease-out);
}
.btn-primary:hover { background: var(--kimi-cta-h); }
.btn-primary:active { transform: scale(0.97); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--kimi-dark);
  padding: 14px 28px; border-radius: var(--radius);
  border: 1.5px solid var(--kimi-border);
  font-size: 0.95rem; font-weight: 600;
  transition: border-color 0.18s, background 0.18s;
}
.btn-outline:hover { border-color: var(--kimi-dark); background: var(--kimi-light); }

.btn-white {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--kimi-cta);
  padding: 14px 32px; border-radius: var(--radius);
  font-size: 1rem; font-weight: 700;
  transition: background 0.18s, transform 0.12s;
}
.btn-white:hover { background: #f5f5f5; }
.btn-white:active { transform: scale(0.97); }

/* ── BREADCRUMB ── */
.breadcrumb { background: var(--kimi-light); padding: 10px 32px; border-bottom: 1px solid var(--kimi-border); }
.breadcrumb-inner {
  max-width: 1200px; margin: 0 auto;
  font-size: 0.82rem; color: var(--kimi-muted);
  display: flex; align-items: center; gap: 6px;
}
.breadcrumb-inner a { color: var(--kimi-muted); transition: color 0.15s; }
.breadcrumb-inner a:hover { color: var(--kimi-dark); }
.breadcrumb-inner .sep { color: var(--kimi-border); }
.breadcrumb-inner .current { color: var(--kimi-dark); font-weight: 500; }

/* ── HERO ── */
.hero { background: var(--kimi-light); padding: 0; }
.hero-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 3fr 2fr;
  min-height: 560px;
}
.hero-content {
  padding: 64px 48px 64px 32px;
  display: flex; flex-direction: column; justify-content: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--kimi-white); border: 1px solid var(--kimi-border);
  padding: 6px 14px; border-radius: 100px;
  font-size: 0.82rem; font-weight: 600; color: var(--kimi-dark);
  margin-bottom: 24px; width: fit-content;
}
.hero-badge img { width: 18px; height: 18px; object-fit: contain; }
.hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900; line-height: 1.15;
  color: var(--kimi-dark); margin-bottom: 20px;
}
.hero-title .highlight { color: var(--kimi-cta); }
.hero-desc {
  font-size: 1rem; color: var(--kimi-muted);
  line-height: 1.75; margin-bottom: 24px; max-width: 520px;
}
.hero-checklist {
  list-style: none; display: flex; flex-direction: column; gap: 10px;
  margin-bottom: 32px;
}
.hero-checklist li {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.92rem; color: var(--kimi-dark); font-weight: 500;
}
.hero-checklist li::before {
  content: '✓'; display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--kimi-cta); color: #fff;
  font-size: 0.7rem; font-weight: 800; flex-shrink: 0;
}
.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

/* Chat column */
.hero-chat-col {
  background: var(--kimi-light);
  display: flex; align-items: center; justify-content: center;
  padding: 32px 28px;
}
.hero-chat-wrapper {
  width: 100%; max-width: 520px;
  background: var(--kimi-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--kimi-border);
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  overflow: hidden; display: flex; flex-direction: column;
}
.chat-header {
  background: var(--kimi-dark); padding: 20px 24px;
  display: flex; align-items: center; gap: 14px;
}
.chat-header-logo { width: 44px; height: 44px; border-radius: 10px; object-fit: contain; background: #fff; padding: 3px; }
.chat-header-title { font-size: 1.05rem; font-weight: 700; color: #fff; }
.chat-header-sub { font-size: 0.82rem; color: rgba(255,255,255,0.6); }
.chat-body {
  flex: 1; padding: 24px; display: flex; flex-direction: column; gap: 18px;
  background: #FAFAFA; min-height: 340px;
}
.chat-msg-user {
  align-self: flex-end; background: var(--kimi-cta); color: #fff;
  padding: 12px 18px; border-radius: 16px 16px 4px 16px;
  font-size: 0.95rem; max-width: 82%; line-height: 1.5;
}
.chat-msg-ai { display: flex; align-items: flex-start; gap: 10px; }
.chat-ai-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: contain; background: var(--kimi-dark); padding: 5px; flex-shrink: 0; }
.chat-ai-bubble {
  background: var(--kimi-white); border: 1px solid var(--kimi-border);
  padding: 12px 16px; border-radius: 4px 16px 16px 16px;
  font-size: 0.92rem; color: var(--kimi-dark); line-height: 1.6;
  max-width: calc(100% - 52px);
}
.chat-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chat-tag {
  background: var(--kimi-light); border: 1px solid var(--kimi-border);
  padding: 3px 10px; border-radius: 100px;
  font-size: 0.75rem; color: var(--kimi-muted); font-weight: 500;
}
.chat-typing { display: flex; align-items: center; gap: 10px; }
.chat-typing-dots {
  display: flex; gap: 5px; padding: 10px 14px;
  background: var(--kimi-white); border: 1px solid var(--kimi-border);
  border-radius: 4px 14px 14px 14px;
}
.chat-typing-dots span {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--kimi-muted); animation: dot-pulse 1.4s infinite;
}
.chat-typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes dot-pulse {
  0%, 80%, 100% { opacity: 0.3; transform: scale(0.8); }
  40% { opacity: 1; transform: scale(1); }
}

/* ── STATS ── */
.stats { background: var(--kimi-dark); padding: 40px 32px; }
.stats-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.stat-item { text-align: center; }
.stat-num {
  font-size: 2rem; font-weight: 900; color: #fff;
  line-height: 1.1; margin-bottom: 6px;
}
.stat-num span { color: var(--kimi-cta); }
.stat-label { font-size: 0.85rem; color: rgba(255,255,255,0.6); font-weight: 500; }

/* ── DEFINITION ── */
.definition { background: var(--kimi-white); padding: 80px 32px; }
.definition-inner { max-width: 1200px; margin: 0 auto; }
.definition-header { margin-bottom: 48px; }
.definition-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: stretch;
}
.compare-table-wrap {
  overflow-x: auto;
  height: 100%;
  display: flex; flex-direction: column;
}
.compare-table-wrap .compare-table {
  flex: 1;
}
.compare-table {
  width: 100%; border-collapse: collapse;
  font-size: 0.9rem;
}
.compare-table th, .compare-table td {
  padding: 18px 16px; text-align: left;
  border-bottom: 1px solid var(--kimi-border);
}
.compare-table thead tr { background: var(--kimi-light); }
.compare-table th { font-weight: 700; color: var(--kimi-dark); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.05em; }
.compare-table td { color: var(--kimi-muted); }
.compare-table .kimi-col { color: var(--kimi-dark); font-weight: 700; }
.compare-table .kimi-val { color: var(--kimi-dark); font-weight: 600; }
.compare-table tbody tr:hover { background: var(--kimi-light); }
.def-boxes { display: flex; flex-direction: column; gap: 16px; }
.def-box { background: var(--kimi-light); border-radius: var(--radius); padding: 22px 24px; border: 1px solid var(--kimi-border); flex: 1; }
.def-box h4 { font-size: 0.95rem; font-weight: 700; color: var(--kimi-dark); margin-bottom: 8px; }
.def-box p { font-size: 0.88rem; color: var(--kimi-muted); line-height: 1.65; }

/* ── SERVICES ── */
.services { background: var(--kimi-light); padding: 72px 32px; }
.services-inner { max-width: 1200px; margin: 0 auto; }
.services-inner .section-desc { margin-bottom: 48px; }
.services-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.services-list { display: flex; flex-direction: column; gap: 20px; }
.service-row {
  display: flex; align-items: flex-start; gap: 16px;
  background: var(--kimi-white); border-radius: var(--radius);
  padding: 20px; border: 1px solid var(--kimi-border);
  transition: box-shadow 0.2s;
}
.service-row:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.service-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.service-text { flex: 1; }
.service-text h3 { font-size: 0.95rem; font-weight: 700; color: var(--kimi-dark); margin-bottom: 6px; }
.service-text p { font-size: 0.85rem; color: var(--kimi-muted); line-height: 1.6; }
.service-tag {
  background: var(--kimi-red-lt); color: var(--kimi-cta);
  padding: 3px 10px; border-radius: 100px;
  font-size: 0.72rem; font-weight: 700; flex-shrink: 0; margin-top: 4px;
  height: fit-content;
}
.services-image-col {
  position: sticky; top: 200px;
}
.services-image-col .sticky-img-wrap {
  position: sticky;
  top: 80px;
}
.services-image-col img {
  width: 100%; border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  object-fit: contain;
}

/* ── PROCESS ── */
.process { background: var(--kimi-white); padding: 72px 32px; }
.process-inner { max-width: 1200px; margin: 0 auto; }
.process-inner .section-desc { margin-bottom: 48px; }
.process-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.process-steps { display: flex; flex-direction: column; gap: 20px; }
.process-step {
  display: flex; align-items: flex-start; gap: 16px;
}
.step-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--kimi-dark); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 800; flex-shrink: 0;
}
.step-content h3 { font-size: 0.95rem; font-weight: 700; color: var(--kimi-dark); margin-bottom: 4px; }
.step-content p { font-size: 0.85rem; color: var(--kimi-muted); line-height: 1.6; }
.process-image img {
  width: 100%; border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  object-fit: contain;
}

/* ── WHY US ── */
.whyus { background: var(--kimi-light); padding: 72px 32px; }
.whyus-inner { max-width: 1200px; margin: 0 auto; }
.whyus-inner .section-desc { margin-bottom: 48px; }
.whyus-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.whyus-image img {
  width: 100%; border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  object-fit: contain;
}
.whyus-content { display: flex; flex-direction: column; gap: 24px; }
.whyus-point { display: flex; align-items: flex-start; gap: 14px; }
.whyus-icon {
  font-size: 1.4rem; flex-shrink: 0;
  width: 44px; height: 44px;
  background: var(--kimi-white); border-radius: var(--radius);
  border: 1px solid var(--kimi-border);
  display: flex; align-items: center; justify-content: center;
}
.whyus-text h3 { font-size: 0.95rem; font-weight: 700; color: var(--kimi-dark); margin-bottom: 4px; }
.whyus-text p { font-size: 0.85rem; color: var(--kimi-muted); line-height: 1.6; }

/* ── FAQ ── */
.faq { background: var(--kimi-white); padding: 72px 32px; }
.faq-inner { max-width: 1200px; margin: 0 auto; }
.faq-inner .section-title { margin-bottom: 40px; }
.faq-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start;
}
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item { border-bottom: 1px solid var(--kimi-border); }
.faq-item:first-child { border-top: 1px solid var(--kimi-border); }
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0; cursor: pointer;
  transition: background 0.15s;
}
.faq-question:hover { background: var(--kimi-light); }
.faq-question h3 { font-size: 0.95rem; font-weight: 600; color: var(--kimi-dark); padding-right: 16px; }
.faq-toggle {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--kimi-light); border: 1px solid var(--kimi-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--kimi-muted); flex-shrink: 0;
  transition: background 0.15s, color 0.15s;
}
.faq-answer {
  font-size: 0.88rem; color: var(--kimi-muted); line-height: 1.7;
  max-height: 0; overflow: hidden; transition: max-height 0.3s var(--ease-out), padding 0.3s;
}
.faq-item.active .faq-answer { max-height: 300px; padding-bottom: 18px; }
.faq-item.active .faq-question { background: var(--kimi-light); }
.faq-item.active .faq-toggle { background: var(--kimi-dark); color: #fff; border-color: var(--kimi-dark); }
.faq-right { display: flex; flex-direction: column; gap: 24px; }
.faq-image img {
  width: 100%; border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  object-fit: contain;
}
.faq-cta-box {
  background: var(--kimi-dark); border-radius: var(--radius-lg);
  padding: 28px 24px;
}
.faq-cta-box p { font-size: 0.9rem; color: rgba(255,255,255,0.75); margin-bottom: 16px; line-height: 1.6; }

/* ── CTA BAND ── */
.cta-band { background: var(--kimi-cta); padding: 64px 32px; }
.cta-band-inner {
  max-width: 720px; margin: 0 auto; text-align: center;
}
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; color: #fff; margin-bottom: 14px; }
.cta-band p { font-size: 1rem; color: rgba(255,255,255,0.85); margin-bottom: 28px; line-height: 1.7; }
/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-chat-col { border-left: none; border-top: 1px solid var(--kimi-border); padding: 32px 24px; }
  .definition-layout, .services-layout, .process-layout,
  .whyus-layout, .faq-layout { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .hero-content { padding: 40px 20px; }
}


/* ------------------------------------------------------------
   以下自 kimi-optimization.html 的内联 <style> 外移
   ------------------------------------------------------------ */
/* 布局顶部固定导航条 (#navbar) 浮于内容之上，本页首屏第一块是面包屑，给它留出顶部间距 */
.breadcrumb { padding-top: 96px; }
@media (max-width: 768px) { .breadcrumb { padding-top: 80px; } }

/* 布局的一级导航链接带 .text-white，但导航条底色是白色 */
#navbar .text-white { color: #000000; }
#navbar a.bg-primary { color: #ffffff !important; }
