/* ============================================
   SIPANTAU - Landing Page Styles
   Premium Modern Design v2.0
   ============================================ */

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

/* ========== CSS VARIABLES ========== */
:root {
  /* Brand Colors */
  --primary-50: #eef2ff;
  --primary-100: #e0e7ff;
  --primary-500: #6366f1;
  --primary-600: #4f46e5;
  --primary-700: #4338ca;
  --primary: #6366f1;
  --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --primary-glow: 0 0 40px rgba(99, 102, 241, 0.35);

  --success: #10b981;
  --success-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
  --info: #3b82f6;
  --info-gradient: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  --warning: #f59e0b;
  --warning-gradient: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  --danger: #ef4444;
  --danger-gradient: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);

  /* Neutrals */
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --gray-950: #ffffff;

  /* Typography */
  --font-body: 'Inter', 'Plus Jakarta Sans', sans-serif;

  /* Spacing */
  --section-padding: 7rem 0;
  --border-radius-sm: 8px;
  --border-radius: 16px;
  --border-radius-lg: 24px;
  --border-radius-xl: 32px;
  --border-radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.03);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.05), 0 4px 6px -2px rgba(0,0,0,0.02);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.05), 0 10px 10px -5px rgba(0,0,0,0.02);
  --shadow-2xl: 0 25px 50px -12px rgba(0,0,0,0.1);
  --shadow-primary: 0 8px 32px rgba(79, 70, 229, 0.2);

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ========== GLOBAL RESET & BASE ========== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ========== HERO SECTION ========== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 2rem 0 5rem;
  background: var(--gray-950);
}

/* Animated mesh background */
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 30%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
  z-index: 0;
}

@keyframes meshShift {
  0%   { opacity: 0.7; }
  100% { opacity: 1; }
}

/* Grid overlay */
.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.hero-bg-shapes .shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}

.hero-bg-shapes .shape-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.05) 0%, transparent 70%);
  top: -200px;
  right: -150px;
  animation: floatSlow 10s ease-in-out infinite;
}

.hero-bg-shapes .shape-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(118, 75, 162, 0.04) 0%, transparent 70%);
  bottom: -100px;
  left: -100px;
  animation: floatSlow 14s ease-in-out infinite reverse;
}

.hero-bg-shapes .shape-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.03) 0%, transparent 70%);
  top: 40%;
  right: 30%;
  animation: floatSlow 8s ease-in-out infinite 2s;
}

@keyframes floatSlow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(20px, -30px) scale(1.05); }
  66%       { transform: translate(-15px, 15px) scale(0.95); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

.hero-content {
  position: relative;
  z-index: 2;
}

/* Hero Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: rgba(79, 70, 229, 0.08);
  border: 1px solid rgba(79, 70, 229, 0.15);
  border-radius: var(--border-radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-700);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
  backdrop-filter: blur(8px);
  animation: fadeInDown 0.8s ease both;
}

.hero-badge i { font-size: 1rem; color: #818cf8; }

/* Hero Title */
.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--gray-900);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
  animation: fadeInUp 0.8s ease 0.1s both;
}

.hero-title .text-gradient {
  background: linear-gradient(135deg, #818cf8 0%, #c084fc 50%, #e879f9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hero Subtitle */
.hero-subtitle {
  font-size: 1.15rem;
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 500px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

/* Hero Actions */
.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.3s both;
}

/* Primary Button */
.btn-primary-custom {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2rem;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: white !important;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--border-radius-full);
  text-decoration: none !important;
  transition: var(--transition-spring);
  box-shadow: var(--shadow-primary);
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary-custom::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 100%);
  opacity: 0;
  transition: var(--transition);
}

.btn-primary-custom:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 40px rgba(99, 102, 241, 0.5);
  color: white !important;
}

.btn-primary-custom:hover::before { opacity: 1; }

.btn-primary-custom i { font-size: 1.1rem; transition: transform 0.3s ease; }
.btn-primary-custom:hover i { transform: translateX(3px); }

/* Outline Button */
.btn-outline-custom {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2rem;
  background: rgba(0, 0, 0, 0.03);
  color: var(--gray-700) !important;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--border-radius-full);
  text-decoration: none !important;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  backdrop-filter: blur(8px);
}

.btn-outline-custom:hover {
  background: rgba(0, 0, 0, 0.06);
  border-color: var(--gray-300);
  color: var(--gray-900) !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* ─── Hero Stats ─────────────────────────────── */
.hero-stats {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-stat {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1.25rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--gray-200);
  border-radius: var(--border-radius);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.hero-stat:hover {
  background: var(--white);
  border-color: var(--primary-500);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.bg-primary-soft  { background: rgba(79, 70, 229, 0.08); color: var(--primary-600); }
.bg-success-soft  { background: rgba(16, 185, 129, 0.08); color: var(--success); }
.bg-info-soft     { background: rgba(59, 130, 246, 0.08); color: var(--info); }

.stat-info .stat-number {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.2;
}

.stat-info .stat-label {
  font-size: 0.78rem;
  color: var(--gray-500);
  font-weight: 500;
}

/* ─── Hero Visual / Illustration ─────────────── */
.hero-visual {
  position: relative;
  z-index: 2;
  animation: fadeInRight 0.9s ease 0.2s both;
}

.hero-illustration {
  position: relative;
  padding: 1.5rem;
}

.illustration-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--gray-200);
  border-radius: var(--border-radius-lg);
  padding: 1.75rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: var(--transition);
  box-shadow: var(--shadow-lg);
}

.illustration-card:hover {
  transform: translateY(-4px);
  background: var(--white);
  border-color: var(--primary-500);
}

.illustration-card.card-offset {
  margin-top: 1.25rem;
  margin-left: 3rem;
  animation: float 5s ease-in-out infinite 1s;
}

.illustration-card:not(.card-offset) {
  animation: float 5s ease-in-out infinite;
}

.card-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.bg-gradient-primary { background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%); }
.bg-gradient-success  { background: linear-gradient(135deg, #10b981 0%, #059669 100%); }

.card-content h5 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.3rem;
}

.card-content p {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin: 0;
}

.floating-badge {
  position: absolute;
  top: 0px;
  right: 0px;
  background: white;
  padding: 0.7rem 1.1rem;
  border-radius: var(--border-radius-full);
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--gray-800);
  animation: float 3.5s ease-in-out infinite 0.5s;
}

.floating-badge i { font-size: 1.1rem; color: #10b981; }

/* ─── Scroll Indicator ───────────────────────── */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-400);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: fadeIn 1s ease 1s both;
}

.scroll-indicator .scroll-dot {
  width: 24px;
  height: 40px;
  border: 2px solid var(--gray-200);
  border-radius: 12px;
  position: relative;
  display: flex;
  justify-content: center;
}

.scroll-indicator .scroll-dot::before {
  content: '';
  width: 4px;
  height: 10px;
  background: var(--gray-400);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  animation: scrollDown 1.8s ease-in-out infinite;
}

@keyframes scrollDown {
  0%   { opacity: 0; transform: translateY(0); }
  30%  { opacity: 1; }
  80%  { opacity: 0; transform: translateY(12px); }
  100% { opacity: 0; transform: translateY(12px); }
}

/* ========== SECTION COMMON STYLES ========== */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.1rem;
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: var(--border-radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.section-label i { font-size: 1rem; }

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin: 0;
}

.section-header {
  max-width: 640px;
  margin: 0 auto 4rem;
}

.section-header .section-label { margin-bottom: 1rem; }

/* ========== ABOUT SECTION ========== */
.about-section {
  padding: var(--section-padding);
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 500px; height: 500px;
  background: radial-gradient(ellipse at top right, rgba(99, 102, 241, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.about-visual { position: relative; }

.about-image-wrapper {
  position: relative;
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 100%);
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-xl);
}

.about-image-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 30% 30%, rgba(139, 92, 246, 0.3) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 70% 70%, rgba(99, 102, 241, 0.2) 0%, transparent 60%);
}

.about-image-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

.about-icon-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 1;
  padding: 2rem;
}

.icon-box {
  width: 110px;
  height: 110px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--border-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.75rem;
  color: white;
  transition: var(--transition-spring);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
}

.icon-box:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.12);
}

.about-content { padding-left: 2rem; }

.about-text {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.about-features { margin-bottom: 2.5rem; }

.feature-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding: 1rem 1.25rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
  border: 1px solid transparent;
}

.feature-item:hover {
  background: var(--gray-50);
  border-color: var(--gray-100);
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, rgba(16,185,129,0.12) 0%, rgba(5,150,105,0.08) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.feature-item:hover .feature-icon {
  background: linear-gradient(135deg, rgba(16,185,129,0.2) 0%, rgba(5,150,105,0.15) 100%);
  transform: scale(1.08);
}

.feature-icon i { font-size: 1.35rem; color: var(--success); }

.feature-text h5 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.2rem;
}

.feature-text p {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin: 0;
  line-height: 1.6;
}

/* UPT Info */
.about-upt-info {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.upt-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.upt-detail:hover {
  border-color: rgba(99, 102, 241, 0.2);
  background: rgba(99, 102, 241, 0.02);
}

.upt-detail i { font-size: 1.35rem; color: var(--primary); margin-top: 0.1rem; }

.upt-detail .label {
  display: block;
  font-size: 0.72rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.upt-detail .value {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-800);
}

/* ========== SERVICES SECTION ========== */
.services-section {
  padding: var(--section-padding);
  background: var(--gray-50);
  position: relative;
  overflow: hidden;
}

.services-section::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 500px; height: 500px;
  background: radial-gradient(ellipse at bottom left, rgba(99, 102, 241, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.custom-alert {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--border-radius);
  margin-bottom: 2.5rem;
}

.custom-alert.alert-success { background: rgba(16, 185, 129, 0.06); border-color: rgba(16, 185, 129, 0.2); }
.alert-icon i { font-size: 1.5rem; color: var(--success); }
.alert-content { flex: 1; color: var(--gray-800); font-size: 0.9rem; }

.alert-close {
  background: none; border: none;
  font-size: 1.25rem; color: var(--gray-400);
  cursor: pointer; padding: 0.25rem;
  border-radius: 6px; transition: var(--transition);
  line-height: 1;
}

.alert-close:hover { color: var(--gray-700); background: var(--gray-100); }

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--gray-200);
  position: relative;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--card-accent, #6366f1), transparent);
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-2xl);
  border-color: var(--gray-200);
}

.service-card:hover::before { opacity: 1; }

.service-card-pengaduan { --card-accent: #ef4444; }
.service-card-pengaduan::before { background: linear-gradient(90deg, transparent, #ef4444, transparent); }
.service-card-pengajuan { --card-accent: #3b82f6; }
.service-card-pengajuan::before { background: linear-gradient(90deg, transparent, #3b82f6, transparent); }

.service-card-header {
  padding: 2.5rem 2rem 1.5rem;
  text-align: center;
  position: relative;
}

.service-icon-wrapper { margin-bottom: 1.5rem; }

.service-icon-bg {
  width: 76px;
  height: 76px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  color: white;
  margin: 0 auto;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  transition: var(--transition-spring);
}

.service-card:hover .service-icon-bg {
  transform: scale(1.08) rotate(3deg);
  box-shadow: 0 12px 32px rgba(0,0,0,0.2);
}

.bg-danger-gradient { background: linear-gradient(135deg, #f87171 0%, #dc2626 100%); }
.bg-info-gradient   { background: linear-gradient(135deg, #60a5fa 0%, #2563eb 100%); }

.service-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.service-description {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin: 0;
}

.service-card-body { padding: 0 2rem 2rem; }

.service-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem 0;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--gray-100);
  transition: var(--transition);
}

.service-features li:last-child { border-bottom: none; }
.service-features li:hover { padding-left: 0.5rem; }

.service-features li i {
  width: 24px; height: 24px;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  color: var(--success);
  flex-shrink: 0;
}

.service-features li p,
.service-features li span {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin: 0;
  font-weight: 500;
}

/* Service Buttons */
.btn-service {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.5rem;
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: 12px;
  border: none;
  transition: var(--transition-spring);
  text-decoration: none !important;
  letter-spacing: 0.01em;
}

.btn-danger-custom {
  background: linear-gradient(135deg, #f87171 0%, #dc2626 100%);
  color: white !important;
  box-shadow: 0 4px 20px rgba(239, 68, 68, 0.3);
}

.btn-danger-custom:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(239, 68, 68, 0.45);
  color: white !important;
}

.btn-info-custom {
  background: linear-gradient(135deg, #60a5fa 0%, #2563eb 100%);
  color: white !important;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

.btn-info-custom:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(59, 130, 246, 0.45);
  color: white !important;
}

.btn-service i { font-size: 1.1rem; transition: transform 0.3s ease; }
.btn-service:hover i { transform: translateX(3px); }

/* Tracking link */
.service-card-body .text-center.mt-3 a {
  font-size: 0.82rem;
  color: var(--gray-400);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: var(--transition);
}

.service-card-body .text-center.mt-3 a:hover { color: var(--primary); }

/* ========== STATISTICS SECTION ========== */
.statistics-section {
  padding: var(--section-padding);
  background: var(--gray-50);
  position: relative;
  overflow: hidden;
}

.statistics-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 20% 50%, rgba(99, 102, 241, 0.03) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(118, 75, 162, 0.03) 0%, transparent 60%);
  pointer-events: none;
}

.statistics-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,0.01) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.01) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

.statistics-section .section-label {
  background: rgba(79, 70, 229, 0.08);
  border-color: rgba(79, 70, 229, 0.15);
  color: var(--primary-700);
}

.statistics-section .section-title { color: var(--gray-900); }
.statistics-section .section-subtitle { color: var(--gray-500); }

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  position: relative;
  z-index: 1;
}

.stat-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--border-radius-lg);
  padding: 2rem 1.75rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.stat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-6px);
  background: var(--white);
  border-color: var(--primary-500);
  box-shadow: var(--shadow-lg);
}

.stat-card:hover::before { opacity: 1; }

.stat-card-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.65rem;
  margin-bottom: 1.25rem;
  transition: var(--transition);
}

.stat-card:hover .stat-card-icon { transform: scale(1.1); }

.stat-card-primary .stat-card-icon   { background: rgba(79, 70, 229, 0.1); color: var(--primary-600); }
.stat-card-success .stat-card-icon   { background: rgba(16, 185, 129, 0.1); color: var(--success); }
.stat-card-info .stat-card-icon      { background: rgba(59, 130, 246, 0.1); color: var(--info); }
.stat-card-warning .stat-card-icon   { background: rgba(245, 158, 11, 0.1); color: var(--warning); }
.stat-card-danger .stat-card-icon    { background: rgba(239, 68, 68, 0.1); color: var(--danger); }

.stat-card-content { position: relative; z-index: 1; }

.stat-card-number {
  font-size: 2.75rem;
  font-weight: 900;
  color: var(--gray-900);
  margin-bottom: 0.35rem;
  letter-spacing: -0.03em;
  line-height: 1;
}

.stat-card-label {
  font-size: 0.85rem;
  color: var(--gray-500);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.stat-card-bg {
  position: absolute;
  bottom: -18px; right: -14px;
  font-size: 7rem;
  opacity: 0.03;
  color: var(--gray-900);
  transition: var(--transition);
}

.stat-card:hover .stat-card-bg { opacity: 0.07; transform: scale(1.1); }

/* Progress bar inside stat cards */
.stat-card-progress {
  margin-top: 1.25rem;
  height: 4px;
  background: var(--gray-100);
  border-radius: 2px;
  overflow: hidden;
}

.stat-card-progress-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 1s ease 0.5s;
}

.stat-card-primary .stat-card-progress-fill   { background: #818cf8; }
.stat-card-success .stat-card-progress-fill   { background: #34d399; }
.stat-card-info .stat-card-progress-fill      { background: #60a5fa; }
.stat-card-warning .stat-card-progress-fill   { background: #fbbf24; }
.stat-card-danger .stat-card-progress-fill    { background: #f87171; }

/* ========== CONTACT SECTION ========== */
.contact-section {
  padding: var(--section-padding);
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 800px;
  background: radial-gradient(ellipse, rgba(99, 102, 241, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.contact-content {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.contact-card {
  background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 100%);
  border-radius: var(--border-radius-xl);
  padding: 4rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.contact-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 30% 0%, rgba(99, 102, 241, 0.2) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 70% 100%, rgba(139, 92, 246, 0.15) 0%, transparent 60%);
}

.contact-card::after {
  content: '';
  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: 40px 40px;
}

.contact-card .section-label {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  color: white;
  position: relative; z-index: 1;
}

.contact-card .section-title {
  color: white;
  position: relative; z-index: 1;
}

.contact-card .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
  position: relative; z-index: 1;
  margin-bottom: 2.5rem;
}

.contact-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative; z-index: 1;
}

/* Contact primary button (light on dark) */
.contact-section .btn-primary-custom {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  box-shadow: 0 8px 28px rgba(99, 102, 241, 0.45);
}

.contact-section .btn-outline-custom {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.85) !important;
}

/* ========== ANIMATION KEYFRAMES ========== */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(32px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Intersection Observer animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ========== RESPONSIVE ========== */
@media (max-width: 991px) {
  :root { --section-padding: 5rem 0; }

  .hero-title    { font-size: clamp(2rem, 6vw, 3rem); }
  .hero-subtitle { font-size: 1rem; }
  .hero-actions  { flex-direction: column; max-width: 320px; }
  .hero-stats    { justify-content: center; }

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

  .about-content { padding-left: 0; margin-top: 2.5rem; }

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

  .contact-card { padding: 3rem 2rem; }
}

@media (max-width: 767px) {
  .hero-illustration { padding: 0; }
  .illustration-card.card-offset { margin-left: 1.5rem; }

  .about-icon-grid { gap: 1rem; }
  .icon-box { width: 90px; height: 90px; font-size: 2.25rem; }

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

@media (max-width: 576px) {
  :root { --section-padding: 4rem 0; }

  .hero-title    { font-size: 2rem; }
  .hero-badge    { font-size: 0.72rem; padding: 0.4rem 1rem; }

  .hero-stats    { flex-direction: column; gap: 0.75rem; }
  .hero-stat     { width: 100%; }

  .btn-primary-custom,
  .btn-outline-custom {
    width: 100%;
    justify-content: center;
  }

  .contact-actions { flex-direction: column; }
  .contact-actions .btn-primary-custom,
  .contact-actions .btn-outline-custom { width: 100%; }

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

  .icon-box { width: 80px; height: 80px; font-size: 2rem; }

  .stat-card-number { font-size: 2.25rem; }
}
