:root {
  --primary-blue: #0052d9;
  --royal-blue: #1e40af;
  --vibrant-cyan: #0284c7;
  --accent-light: #eff6ff;
  --accent-glow: #3b82f6;
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #64748b;
  --border-color: #e2e8f0;
  --border-active: #bfdbfe;
  --shadow-sm: 0 2px 8px rgba(0, 82, 217, 0.05);
  --shadow-md: 0 8px 24px rgba(0, 82, 217, 0.08);
  --shadow-lg: 0 16px 36px rgba(0, 82, 217, 0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --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-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
}

body {
  width: 100%;
  overflow-x: hidden;
  background: radial-gradient(circle at 50% 0%, #e0e7ff 0%, #f8fafc 40%);
}

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

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

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

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

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

.brand-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-blue);
  letter-spacing: -0.5px;
}

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

.nav-links li a {
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-main);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-links li a:hover {
  color: var(--primary-blue);
  background-color: var(--accent-light);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--royal-blue) 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 82, 217, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 82, 217, 0.4);
}

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

.btn-outline:hover {
  background: var(--accent-light);
}

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

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

/* Hero Section (No Images Allowed) */
.hero-section {
  padding: 80px 0 60px;
  position: relative;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: #dbeafe;
  color: var(--royal-blue);
  font-size: 13px;
  font-weight: 600;
  border-radius: 9999px;
  margin-bottom: 24px;
  border: 1px solid #bfdbfe;
}

.hero-title {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-main);
  max-width: 900px;
  margin: 0 auto 20px;
  letter-spacing: -1px;
}

.hero-title-highlight {
  background: linear-gradient(135deg, #0052d9 0%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto 36px;
}

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

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

.stat-card {
  background: #ffffff;
  padding: 24px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  text-align: left;
  transition: var(--transition);
}

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

.stat-card-title {
  font-size: 13px;
  color: var(--text-light);
  font-weight: 500;
}

.stat-card-val {
  font-size: 26px;
  font-weight: 700;
  color: var(--primary-blue);
  margin: 6px 0 2px;
}

.stat-card-sub {
  font-size: 12px;
  color: var(--text-muted);
}

/* Sections Common */
.section {
  padding: 80px 0;
}

.section-alt {
  background-color: #ffffff;
}

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

.section-subtitle {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary-blue);
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
}

.section-desc {
  font-size: 15px;
  color: var(--text-muted);
}

/* Capabilities & Services */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

.section-alt .feature-card {
  background: var(--bg-page);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-glow);
  box-shadow: var(--shadow-md);
}

.feature-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--accent-light);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
}

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

.feature-tag {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  background: #e0f2fe;
  color: #0369a1;
  border-radius: 4px;
}

/* Model Matrix */
.model-tags-container {
  background: #ffffff;
  border: 1px solid var(--border-color);
  padding: 36px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.model-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.model-badge {
  padding: 8px 16px;
  background: var(--bg-page);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  transition: var(--transition);
}

.model-badge:hover {
  background: var(--primary-blue);
  color: #ffffff;
  border-color: var(--primary-blue);
  transform: translateY(-2px);
}

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

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

.media-card-img-wrap {
  width: 100%;
  background: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.media-card-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: var(--transition);
}

.media-card:hover .media-card-img-wrap img {
  transform: scale(1.02);
}

.media-card-body {
  padding: 24px;
  flex: 1;
}

.media-card-body h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-main);
}

.media-card-body p {
  font-size: 14px;
  color: var(--text-muted);
}

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

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

.step-number {
  font-size: 32px;
  font-weight: 800;
  color: #bfdbfe;
  line-height: 1;
  margin-bottom: 12px;
}

.workflow-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-main);
}

.workflow-card p {
  font-size: 13px;
  color: var(--text-muted);
}

/* Evaluation Table */
.evaluation-panel {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

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

.rating-score-box {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.rating-score {
  font-size: 40px;
  font-weight: 900;
  color: var(--primary-blue);
  line-height: 1;
}

.rating-max {
  font-size: 18px;
  color: var(--text-light);
  font-weight: 600;
}

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

.table-responsive {
  width: 100%;
  overflow-x: auto;
}

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

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

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

.compare-table .highlight-col {
  background-color: rgba(239, 246, 255, 0.6);
  font-weight: 600;
  color: var(--primary-blue);
}

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

.testimonial-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;
}

.testimonial-quote {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #f1f5f9;
  padding-top: 16px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #dbeafe;
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

.author-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
}

.author-role {
  font-size: 12px;
  color: var(--text-light);
}

/* FAQ Accordion */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

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

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

.faq-question:hover {
  background-color: var(--accent-light);
}

.faq-icon {
  font-size: 18px;
  color: var(--primary-blue);
  transition: transform 0.2s ease;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 20px;
}

.faq-item.active .faq-answer {
  padding-bottom: 18px;
}

.faq-answer p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Articles Section */
.articles-wrapper {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.articles-links-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.article-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: var(--bg-page);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.article-chip:hover {
  background: var(--accent-light);
  border-color: var(--border-active);
}

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

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--accent-light);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
}

.contact-detail h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
}

.contact-detail p {
  font-size: 13.5px;
  color: var(--text-muted);
}

.qr-code-box {
  margin-top: 12px;
  width: 140px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 6px;
  background: #ffffff;
}

.qr-code-box img {
  width: 100%;
  height: auto;
  display: block;
}

.custom-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

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

.form-control {
  width: 100%;
  padding: 12px 14px;
  font-size: 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background-color: var(--bg-page);
  color: var(--text-main);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-blue);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 82, 217, 0.1);
}

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

/* Footer */
.site-footer {
  background-color: #0f172a;
  color: #cbd5e1;
  padding: 60px 0 24px;
  border-top: 1px solid #1e293b;
}

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

.footer-brand h3 {
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 13.5px;
  color: #94a3b8;
  max-width: 320px;
  line-height: 1.6;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 16px;
}

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

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

.footer-links li a:hover, .footer-links a:hover {
  color: #ffffff;
}

.friend-links-area {
  border-top: 1px solid #1e293b;
  padding: 24px 0;
  margin-bottom: 24px;
}

.friend-links-area h5 {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 12px;
  font-weight: 600;
}

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

.friend-links-list a {
  color: #94a3b8;
  font-size: 13px;
  text-decoration: none;
}

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

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 20px;
  text-align: center;
  font-size: 12.5px;
  color: #64748b;
}

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

.float-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-blue);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: var(--transition);
  font-size: 14px;
  font-weight: 700;
}

.float-btn:hover {
  transform: translateY(-3px);
  background: var(--royal-blue);
}

/* Responsive */
@media (max-width: 992px) {
  .hero-title {
    font-size: 32px;
  }
  .hero-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .workflow-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .media-grid {
    grid-template-columns: 1fr;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
  }
  .nav-links.active {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
  .hero-title {
    font-size: 26px;
  }
  .hero-desc {
    font-size: 15px;
  }
  .hero-stats-grid {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .workflow-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
}