/* ============================================
   AI KAN ROBOT — "Warm Paper Editorial"
   爱看机器人 · 智见新未来
   Awwwards-style unique design system
   ============================================ */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  overflow-x: hidden;
  background-color: #F7F4EF;
  color: #1E1B16;
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: #F2C14E;
  color: #1E1B16;
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #F0EDE6;
}
::-webkit-scrollbar-thumb {
  background: #2F6B5F;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: #E85D3D;
}

/* 核心布局 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section:nth-child(even) {
  background: #F0EDE6;
}

/* 导航 — 固定顶部 */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(247, 244, 239, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid #E4DFD6;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 1.25rem;
  text-decoration: none;
  color: #1E1B16;
  letter-spacing: -0.02em;
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 14px 14px 14px 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  background: linear-gradient(135deg, #E85D3D, #F2C14E);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 4px 14px rgba(232, 93, 61, 0.35);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  color: #4A4640;
  transition: 0.3s;
  position: relative;
}

.main-nav a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: #E85D3D;
  transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.main-nav a:hover:not(.nav-cta)::after {
  width: 100%;
}

.main-nav a:hover:not(.nav-cta) {
  color: #E85D3D;
}

.nav-cta {
  padding: 10px 24px;
  border-radius: 999px;
  color: #fff !important;
  font-weight: 700;
  background: #2F6B5F;
  box-shadow: 0 4px 14px rgba(47, 107, 95, 0.3);
  transition: 0.3s ease;
}

.nav-cta:hover {
  background: #E85D3D;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(232, 93, 61, 0.35);
}

.nav-cta::after {
  display: none !important;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1.5px solid #E4DFD6;
  background: #fff;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  cursor: pointer;
  color: #1E1B16;
}

/* ===== 首页 Hero ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
  padding-top: 120px;
  padding-bottom: 40px;
  position: relative;
  background:
    radial-gradient(circle at 85% 20%, rgba(242, 193, 78, 0.22) 0%, transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(47, 107, 95, 0.16) 0%, transparent 35%);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(30, 27, 22, 0.07) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
}

.hero-content {
  max-width: 760px;
  flex: 1;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 28px;
  background: #F2C14E;
  color: #1E1B16;
}

.hero h1 {
  font-size: 2.8rem;
  line-height: 1.1;
  margin-bottom: 20px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.hero h1 .text-accent {
  color: #E85D3D;
  position: relative;
  display: inline-block;
}

.hero h1 .text-accent::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 12px;
  background: rgba(242, 193, 78, 0.45);
  z-index: -1;
}

.hero p {
  font-size: 1.15rem;
  opacity: 0.7;
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.9;
}

.hero-buttons {
  display: flex;
  gap: 14px;
}

.hero-image {
  position: relative;
  flex-shrink: 0;
  width: 440px;
  height: 540px;
  border-radius: 999px 999px 28px 28px;
  overflow: hidden;
  border: 10px solid #fff;
  box-shadow: 18px 18px 0 rgba(232, 93, 61, 0.12);
  animation: float-bob 5s ease-in-out infinite;
}

.hero-image::after {
  content: '🤖';
  position: absolute;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #F2C14E;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@keyframes float-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* 旋转徽章 */
.rotate-badge {
  position: absolute;
  top: -30px;
  right: -30px;
  width: 110px;
  height: 110px;
  z-index: 3;
}

.rotate-badge svg {
  width: 100%;
  height: 100%;
  animation: spin 14s linear infinite;
}

.rotate-badge .badge-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.5rem;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* 跑马灯条 */
.marquee {
  background: #2F6B5F;
  color: #fff;
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  z-index: 2;
}

.marquee-track {
  display: inline-block;
  animation: marquee-scroll 22s linear infinite;
  padding-left: 0;
}

.marquee-track span {
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.85rem;
  padding: 0 24px;
}

.marquee-track span:nth-child(even) {
  color: #F2C14E;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-primary {
  color: #fff;
  background: #E85D3D;
  box-shadow: 0 8px 24px rgba(232, 93, 61, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(232, 93, 61, 0.42);
}

.btn-outline {
  background: transparent;
  border: 2px solid #1E1B16;
  color: #1E1B16;
}

.btn-outline:hover {
  background: #1E1B16;
  color: #F7F4EF;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(30, 27, 22, 0.16);
}

/* 标签/标题 */
.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: #E85D3D;
}

.section-label::before {
  content: '/ ';
  font-weight: 900;
  color: #F2C14E;
  font-size: 1.05rem;
}

.section-label::after {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1.5px;
  background: #2F6B5F;
  margin-left: 10px;
  vertical-align: middle;
}

.section-title {
  font-size: 2.3rem;
  margin-bottom: 14px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.section-title .text-accent {
  color: #E85D3D;
}

.section-desc {
  max-width: 600px;
  opacity: 0.7;
  margin-bottom: 48px;
  font-size: 1.05rem;
}

/* 卡片网格 */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}

.category-card {
  border-radius: 24px 8px 24px 8px;
  padding: 32px;
  border: 1.5px solid #E4DFD6;
  background: #fff;
  transition: 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #E85D3D, #F2C14E);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 16px 16px 0 rgba(47, 107, 95, 0.1);
  border-color: #2F6B5F;
}

.category-card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px 16px 16px 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.6rem;
  background: #F7F4EF;
}

.card-title {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.card-desc {
  font-size: 0.88rem;
  color: #6B655C;
  margin-bottom: 20px;
}

.card-link {
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  color: #2F6B5F;
  transition: 0.2s;
}

.card-link:hover {
  color: #E85D3D;
  letter-spacing: 0.05em;
}

/* 特性块 */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.feature-image {
  border-radius: 8px 32px 8px 32px;
  overflow: hidden;
  border: 8px solid #fff;
  box-shadow: -16px 16px 0 rgba(232, 93, 61, 0.1);
  transition: 0.4s ease;
}

.feature-image:hover {
  transform: rotate(-1deg);
}

.feature-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.feature-text {
  position: relative;
}

.feature-list {
  list-style: none;
  margin-top: 24px;
}

.feature-list li {
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.feature-list li:not(:last-child) {
  border-bottom: 1px dashed #D8D2C8;
}

.feature-list li::before {
  content: '✓';
  font-weight: 900;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  background: #F2C14E;
  color: #1E1B16;
  flex-shrink: 0;
}

/* 数据条 */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  text-align: center;
}

.stat-item {
  padding: 40px 24px;
  border-radius: 24px 8px 24px 8px;
  border: 1.5px solid #E4DFD6;
  background: #fff;
  transition: 0.3s ease;
}

.stat-item:hover {
  transform: rotate(-1deg);
  box-shadow: 12px 12px 0 rgba(242, 193, 78, 0.3);
}

.stat-number {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #E85D3D;
  line-height: 1;
}

.stat-number sup {
  font-size: 1.1rem;
  font-weight: 700;
  color: #2F6B5F;
}

.stat-label {
  font-size: 0.92rem;
  opacity: 0.7;
  margin-top: 10px;
  font-weight: 600;
}

/* 内容墙 */
.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.content-wall-item {
  border-radius: 8px 24px 8px 24px;
  overflow: hidden;
  border: 1.5px solid #E4DFD6;
  background: #fff;
  transition: 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.content-wall-item:hover {
  transform: translateY(-6px) rotate(0.6deg);
  box-shadow: 14px 14px 0 rgba(47, 107, 95, 0.12);
  border-color: #2F6B5F;
}

.content-wall-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.content-wall-body {
  padding: 24px;
}

.content-wall-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: #F7F4EF;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
  color: #E85D3D;
}

.content-wall-body h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.content-wall-body p {
  font-size: 0.88rem;
  color: #6B655C;
  line-height: 1.7;
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1.5px solid #E4DFD6;
  border-radius: 16px 6px 16px 6px;
  margin-bottom: 12px;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  transition: 0.3s ease;
}

.faq-item:hover {
  border-color: #2F6B5F;
}

.faq-item.open {
  border-color: #E85D3D;
}

.faq-item .faq-question {
  padding: 20px 24px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-item .faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  color: #E85D3D;
  transition: 0.3s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-item .faq-answer {
  padding: 0 24px 20px;
  display: none;
  opacity: 0.7;
  font-size: 0.95rem;
  line-height: 1.8;
}

.faq-item.open .faq-answer {
  display: block;
}

/* CTA横幅 */
.cta-banner {
  padding: 72px 48px;
  text-align: center;
  border-radius: 32px 8px 32px 8px;
  color: #fff;
  background: linear-gradient(135deg, #2F6B5F 0%, #1E4E44 100%);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(242, 193, 78, 0.22);
}

.cta-banner::after {
  content: '◆';
  position: absolute;
  bottom: 16px;
  left: 40px;
  font-size: 6rem;
  color: rgba(232, 93, 61, 0.35);
  line-height: 1;
}

.cta-banner h2 {
  color: #fff;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.cta-banner .btn-primary {
  background: #F2C14E;
  color: #1E1B16;
  position: relative;
  z-index: 1;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.cta-banner .btn-primary:hover {
  background: #E85D3D;
  color: #fff;
  transform: translateY(-3px);
}

/* 页脚 */
.site-footer {
  padding: 64px 0 28px;
  background: #2F6B5F;
  color: rgba(255, 255, 255, 0.8);
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #E85D3D, #F2C14E, #2F6B5F, #E85D3D);
  background-size: 200% 100%;
  animation: gradient-slide 6s linear infinite;
}

@keyframes gradient-slide {
  from { background-position: 0% 0; }
  to { background-position: 200% 0; }
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand .logo {
  color: #fff;
}

.footer-brand .logo-icon {
  background: linear-gradient(135deg, #E85D3D, #F2C14E);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.footer-brand-text {
  margin-top: 16px;
  font-size: 0.92rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.65);
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 20px;
  color: #F2C14E;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 0.9rem;
  transition: 0.25s;
}

.footer-col ul a:hover {
  color: #F2C14E;
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 48px;
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* 工具类 */
.text-accent {
  color: #E85D3D;
}

.text-center {
  text-align: center;
}

.seo-description {
  max-width: 600px;
  margin: 0 auto 48px;
  opacity: 0.7;
  line-height: 1.8;
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .section {
    padding: 72px 0;
  }

  .feature-block {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .feature-image img {
    height: 300px;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: rgba(247, 244, 239, 0.98);
    backdrop-filter: blur(16px);
    padding: 24px;
    align-items: flex-start;
    border-bottom: 1px solid #E4DFD6;
    gap: 18px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
  }

  .main-nav.open a:not(.nav-cta)::after {
    display: none;
  }

  .main-nav.open .nav-cta {
    margin-top: 4px;
  }

  .hero {
    flex-direction: column;
    justify-content: center;
    gap: 56px;
    padding-top: 110px;
    padding-bottom: 60px;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image {
    width: 300px;
    height: 360px;
  }

  .rotate-badge {
    width: 88px;
    height: 88px;
    top: -22px;
    right: -10px;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .cta-banner {
    padding: 48px 24px;
  }

  .cta-banner h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .cards-grid,
  .content-wall,
  .stats-bar {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    justify-content: center;
    width: 100%;
  }

  .hero h1 {
    font-size: 2.1rem;
  }

  .hero-image {
    width: 100%;
    max-width: 280px;
    height: 340px;
  }

  .stat-number {
    font-size: 2.2rem;
  }

  .feature-image img {
    height: 240px;
  }

  .content-wall-item img {
    height: 180px;
  }

  .cta-banner {
    border-radius: 24px 6px 24px 6px;
    padding: 40px 20px;
  }
}