:root {
  --primary-vivid: #4f46e5;
  --primary-accent: #7c3aed;
  --secondary-cyan: #06b6d4;
  --secondary-pink: #ec4899;
  --highlight-amber: #f59e0b;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --bg-subtle: #f1f5f9;
  --text-main: #0f172a;
  --text-muted: #475569;
  --border-light: #e2e8f0;
  --border-vivid: #c084fc;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(79, 70, 229, 0.06);
  --shadow-md: 0 10px 25px -5px rgba(79, 70, 229, 0.12);
  --shadow-lg: 0 20px 35px -10px rgba(124, 58, 237, 0.18);
  --container-max: 1240px;
  --transition-fast: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-light);
  color: var(--text-main);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(circle at 50% 0%, #e0e7ff 0%, #f8fafc 45%);
}

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

/* Header & Nav */
.header-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

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

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ai-page-logo {
  max-height: 44px;
  width: auto;
  object-fit: contain;
}

.ai-page-home-link {
  font-weight: 700;
  color: var(--primary-vivid);
  text-decoration: none;
  font-size: 15px;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  background: rgba(79, 70, 229, 0.08);
  transition: var(--transition-fast);
}

.ai-page-home-link:hover {
  background: var(--primary-vivid);
  color: #ffffff;
}

/* Strict requirement: .nav-links gap must be 0 */
.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0;
}

.nav-links li a {
  display: inline-block;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.nav-links li a:hover {
  color: var(--primary-vivid);
  background: rgba(124, 58, 237, 0.05);
  border-radius: 6px;
}

.nav-cta-btn {
  background: linear-gradient(135deg, var(--primary-vivid), var(--primary-accent));
  color: #ffffff !important;
  font-weight: 600 !important;
  padding: 8px 18px !important;
  border-radius: 30px !important;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
  transition: var(--transition-fast);
}

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

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-main);
  cursor: pointer;
}

/* Hero Section - STRICT NO IMAGES */
.hero-section {
  padding: 80px 0 60px;
  position: relative;
  text-align: center;
  background: radial-gradient(ellipse at top, rgba(124, 58, 237, 0.15), transparent 70%);
}

.hero-badge-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: linear-gradient(90deg, rgba(79, 70, 229, 0.1), rgba(236, 72, 153, 0.1));
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 30px;
  margin-bottom: 24px;
}

.badge-tag {
  background: linear-gradient(135deg, var(--primary-accent), var(--secondary-pink));
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
}

.badge-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-accent);
}

.hero-title-main {
  font-size: 40px;
  line-height: 1.25;
  font-weight: 900;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #0f172a 30%, var(--primary-vivid) 70%, var(--secondary-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 840px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-action-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.btn-primary-glow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  background: linear-gradient(135deg, var(--primary-vivid), var(--primary-accent));
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.35);
  transition: var(--transition-fast);
}

.btn-primary-glow:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(79, 70, 229, 0.45);
}

.btn-secondary-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-accent);
  text-decoration: none;
  background: #ffffff;
  border: 2px solid var(--border-vivid);
  border-radius: 50px;
  transition: var(--transition-fast);
}

.btn-secondary-outline:hover {
  background: rgba(124, 58, 237, 0.05);
  transform: translateY(-2px);
}

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

.hero-stat-card {
  background: #ffffff;
  padding: 24px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

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

.stat-val {
  font-size: 32px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-vivid), var(--secondary-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 6px;
}

.stat-lbl {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

/* Common Section Styling */
.section-block {
  padding: 70px 0;
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

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

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary-accent);
  background: rgba(124, 58, 237, 0.08);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.section-title {
  font-size: 30px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 14px;
}

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

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

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

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

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

.card-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(124, 58, 237, 0.4);
}

.card-icon-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.card-icon {
  width: 44px;
  height: 44px;
  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;
  color: var(--primary-vivid);
  font-weight: 800;
  font-size: 18px;
  flex-shrink: 0;
}

.card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
}

.card-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Model Cloud */
.model-cloud-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 24px;
}

.model-chip {
  background: #ffffff;
  border: 1px solid var(--border-light);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
  transition: var(--transition-fast);
}

.model-chip:hover {
  background: var(--primary-vivid);
  color: #ffffff;
  border-color: var(--primary-vivid);
}

/* Comparison Table */
.comparison-table-wrapper {
  overflow-x: auto;
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

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

.comparison-table th, .comparison-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-light);
  font-size: 14px;
}

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

.comparison-table tr.highlight-row {
  background: rgba(79, 70, 229, 0.03);
}

.comparison-table td.brand-col {
  font-weight: 700;
  color: var(--primary-vivid);
}

.score-badge-box {
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(236, 72, 153, 0.1));
  padding: 20px 28px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(245, 158, 11, 0.3);
  margin-bottom: 24px;
}

.score-num {
  font-size: 36px;
  font-weight: 900;
  color: var(--highlight-amber);
}

.star-rating {
  font-size: 22px;
  color: var(--highlight-amber);
}

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

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-question {
  padding: 18px 24px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

.faq-question::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: var(--primary-accent);
}

.faq-item.active .faq-question::after {
  content: "-";
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
  background: #f8fafc;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 16px 24px 20px;
  border-top: 1px solid var(--border-light);
}

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

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

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

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-vivid), var(--secondary-pink));
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.review-info h4 {
  font-size: 15px;
  font-weight: 700;
}

.review-info p {
  font-size: 12px;
  color: var(--text-muted);
}

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

/* Form Styling */
.form-box {
  background: #ffffff;
  padding: 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  max-width: 760px;
  margin: 0 auto;
}

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

.form-full {
  grid-column: span 2;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 14px;
  background: #f8fafc;
  transition: var(--transition-fast);
}

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

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

.btn-submit {
  width: 100%;
  padding: 14px;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary-vivid), var(--primary-accent));
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-submit:hover {
  opacity: 0.95;
  transform: translateY(-2px);
}

/* Articles List */
.article-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 20px;
}

.article-link-card {
  display: block;
  padding: 14px 18px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text-main);
  font-weight: 600;
  font-size: 14px;
  transition: var(--transition-fast);
}

.article-link-card:hover {
  border-color: var(--primary-vivid);
  color: var(--primary-vivid);
  transform: translateX(4px);
}

/* Media Showcase */
.media-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

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

.ai-page-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: var(--transition-fast);
}

.media-item:hover .ai-page-image {
  transform: scale(1.03);
}

.media-caption {
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

/* Contact Details Info Box */
.contact-info-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

.contact-card {
  background: #ffffff;
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  text-align: center;
}

.contact-qr-img img {
  max-width: 140px;
  height: auto;
  border-radius: var(--radius-sm);
  margin-top: 10px;
}

/* Footer Styling */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 50px 0 30px;
  border-top: 1px solid #1e293b;
  margin-top: auto;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid #1e293b;
}

.footer-links-title {
  font-size: 14px;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 12px;
}

.friend-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.friend-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 13px;
  transition: var(--transition-fast);
}

.friend-links a:hover {
  color: #38bdf8;
}

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

/* Floating Customer Support */
.floating-kefu {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 999;
  background: linear-gradient(135deg, var(--primary-vivid), var(--primary-accent));
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 30px;
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.4);
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: var(--transition-fast);
}

.floating-kefu:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(79, 70, 229, 0.5);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .grid-4, .grid-3, .reviews-grid, .contact-info-wrapper, .media-showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header-container {
    height: 64px;
  }
  .mobile-toggle {
    display: block;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    padding: 16px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-bottom: 1px solid var(--border-light);
  }
  .nav-links.show {
    display: flex;
  }
  .hero-title-main {
    font-size: 28px;
  }
  .hero-subtitle {
    font-size: 15px;
  }
  .grid-4, .grid-3, .grid-2, .reviews-grid, .contact-info-wrapper, .media-showcase-grid, .article-links-grid {
    grid-template-columns: 1fr;
  }
  .hero-stats-grid {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-full {
    grid-column: span 1;
  }
}