:root {
  --primary-color: #2573fc;
  --primary-dark: #1a5ac6;
  --primary-light: rgba(37, 115, 252, 0.08);
  --text-dark: #1a1d27;
  --text-muted: #8e95a5;
  --bg-light: #f8f9fa;
  --bg-subtle: #f2f5fb;
  --white: #ffffff;
  --border-color: rgba(0,0,0,0.07);
  --shadow-sm: 0 4px 12px rgba(0,0,0,0.05);
  --shadow-md: 0 10px 30px rgba(0,0,0,0.07);
  --shadow-lg: 0 20px 50px rgba(0,0,0,0.1);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

* { box-sizing: border-box; }

body {
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--text-dark);
  overflow-x: hidden;
  line-height: 1.6;
}

/* --- Typography --- */
.text-primary-custom { color: var(--primary-color) !important; }
.text-muted-custom { color: var(--text-muted) !important; }
.fw-800 { font-weight: 800; }
.fw-600 { font-weight: 600; }
.fw-500 { font-weight: 500; }

h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.2; }

/* --- Buttons --- */
.btn-primary-custom {
  background-color: var(--primary-color);
  color: white;
  border-radius: 50px;
  padding: 12px 28px;
  font-weight: 600;
  border: none;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
}
.btn-primary-custom:hover {
  background-color: var(--primary-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 115, 252, 0.3);
}

.btn-ghost {
  color: var(--text-dark);
  font-weight: 600;
  padding: 12px 28px;
  text-decoration: none;
  transition: color 0.3s ease;
  display: inline-block;
}
.btn-ghost:hover { color: var(--primary-color); }

.btn-outline-primary-custom {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  border-radius: 50px;
  padding: 10px 26px;
  font-weight: 600;
  background: transparent;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
}
.btn-outline-primary-custom:hover {
  background: var(--primary-color);
  color: white;
}

/* --- Badges --- */
.badge-soft-primary {
  background-color: var(--primary-light);
  color: var(--primary-color);
  border-radius: 50px;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-block;
}

/* --- Hero Section --- */
.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.1;
  letter-spacing: -1px;
}
.hero-title .text-muted-custom { color: #a0aab2 !important; }

.hero-img-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
}
.hero-img-wrapper img {
  border-radius: var(--radius-lg);
  width: 100%;
  height: 500px;
  object-fit: cover;
}

/* Floating Badges */
.floating-badge {
  position: absolute;
  background: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
}
.floating-badge.badge-top { top: 20px; left: -40px; }
.floating-badge.badge-bottom { bottom: 60px; right: -40px; }

.icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.icon-circle.primary { background: var(--primary-color); color: white; }
.icon-circle.light { background: var(--primary-light); color: var(--primary-color); }

/* Avatar Stack */
.avatar-stack { display: flex; align-items: center; }
.avatar-stack img {
  width: 35px; height: 35px;
  border-radius: 50%; border: 3px solid #fff;
  margin-left: -12px; z-index: 1;
}
.avatar-stack img:first-child { margin-left: 0; z-index: 3; }
.avatar-stack img:nth-child(2) { z-index: 2; }

/* --- Feature Icon Box --- */
.feature-icon-box {
  width: 60px; height: 60px;
  border-radius: var(--radius-sm);
  background: var(--white);
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary-color);
  font-size: 1.8rem;
  margin: 0 auto 20px;
}

/* --- Section Labels --- */
.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary-color);
  margin-bottom: 12px;
  display: block;
}

/* --- Cards --- */
.card-service {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  height: 100%;
}
.card-service:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: transparent;
}
.card-service .icon-wrap {
  width: 56px; height: 56px;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

/* --- Page Hero (Interior Pages) --- */
.page-hero {
  background: linear-gradient(135deg, #f0f4ff 0%, #ffffff 60%);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,115,252,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero .breadcrumb { font-size: 0.875rem; }
.page-hero .breadcrumb-item a { color: var(--primary-color); text-decoration: none; }
.page-hero .breadcrumb-item.active { color: var(--text-muted); }
.page-hero .hero-badge {
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--primary-color);
  background: var(--primary-light);
  padding: 6px 14px; border-radius: 50px;
  display: inline-block; margin-bottom: 16px;
}

/* --- Detail Cards --- */
.detail-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px;
  border: 1px solid var(--border-color);
  margin-bottom: 24px;
}
.detail-card h3 { font-size: 1.4rem; margin-bottom: 16px; }
.detail-card .item-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary-color);
  font-size: 1.3rem;
  margin-bottom: 16px;
}

/* --- Sub-items List --- */
.sub-items-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin-top: 24px; }
.sub-item-card {
  background: var(--bg-subtle);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  border: 1px solid var(--border-color);
  transition: all 0.25s ease;
}
.sub-item-card:hover { border-color: var(--primary-color); background: var(--primary-light); }
.sub-item-card h6 { font-size: 0.95rem; font-weight: 700; margin-bottom: 8px; }
.sub-item-card p { font-size: 0.875rem; color: var(--text-muted); margin: 0; line-height: 1.5; }

/* --- Feature List --- */
.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.95rem;
  color: var(--text-dark);
}
.feature-list li:last-child { border-bottom: none; }
.feature-list li::before {
  content: '';
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--primary-light);
  flex-shrink: 0;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%232573fc' d='M13.854 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 10.293l6.646-6.647a.5.5 0 0 1 .708 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}

/* --- Stats Row --- */
.stat-item { text-align: center; padding: 20px; }
.stat-item .stat-number { font-size: 2.5rem; font-weight: 800; color: var(--primary-color); line-height: 1; }
.stat-item .stat-label { font-size: 0.875rem; color: var(--text-muted); margin-top: 4px; font-weight: 500; }

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  padding: 80px 0;
  color: white;
  text-align: center;
}
.cta-section h2 { color: white; }
.cta-section p { color: rgba(255,255,255,0.8); }
.btn-white {
  background: white;
  color: var(--primary-color);
  border-radius: 50px;
  padding: 14px 32px;
  font-weight: 700;
  border: none;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
}
.btn-white:hover {
  background: #f0f4ff;
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* --- Partners Section --- */
.partner-logo {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 20px 28px;
  display: flex; align-items: center; justify-content: center;
  height: 80px;
  transition: all 0.25s ease;
}
.partner-logo:hover { box-shadow: var(--shadow-md); border-color: var(--primary-color); }
.partner-logo span {
  font-weight: 800; font-size: 1.2rem; color: var(--text-dark);
  letter-spacing: -0.5px;
}

/* --- Responsive --- */
@media (max-width: 991px) {
  .floating-badge { display: none; }
  .hero-title { font-size: 2.5rem; }
  .hero-img-wrapper img { height: 350px; }
}
@media (max-width: 767px) {
  .page-hero { padding: 80px 0 60px; }
  .detail-card { padding: 24px; }
  .sub-items-grid { grid-template-columns: 1fr; }
}
