/* ============================================
   AI 智能方案 — 设计系统 & 样式表
   Design System: Enterprise Gateway + Trust & Authority
   Colors: Navy #0F172A / Blue CTA #2563EB / Red accent #DC2626
   Typography: Plus Jakarta Sans + Noto Sans SC
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;600;700;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* --- Design Tokens --- */
:root {
  --color-primary: #0F172A;
  --color-primary-light: #1E293B;
  --color-secondary: #334155;
  --color-accent: #2563EB;
  --color-accent-light: #3B82F6;
  --color-accent-dark: #1D4ED8;
  --color-red: #DC2626;
  --color-red-light: #EF4444;
  --color-bg: #F8FAFC;
  --color-bg-alt: #F1F5F9;
  --color-text: #020617;
  --color-text-secondary: #475569;
  --color-text-muted: #64748B;
  --color-border: #E2E8F0;
  --color-white: #FFFFFF;
  --color-success: #059669;
  --color-gradient-start: #0F172A;
  --color-gradient-end: #1E3A5F;

  --font-display: 'Plus Jakarta Sans', 'Noto Sans SC', system-ui, sans-serif;
  --font-body: 'Noto Sans SC', 'Plus Jakarta Sans', system-ui, sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.1);
  --shadow-lg: 0 8px 30px rgba(15, 23, 42, 0.12);
  --shadow-xl: 0 20px 60px rgba(15, 23, 42, 0.15);
  --shadow-glow: 0 0 40px rgba(37, 99, 235, 0.15);

  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  --max-width: 1200px;
  --nav-height: 72px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

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

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* --- Utility --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  max-width: 640px;
  line-height: 1.8;
}

.section-divider {
  width: 48px;
  height: 3px;
  background: var(--color-red);
  border-radius: 2px;
  margin-top: 16px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all var(--transition-base);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  background: var(--color-accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
}

.btn-secondary {
  background: var(--color-white);
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}

.btn-secondary:hover {
  background: var(--color-accent);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-red {
  background: var(--color-red);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35);
}

.btn-red:hover {
  background: var(--color-red-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.45);
}

.btn-white {
  background: var(--color-white);
  color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn svg {
  width: 18px;
  height: 18px;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 24px;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: all var(--transition-base);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-white);
  transition: color var(--transition-fast);
}

.navbar.scrolled .nav-logo {
  color: var(--color-primary);
}

.nav-logo-icon {
  width: 38px;
  height: 38px;
  background: var(--color-accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-logo-icon svg {
  width: 22px;
  height: 22px;
  color: var(--color-white);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--transition-base);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.navbar.scrolled .nav-link {
  color: var(--color-text-secondary);
}

.nav-link:hover,
.navbar.scrolled .nav-link:hover {
  color: var(--color-accent);
}

/* Dropdown Navigation */
.nav-dropdown {
  position: relative;
}

.nav-link-dropdown {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--transition-fast);
}

.navbar.scrolled .nav-link-dropdown {
  color: var(--color-text-secondary);
}

.nav-link-dropdown:hover,
.navbar.scrolled .nav-link-dropdown:hover {
  color: var(--color-accent);
}

.nav-link-dropdown svg {
  transition: transform var(--transition-fast);
}

.nav-dropdown:hover .nav-link-dropdown svg {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 16px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  z-index: 1000;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  margin-top: 12px;
}

.nav-dropdown-item {
  display: block;
  padding: 10px 20px;
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.nav-dropdown-item:hover {
  background: var(--color-bg-alt);
  color: var(--color-accent);
}

.nav-dropdown-item.active {
  color: var(--color-accent);
  background: var(--color-bg);
}

.nav-cta {
  display: flex;
  gap: 12px;
}

.nav-cta .btn {
  padding: 10px 24px;
  font-size: 0.85rem;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.navbar.scrolled .mobile-toggle span {
  background: var(--color-primary);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-white);
  flex-direction: column;
  padding: 32px 24px;
  gap: 0;
  z-index: 999;
  overflow-y: auto;
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu .nav-link {
  color: var(--color-text);
  font-size: 1.1rem;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
}

.mobile-menu .nav-cta {
  margin-top: 24px;
  flex-direction: column;
}

.mobile-menu .nav-cta .btn {
  justify-content: center;
  padding: 14px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--color-gradient-start) 0%, var(--color-gradient-end) 50%, #0c2340 100%);
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(37, 99, 235, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(220, 38, 38, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(37, 99, 235, 0.5);
  border-radius: 50%;
  animation: particleFloat 8s ease-in-out infinite;
}

.hero-particle:nth-child(1) {
  left: 10%;
  top: 20%;
  animation-delay: 0s;
  animation-duration: 7s;
}

.hero-particle:nth-child(2) {
  left: 30%;
  top: 60%;
  animation-delay: 1s;
  animation-duration: 9s;
}

.hero-particle:nth-child(3) {
  left: 50%;
  top: 30%;
  animation-delay: 2s;
  animation-duration: 6s;
}

.hero-particle:nth-child(4) {
  left: 70%;
  top: 70%;
  animation-delay: 3s;
  animation-duration: 8s;
}

.hero-particle:nth-child(5) {
  left: 85%;
  top: 40%;
  animation-delay: 4s;
  animation-duration: 10s;
}

.hero-particle:nth-child(6) {
  left: 20%;
  top: 80%;
  animation-delay: 5s;
  animation-duration: 7.5s;
}

@keyframes particleFloat {

  0%,
  100% {
    transform: translateY(0) scale(1);
    opacity: 0.5;
  }

  50% {
    transform: translateY(-30px) scale(1.5);
    opacity: 1;
  }
}

.hero .container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 60px;
  padding-top: 40px;
  padding-bottom: 60px;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(37, 99, 235, 0.3);
  border-radius: var(--radius-full);
  color: var(--color-accent-light);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--color-accent-light);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--color-accent-light), #60A5FA);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: 36px;
  /* max-width: 520px; */
}

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

.hero-stats {
  display: flex;
  gap: 40px;
}

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

.hero-stat-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-white);
  line-height: 1;
  margin-bottom: 6px;
}

.hero-stat-value .counter-suffix {
  font-size: 1.2rem;
  color: var(--color-accent-light);
  margin-left: 2px;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}

.hero-visual {
  flex: 1;
  max-width: 500px;
  position: relative;
}

.hero-visual-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
}

.hero-visual-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.hero-visual-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.hero-visual-dot:nth-child(1) {
  background: #EF4444;
}

.hero-visual-dot:nth-child(2) {
  background: #F59E0B;
}

.hero-visual-dot:nth-child(3) {
  background: #22C55E;
}

.hero-workflow {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.workflow-step {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all var(--transition-base);
}

.workflow-step:hover {
  background: rgba(37, 99, 235, 0.1);
  border-color: rgba(37, 99, 235, 0.2);
}

.workflow-step-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.workflow-step-icon.blue {
  background: rgba(37, 99, 235, 0.2);
  color: var(--color-accent-light);
}

.workflow-step-icon.green {
  background: rgba(5, 150, 105, 0.2);
  color: #34D399;
}

.workflow-step-icon.red {
  background: rgba(220, 38, 38, 0.2);
  color: #F87171;
}

.workflow-step-icon.purple {
  background: rgba(139, 92, 246, 0.2);
  color: #A78BFA;
}

.workflow-step-icon svg {
  width: 20px;
  height: 20px;
}

.workflow-step-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 500;
}

.workflow-step-status {
  margin-left: auto;
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-weight: 600;
  white-space: nowrap;
}

.workflow-step-status.done {
  background: rgba(5, 150, 105, 0.2);
  color: #34D399;
}

.workflow-step-status.progress {
  background: rgba(37, 99, 235, 0.2);
  color: var(--color-accent-light);
  animation: pulse 2s ease-in-out infinite;
}

/* ============================================
   SERVICES OVERVIEW SECTION
   ============================================ */
.services-overview {
  padding: 100px 0;
  background: var(--color-white);
}

.services-overview .section-header {
  text-align: center;
  margin-bottom: 60px;
}

.services-overview .section-header .section-desc {
  margin: 0 auto;
}

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

.service-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all var(--transition-base);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-accent);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-card-icon.blue {
  background: rgba(37, 99, 235, 0.1);
  color: var(--color-accent);
}

.service-card-icon.green {
  background: rgba(5, 150, 105, 0.1);
  color: var(--color-success);
}

.service-card-icon.red {
  background: rgba(220, 38, 38, 0.1);
  color: var(--color-red);
}

.service-card-icon.purple {
  background: rgba(139, 92, 246, 0.1);
  color: #8b5cf6;
}

.service-card-icon.accent {
  background: rgba(234, 88, 12, 0.1);
  color: #ea580c;
}

.service-card-icon svg {
  width: 28px;
  height: 28px;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-card-tag {
  display: inline-flex;
  padding: 4px 12px;
  background: var(--color-bg);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

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

.service-card-link:hover {
  gap: 10px;
}

.service-card-link svg {
  width: 16px;
  height: 16px;
}

/* ============================================
   BPO SECTION
   ============================================ */
.bpo-section {
  padding: 100px 0;
  background: var(--color-bg-alt);
}

.bpo-section .section-header {
  text-align: center;
  margin-bottom: 60px;
}

.bpo-section .section-header .section-desc {
  margin: 0 auto;
}

.bpo-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.bpo-content .section-title {
  margin-bottom: 20px;
}

.bpo-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.bpo-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.bpo-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  color: var(--color-accent);
}

.bpo-feature-icon svg {
  width: 22px;
  height: 22px;
}

.bpo-feature h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.bpo-feature p {
  font-size: 0.88rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.bpo-compare {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.bpo-compare-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.bpo-compare-col {
  padding: 20px 24px;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
}

.bpo-compare-col.old {
  background: var(--color-bg-alt);
  color: var(--color-text-secondary);
}

.bpo-compare-col.new {
  background: var(--color-accent);
  color: var(--color-white);
}

.bpo-compare-body {
  padding: 0;
}

.bpo-compare-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--color-border);
}

.bpo-compare-row:last-child {
  border-bottom: none;
}

.bpo-compare-cell {
  padding: 16px 24px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.bpo-compare-cell.old {
  color: var(--color-text-muted);
}

.bpo-compare-cell.new {
  color: var(--color-accent);
  font-weight: 600;
  background: rgba(37, 99, 235, 0.03);
}

.bpo-compare-cell svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ============================================
   SAAS SECTION
   ============================================ */
.saas-section {
  padding: 100px 0;
  background: var(--color-white);
}

.saas-section .section-header {
  text-align: center;
  margin-bottom: 60px;
}

.saas-section .section-header .section-desc {
  margin: 0 auto;
}

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

.saas-card {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
  cursor: pointer;
}

.saas-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent);
}

.saas-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.saas-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.saas-card-icon.accent {
  background: rgba(37, 99, 235, 0.1);
  color: var(--color-accent);
}

.saas-card-icon.success {
  background: rgba(5, 150, 105, 0.1);
  color: var(--color-success);
}

.saas-card-icon.red {
  background: rgba(220, 38, 38, 0.1);
  color: var(--color-red);
}

.saas-card-icon.purple {
  background: rgba(139, 92, 246, 0.1);
  color: #8B5CF6;
}

.saas-card-icon svg {
  width: 24px;
  height: 24px;
}

.saas-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary);
}

.saas-card-badge {
  margin-left: auto;
  padding: 3px 10px;
  background: rgba(37, 99, 235, 0.1);
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-accent);
  white-space: nowrap;
}

.saas-card p {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

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

.saas-tag {
  padding: 4px 12px;
  background: var(--color-white);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
}

/* ============================================
   AI BOX / HARDWARE SECTION
   ============================================ */
.ai-box-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--color-gradient-start) 0%, var(--color-gradient-end) 100%);
  position: relative;
  overflow: hidden;
}

.ai-box-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(37, 99, 235, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 80%, rgba(220, 38, 38, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.ai-box-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.ai-box-content .section-label {
  color: var(--color-accent-light);
}

.ai-box-content .section-title {
  color: var(--color-white);
}

.ai-box-content .section-desc {
  color: rgba(255, 255, 255, 0.7);
}

.ai-box-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 36px;
}

.ai-box-point {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.ai-box-point-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(37, 99, 235, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-accent-light);
}

.ai-box-point-icon svg {
  width: 18px;
  height: 18px;
}

.ai-box-point h4 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 4px;
}

.ai-box-point p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

.ai-box-visual {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.ai-box-carousel {
  width: 100%;
  position: relative;
}

.ai-box-carousel-track {
  position: relative;
  height: 500px;
  /* Base height for absolute cards */
  width: 100%;
}

.ai-box-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  padding: 40px;
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-2xl);
}

/* Layered states */
.ai-box-card[data-state="active"] {
  z-index: 10;
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

.ai-box-card[data-state="behind"] {
  z-index: 5;
  opacity: 0.5;
  transform: translate(30px, -30px) scale(0.95);
  pointer-events: none;
}

.ai-box-card[data-state="hidden"] {
  z-index: 1;
  opacity: 0;
  transform: translate(60px, -60px) scale(0.9);
  pointer-events: none;
}

.ai-box-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 50px;
  position: relative;
  z-index: 20;
}

.ai-box-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--color-white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.ai-box-btn:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  transform: scale(1.1);
}

.ai-box-dots {
  display: flex;
  gap: 12px;
}

.ai-box-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.ai-box-dot.active {
  background: var(--color-accent-light);
  transform: scale(1.3);
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.5);
}

.ai-box-card-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-accent-light);
  margin-bottom: 8px;
}

.ai-box-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 24px;
}

.ai-box-specs {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ai-box-spec {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ai-box-spec-icon {
  color: var(--color-accent-light);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.ai-box-spec-text {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.ai-box-price {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.ai-box-price-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.ai-box-price-value {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-white);
}

.ai-box-price-unit {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   ADVANTAGES SECTION
   ============================================ */
.advantages-section {
  padding: 100px 0;
  background: var(--color-white);
}

.advantages-section .section-header {
  text-align: center;
  margin-bottom: 60px;
}

.advantages-section .section-header .section-desc {
  margin: 0 auto;
}

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

.advantage-card {
  text-align: center;
  padding: 36px 24px;
  border-radius: var(--radius-lg);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
}

.advantage-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent);
}

.advantage-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  background: var(--color-primary);
  color: var(--color-white);
}

.advantage-icon svg {
  width: 30px;
  height: 30px;
}

.advantage-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.advantage-card p {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* ============================================
   SOLUTIONS SECTION
   ============================================ */
.solutions-section {
  padding: 100px 0;
  background: var(--color-bg-alt);
}

.solutions-section .section-header {
  text-align: center;
  margin-bottom: 60px;
}

.solutions-section .section-header .section-desc {
  margin: 0 auto;
}

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

.solution-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
  cursor: pointer;
}

.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.solution-card-image {
  height: 180px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.solution-card-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.2) 0%, transparent 70%);
}

.solution-card-image svg {
  width: 56px;
  height: 56px;
  color: rgba(255, 255, 255, 0.7);
  position: relative;
  z-index: 1;
}

.solution-card-body {
  padding: 24px;
}

.solution-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.solution-card p {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* ============================================
   PRICING SECTION
   ============================================ */
.pricing-section {
  padding: 100px 0;
  background: var(--color-white);
}

.pricing-section .section-header {
  text-align: center;
  margin-bottom: 60px;
}

.pricing-section .section-header .section-desc {
  margin: 0 auto;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.pricing-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
  position: relative;
}

.pricing-card.featured {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-glow);
  transform: scale(1.03);
}

.pricing-card.featured::before {
  content: '热门推荐';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 20px;
  background: var(--color-accent);
  color: var(--color-white);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.pricing-card.featured:hover {
  transform: scale(1.03) translateY(-4px);
}

.pricing-card-header {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
}

.pricing-card-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.pricing-card-desc {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

.pricing-card-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-top: 16px;
}

.pricing-card-currency {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
}

.pricing-card-amount {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
}

.pricing-card-period {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.pricing-card-features {
  flex: 1;
  margin-bottom: 28px;
}

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.88rem;
  color: var(--color-text-secondary);
}

.pricing-feature svg {
  width: 18px;
  height: 18px;
  color: var(--color-success);
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-card .btn {
  width: 100%;
  justify-content: center;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--color-gradient-start) 0%, var(--color-gradient-end) 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-content .section-title {
  color: var(--color-white);
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--color-primary);
  padding: 60px 0 0;
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand .nav-logo {
  color: var(--color-white);
}

.footer-desc {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  max-width: 320px;
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--color-accent-light);
}

.footer-bottom {
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copyright {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--color-accent);
  color: var(--color-white);
}

.footer-social a svg {
  width: 18px;
  height: 18px;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll.delay-1 {
  transition-delay: 0.1s;
}

.animate-on-scroll.delay-2 {
  transition-delay: 0.2s;
}

.animate-on-scroll.delay-3 {
  transition-delay: 0.3s;
}

.animate-on-scroll.delay-4 {
  transition-delay: 0.4s;
}

/* ============================================
   SUBPAGE HERO (for standalone pages)
   ============================================ */
.subpage-hero {
  position: relative;
  padding: 160px 0 100px;
  background: linear-gradient(135deg, #0a1628 0%, #1a2a4a 40%, #0f3460 100%);
  overflow: hidden;
  text-align: center;
  color: var(--color-white);
}

.subpage-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 30% 20%, rgba(59, 130, 246, 0.15), transparent),
    radial-gradient(ellipse 500px 300px at 70% 80%, rgba(37, 99, 235, 0.1), transparent);
  pointer-events: none;
}

.subpage-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.subpage-hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.subpage-hero-content h1 .highlight {
  background: linear-gradient(135deg, #60a5fa, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subpage-hero-content .hero-desc {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  margin-bottom: 36px;
}

.subpage-hero-content .hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.subpage-hero-content .hero-buttons .btn-white {
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 14px 32px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.subpage-hero-content .hero-buttons .btn-white:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
}

.nav-link.active {
  font-weight: 600;
}

.navbar.scrolled .nav-link.active {
  color: var(--color-primary);
}

/* ============================================
   RAG DATA TOOL SECTION
   ============================================ */
.rag-tool-section {
  padding: 100px 0;
  background: var(--color-white);
}

.rag-tool-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.rag-tool-content .section-title {
  margin-bottom: 20px;
}

.rag-tool-buttons {
  display: flex;
  gap: 16px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.rag-tool-visual {
  display: flex;
  justify-content: center;
}

.rag-tool-img-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-border);
  background: var(--color-bg-alt);
}

.rag-tool-img-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--transition-slow);
}

.rag-tool-img-wrapper:hover img {
  transform: scale(1.03);
}

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

.rag-feature-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.rag-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-red);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.rag-feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.rag-feature-card:hover::before {
  transform: scaleX(1);
}

.rag-feature-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-red);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: 16px;
}

.rag-feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.rag-feature-card p {
  font-size: 0.92rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

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

.rag-tag {
  display: inline-flex;
  padding: 4px 12px;
  background: rgba(220, 38, 38, 0.06);
  border: 1px solid rgba(220, 38, 38, 0.12);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-red);
}

/* ============================================
   DATA STRUCTURING SERVICE SECTION
   ============================================ */
.data-service-section {
  padding: 100px 0;
  background: var(--color-bg-alt);
}

/* Hero area */
.data-service-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.data-service-hero-content .section-title {
  margin-bottom: 20px;
}

.data-service-hero-visual {
  display: flex;
  justify-content: center;
}

.data-service-img-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, #EEF2FF 0%, #E0E7FF 100%);
  padding: 32px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
}

.data-service-img-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
  transition: transform var(--transition-slow);
}

.data-service-img-wrapper:hover img {
  transform: scale(1.05);
}

/* Challenges */
.data-service-challenges {
  margin-bottom: 48px;
}

.challenges-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 800;
  color: var(--color-primary);
  text-align: center;
  margin-bottom: 40px;
}

.highlight-red {
  color: var(--color-red);
}

.highlight-white {
  background: linear-gradient(135deg, #F87171, #EF4444);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.challenge-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: all var(--transition-base);
}

.challenge-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.challenge-label {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text-muted);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-red);
  display: inline-block;
}

.challenge-label span {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-red);
  margin-left: 8px;
  vertical-align: middle;
}

.challenge-card h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-primary);
  line-height: 1.5;
  margin-bottom: 16px;
}

.challenge-card h4 strong {
  font-size: 1.3rem;
  font-weight: 800;
}

.challenge-card ul {
  list-style: none;
  padding: 0;
}

.challenge-card ul li {
  position: relative;
  padding-left: 16px;
  font-size: 0.88rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 8px;
}

.challenge-card ul li::before {
  content: '●';
  position: absolute;
  left: 0;
  color: var(--color-red);
  font-size: 0.5rem;
  top: 6px;
}

/* Pain arrow */
.data-service-pain {
  text-align: center;
  padding: 40px 0;
}

.data-service-pain p {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto 24px;
}

.pain-arrow {
  color: var(--color-red);
  animation: bounceDown 2s ease-in-out infinite;
}

@keyframes bounceDown {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(10px);
  }
}

/* Solution banner */
.data-service-solution {
  margin-bottom: 60px;
}

.solution-banner {
  background: linear-gradient(135deg, var(--color-gradient-start) 0%, var(--color-gradient-end) 100%);
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.solution-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(37, 99, 235, 0.2) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(220, 38, 38, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.solution-banner h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 16px;
  position: relative;
}

.solution-banner p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  position: relative;
}

/* Service features (01, 02) */
.data-service-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 80px;
}

.ds-feature {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.ds-feature::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-red), var(--color-accent));
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.ds-feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.ds-feature:hover::after {
  transform: scaleX(1);
}

.ds-feature-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-red);
  opacity: 0.15;
  line-height: 1;
  margin-bottom: 12px;
}

.ds-feature h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.ds-feature-desc p {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  margin-bottom: 16px;
  font-weight: 600;
}

.ds-feature-desc ul {
  list-style: none;
  padding: 0;
}

.ds-feature-desc ul li {
  position: relative;
  padding-left: 20px;
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: 8px;
}

.ds-feature-desc ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--color-red);
  font-weight: 700;
}

.ds-feature-desc ul li strong {
  color: var(--color-primary);
  font-weight: 600;
}

/* Conversion cases */
.data-service-cases {
  margin-top: 20px;
}

.cases-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary);
  text-align: center;
  margin-bottom: 40px;
}

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

.case-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
  position: relative;
}

.case-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.case-card-label {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 4px 14px;
  background: var(--color-red);
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: var(--radius-full);
  z-index: 2;
}

.case-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-bottom: 1px solid var(--color-border);
  transition: transform var(--transition-slow);
}

.case-card:hover img {
  transform: scale(1.05);
}

.case-card p {
  padding: 16px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
  text-align: center;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero .container {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-desc {
    margin: 0 auto 36px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    max-width: 450px;
    width: 100%;
  }

  .services-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .bpo-layout,
  .ai-box-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .rag-tool-layout,
  .data-service-hero {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .rag-tool-features,
  .challenges-grid,
  .cases-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

  .data-service-features {
    grid-template-columns: 1fr;
  }

  .saas-grid {
    grid-template-columns: 1fr;
  }

  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .pricing-card.featured {
    transform: none;
  }

  .pricing-card.featured:hover {
    transform: translateY(-4px);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {

  .nav-links,
  .nav-cta {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 24px;
  }

  .hero-stat-value {
    font-size: 1.5rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .bpo-compare-cell {
    padding: 12px 14px;
    font-size: 0.82rem;
  }

  .ai-box-points {
    grid-template-columns: 1fr;
  }

  .advantages-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin: 0 auto;
  }

  .solutions-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--nav-height) + 40px);
    padding-bottom: 60px;
  }

  .hero-visual-card {
    padding: 20px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.88rem;
  }

  .services-overview,
  .bpo-section,
  .saas-section,
  .rag-tool-section,
  .data-service-section,
  .ai-box-section,
  .advantages-section,
  .solutions-section,
  .pricing-section,
  .cta-section {
    padding: 72px 0;
  }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .animate-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================
   DATA SERVICE NEW SECTIONS
   ============================================ */

/* Impact Stats */
.data-service-impact {
  padding: 80px 0;
  background: var(--color-white);
}

.impact-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-primary);
  text-align: center;
  margin-bottom: 50px;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: center;
}

.impact-card {
  padding: 30px;
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

.impact-value {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--color-red);
  line-height: 1;
  margin-bottom: 10px;
}

.impact-value small {
  font-size: 1.5rem;
  font-weight: 600;
  margin-left: 5px;
}

.impact-label {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 15px;
}

/* Second CTA Banner */
.data-service-cta-banner {
  padding: 80px 0;
  background: var(--color-white);
}

.cta-banner-dark {
  background: var(--color-primary);
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  text-align: center;
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

/* Vertical Stack for Data Service Challenges */
.solutions-grid-vertical {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  /* max-width removed to match Service section */
  margin: 0 auto;
}

.solutions-grid-vertical .solution-card {
  display: flex !important;
  /* Force flex */
  flex-direction: column;
}

.cta-banner-dark h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 15px;
}

.cta-banner-dark p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 30px;
  font-size: 1.1rem;
}

/* FAQ Section */
.data-service-faq {
  padding: 80px 0;
  background: var(--color-bg-alt);
}

.faq-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-primary);
  text-align: center;
  margin-bottom: 50px;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 24px 30px;
  border: 1px solid var(--color-border);
}

.faq-question {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 10px;
  position: relative;
  padding-left: 30px;
}

.faq-question::before {
  content: 'Q.';
  position: absolute;
  left: 0;
  color: var(--color-red);
  font-weight: 800;
}

.faq-answer {
  padding-left: 30px;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* Contact Form */
.data-service-contact {
  padding: 80px 0;
  background: var(--color-white);
}

.contact-form-wrapper {
  max-width: 700px;
  margin: 0 auto;
  padding: 40px;
  background: var(--color-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-border);
}

.contact-title {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 30px;
  color: var(--color-primary);
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-primary);
}

.contact-form .required {
  color: var(--color-red);
  margin-left: 4px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 1rem;
  transition: all var(--transition-base);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-brand);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.contact-form .form-group.row {
  display: flex;
  gap: 20px;
}

.contact-form .form-group.row .col {
  flex: 1;
}

.contact-form .btn-block {
  width: 100%;
  justify-content: center;
  margin-top: 10px;
}

/* ============================================
   RAG TOOL Z-LAYOUT FEATURES
   ============================================ */
.rag-features-container {
  display: flex;
  flex-direction: column;
  gap: 0;
  /* Removing gap to let sections handle padding */
}

.rag-feature-section {
  padding: 80px 0;
  display: flex;
  align-items: center;
  gap: 80px;
  border-bottom: 1px solid var(--color-border);
}

.rag-feature-section:last-child {
  border-bottom: none;
}

.rag-feature-section:nth-child(even) {
  flex-direction: row-reverse;
}

.rag-feature-content {
  flex: 1;
}

.rag-feature-visual {
  flex: 1;
}

.rag-feature-img-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-border);
  background: var(--color-bg-alt);
}

.rag-feature-img-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--transition-slow);
}

.rag-feature-img-wrapper:hover img {
  transform: scale(1.03);
}

.rag-feature-num {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 800;
  color: var(--color-red);
  line-height: 1;
  margin-bottom: 24px;
  opacity: 0.15;
}

.rag-feature-content h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 24px;
}

.rag-feature-content p {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: 32px;
}

.rag-feature-tags {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Responsive adjustments for Z-layout */
@media (max-width: 960px) {
  .rag-feature-section {
    gap: 50px;
    padding: 60px 0;
  }
}

@media (max-width: 768px) {

  .rag-feature-section,
  .rag-feature-section:nth-child(even) {
    flex-direction: column;
    text-align: left;
    /* Keep left alignment for readability usually, or center? Screenshot looks left aligned text */
    gap: 30px;
  }

  .rag-feature-visual {
    width: 100%;
    margin-bottom: 20px;
  }

  .rag-feature-content {
    width: 100%;
  }

  .rag-feature-num {
    font-size: 3.5rem;
    margin-bottom: 16px;
  }

  .rag-feature-content h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
  }
}

/* ============================================
   RAG CHALLENGES
   ============================================ */
.rag-challenges {
  padding: 80px 0;
  /* background: var(--color-bg-alt); Remove bg to blend with container or distinct? Keep transparent if inside container */
  margin-top: 80px;
}

.rag-challenges-title {
  text-align: center;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 50px;
}

.rag-challenge-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 40px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base);
}

.rag-challenge-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.rag-challenge-card:last-child {
  margin-bottom: 0;
}

.rag-challenge-icon {
  width: 80px;
  height: 80px;
  background: rgba(239, 68, 68, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-red);
  font-size: 2rem;
  /* Using text for icon or svg? */
  flex-shrink: 0;
}

.rag-challenge-content {
  flex: 1;
}

.rag-challenge-content h4 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-primary);
}

.rag-challenge-content p {
  color: var(--color-text-secondary);
  font-size: 1.1rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .rag-challenge-card {
    flex-direction: column;
    text-align: center;
    padding: 30px;
    gap: 20px;
  }
}

/* ============================================
   RAG ABOUT
   ============================================ */
.rag-about {
  padding: 100px 0;
  text-align: center;
  background: var(--color-white);
}

.rag-about-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.rag-about-label {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--color-red);
  margin-bottom: 20px;
  text-transform: uppercase;
  display: block;
}

.rag-about-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 30px;
  line-height: 1.3;
  color: var(--color-primary);
}

.rag-about-desc {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: 50px;
}

.rag-about-video-placeholder {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  /* 16:9 Aspect Ratio */
  background: #f0f0f0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
}

.rag-about-video-placeholder::after {
  content: 'Video Placeholder';
  color: var(--color-text-light);
  font-weight: 600;
}

/* ============================================
   RAG SOLUTION BRIDGE
   ============================================ */
.rag-solution {
  padding: 60px 0;
  text-align: center;
  background: var(--color-white);
  position: relative;
  z-index: 1;
}

.rag-solution-content {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 40px 60px;
  border-radius: var(--radius-xl);
  display: inline-block;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.rag-solution-content::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-bottom: 20px solid var(--color-primary);
}

.rag-solution h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.rag-solution p {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* ============================================
   RAG ABOUT CARDS (Screenshot Alignment)
   ============================================ */
.rag-about {
  background: #f0f4f8;
  /* Light purple/blue bg from screenshot */
}

.rag-about-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 60px;
  flex-wrap: wrap;
}

.rag-about-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  flex: 1;
  min-width: 280px;
  max-width: 360px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rag-about-card-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: #8c9bb5;
  /* Muted blue-grey */
  margin-bottom: 20px;
  line-height: 1;
}

.rag-about-card h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 30px;
  line-height: 1.5;
}

.rag-about-card-icon {
  width: 100%;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rag-about-card-icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.rag-about-card-icon svg {
  width: 80px;
  height: 80px;
  color: var(--color-primary);
  opacity: 0.8;
}

@media (max-width: 768px) {
  .rag-about-cards {
    flex-direction: column;
    align-items: center;
  }

  .rag-about-card {
    width: 100%;
    max-width: 100%;
  }
}

/* ============================================
   RAG HERO (Screenshot Alignment)
   ============================================ */
.rag-hero {
  background: #f4f7fc;
  /* Light blue-grey from screenshot */
  padding: 180px 0 100px;
  /* Adjust padding for fixed header */
  position: relative;
  overflow: hidden;
}

.rag-hero-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.rag-hero-text {
  flex: 1;
  max-width: 600px;
  text-align: left;
  /* Explicitly left align */
}

.rag-hero-image {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
}

.rag-hero-image img {
  width: 100%;
  max-width: 700px;
  height: auto;
  border-radius: var(--radius-lg);
  /* box-shadow: var(--shadow-xl); Optional since image might handle it or be transparent png */
}

.rag-hero-subtitle {
  color: #6b7c93;
  /* Muted blue */
  font-weight: 700;
  font-size: 1.1rem;
  display: block;
  margin-bottom: 15px;
}

.rag-hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.2;
  margin-bottom: 24px;
}

.rag-hero-desc {
  font-size: 1.2rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 40px;
  font-weight: 500;
}

.rag-hero-buttons {
  display: flex;
  gap: 20px;
}

.btn-outline-red {
  background: var(--color-white);
  border: 1px solid var(--color-red);
  color: var(--color-red);
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 700;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.btn-outline-red:hover {
  background: rgba(239, 68, 68, 0.05);
  /* Light red tint */
  color: var(--color-red);
}

@media (max-width: 992px) {
  .rag-hero {
    padding: 140px 0 60px;
  }

  .rag-hero-layout {
    flex-direction: column-reverse;
    /* Text bottom, image top on mobile? Or standard? Usually Text top. */
    flex-direction: column;
    text-align: center;
  }

  .rag-hero-text {
    text-align: center;
    max-width: 100%;
    margin-bottom: 40px;
  }

  .rag-hero-buttons {
    justify-content: center;
  }
}

/* ============================================
   NAVBAR LIGHT HERO (For light background pages)
   ============================================ */
/* Force dark text on transparent background when not scrolled */
.navbar-light-hero:not(.scrolled) .nav-logo {
  color: var(--color-primary);
}

.navbar-light-hero:not(.scrolled) .nav-link {
  color: var(--color-text-secondary);
}

.navbar-light-hero:not(.scrolled) .nav-link:hover,
.navbar-light-hero:not(.scrolled) .nav-link.active {
  color: var(--color-accent);
}

.navbar-light-hero:not(.scrolled) .mobile-toggle span {
  background: var(--color-primary);
}

/* ============================================
   RAG CHALLENGES (Screenshot Layout)
   ============================================ */
.rag-challenges {
  background: #ffffff;
  padding: 80px 0;
  text-align: center;
}

.rag-challenges-header {
  margin-bottom: 50px;
}

.rag-challenges-subtitle {
  color: var(--color-red);
  font-weight: 700;
  display: block;
  margin-bottom: 15px;
  font-size: 0.9rem;
  letter-spacing: 1px;
  position: relative;
  display: inline-block;
}

.rag-challenges-subtitle::before,
.rag-challenges-subtitle::after {
  content: "—";
  margin: 0 10px;
  color: #ffcccc;
  /* Light red dash */
}

.rag-challenges-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-text-primary);
  margin-bottom: 40px;
}

.rag-challenges-title .highlight {
  color: var(--color-red);
}

.rag-challenges-top-img {
  max-width: 600px;
  width: 100%;
  margin: 0 auto 80px;
  display: block;
}

.rag-challenge-card {
  background: #f4f8fc;
  /* Light blue-grey background from screenshot */
  margin-bottom: 40px;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  min-height: 280px;
}

.rag-challenge-bar {
  width: 50px;
  background: #3b5998;
  /* Dark Blue from screenshot */
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 6px;
  padding: 20px 0;
  flex-shrink: 0;
}

/* Specific colors for bars if needed, but screenshot shows all dark blue */

.rag-challenge-content {
  flex: 1;
  padding: 30px 40px;
  text-align: left;
  display: flex;
  flex-direction: column;
}

.rag-challenge-content h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-text-primary);
  margin-bottom: 12px;
}

.rag-challenge-content h3 .highlight {
  color: var(--color-red);
}

.rag-challenge-content p {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: auto;
  /* Push visuals to bottom if needed */
}

.rag-challenge-visual {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 20px;
}

.rag-challenge-visual img {
  max-height: 120px;
  /* Adjust based on SVGs */
  width: auto;
  max-width: 100%;
}

@media (max-width: 768px) {
  .rag-challenge-card {
    flex-direction: column;
  }

  .rag-challenge-bar {
    width: 100%;
    height: 40px;
    writing-mode: horizontal-tb;
    flex-direction: row;
    letter-spacing: 2px;
  }

  .rag-challenge-content {
    padding: 20px;
    text-align: center;
  }
}

/* ============================================
   RAG SOLUTION VISUALS
   ============================================ */
.rag-solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 50px auto 0;
}

.rag-solution-item {
  background: white;
  border-radius: 8px;
  padding: 10px;
  /* Optional frame */
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.rag-solution-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.rag-solution-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .rag-solution-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .rag-solution-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   RAG FEATURES LIST (Redesign)
   ============================================ */
.rag-feature-list {
  padding: 80px 0;
  background: white;
}

.rag-feature-item {
  margin-bottom: 120px;
}

.rag-feature-item:last-child {
  margin-bottom: 0;
}

.rag-feature-header {
  text-align: center;
  margin-bottom: 40px;
}

.rag-feature-label {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-secondary);
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.rag-feature-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 20px;
  font-family: var(--font-heading);
}

.rag-feature-title-block {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

.rag-feature-title-block h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 15px;
  color: var(--color-text-primary);
}

.rag-feature-title-block p {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* Feature 1 */
.rag-feature-1-visuals {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.rag-feature-1-main-img {
  max-width: 800px;
  width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow-xl);
}

.rag-feature-1-footer-img {
  max-width: 1000px;
  width: 100%;
  border-radius: 12px;
}

.rag-feature-1-points {
  display: flex;
  justify-content: center;
  /* or space-around */
  gap: 15px;
  margin: 30px 0;
  flex-wrap: wrap;
}

.rag-feature-point {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f1f5f9;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text-primary);
}

.rag-feature-point-icon {
  width: 24px;
  height: 24px;
  background: var(--color-primary);
  border-radius: 50%;
  flex-shrink: 0;
  /* Placeholder for icon */
}

/* Feature 2 */
.rag-feature-2-images {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.rag-feature-2-images img {
  width: calc(50% - 15px);
  max-width: 600px;
  height: auto;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}

/* Feature 3 */
.rag-feature-3-visual {
  text-align: center;
}

.rag-feature-3-visual img {
  max-width: 900px;
  width: 100%;
  height: auto;
}

/* Feature 4 */
.rag-feature-4-visual {
  text-align: center;
}

.rag-feature-4-visual img {
  max-width: 1000px;
  width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}

@media (max-width: 768px) {
  .rag-feature-2-images img {
    width: 100%;
  }
}

/* ============================================
   RAG TOOL REDESIGN (UI/UX Pro Max)
   ============================================ */

/* Feature Split (Zig-Zag) */
.feature-split-section {
  padding: 100px 0;
  background: var(--color-white);
  overflow: hidden;
}

.feature-split-section .section-header {
  text-align: center;
  margin-bottom: 60px;
}

.feature-split-section .section-header .section-desc {
  margin: 0 auto;
}

.feature-split {
  display: flex;
  align-items: center;
  gap: 80px;
  margin-bottom: 120px;
}

.feature-split:last-child {
  margin-bottom: 0;
}

.feature-split:nth-child(even) {
  flex-direction: row-reverse;
}

.feature-visual {
  flex: 1;
  position: relative;
}

.feature-visual img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-border);
  transition: transform var(--transition-base);
  width: 100%;
}

.feature-split:hover .feature-visual img {
  transform: translateY(-5px);
}

.feature-content {
  flex: 1;
}

.feature-number {
  font-family: var(--font-display);
  font-size: 6rem;
  font-weight: 900;
  color: rgba(37, 99, 235, 0.08);
  line-height: 1;
  margin-bottom: -30px;
  position: relative;
  z-index: -1;
  margin-left: -5px;
}

.feature-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 24px;
  line-height: 1.2;
}

.feature-desc {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.feature-tag {
  padding: 8px 20px;
  background: var(--color-bg-alt);
  color: var(--color-text-secondary);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid var(--color-border);
}

/* Specific Adjustments for RAG Tool Images */
.feature-visual.multi-img {
  display: flex;
  gap: 20px;
}

.feature-visual.multi-img img {
  width: calc(50% - 10px);
}

/* Mobile Responsive */
@media (max-width: 900px) {

  .feature-split,
  .feature-split:nth-child(even) {
    flex-direction: column;
    gap: 40px;
  }

  .feature-number {
    font-size: 4rem;
  }

  .feature-visual.multi-img {
    flex-direction: column;
  }

  .feature-visual.multi-img img {
    width: 100%;
  }
}


/* ============================================
   WHY US PAGE STYLES (Light Mode + Dark Hero)
   ============================================ */

/* --- Paradigm Hero (Keep Dark for Brand Consistency) --- */
.paradigm-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 80px;
  overflow: hidden;
  background: #020617;
  /* Slate 950 */
  color: white;
}

.paradigm-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: radial-gradient(circle at 50% 50%, #1e293b 0%, #020617 100%);
}

.paradigm-grid {
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  z-index: 2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  transform: perspective(500px) rotateX(60deg);
  opacity: 0.4;
  animation: gridMove 30s linear infinite;
}

@keyframes gridMove {
  0% {
    transform: perspective(500px) rotateX(60deg) translateY(0);
  }

  100% {
    transform: perspective(500px) rotateX(60deg) translateY(60px);
  }
}

.paradigm-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
  /* Blue Glow for Light/Brand alignment */
  filter: blur(80px);
}

.paradigm-content {
  position: relative;
  z-index: 10;
}

.paradigm-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  color: #60a5fa;
  /* Light Blue */
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 24px;
}

.paradigm-content h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 32px;
  background: linear-gradient(to bottom right, #ffffff, #cbd5e1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}

.paradigm-sub {
  font-size: 1.25rem;
  color: #94a3b8;
  /* Slate 400 */
  max-width: 800px;
  margin: 0 auto 48px;
  line-height: 1.8;
}

.btn-glowable {
  background: #2563eb;
  color: white;
  padding: 16px 40px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
  transition: all 0.3s ease;
  border: none;
}

.btn-glowable:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
  color: white;
}

/* --- Danger Section (Light Mode) --- */
.danger-section {
  padding: 120px 0;
  position: relative;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
}

.danger-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 64px;
}

.danger-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 40px;
  border-radius: 24px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.danger-card:hover {
  border-color: #cbd5e1;
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.danger-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  background: #fee2e2;
  /* Light Red */
  color: #ef4444;
  /* Red */
}

.danger-card h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: #0f172a;
  /* Slate 900 */
}

.danger-card p {
  color: #475569;
  /* Slate 600 */
  line-height: 1.7;
}

/* --- Philosophy Section (Light Mode) --- */
.philosophy-section {
  padding: 120px 0;
  background: #f8fafc;
  /* Slate 50 */
}

.philosophy-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

@media (max-width: 992px) {
  .philosophy-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.philosophy-text h2 {
  color: #0f172a;
}

.philosophy-text p {
  color: #475569;
}

.philosophy-detail {
  font-size: 1.2rem;
  color: #334155;
  margin-top: 24px;
  border-left: 4px solid #2563eb;
  padding-left: 20px;
  background: rgba(37, 99, 235, 0.05);
  /* Light blue bg for emphasis */
  padding: 20px;
  border-radius: 0 8px 8px 0;
}

.philosophy-comparison {
  background: #ffffff;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  /* Soft shadow */
  border: 1px solid #e2e8f0;
}

.compare-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 20px 0;
  border-bottom: 1px solid #e2e8f0;
}

.compare-row:last-child {
  border-bottom: none;
}

.compare-row.header-row {
  font-weight: 700;
  color: #0f172a;
  font-size: 1.1rem;
  padding-bottom: 24px;
  border-bottom: 2px solid #e2e8f0;
}

.col-feature {
  color: #475569;
  font-weight: 500;
}

.text-red {
  color: #dc2626;
}

.text-green {
  color: #16a34a;
  font-weight: 600;
}

/* --- Solutions Section (Light Mode) --- */
.solutions-section {
  padding: 120px 0;
  background: #ffffff;
}

.why-us-solutions-grid {
  display: flex;
  flex-direction: column;
  gap: 60px;
  margin-top: 60px;
}

.why-us-solution-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  background: #f8fafc;
  /* Light Slate bg */
  border: 1px solid #e2e8f0;
  border-radius: 32px;
  overflow: hidden;
  min-height: 400px;
  transition: all 0.3s ease;
}

.why-us-solution-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.why-us-solution-card:nth-child(even) {
  grid-template-columns: 0.8fr 1.2fr;
}

@media (max-width: 768px) {
  .why-us-solution-card {
    grid-template-columns: 1fr;
  }

  .why-us-solution-visual {
    height: 250px;
  }
}

.why-us-solution-content {
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.why-us-solution-label {
  color: #2563eb;
  /* Primary Blue */
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
}

.why-us-solution-content h3 {
  font-size: 2.2rem;
  color: #0f172a;
  margin-bottom: 12px;
}

.why-us-solution-sub {
  font-size: 1.2rem;
  color: #475569;
  margin-bottom: 24px;
  font-weight: 500;
}

.why-us-solution-desc {
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 24px;
}

.why-us-solution-desc strong {
  color: #334155;
}

.why-us-solution-tags li {
  padding: 8px 16px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.9rem;
  color: #475569;
  font-weight: 500;
}

.why-us-solution-visual {
  background: #e2e8f0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Keep server visual abstract but clean */
.why-us-solution-visual .server-box {
  width: 120px;
  height: 180px;
  background: #cbd5e1;
  border-radius: 12px;
  border: 2px solid #94a3b8;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* --- Why Us Grid (Light Mode) --- */
.why-us-section {
  padding: 120px 0;
  background: #f8fafc;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  margin-top: 60px;
}

.why-card {
  padding: 32px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  transition: all 0.3s ease;
}

.why-card:hover {
  border-color: #2563eb;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.1);
  transform: translateY(-5px);
}

.why-num {
  font-size: 3rem;
  font-weight: 900;
  color: #f1f5f9;
  /* Very light slate */
  line-height: 1;
  margin-bottom: 16px;
}

.why-card:hover .why-num {
  color: #dbeafe;
}

/* Light blue on hover */

.why-card h3 {
  color: #0f172a;
  margin-bottom: 16px;
  font-size: 1.3rem;
}

.why-card p {
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.7;
}

.why-card p strong {
  color: #334155;
}

/* --- Final CTA (Light Mode) --- */
.final-cta-section {
  padding: 100px 0;
  text-align: center;
  background: #ffffff;
}

.final-cta-box {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  /* Keep Dark Box for contrast */
  padding: 80px 40px;
  border-radius: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.2);
  color: white;
}

.final-cta-box h2 {
  font-size: 3rem;
  color: white;
  margin-bottom: 24px;
}

.final-cta-box p {
  font-size: 1.25rem;
  color: #cbd5e1;
  margin-bottom: 48px;
}

.btn-lg {
  padding: 18px 48px;
  font-size: 1.1rem;
}

.btn-gold-fill {
  background: #2563eb;
  /* Blue CTA */
  color: white;
  font-weight: 700;
  border-radius: 30px;
  transition: all 0.3s;
}

.btn-gold-fill:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.btn-outline-white {
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
}

.btn-outline-white:hover {
  background: white;
  color: #0f172a;
}

/* Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

.delay-4 {
  transition-delay: 0.4s;
}