:root {
  --primary: #4f46e5;
  --primary-light: #6366f1;
  --accent-cyan: #06b6d4;
  --accent-pink: #ec4899;
  --accent-amber: #f59e0b;
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #64748b;
  --border-color: #e2e8f0;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(79, 70, 229, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 30px -10px rgba(79, 70, 229, 0.12);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Nav */
.header-wrap {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

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

.brand-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ai-page-logo {
  max-height: 42px;
  width: auto;
  display: block;
}

.brand-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
}

.nav-links li a {
  padding: 8px 14px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
}

.nav-links li a:hover,
.nav-links li a.active {
  color: var(--primary);
  background: rgba(79, 70, 229, 0.06);
}

.nav-cta-btn {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-cyan) 100%);
  color: #ffffff !important;
  font-weight: 600;
  padding: 10px 20px !important;
  border-radius: 50px;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
}

.nav-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-main);
  margin: 5px 0;
  transition: var(--transition);
}

/* Common Section */
section {
  padding: 80px 0;
  position: relative;
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px auto;
}

.section-tag {
  display: inline-block;
  padding: 4px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  background: rgba(79, 70, 229, 0.1);
  border-radius: 50px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 16px;
  line-height: 1.3;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* Hero Section (No Image strictly) */
.hero-section {
  padding: 90px 0 80px 0;
  background: radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.15), transparent 40%),
              radial-gradient(circle at 10% 60%, rgba(236, 72, 153, 0.12), transparent 45%),
              linear-gradient(180deg, #ffffff 0%, var(--bg-main) 100%);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.hero-content {
  text-align: left;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}

.hero-badge .pulse {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1.25;
  color: var(--text-main);
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-title span {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-pink) 50%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}

.btn-main {
  background: linear-gradient(135deg, var(--primary) 0%, #3730a3 100%);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 10px 25px rgba(79, 70, 229, 0.35);
  border: none;
  cursor: pointer;
}

.btn-main:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(79, 70, 229, 0.45);
}

.btn-sub {
  background: #ffffff;
  color: var(--text-main);
  font-size: 1.05rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 50px;
  border: 1px solid var(--border-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
}

.btn-sub:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  transform: translateY(-2px);
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.9rem;
  color: var(--text-light);
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-meta-item svg {
  width: 18px;
  height: 18px;
  fill: var(--primary);
}

/* Hero Right Interactive Panel (CSS Only) */
.hero-visual-board {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

.hero-visual-board::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, var(--primary), var(--accent-cyan), var(--accent-pink));
  border-radius: calc(var(--radius-lg) + 2px);
  z-index: -1;
  opacity: 0.25;
}

.board-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
}

.board-tag {
  font-size: 0.8rem;
  font-weight: 700;
  background: #e0e7ff;
  color: var(--primary);
  padding: 4px 10px;
  border-radius: 20px;
}

.model-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.model-chip {
  font-size: 0.75rem;
  font-weight: 600;
  background: #f1f5f9;
  color: var(--text-muted);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}

.model-chip.highlight {
  background: #eef2ff;
  color: var(--primary);
  border-color: #c7d2fe;
}

.live-metrics-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.metric-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px;
  box-shadow: var(--shadow-sm);
}

.metric-num {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 2px;
}

.metric-lbl {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* Stats Bar */
.stats-section {
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 40px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
}

.stat-item p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* About & Platform Intro */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-text h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 18px;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 1rem;
}

.feature-checklist {
  list-style: none;
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.feature-checklist li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
}

.feature-checklist li::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: #dcfce7;
  color: #15803d;
  border-radius: 50%;
  font-size: 0.8rem;
}

.banner-img-box {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.banner-img-box img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.banner-img-box:hover img {
  transform: scale(1.02);
}

/* Grid Cards (Services / Scenarios) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: #c7d2fe;
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(6, 182, 212, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
  color: var(--primary);
}

.service-card h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main);
}

.service-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex-grow: 1;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.service-tags span {
  font-size: 0.75rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 2px 8px;
  border-radius: 4px;
  color: var(--text-light);
}

/* Workflow & One-stop */
.steps-wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}

.step-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.step-number {
  font-size: 1.8rem;
  font-weight: 900;
  color: rgba(79, 70, 229, 0.2);
  position: absolute;
  top: 16px;
  right: 18px;
}

.step-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 12px 0 8px 0;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Comparison Table */
.compare-container {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  overflow-x: auto;
}

.compare-badge-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.score-box {
  display: flex;
  align-items: center;
  gap: 16px;
}

.score-badge {
  background: linear-gradient(135deg, #f59e0b, #ec4899);
  color: #ffffff;
  padding: 8px 18px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 1.1rem;
}

.stars {
  color: #f59e0b;
  font-size: 1.2rem;
  letter-spacing: 2px;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.compare-table th,
.compare-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.95rem;
}

.compare-table th {
  background: #f8fafc;
  font-weight: 700;
  color: var(--text-main);
}

.compare-table td.highlight {
  background: #f5f3ff;
  color: var(--primary);
  font-weight: 600;
}

/* Gallery & Materials */
.materials-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}

.materials-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mat-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.mat-card img {
  width: 100%;
  height: auto;
  display: block;
}

.mat-info {
  padding: 16px 20px;
}

.mat-info h5 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.mat-info p {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* Articles Section */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.article-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.article-cat {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.article-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
  line-height: 1.4;
}

.article-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: 16px;
}

/* Reviews Grid */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-user {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.avatar-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent-cyan));
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.user-meta h5 {
  font-size: 0.95rem;
  font-weight: 700;
}

.user-meta span {
  font-size: 0.8rem;
  color: var(--text-light);
}

.review-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* FAQ Accordion */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  padding: 18px 22px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-icon {
  font-size: 1.2rem;
  color: var(--primary);
  transition: transform 0.3s ease;
}

.faq-answer {
  padding: 0 22px 18px 22px;
  font-size: 0.92rem;
  color: var(--text-muted);
  display: none;
  line-height: 1.6;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

/* Form & Contact */
.form-contact-wrap {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
  background: #f8fafc;
}

.form-control:focus {
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

textarea.form-control {
  min-height: 110px;
  resize: vertical;
}

.contact-info-panel {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.info-icon {
  font-size: 1.2rem;
  color: var(--primary);
}

.qr-box {
  margin-top: 10px;
  text-align: center;
  background: #ffffff;
  padding: 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

.qr-box img {
  max-width: 140px;
  height: auto;
  display: block;
  margin: 0 auto 8px auto;
}

.qr-box span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* Footer Links & Copyright */
.footer-wrap {
  background: #0f172a;
  color: #cbd5e1;
  padding: 60px 0 30px 0;
  border-top: 1px solid #1e293b;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}

.footer-brand h4 {
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.6;
}

.footer-col h5 {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: 0.88rem;
  color: #94a3b8;
}

.footer-col ul li a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.friend-links-area {
  padding: 20px 0;
  border-top: 1px solid #1e293b;
  border-bottom: 1px solid #1e293b;
  margin-bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  font-size: 0.88rem;
}

.friend-links-area span {
  color: #64748b;
  font-weight: 600;
}

.friend-links-area a {
  color: #94a3b8;
}

.friend-links-area a:hover {
  color: var(--accent-cyan);
}

.footer-bottom {
  text-align: center;
  font-size: 0.85rem;
  color: #64748b;
}

/* Floating Widget */
.floating-kefu {
  position: fixed;
  right: 20px;
  bottom: 30px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.float-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(79, 70, 229, 0.4);
  cursor: pointer;
  border: none;
  font-size: 1.2rem;
  transition: var(--transition);
}

.float-btn:hover {
  transform: scale(1.1);
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero-grid,
  .about-grid,
  .form-contact-wrap {
    grid-template-columns: 1fr;
  }
  .services-grid,
  .articles-grid,
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-wrap,
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .materials-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }
  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid var(--border-color);
    display: none;
  }
  .nav-links.show {
    display: flex;
  }
  .hero-title {
    font-size: 2.1rem;
  }
  .services-grid,
  .articles-grid,
  .reviews-grid,
  .steps-wrap,
  .stats-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .feature-checklist {
    grid-template-columns: 1fr;
  }
}