/* =============================================
   LOKALPAY — PREMIUM FINTECH LANDING PAGE
   ============================================= */

:root {
  --navy: #0A2463;
  --blue: #3E92CC;
  --mint: #00C896;
  --purple: #6C63FF;
  --bg: #F8FAFF;
  --bg2: #EEF3FF;
  --text: #1A1A2E;
  --text-muted: #6B7280;
  --white: #FFFFFF;
  --border: rgba(10, 36, 99, 0.1);
  --shadow-sm: 0 2px 8px rgba(10, 36, 99, 0.08);
  --shadow-md: 0 8px 32px rgba(10, 36, 99, 0.12);
  --shadow-lg: 0 20px 60px rgba(10, 36, 99, 0.16);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: clip;
}

/* CONTAINER */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* SECTION */
.section { padding: 96px 0; }

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(62, 146, 204, 0.1);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 17px;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #0A2463, #3E92CC);
  color: white;
  box-shadow: 0 4px 16px rgba(10, 36, 99, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10, 36, 99, 0.4);
}

.btn-ghost {
  color: var(--navy);
  background: transparent;
}
.btn-ghost:hover { background: var(--bg2); }

.btn-outline {
  border: 2px solid var(--navy);
  color: var(--navy);
  background: transparent;
}
.btn-outline:hover { background: var(--navy); color: white; }

.btn-outline-light {
  border: 2px solid rgba(255,255,255,0.4);
  color: white;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(4px);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.2); }

.btn-outline-white {
  border: 2px solid rgba(255,255,255,0.5);
  color: white;
  background: transparent;
}
.btn-outline-white:hover { background: rgba(255,255,255,0.15); }

.btn-white {
  background: white;
  color: var(--navy);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }

.btn-lg { padding: 16px 32px; font-size: 16px; border-radius: 12px; }

.btn-block { width: 100%; }

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
}

.navbar.scrolled,
.navbar.menu-open {
  background: rgba(248, 250, 255, 0.97);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
  padding: 12px 0;
}

.nav-mobile-cta { display: none; }

.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-text {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
}
.logo-accent { color: var(--mint); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 8px;
  margin-left: auto;
}

.nav-links a {
  display: block;
  padding: 8px 16px;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  border-radius: 8px;
  transition: var(--transition);
}
.nav-links a:hover { color: var(--navy); background: var(--bg2); }
.navbar:not(.scrolled):not(.menu-open) .logo-text { color: white; }
.navbar:not(.scrolled):not(.menu-open) .nav-links:not(.open) a { color: white; }
.navbar:not(.scrolled):not(.menu-open) .nav-links:not(.open) a:hover { background: rgba(255,255,255,0.14); }
.navbar:not(.scrolled):not(.menu-open) .hamburger span { background: white; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}

/* =============================================
   HERO
   ============================================= */
.hero {
  background: linear-gradient(135deg, #0A2463 0%, #1a3a7c 40%, #3E92CC 100%);
  padding: 160px 0 0;
  position: relative;
  overflow: hidden;
  min-height: min(100vh, 740px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 50%, rgba(0, 200, 150, 0.08) 0%, transparent 60%),
              radial-gradient(circle at 20% 80%, rgba(108, 99, 255, 0.1) 0%, transparent 50%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  position: relative;
  z-index: 1;
  padding-bottom: 80px;
}

.hero-content h1 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.1;
  color: white;
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(135deg, #00C896, #3E92CC);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
  max-width: 480px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.hero-how {
  display: inline-block;
  color: white;
  font-weight: 600;
  text-underline-offset: 4px;
  white-space: nowrap;
}

.btn-shopee {
  color: white;
  background: #b93c21;
  box-shadow: 0 4px 16px rgba(0,0,0,0.16);
}

.btn-shopee:hover { background: #9f3019; }
.btn-shopee img { flex: none; }

/* HERO VISUAL */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.card-mockup {
  position: relative;
  width: min(100%, 500px);
  height: 416px;
  isolation: isolate;
}

.card-mockup::before {
  content: '';
  position: absolute;
  inset: 15% 5%;
  z-index: -1;
  border: 1px solid rgba(203, 236, 255, .2);
  border-radius: 50%;
  transform: rotate(-25deg);
  background: radial-gradient(ellipse at center, rgba(129, 217, 255, .18), transparent 71%);
}

.virtual-card {
  position: absolute;
  top: 100px;
  left: 50%;
  translate: -50% 0;
  width: min(80%, 326px);
  aspect-ratio: 1.64;
  border: 0;
  padding: 0;
  background: transparent;
  border-radius: 21px;
  cursor: pointer;
  text-align: left;
  font: inherit;
  transform-style: preserve-3d;
  transform: rotate(-7deg);
  animation: float 4.8s ease-in-out infinite;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.virtual-card.is-tilting {
  animation: none;
  transition: transform 0.16s ease-out;
}

.virtual-card.is-flipped {
  animation: none;
  z-index: 6;
  transform: rotateY(180deg) rotate(-2deg) scale(1.03);
}

.card-face {
  position: absolute;
  inset: 0;
  display: block;
  border-radius: 21px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
  border: 1px solid rgba(194, 222, 255, .32);
  box-shadow: 0 24px 48px rgba(4, 16, 43, .45), inset 0 1px rgba(255, 255, 255, .15);
}

.card-face--front {
  padding: clamp(18px, 4vw, 24px);
  background: linear-gradient(145deg, #244585 0%, #101f46 50%, #0a1631 100%);
}

.card-face--front::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(62, 146, 204, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.card-face--back {
  transform: rotateY(180deg);
  background: linear-gradient(145deg, #0d1f46 0%, #09142d 60%, #143266 100%);
  display: flex;
  flex-direction: column;
}

.card-magstripe {
  display: block;
  height: 36px;
  margin-top: 20px;
  background: linear-gradient(90deg, #050a14, #1e293b, #050a14);
}

.card-back-body {
  padding: 14px 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.card-sig-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-sig-bar {
  flex: 1;
  background: repeating-linear-gradient(135deg, #e2e8f0 0 6px, #f8fafc 6px 12px);
  color: #334155;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 7px 10px;
  border-radius: 6px;
}

.card-cvc-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #ffffff;
  color: #0A2463;
  padding: 4px 10px;
  border-radius: 6px;
  line-height: 1.1;
}

.card-cvc-box small {
  font-size: 8px;
  font-weight: 700;
  color: #64748b;
}

.card-cvc-box strong {
  font-family: 'Courier New', monospace;
  font-size: 14px;
  font-weight: 800;
}

.card-back-note {
  font-size: 11px;
  line-height: 1.45;
  color: rgba(226, 232, 240, 0.8);
}

.card-flip-hint {
  position: absolute;
  bottom: 10px;
  right: 14px;
  font-size: 10px;
  font-weight: 700;
  color: rgba(191, 219, 254, 0.72);
  letter-spacing: 0.02em;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-7deg); }
  50% { transform: translateY(-7px) rotate(-5deg); }
}

.card-chip { display: block; margin-bottom: 14px; }

.card-network {
  position: absolute;
  top: 22px; right: 24px;
  font-size: 20px;
  font-weight: 900;
  font-style: italic;
  color: rgba(255,255,255,0.9);
  letter-spacing: -1px;
}

.card-number {
  display: block;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.85);
  margin-bottom: 18px;
  font-family: 'Courier New', monospace;
}

.card-info {
  display: flex;
  gap: 24px;
}

.card-info > span {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.card-info small {
  font-size: 9px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.45);
}

.card-info strong {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.92);
  letter-spacing: 0.03em;
}

.hero-bubbles {
  position: absolute;
  inset: 0;
  list-style: none;
  pointer-events: none;
}

.hero-bubble {
  --bubble-surface: #f8fbff;
  --bubble-border: #dce9fa;
  --bubble-delay: 0ms;
  --bubble-phase: -1.4s;
  position: absolute;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 9px;
  width: min(80%, 248px);
  padding: 10px 12px;
  border: 1px solid var(--bubble-border);
  border-radius: 16px 16px 16px 5px;
  background: var(--bubble-surface);
  color: #13284d;
  box-shadow: 0 12px 28px rgba(3, 15, 41, .24);
  animation: bubble-arrive .32s ease-out var(--bubble-delay) both,
             bubble-float 4.2s ease-in-out var(--bubble-phase) infinite;
  pointer-events: auto;
}

.hero-bubble:first-child {
  top: 6px;
  right: 5%;
  border-radius: 16px 16px 5px 16px;
}

.hero-bubble:nth-child(2) {
  --bubble-surface: #112951;
  --bubble-border: #537399;
  --bubble-delay: 55ms;
  --bubble-phase: -2.6s;
  top: 256px;
  left: 0;
  color: #f3f8ff;
}

.hero-bubble:nth-child(3) {
  --bubble-surface: #e5fbf2;
  --bubble-border: #bbecdb;
  --bubble-delay: 110ms;
  --bubble-phase: -.5s;
  top: 332px;
  right: 0;
  border-radius: 16px 16px 5px 16px;
}

@keyframes bubble-arrive {
  from { opacity: .72; scale: .975; }
  to { opacity: 1; scale: 1; }
}

@keyframes bubble-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.hero-bubble > .service-icon {
  width: 31px;
  height: 31px;
  border-radius: 9px;
  background: #fff;
}

.hero-bubble-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 5px;
  line-height: 1.35;
  font-size: 0.875rem;
}

.hero-bubble-meta strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-bubble-meta small {
  flex: none;
  color: #4b5c77;
  font-size: 0.6875rem;
  font-weight: 700;
}

.hero-bubble:nth-child(2) .hero-bubble-meta small {
  color: #c8d6e9;
}

.hero-bubble p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  overflow-wrap: anywhere;
  margin-top: 4px;
  font-size: 0.8125rem;
  line-height: 1.38;
}

.hero-bubble:nth-child(2) p { color: #e0eaf6; }

/* WAVE */
.hero-wave {
  margin-top: auto;
  line-height: 0;
}
.hero-wave svg { display: block; width: 100%; }

/* =============================================
   FEATURES
   ============================================= */
.features { background: var(--bg); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feature-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(62, 146, 204, 0.03) 100%);
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(62, 146, 204, 0.3);
}
.feature-card:hover::before { opacity: 1; }

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-muted);
  line-height: 1.65;
  font-size: 15px;
}

/* =============================================
   HOW IT WORKS
   ============================================= */
.how-it-works { background: white; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.step-card {
  text-align: center;
  padding: 40px 24px;
  border-radius: var(--radius);
  position: relative;
  transition: var(--transition);
}

.step-card:hover { transform: translateY(-4px); }

.step-number {
  font-size: 56px;
  font-weight: 900;
  color: rgba(10, 36, 99, 0.06);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -2px;
}

.step-icon {
  width: 72px; height: 72px;
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: var(--transition);
}

.step-card:hover .step-icon {
  border-color: var(--blue);
  background: rgba(62, 146, 204, 0.08);
}

.step-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.step-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.65;
}

.step-connector {
  position: absolute;
  top: 72px;
  right: -16px;
  width: 32px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), transparent);
}

/* =============================================
   FAQ
   ============================================= */
.faq { background: white; }

.faq-grid {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.faq-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  cursor: pointer;
  transition: var(--transition);
  overflow: hidden;
}

.faq-item:hover { border-color: var(--blue); }
.faq-item[open] { border-color: var(--blue); background: rgba(62, 146, 204, 0.03); }

.faq-q {
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}

.faq-q::-webkit-details-marker { display: none; }

.faq-q::after {
  content: '+';
  font-size: 20px;
  font-weight: 300;
  color: var(--blue);
  transition: var(--transition);
  flex-shrink: 0;
  margin-left: 12px;
}

.faq-item[open] .faq-q::after { transform: rotate(45deg); }

.faq-a {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, margin-top 0.2s ease;
  margin-top: 0;
}

.faq-item[open] .faq-a {
  max-height: 200px;
  margin-top: 12px;
}

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section { padding: 96px 0; background: var(--bg); }

.cta-card {
  background: linear-gradient(135deg, #0A2463 0%, #1a3a7c 60%, #3E92CC 100%);
  border-radius: 24px;
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(0,200,150,0.08) 0%, transparent 60%),
              radial-gradient(circle at 70% 50%, rgba(108,99,255,0.08) 0%, transparent 60%);
}

.cta-card > * { position: relative; z-index: 1; }

.cta-card h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
}

.cta-card p {
  color: rgba(255,255,255,0.75);
  font-size: 17px;
  max-width: 540px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.8);
  padding-top: 64px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo { margin-bottom: 16px; }
.footer-brand .logo-text { color: white; }
.footer-brand .logo-text { color: white; }

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  text-decoration: none;
  font-size: 16px;
  transition: var(--transition);
}
.social-links a:hover { background: rgba(255,255,255,0.15); }

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: white;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  margin-bottom: 10px;
  transition: var(--transition);
}
.footer-col a:hover { color: rgba(255,255,255,0.9); }
.footer-col .footer-shopee { display: inline-flex; align-items: center; gap: 7px; }

.footer-bottom {
  padding: 20px 0;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; gap: 28px; padding-bottom: 48px; }
  .hero { padding-top: 112px; min-height: auto; }
  .hero-desc { margin-bottom: 24px; font-size: 16px; }
  .hero-cta { gap: 9px; }
  .hero-cta .btn { padding: 12px 14px; gap: 6px; font-size: 0.9rem; }
  .features-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .step-connector { display: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .nav-links,
  .nav-actions { display: none; }
  .hamburger { display: flex; }
  .cta-card { padding: 48px 24px; }

  /* Mobile nav open state */
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 58px 0 auto;
    background: white;
    padding: 14px 20px 20px;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid var(--border);
    z-index: 999;
    gap: 4px;
  }
  .nav-links.open a:not(.btn) { font-size: 17px; padding: 11px 14px; color: var(--navy); }
  .nav-links.open a.btn { color: #ffffff !important; font-size: 15px; padding: 12px 16px; }
  .nav-links.open a.btn-shopee:hover { background: #9f3019; color: #ffffff !important; }
  .nav-links.open a.btn-wa:hover { background: #06653f; color: #ffffff !important; }
  .nav-links.open .nav-mobile-cta {
    display: grid;
    gap: 8px;
    margin-top: 10px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
  }
}

@media (max-width: 480px) {
  .card-mockup { height: 392px; }
  .virtual-card { top: 82px; }
  .hero-bubble { width: min(78%, 226px); }
  .hero-bubble:nth-child(2) { top: 244px; }
  .hero-bubble:nth-child(3) { top: 312px; }
  .footer-links { grid-template-columns: 1fr; }
  .footer-bottom .container { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 380px) {
  .cta-buttons .btn { width: 100%; padding-inline: 12px; }
}

/* =============================================
   SCROLL ANIMATIONS
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}


/* =============================================
   WHATSAPP BUTTON STYLES
   ============================================= */
.btn-wa {
  background: #087a4c;
  color: white !important;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  gap: 8px;
}
.btn-wa:hover {
  background: #06653f;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  color: white !important;
}

.cta-note {
  margin-top: 20px !important;
  font-size: 14px !important;
  color: rgba(255,255,255,0.55) !important;
  margin-bottom: 0 !important;
}

/* =============================================
   FLOATING WHATSAPP BUTTON
   ============================================= */
.wa-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #087a4c;
  color: white;
  text-decoration: none;
  padding: 12px 17px;
  border-radius: 100px;
  box-shadow: 0 8px 28px rgba(8, 122, 76, 0.38);
  font-size: 13.5px;
  font-weight: 700;
  font-family: 'Plus Jakarta Sans', sans-serif;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  animation: waFloat 3s ease-in-out infinite;
}

.wa-float:hover {
  background: #06653f;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 40px rgba(37, 211, 102, 0.55);
}

.wa-float-label {
  white-space: nowrap;
}

@keyframes waFloat {
  0%, 100% { box-shadow: 0 8px 32px rgba(37, 211, 102, 0.45); }
  50%       { box-shadow: 0 8px 48px rgba(37, 211, 102, 0.65); }
}

@media (max-width: 480px) {
  .wa-float-label { display: none; }
  .wa-float { padding: 16px; border-radius: 50%; }
  .wa-float.is-in-hero { display: none; }
}

/* Testimonials */
.section[id] { scroll-margin-top: 72px; }
.testimonials { background: var(--bg); }

.testi-layout {
  display: grid;
  grid-template-columns: minmax(290px, 2fr) minmax(0, 3fr);
  gap: 32px;
  align-items: start;
}

.testi-form,
.testi-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.testi-form { padding: 26px; }
.testi-form h3,
.testi-feed h3 { color: var(--navy); margin-bottom: 16px; }
.testi-fields { display: grid; gap: 16px; }

.testi-fields > label,
.service-label,
.service-other:not([hidden]),
.testi-rating legend {
  display: grid;
  gap: 5px;
  color: var(--navy);
  font-weight: 700;
}

.testi-fields input:not([type="radio"], [type="hidden"]),
.testi-fields textarea {
  width: 100%;
  border: 1px solid #a7b3ca;
  border-radius: 8px;
  padding: 9px 12px;
  color: var(--text);
  background: var(--bg);
  font: inherit;
  font-weight: 400;
}

.testi-fields input:focus-visible,
.testi-fields textarea:focus-visible,
.service-trigger:focus-visible {
  outline: 2px solid #3a68ae;
  outline-offset: 2px;
}

.service-picker { position: relative; margin-top: 5px; }

.service-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 48px;
  padding: 6px 12px;
  border: 1px solid #a7b3ca;
  border-radius: 8px;
  background: var(--bg);
  color: var(--navy);
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.service-trigger[aria-expanded="true"] { border-color: var(--navy); }
.service-trigger[aria-invalid="true"] { border-color: #a12423; }

.service-trigger-content {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  font-weight: 650;
}

.service-trigger-content:not(:has(.service-icon)) {
  color: #52617a;
  font-weight: 500;
}

.service-chevron {
  flex: none;
  width: 8px;
  height: 8px;
  margin: -4px 3px 0 0;
  border: solid #456080;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.service-trigger[aria-expanded="true"] .service-chevron {
  margin-top: 4px;
  transform: rotate(225deg);
}

.service-menu {
  position: absolute;
  inset: calc(100% + 7px) 0 auto;
  z-index: 10;
  border: 1px solid #ced9e9;
  border-radius: 14px;
  background: white;
  box-shadow: 0 18px 36px rgba(14, 35, 79, .16);
}

.service-search { padding: 9px; border-bottom: 1px solid #e5ebf4; }
.service-search input { font-size: 1rem; }

.service-options {
  max-height: min(320px, 43vh);
  overflow: auto;
  padding: 5px;
}

.service-group + .service-group { border-top: 1px solid #eef2f8; }

.service-group-title {
  padding: 8px 9px 2px;
  color: #52617a;
  font-size: .8125rem;
  font-weight: 700;
}

.service-option {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-height: 42px;
  padding: 5px 8px;
  border: 0;
  border-radius: 8px;
  background: white;
  color: #172945;
  cursor: pointer;
  font: inherit;
  font-size: .9375rem;
  font-weight: 600;
  text-align: left;
}

.service-option:hover,
.service-option[aria-pressed="true"] { background: #edf4ff; }
.service-option:focus-visible { outline: 2px solid var(--navy); outline-offset: -2px; }
.service-empty { padding: 8px 9px; color: #52617a; font-size: .875rem; }
.service-other { margin-top: 10px; }

.service-icon {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 28px;
  height: 28px;
  border: 1px solid #e4eaf3;
  border-radius: 7px;
  background: #fbfdff;
}

.testi-fields textarea { resize: vertical; }
.testi-rating { border: 0; min-width: 0; }
.testi-rating-options { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 5px; }

.testi-rating-options label { position: relative; cursor: pointer; }

.testi-rating-options input,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.testi-rating-options label > span:first-of-type {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid #dbe2ee;
  border-radius: 8px;
  color: #6b778c;
  background: var(--bg);
  font-size: 1.25rem;
}

.testi-rating-options label:has(input:checked) > span:first-of-type,
.testi-rating-options label:has(~ label input:checked) > span:first-of-type,
.testi-rating-options label:hover > span:first-of-type {
  background: #fff4d7;
  border-color: #dba154;
  color: #804800;
}

.testi-rating-options input:focus-visible + span {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}

.testi-note,
.testi-status,
#testi-empty {
  font-size: 0.875rem;
  color: #425472;
}

.testi-note { margin: 15px 0; }
.testi-status:not(:empty) { margin-top: 12px; }
.testi-status[data-state="error"] { color: #a12423; }
.testi-status[data-state="success"] { color: #09654d; }
.testi-form .btn:disabled { opacity: 0.55; cursor: wait; transform: none; }

.testi-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.testi-card {
  min-width: 0;
  padding: 18px;
  overflow-wrap: anywhere;
}

.testi-card > header { margin-bottom: 8px; }
.testi-card strong { display: block; color: var(--navy); }
.testi-stars { color: #895000; letter-spacing: 0.04em; font-size: 0.875rem; }
.testi-card > p { color: #425472; white-space: pre-wrap; }

.testi-service {
  display: inline-block;
  margin-top: 10px;
  border-radius: 8px;
  background: var(--bg2);
  color: var(--navy);
  font-size: 0.875rem;
  padding: 2px 8px;
}

.testi-examples { margin-top: 16px; }
.testi-examples > summary { color: var(--navy); font-weight: 700; cursor: pointer; }
.testi-examples .testi-grid { margin-top: 12px; }

@media (max-width: 768px) {
  .testi-layout { grid-template-columns: minmax(0, 1fr); }
  .service-menu { position: relative; inset: auto; margin-top: 7px; }
}

@media (max-width: 580px) {
  .testi-grid { grid-template-columns: minmax(0, 1fr); }
  .testi-form { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .virtual-card, .wa-float, .hero-bubble { animation: none; }
}


/* =============================================
   LIVE ADMIN STATUS PILL (GEN Z TRUST SIGNAL)
   ============================================= */
.admin-status-pill {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 7px 14px;
  margin-bottom: 20px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  color: #f0f9ff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}

.status-pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: statusPulse 2s infinite;
  flex: none;
}

.admin-status-pill.is-standby .status-pulse {
  background: #fbbf24;
  box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.65);
}

.status-hours {
  font-size: 11.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.14);
  padding: 2px 9px;
  border-radius: 100px;
}

@keyframes statusPulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { box-shadow: 0 0 0 9px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* =============================================
   3D INTERACTIVE VCC CARD + HOLOGRAPHIC GLARE
   ============================================= */
.card-mockup {
  perspective: 1100px;
}

.virtual-card.is-tilting .card-face {
  box-shadow: 0 32px 64px rgba(3, 14, 41, 0.58), 0 0 0 1px rgba(154, 224, 255, 0.42), inset 0 1px rgba(255, 255, 255, 0.28);
}

.card-glare {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: var(--glare-opacity, 0);
  background: radial-gradient(
    circle 180px at var(--glare-x, 50%) var(--glare-y, 50%),
    rgba(255, 255, 255, 0.28) 0%,
    rgba(0, 200, 150, 0.14) 36%,
    transparent 72%
  );
  transition: opacity 0.25s ease;
  mix-blend-mode: screen;
}

.btn:active {
  transform: scale(0.98);
}

/* =============================================
   FEATURE CARDS WITH BRAND ICONS + MARQUEE
   ============================================= */
.feature-card {
  display: flex;
  flex-direction: column;
}

.feature-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.feature-brand-badge {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  display: inline-grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
}

.feature-pill {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--blue);
  background: rgba(62, 146, 204, 0.1);
  padding: 4px 11px;
  border-radius: 100px;
}

.feature-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 18px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
}

.feature-link:hover {
  color: var(--blue);
  transform: translateX(3px);
}

/* Marquee */
.service-marquee-wrap {
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.marquee-caption {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.service-marquee {
  overflow: hidden;
  padding: 6px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: marqueeLeft 32s linear infinite;
}

.service-marquee[data-direction="right"] .marquee-track {
  animation: marqueeRight 36s linear infinite;
}

.service-marquee:hover .marquee-track,
.service-marquee:focus-within .marquee-track {
  animation-play-state: paused;
}

.marquee-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  border-radius: 100px;
  background: white;
  border: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(10, 36, 99, 0.05);
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.marquee-pill:hover {
  transform: translateY(-2px);
  border-color: rgba(62, 146, 204, 0.45);
  box-shadow: 0 8px 20px rgba(10, 36, 99, 0.1);
}

.marquee-pill .service-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
}

@keyframes marqueeLeft {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes marqueeRight {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

/* =============================================
   HOW IT WORKS — WHATSAPP INTERACTIVE SIMULATION
   ============================================= */
.how-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 390px);
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
}

.how-steps-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.how-step-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
  text-align: left;
  padding: 20px 22px;
  border-radius: 18px;
  border: 1.5px solid var(--border);
  background: var(--bg);
  cursor: pointer;
  font: inherit;
  transition: all 0.25s ease;
}

.how-step-item:hover {
  border-color: rgba(62, 146, 204, 0.45);
  background: white;
}

.how-step-item.active {
  background: white;
  border-color: var(--blue);
  box-shadow: 0 12px 32px rgba(10, 36, 99, 0.1);
  transform: translateX(4px);
}

.how-step-num {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex: none;
  font-size: 14px;
  font-weight: 800;
  color: var(--navy);
  background: rgba(62, 146, 204, 0.12);
  transition: all 0.25s ease;
}

.how-step-item.active .how-step-num {
  background: linear-gradient(135deg, #0A2463, #3E92CC);
  color: white;
}

.how-step-body h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.how-step-body p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

.how-step-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

.wa-sim-controls {
  display: inline-flex;
  gap: 8px;
}

.wa-ctrl-btn {
  padding: 9px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: white;
  color: var(--navy);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.wa-ctrl-btn:hover {
  background: var(--bg2);
  border-color: var(--blue);
}

/* Phone Mockup */
.wa-phone-wrap {
  display: flex;
  justify-content: center;
}

.wa-phone {
  width: 100%;
  max-width: 372px;
  background: #111827;
  border-radius: 34px;
  padding: 10px;
  box-shadow: 0 28px 64px rgba(10, 36, 99, 0.22), 0 0 0 1px rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.wa-phone-statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 14px 8px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 11px;
  font-weight: 700;
}

.wa-phone-notch {
  width: 72px;
  height: 14px;
  background: #000;
  border-radius: 100px;
}

.wa-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #ffffff;
  border-radius: 22px 22px 0 0;
  border-bottom: 1px solid #e5e7eb;
}

.wa-back {
  color: #111b21;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.wa-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #0A2463;
  display: grid;
  place-items: center;
  flex: none;
}

.wa-contact {
  flex: 1;
  min-width: 0;
}

.wa-contact-name {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  color: #111b21;
  line-height: 1.25;
}

.wa-verified { flex: none; }

.wa-contact-sub {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  color: #00a884;
}

.wa-header-icons {
  display: flex;
  gap: 10px;
  font-size: 15px;
  color: #54656f;
}

/* Authentic WhatsApp Chat Canvas */
.wa-chat-body {
  height: 410px;
  overflow-y: auto;
  padding: 12px 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  background-color: #efeae2;
  background-image: radial-gradient(rgba(11, 20, 26, 0.045) 1px, transparent 1px);
  background-size: 18px 18px;
  scroll-behavior: smooth;
}

.wa-chat-body::-webkit-scrollbar { width: 5px; }
.wa-chat-body::-webkit-scrollbar-thumb {
  background: rgba(17, 27, 33, 0.18);
  border-radius: 10px;
}

.wa-date-chip {
  align-self: center;
  font-size: 11px;
  font-weight: 600;
  color: #54656f;
  background: rgba(255, 255, 255, 0.88);
  padding: 4px 11px;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  margin-bottom: 4px;
}

.wa-msg {
  max-width: 86%;
  padding: 7px 10px 6px;
  border-radius: 11px;
  font-size: 13px;
  line-height: 1.45;
  color: #111b21;
  box-shadow: 0 1px 1.5px rgba(11, 20, 26, 0.13);
  position: relative;
  animation: waMsgPop 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.wa-msg--user {
  align-self: flex-end;
  background: #d9fdd3;
  border-top-right-radius: 3px;
}

.wa-msg--admin {
  align-self: flex-start;
  background: #ffffff;
  border-top-left-radius: 3px;
}

.wa-msg-text {
  white-space: pre-line;
  word-break: break-word;
}

.wa-msg-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
  margin-top: 3px;
  font-size: 10px;
  color: #667781;
}

.wa-ticks {
  color: #53bdeb;
  font-weight: 800;
  letter-spacing: -1.5px;
}

/* Mini Transfer Receipt inside user bubble */
.wa-receipt {
  background: #ffffff;
  border-radius: 9px;
  padding: 10px 11px;
  border: 1px solid #d1e7dd;
  margin-bottom: 4px;
  min-width: 195px;
}

.wa-receipt-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.wa-receipt-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #10b981;
  color: white;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 800;
  flex: none;
}

.wa-receipt-title {
  font-size: 12px;
  font-weight: 800;
  color: #065f46;
}

.wa-receipt-amount {
  font-size: 15px;
  font-weight: 800;
  color: #0A2463;
  margin-bottom: 4px;
}

.wa-receipt-sub {
  font-size: 11px;
  color: #64748b;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px dashed #e2e8f0;
  padding-top: 4px;
}

/* VCC Detail Snippet inside admin bubble */
.wa-vcc-box {
  background: linear-gradient(135deg, #0d1f52, #1a3a7c);
  color: #f8fafc;
  border-radius: 9px;
  padding: 9px 11px;
  font-family: 'Courier New', monospace;
  font-size: 12px;
  line-height: 1.55;
  margin-bottom: 4px;
}

.wa-vcc-box strong {
  color: #5eead4;
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 3px;
}

/* Typing bar */
.wa-typing-bar {
  background: #efeae2;
  padding: 2px 12px 8px;
}

.wa-typing-bubble {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #ffffff;
  padding: 8px 12px;
  border-radius: 12px 12px 12px 3px;
  box-shadow: 0 1px 1.5px rgba(11, 20, 26, 0.13);
}

.wa-typing-bubble span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8696a0;
  animation: waTyping 1.1s infinite ease-in-out;
}
.wa-typing-bubble span:nth-child(2) { animation-delay: 0.15s; }
.wa-typing-bubble span:nth-child(3) { animation-delay: 0.3s; }

@keyframes waTyping {
  0%, 80%, 100% { transform: scale(0.7); opacity: 0.45; }
  40% { transform: scale(1); opacity: 1; }
}

@keyframes waMsgPop {
  from { opacity: 0; transform: translateY(8px) scale(0.96); }
  to { opacity: 1; transform: none; }
}

/* WA Bottom Input Bar */
.wa-input-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px 10px;
  background: #f0f2f5;
  border-radius: 0 0 24px 24px;
}

.wa-input-pill {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border-radius: 100px;
  padding: 7px 12px;
  font-size: 13px;
  color: #667781;
}

.wa-input-placeholder {
  flex: 1;
  font-size: 12.5px;
}

.wa-send-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #00a884;
  color: white;
  display: grid;
  place-items: center;
  text-decoration: none;
  font-size: 14px;
  flex: none;
}

/* Extra bottom breathing room for floating WA button */
.testimonials {
  padding-bottom: 124px;
}

@media (max-width: 900px) {
  .how-showcase {
    grid-template-columns: 1fr;
  }
  .wa-phone {
    max-width: 360px;
  }
  .wa-chat-body {
    height: 360px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .status-pulse,
  .marquee-track,
  .wa-msg,
  .wa-typing-bubble span {
    animation: none;
  }
  .marquee-track {
    flex-wrap: wrap;
    width: auto;
    justify-content: center;
  }
}


/* =============================================
   HERO MICRO-PERKS & PAYMENT CHIPS STRIP
   ============================================= */
.hero-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(240, 249, 255, 0.85);
}

.payment-strip {
  background: #ffffff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}

.payment-strip-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.payment-strip-label {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
}

.payment-strip-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
}

.pay-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 800;
  background: var(--bg);
  color: var(--navy);
  border: 1px solid var(--border);
  box-shadow: 0 2px 6px rgba(10, 36, 99, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pay-chip::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--chip-dot, var(--blue));
  flex: none;
}

.pay-chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(10, 36, 99, 0.09);
}

.pay--bca     { --chip-dot: #00529B; }
.pay--mandiri { --chip-dot: #F59E0B; }
.pay--bni     { --chip-dot: #F97316; }
.pay--bri     { --chip-dot: #0066B3; }
.pay--qris    { --chip-dot: #DC2626; }
.pay--dana    { --chip-dot: #108EE9; }
.pay--ovo     { --chip-dot: #6D28D9; }
.pay--gopay   { --chip-dot: #00AA5B; }
.pay--spay    { --chip-dot: #EE4D2D; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* =============================================
   TESTIMONIAL TIMESTAMPS, PHOTO UPLOAD & LIGHTBOX
   ============================================= */
.field-req {
  color: #dc2626;
  font-weight: 800;
}

.field-opt {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 500;
}

.testi-fields > label,
.service-label,
.testi-rating legend {
  display: block;
}

.testi-fields > label > input,
.testi-fields > label > textarea {
  margin-top: 6px;
}

.testi-feed-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}

.testi-feed-head h3 {
  margin-bottom: 0;
}

.testi-count-badge {
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  background: rgba(62, 146, 204, 0.12);
  padding: 4px 11px;
  border-radius: 100px;
}

.testi-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.testi-time {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  white-space: nowrap;
  flex: none;
  margin-top: 2px;
}

.testi-service {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  border-radius: 9px;
  background: var(--bg2);
  color: var(--navy);
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 4px 10px 4px 5px;
}

.testi-service .service-icon {
  width: 22px;
  height: 22px;
  border-radius: 6px;
}

/* Photo dropzone */
.photo-dropzone {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
  padding: 13px 14px;
  border: 1.5px dashed #a7b3ca;
  border-radius: 12px;
  background: var(--bg);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.photo-dropzone:hover {
  border-color: var(--blue);
  background: #edf4ff;
}

.photo-dropzone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.photo-drop-icon {
  font-size: 22px;
  line-height: 1;
  flex: none;
}

.photo-drop-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.photo-drop-text strong {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
}

.photo-drop-text small {
  font-size: 11.5px;
  color: var(--text-muted);
}

.photo-preview {
  position: relative;
  margin-top: 8px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #0f172a;
}

.photo-preview img {
  display: block;
  width: 100%;
  max-height: 180px;
  object-fit: cover;
}

.photo-remove-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  border: 0;
  border-radius: 100px;
  padding: 5px 11px;
  background: rgba(15, 23, 42, 0.82);
  color: #ffffff;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.photo-remove-btn:hover {
  background: #dc2626;
}

/* Thumbnail inside testimonial card */
.testi-photo-btn {
  position: relative;
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: #f1f5f9;
  cursor: zoom-in;
}

.testi-photo-btn img {
  display: block;
  width: 100%;
  max-height: 190px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.testi-photo-btn:hover img {
  transform: scale(1.03);
}

.testi-photo-zoom {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(10, 36, 99, 0.78);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 100px;
  backdrop-filter: blur(4px);
}

/* Lightbox modal */
.photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(10, 18, 36, 0.88);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.photo-lightbox[hidden] {
  display: none;
}

.photo-lightbox img {
  max-width: min(92vw, 760px);
  max-height: 86vh;
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
  object-fit: contain;
}

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(15, 23, 42, 0.85);
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
}

.lightbox-close:hover {
  background: #ffffff;
  color: var(--navy);
}


/* =============================================
   HERO LIVE RATING SUMMARY BADGE
   ============================================= */
.hero-rating-badge {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  margin-right: 14px;
  padding: 8px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(10px);
  color: #ffffff;
  text-decoration: none;
  font-size: 13.5px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.hero-rating-badge[hidden] {
  display: none;
}

.hero-rating-badge:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.hero-rating-stars {
  color: #fbbf24;
  letter-spacing: 0.04em;
  font-size: 15px;
  line-height: 1;
}

.hero-rating-score {
  font-weight: 800;
  color: #ffffff;
}

.hero-rating-meta {
  color: rgba(240, 249, 255, 0.82);
  font-weight: 600;
}


/* =============================================
   TESTIMONIAL PAGINATION (10 PER PAGE)
   ============================================= */
.testi-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.testi-pagination[hidden] {
  display: none;
}

.testi-page-btn {
  padding: 9px 16px;
  font-size: 13.5px;
  border-width: 1.5px;
}

.testi-page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

.testi-page-info {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
}
