/* =====================================================
   PPOB STORE - Landing Page CSS
   ===================================================== */

:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #a5b4fc;
  --secondary: #06b6d4;
  --accent: #f59e0b;
  --success: #10b981;
  --danger: #ef4444;
  --dark: #0f172a;
  --dark-2: #1e293b;
  --dark-3: #334155;
  --gray: #64748b;
  --light: #f1f5f9;
  --white: #ffffff;
  --gradient-primary: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
  --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%);
  --gradient-card: linear-gradient(135deg, rgba(99,102,241,0.1) 0%, rgba(6,182,212,0.05) 100%);
  --shadow-sm: 0 2px 8px rgba(99,102,241,0.1);
  --shadow-md: 0 8px 32px rgba(99,102,241,0.15);
  --shadow-lg: 0 20px 60px rgba(99,102,241,0.2);
  --border-radius: 16px;
  --border-radius-sm: 10px;
  --border-radius-lg: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--dark);
  color: var(--white);
  overflow-x: hidden;
}

/* =====================================================
   SCROLLBAR
   ===================================================== */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--dark-2);
}
::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 3px;
}

/* =====================================================
   NAVBAR
   ===================================================== */
.navbar-custom {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(99, 102, 241, 0.15);
  padding: 14px 0;
  transition: var(--transition);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.navbar-custom.scrolled {
  background: rgba(15, 23, 42, 0.98);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.navbar-brand-text {
  font-weight: 800;
  font-size: 1.4rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}

.navbar-brand-sub {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--gray);
  letter-spacing: 1px;
  text-transform: uppercase;
  -webkit-text-fill-color: var(--gray);
}

.nav-link-custom {
  color: rgba(255,255,255,0.75) !important;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 8px 16px !important;
  border-radius: var(--border-radius-sm);
  transition: var(--transition);
  position: relative;
}

.nav-link-custom:hover {
  color: var(--white) !important;
  background: rgba(99,102,241,0.1);
}

.nav-link-custom.active-nav {
  color: var(--primary-light) !important;
}

.btn-nav-login {
  background: transparent;
  border: 1px solid rgba(99,102,241,0.5);
  color: var(--primary-light) !important;
  padding: 8px 20px !important;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
}

.btn-nav-login:hover {
  background: rgba(99,102,241,0.15);
  border-color: var(--primary);
  color: var(--white) !important;
}

.btn-nav-daftar {
  background: var(--gradient-primary);
  border: none;
  color: var(--white) !important;
  padding: 8px 20px !important;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(99,102,241,0.3);
}

.btn-nav-daftar:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99,102,241,0.4);
}

.navbar-toggler-custom {
  border: 1px solid rgba(99,102,241,0.4);
  color: var(--white);
  padding: 6px 12px;
  border-radius: 8px;
}

.navbar-toggler-custom:focus {
  box-shadow: none;
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero-section {
  min-height: 100vh;
  background: var(--gradient-hero);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  animation: orbFloat 8s ease-in-out infinite;
}

.hero-bg-orb-1 {
  width: 500px;
  height: 500px;
  background: rgba(99, 102, 241, 0.25);
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}

.hero-bg-orb-2 {
  width: 350px;
  height: 350px;
  background: rgba(6, 182, 212, 0.2);
  bottom: -80px;
  left: -80px;
  animation-delay: 3s;
}

.hero-bg-orb-3 {
  width: 250px;
  height: 250px;
  background: rgba(245, 158, 11, 0.12);
  top: 40%;
  left: 40%;
  animation-delay: 5s;
}

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

.hero-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(99,102,241,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,102,241,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 50px;
  padding: 8px 18px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-light);
  margin-bottom: 24px;
  animation: fadeInDown 0.8s ease;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.8); }
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-title .gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 540px;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-cta-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.6s both;
  margin-bottom: 50px;
}

.btn-hero-primary {
  background: var(--gradient-primary);
  border: none;
  color: var(--white);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  transition: var(--transition);
  box-shadow: 0 8px 30px rgba(99,102,241,0.35);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(99,102,241,0.5);
  color: var(--white);
}

.btn-hero-secondary {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  backdrop-filter: blur(10px);
}

.btn-hero-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.3);
  transform: translateY(-2px);
  color: var(--white);
}

.hero-stats {
  display: flex;
  gap: 36px;
  animation: fadeInUp 0.8s ease 0.8s both;
}

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

.hero-stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
  font-weight: 500;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  animation: fadeInRight 1s ease 0.3s both;
}

/* ===== HERO SCENE (SVG/CSS Illustration) ===== */
.hero-scene {
  position: relative;
  width: 640px;
  height: 680px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInRight 1s ease 0.3s both;
}

.scene-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 540px; height: 540px;
  background: radial-gradient(circle, rgba(99,102,241,0.5) 0%, rgba(6,182,212,0.25) 50%, transparent 75%);
  filter: blur(70px);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
  animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.12); }
}

/* Orbit Rings */
.orbit-ring {
  position: absolute;
  top: 50%; left: 50%;
  border-radius: 50%;
  border: 1px dashed rgba(99,102,241,0.3);
  transform: translate(-50%, -50%);
}

.orbit-ring-1 {
  width: 560px; height: 560px;
  animation: spinOrbit 20s linear infinite;
}

.orbit-ring-2 {
  width: 400px; height: 400px;
  animation: spinOrbit 14s linear infinite reverse;
}

@keyframes spinOrbit {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Orbit Icons */
.orbit-icon {
  position: absolute;
  width: 64px; height: 64px;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(99,102,241,0.4);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 6px 30px rgba(99,102,241,0.35);
}

/* Counter-rotate so icons stay upright */
.orbit-ring-1 .orbit-icon { animation: counterSpin 20s linear infinite; }
.orbit-ring-2 .orbit-icon { animation: counterSpin2 14s linear infinite; }

@keyframes counterSpin  { from { transform: rotate(0deg); } to { transform: rotate(-360deg); } }
@keyframes counterSpin2 { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* Position each icon on ring-1 at 0°, 90°, 180°, 270° */
.oi-1 { top: -32px; left: 50%; transform: translateX(-50%); color: #a78bfa; }
.oi-2 { right: -32px; top: 50%; transform: translateY(-50%); color: #f59e0b; }
.oi-3 { bottom: -32px; left: 50%; transform: translateX(-50%); color: #06b6d4; }
.oi-4 { left: -32px; top: 50%; transform: translateY(-50%); color: #10b981; }

/* Position each icon on ring-2 */
.oi-5 { top: -32px; left: 50%; transform: translateX(-50%); color: #ec4899; }
.oi-6 { bottom: -32px; left: 50%; transform: translateX(-50%); color: #06b6d4; }

/* Person SVG */
.hero-person {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  animation: personFloat 4s ease-in-out infinite;
}

.person-svg {
  width: 420px;
  height: auto;
  filter: drop-shadow(0 14px 60px rgba(99,102,241,0.6));
}

@keyframes personFloat {
  0%, 100% { transform: translate(-50%, -50%) translateY(0px); }
  50% { transform: translate(-50%, -50%) translateY(-14px); }
}


.hero-dashboard-card {
  background: rgba(30, 41, 59, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: var(--border-radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
}

.dashboard-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.dashboard-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dashboard-dot.red { background: #ef4444; }
.dashboard-dot.yellow { background: #f59e0b; }
.dashboard-dot.green { background: #10b981; }

.balance-card {
  background: var(--gradient-primary);
  border-radius: var(--border-radius);
  padding: 20px;
  margin-bottom: 16px;
}

.balance-label {
  font-size: 0.75rem;
  opacity: 0.8;
  margin-bottom: 4px;
}

.balance-amount {
  font-size: 1.8rem;
  font-weight: 800;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.product-mini-card {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(99,102,241,0.15);
  border-radius: 10px;
  padding: 12px 10px;
  text-align: center;
  transition: var(--transition);
}

.product-mini-card:hover {
  border-color: var(--primary);
  background: rgba(99,102,241,0.1);
}

.product-mini-icon {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.product-mini-label {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}

.transaction-list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.transaction-list-item:last-child {
  border-bottom: none;
}

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

.trx-icon.success { background: rgba(16,185,129,0.15); color: var(--success); }
.trx-icon.warning { background: rgba(245,158,11,0.15); color: var(--accent); }
.trx-icon.info { background: rgba(6,182,212,0.15); color: var(--secondary); }

.trx-name { font-size: 0.8rem; font-weight: 600; }
.trx-time { font-size: 0.7rem; color: var(--gray); }
.trx-amount { margin-left: auto; font-size: 0.82rem; font-weight: 700; }
.trx-amount.pos { color: var(--success); }
.trx-amount.neg { color: var(--danger); }

/* Floating cards */
.floating-card {
  position: absolute;
  background: rgba(30, 41, 59, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  animation: floatUp 3s ease-in-out infinite;
  z-index: 3;
}

.floating-card-1 {
  top: 20px;
  left: -20px;
  animation-delay: 0s;
}

.floating-card-2 {
  bottom: 20px;
  right: -20px;
  animation-delay: 1.5s;
}

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

.fc-label {
  font-size: 0.7rem;
  color: var(--gray);
  font-weight: 500;
}

.fc-value {
  font-size: 1rem;
  font-weight: 700;
  margin-top: 2px;
}

.fc-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(16,185,129,0.15);
  color: var(--success);
  padding: 2px 8px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
  margin-top: 4px;
}

/* =====================================================
   SECTION COMMON
   ===================================================== */
section {
  padding: 100px 0;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.25);
  border-radius: 50px;
  padding: 6px 18px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-light);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  max-width: 560px;
}

/* =====================================================
   FEATURES SECTION
   ===================================================== */
.features-section {
  background: var(--dark-2);
  position: relative;
}

.feature-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(99,102,241,0.12);
  border-radius: var(--border-radius-lg);
  padding: 32px;
  height: 100%;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

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

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

.feature-card:hover {
  border-color: rgba(99,102,241,0.35);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  background: rgba(15, 23, 42, 0.9);
}

.feature-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  position: relative;
}

.fi-purple { background: rgba(99,102,241,0.15); color: var(--primary); }
.fi-cyan { background: rgba(6,182,212,0.15); color: var(--secondary); }
.fi-amber { background: rgba(245,158,11,0.15); color: var(--accent); }
.fi-green { background: rgba(16,185,129,0.15); color: var(--success); }
.fi-red { background: rgba(239,68,68,0.15); color: var(--danger); }
.fi-pink { background: rgba(236,72,153,0.15); color: #ec4899; }

.feature-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
}

/* =====================================================
   HOW IT WORKS
   ===================================================== */
.how-section {
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

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

.step-card {
  text-align: center;
  position: relative;
  padding: 20px;
}

.step-number {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0 auto 20px;
  box-shadow: 0 8px 24px rgba(99,102,241,0.35);
  position: relative;
  z-index: 1;
}

.step-connector {
  position: absolute;
  top: 55px;
  left: calc(50% + 35px);
  width: calc(100% - 70px);
  height: 2px;
  background: linear-gradient(90deg, var(--primary) 0%, rgba(99,102,241,0.2) 100%);
}

.step-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}

/* =====================================================
   ROLE / PAKET SECTION
   ===================================================== */
.role-section {
  background: var(--dark-2);
}

.role-card {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(99,102,241,0.12);
  border-radius: var(--border-radius-lg);
  padding: 36px 28px;
  height: 100%;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.role-card.featured {
  border-color: rgba(99,102,241,0.5);
  background: rgba(99,102,241,0.08);
  transform: scale(1.03);
}

.role-card:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: rgba(99,102,241,0.4);
  box-shadow: var(--shadow-lg);
}

.role-card.featured:hover {
  transform: scale(1.06) translateY(-5px);
}

.role-badge-popular {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 18px;
  border-radius: 0 0 10px 10px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.role-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  display: block;
}

.role-name {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.role-tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 24px;
}

.role-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  text-align: left;
}

.role-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.role-features-list li:last-child {
  border-bottom: none;
}

.role-features-list li i {
  color: var(--success);
  font-size: 0.8rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.btn-role {
  display: block;
  width: 100%;
  padding: 13px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
  text-decoration: none;
  text-align: center;
}

.btn-role-outline {
  border: 1px solid rgba(99,102,241,0.5);
  color: var(--primary-light);
  background: transparent;
}

.btn-role-outline:hover {
  background: rgba(99,102,241,0.15);
  border-color: var(--primary);
  color: var(--white);
}

.btn-role-filled {
  background: var(--gradient-primary);
  border: none;
  color: var(--white);
  box-shadow: 0 6px 20px rgba(99,102,241,0.35);
}

.btn-role-filled:hover {
  box-shadow: 0 10px 30px rgba(99,102,241,0.5);
  color: var(--white);
  transform: translateY(-2px);
}

/* =====================================================
   PRODUCTS / LAYANAN
   ===================================================== */
.layanan-section {
  background: var(--dark);
}

.layanan-card {
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(99,102,241,0.12);
  border-radius: var(--border-radius);
  padding: 24px;
  text-align: center;
  transition: var(--transition);
  cursor: default;
}

.layanan-card:hover {
  border-color: rgba(99,102,241,0.35);
  background: rgba(99,102,241,0.08);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.layanan-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
  display: block;
}

.layanan-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}

/* =====================================================
   STATS COUNTER SECTION
   ===================================================== */
.stats-section {
  background: linear-gradient(135deg, rgba(99,102,241,0.12) 0%, rgba(6,182,212,0.08) 100%);
  border-top: 1px solid rgba(99,102,241,0.15);
  border-bottom: 1px solid rgba(99,102,241,0.15);
  padding: 80px 0;
}

.stat-counter-card {
  text-align: center;
  padding: 20px;
}

.stat-counter-number {
  font-size: 3rem;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-counter-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
}

/* =====================================================
   TESTIMONIAL
   ===================================================== */
.testimonial-section {
  background: var(--dark-2);
}

.testimonial-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(99,102,241,0.12);
  border-radius: var(--border-radius-lg);
  padding: 28px;
  height: 100%;
  transition: var(--transition);
}

.testimonial-card:hover {
  border-color: rgba(99,102,241,0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.testimonial-stars {
  color: var(--accent);
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.testimonial-text {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.testimonial-name {
  font-size: 0.9rem;
  font-weight: 700;
}

.testimonial-role-tag {
  font-size: 0.75rem;
  color: var(--primary-light);
}

/* =====================================================
   CTA SECTION
   ===================================================== */
.cta-section {
  background: var(--dark);
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}

.cta-box {
  background: linear-gradient(135deg, rgba(99,102,241,0.15) 0%, rgba(6,182,212,0.08) 100%);
  border: 1px solid rgba(99,102,241,0.25);
  border-radius: 30px;
  padding: 70px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(99,102,241,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.cta-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.cta-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 36px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

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

/* =====================================================
   FOOTER
   ===================================================== */
.footer-section {
  background: #080e1a;
  padding: 80px 0 0;
  border-top: 1px solid rgba(99,102,241,0.1);
}

.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  margin-top: 14px;
}

.footer-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.35);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 0.88rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: var(--primary-light);
  padding-left: 4px;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.9rem;
}

.social-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-bottom {
  margin-top: 60px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.3);
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  transition: var(--transition);
}

.footer-bottom-links a:hover {
  color: var(--primary-light);
}

/* =====================================================
   ANIMATIONS
   ===================================================== */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

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

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

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

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

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* =====================================================
   MARQUEE / TICKER
   ===================================================== */
.ticker-wrap {
  background: rgba(99,102,241,0.08);
  border-top: 1px solid rgba(99,102,241,0.15);
  border-bottom: 1px solid rgba(99,102,241,0.15);
  padding: 14px 0;
  overflow: hidden;
  width: 100%;
}

.ticker-track {
  display: flex;
  flex-wrap: nowrap;          /* PENTING: 1 baris saja */
  width: max-content;         /* lebarnya mengikuti konten */
  animation: tickerScroll 35s linear infinite;
  will-change: transform;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
  padding: 0 40px;            /* jarak antar item */
}

.ticker-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

/* Bergerak tepat -50% = satu set item habis, langsung loop ke set kedua yang identik */
@keyframes tickerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* =====================================================
   BACK TO TOP
   ===================================================== */
#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  background: var(--gradient-primary);
  border: none;
  border-radius: 12px;
  color: white;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(99,102,241,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

#backToTop.show {
  opacity: 1;
  visibility: visible;
}

#backToTop:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(99,102,241,0.5);
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 991.98px) {
  .hero-visual {
    margin-top: 60px;
  }

  .hero-scene {
    width: 420px;
    height: 460px;
    margin-top: 40px;
  }

  .orbit-ring-1 { width: 360px; height: 360px; }
  .orbit-ring-2 { width: 260px; height: 260px; }
  .scene-glow   { width: 340px; height: 340px; }
  .person-svg   { width: 270px; }
  
  .floating-card-1, .floating-card-2 {
    display: none;
  }
  
  .hero-stats {
    gap: 24px;
  }
  
  .role-card.featured {
    transform: scale(1);
  }
  
  .role-card.featured:hover {
    transform: translateY(-6px);
  }
  
  .step-connector {
    display: none;
  }
}

@media (max-width: 767.98px) {
  section {
    padding: 70px 0;
  }
  
  .hero-cta-group {
    justify-content: center;
  }
  
  .hero-stats {
    justify-content: center;
    gap: 20px;
  }
  
  .hero-title {
    text-align: center;
  }
  
  .hero-subtitle {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-badge {
    display: inline-flex;
  }
  
  .stat-counter-number {
    font-size: 2.2rem;
  }
  
  .cta-box {
    padding: 50px 24px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
