:root {
  --primary: #1254eb;
  --secondary: #ff3e3e;
  --accent-yellow: #ffb800;
  --accent-cyan: #00d2ff;
  --dark: #121829;
  --text-main: #1f2a44;
  --text-muted: #536482;
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --border-color: #e2e8f0;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 4px 12px rgba(18, 84, 235, 0.06);
  --shadow-hover: 0 14px 30px rgba(18, 84, 235, 0.14);
}

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

html {
  scroll-behavior: smooth;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
  position: relative;
}

.site-wrapper {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid #eef2f6;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

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

.logo-block {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-text {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}

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

.nav-links li a {
  display: inline-block;
  padding: 8px 12px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  text-decoration: none;
  transition: color 0.25s ease, transform 0.2s ease;
}

.nav-links li a:hover {
  color: var(--secondary);
  transform: translateY(-1px);
}

.header-action {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-portal {
  background: var(--primary);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(18, 84, 235, 0.25);
  transition: all 0.25s ease;
}

.btn-portal:hover {
  background: #0d42bc;
  box-shadow: 0 6px 16px rgba(18, 84, 235, 0.35);
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--text-main);
}

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

.section-head {
  text-align: center;
  margin-bottom: 48px;
}

.section-tag {
  display: inline-block;
  padding: 4px 14px;
  background: #ffebe6;
  color: var(--secondary);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  border-radius: 30px;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.section-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto;
}

/* Hero Section (No Image strictly applied) */
.hero-section {
  padding: 80px 0 60px;
  background: radial-gradient(circle at 10% 20%, #e9f2ff 0%, #fef5f0 50%, #f4fbfb 100%);
  border-bottom: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.hero-main-title {
  font-size: 2.85rem;
  font-weight: 900;
  line-height: 1.25;
  color: var(--dark);
  margin-bottom: 20px;
}

.hero-main-title span {
  color: var(--primary);
  position: relative;
}

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

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

.btn-primary-hero {
  background: var(--secondary);
  color: #ffffff;
  padding: 14px 34px;
  border-radius: var(--radius-sm);
  font-size: 1.1rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(255, 62, 62, 0.32);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary-hero:hover {
  background: #e02f2f;
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(255, 62, 62, 0.4);
}

.btn-outline-hero {
  background: #ffffff;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 13px 30px;
  border-radius: var(--radius-sm);
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
}

.btn-outline-hero:hover {
  background: var(--primary);
  color: #ffffff;
}

.hero-tags-box {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.badge-tag {
  background: #ffffff;
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 6px;
}

/* Hero Right: Geometric Pure CSS Console */
.hero-visual-card {
  background: #ffffff;
  border: 2px solid var(--dark);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 10px 10px 0px #ff3e3e;
  position: relative;
}

.hero-console-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #eef2f6;
  padding-bottom: 14px;
  margin-bottom: 20px;
}

.console-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.console-status {
  font-size: 0.8rem;
  font-weight: 800;
  color: #10b981;
  background: #ecfdf5;
  padding: 3px 10px;
  border-radius: 20px;
}

.console-metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.metric-item {
  background: #f8fafc;
  border-radius: var(--radius-sm);
  padding: 16px;
  border-left: 4px solid var(--primary);
}

.metric-item:nth-child(2) {
  border-left-color: var(--secondary);
}

.metric-item:nth-child(3) {
  border-left-color: var(--accent-yellow);
}

.metric-item:nth-child(4) {
  border-left-color: var(--accent-cyan);
}

.metric-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.metric-val {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--dark);
}

.console-notice {
  background: #f0f7ff;
  border: 1px dashed var(--primary);
  border-radius: var(--radius-sm);
  padding: 12px;
  font-size: 0.88rem;
  color: var(--primary);
  line-height: 1.5;
}

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.card-badge-top {
  display: inline-block;
  padding: 3px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 4px;
  margin-bottom: 12px;
  align-self: flex-start;
}

.badge-blue { background: #e0edff; color: var(--primary); }
.badge-red { background: #ffe4e4; color: var(--secondary); }
.badge-amber { background: #fef3c7; color: #b45309; }

.service-card h3 {
  font-size: 1.25rem;
  color: var(--dark);
  margin-bottom: 10px;
  font-weight: 800;
}

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

/* Models Cloud Box */
.model-cloud-wrapper {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-top: 28px;
  box-shadow: var(--shadow-sm);
}

.cloud-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 16px;
  text-align: center;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.tag-pill {
  background: #f1f5f9;
  color: #334155;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  border: 1px solid #cbd5e1;
  transition: all 0.2s ease;
}

.tag-pill:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

/* Workflow Step Line */
.step-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}

.step-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  position: relative;
  text-align: center;
  transition: transform 0.25s ease;
}

.step-box:hover {
  transform: translateY(-4px);
  border-color: var(--secondary);
}

.step-num {
  width: 44px;
  height: 44px;
  margin: 0 auto 16px;
  background: var(--dark);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
}

.step-box:nth-child(1) .step-num { background: var(--primary); }
.step-box:nth-child(2) .step-num { background: var(--secondary); }
.step-box:nth-child(3) .step-num { background: var(--accent-yellow); color: var(--dark); }
.step-box:nth-child(4) .step-num { background: #10b981; }

.step-box h4 {
  font-size: 1.1rem;
  color: var(--dark);
  margin-bottom: 8px;
}

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

/* Media Showcase Section */
.media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}

.media-item {
  background: #ffffff;
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.media-item img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  display: block;
}

.media-caption {
  margin-top: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
}

/* Comparison Table */
.review-score-banner {
  background: linear-gradient(135deg, #1254eb, #0a3394);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 30px;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.score-left h3 {
  font-size: 1.8rem;
  margin-bottom: 6px;
}

.score-star {
  color: var(--accent-yellow);
  font-size: 1.4rem;
  letter-spacing: 4px;
}

.score-right {
  display: flex;
  align-items: baseline;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  padding: 14px 28px;
  border-radius: var(--radius-md);
}

.score-num {
  font-size: 3rem;
  font-weight: 900;
  color: #ffffff;
}

.score-total {
  font-size: 1.2rem;
  opacity: 0.85;
}

.table-responsive {
  overflow-x: auto;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

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

.compare-table th,
.compare-table td {
  padding: 16px 20px;
  border-bottom: 1px solid #eef2f6;
  font-size: 0.95rem;
}

.compare-table th {
  background: #f8fafc;
  color: var(--dark);
  font-weight: 800;
}

.compare-table tr:hover td {
  background: #fdfdfd;
}

.text-highlight {
  color: var(--secondary);
  font-weight: 800;
}

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

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

.avatar-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #e2e8f0;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.user-meta h4 {
  font-size: 1rem;
  color: var(--dark);
}

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

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

/* FAQ Accordion */
.faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.faq-question {
  width: 100%;
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  cursor: pointer;
  text-align: left;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 22px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active {
  border-color: var(--primary);
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
}

.faq-item.active .faq-answer {
  max-height: 250px;
  padding: 0 22px 20px;
}

/* Form & Contact Section */
.form-contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.form-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--dark);
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  transition: border-color 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(18, 84, 235, 0.12);
}

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

.btn-submit {
  width: 100%;
  background: var(--primary);
  color: #ffffff;
  padding: 14px;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(18, 84, 235, 0.25);
  transition: background 0.25s ease;
}

.btn-submit:hover {
  background: #0b45c7;
}

.contact-info-panel {
  background: #f8fafc;
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid #edf2f7;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-row {
  margin-bottom: 18px;
}

.contact-row strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-row span {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
}

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

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

.kefu-qr-box p {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Articles & Links */
.article-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.article-list li a {
  display: block;
  padding: 14px 18px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.article-list li a:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateX(4px);
}

.links-container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.links-container a {
  background: #ffffff;
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.links-container a:hover {
  color: var(--secondary);
  border-color: var(--secondary);
}

/* Footer */
.site-footer {
  background: #0e1526;
  color: #cbd5e1;
  padding: 60px 0 30px;
  margin-top: 60px;
  border-top: 4px solid var(--primary);
}

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

.footer-col h5 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 18px;
  font-weight: 800;
}

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

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.85rem;
  color: #64748b;
}

.footer-bottom a {
  color: #94a3b8;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: #ffffff;
}

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

.float-btn {
  background: var(--primary);
  color: #ffffff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
  font-size: 0.85rem;
  font-weight: 800;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

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

/* Responsive */
@media (max-width: 992px) {
  .hero-layout,
  .form-contact-layout,
  .footer-layout,
  .media-grid {
    grid-template-columns: 1fr;
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4,
  .step-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    border-bottom: 2px solid #eef2f6;
    padding: 16px 20px;
    display: none;
  }
  .nav-links.active {
    display: flex;
  }
  .grid-3,
  .grid-4,
  .step-container,
  .article-list {
    grid-template-columns: 1fr;
  }
  .hero-main-title {
    font-size: 2.1rem;
  }
}