/* =====================================================
   KINMY DIGITAL - Jarvis HUD layer (hero, page-hero, cta-band)
   Dimuat setelah style.css
   ===================================================== */
:root {
  --neon: #3dff8f;
  --neon-2: #ffd23d;
  --hud-bg-1: #02130a;
  --hud-bg-2: #06301a;
  --mono: "Courier New", ui-monospace, monospace;
}

/* progress scroll bar */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%;
  transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--neon), var(--neon-2));
  box-shadow: 0 0 12px var(--neon);
  z-index: 1100; pointer-events: none;
}

.hero, .page-hero, .cta-band { isolation: isolate; }
.hero, .page-hero {
  position: relative;
  color: #fff;
  background:
    radial-gradient(700px 420px at 80% 30%, rgba(61, 255, 143, 0.18), transparent 70%),
    radial-gradient(600px 380px at 10% 90%, rgba(255, 210, 61, 0.10), transparent 70%),
    linear-gradient(160deg, var(--hud-bg-1), var(--hud-bg-2));
  border-bottom: 1px solid rgba(61, 255, 143, 0.35);
}
.hero h1, .page-hero h1 { color: #fff; text-shadow: 0 0 28px rgba(61, 255, 143, 0.35); }
.hero h1 em { color: var(--neon); text-shadow: 0 0 18px rgba(61, 255, 143, 0.8); }
.hero h1 em::after { display: none; }
.hero h1 .caret {
  display: inline-block; width: 4px; height: 0.85em; margin-left: 4px;
  background: var(--neon); box-shadow: 0 0 10px var(--neon);
  vertical-align: -0.05em; animation: blink 0.9s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.hero p, .page-hero p { color: rgba(226, 255, 238, 0.82); }

.hero-badge, .page-hero .eyebrow {
  background: rgba(61, 255, 143, 0.08);
  border: 1px solid rgba(61, 255, 143, 0.55);
  color: var(--neon);
  font-family: var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 0 18px rgba(61, 255, 143, 0.25), inset 0 0 12px rgba(61, 255, 143, 0.1);
}
.hero-badge .dot {
  display: inline-block; width: 8px; height: 8px; margin-right: 8px;
  border-radius: 50%; background: var(--neon); box-shadow: 0 0 10px var(--neon);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(0.6); opacity: 0.5; } }

.hero .btn-primary { background: var(--neon); color: #022a12; animation: btnglow 2.6s ease-in-out infinite; }
.hero .btn-primary:hover { background: #7dffb6; }
.hero .btn-outline { color: #fff; border-color: rgba(255, 255, 255, 0.6); }
.hero .btn-outline:hover { background: #fff; color: var(--green-900); }
.cta-band .btn-yellow { animation: btnglow-y 2.6s ease-in-out infinite; }
@keyframes btnglow {
  0%, 100% { box-shadow: 0 0 10px rgba(61, 255, 143, 0.35), 0 0 0 0 rgba(61, 255, 143, 0.4); }
  50% { box-shadow: 0 0 26px rgba(61, 255, 143, 0.7), 0 0 0 8px rgba(61, 255, 143, 0); }
}
@keyframes btnglow-y {
  0%, 100% { box-shadow: 0 0 10px rgba(255, 210, 61, 0.35), 0 0 0 0 rgba(255, 210, 61, 0.4); }
  50% { box-shadow: 0 0 26px rgba(255, 210, 61, 0.7), 0 0 0 8px rgba(255, 210, 61, 0); }
}

.hero-points { color: rgba(226, 255, 238, 0.8); }
.hero-points .icon { color: var(--neon); }

/* canvas partikel */
.fx-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }

/* grid perspektif bergerak */
.hero::after, .page-hero::after {
  content: '';
  position: absolute; left: -20%; right: -20%; bottom: 0; height: 55%;
  background-image:
    linear-gradient(rgba(61, 255, 143, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 255, 143, 0.35) 1px, transparent 1px);
  background-size: 60px 60px;
  transform: perspective(500px) rotateX(62deg);
  transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 85%);
  mask-image: linear-gradient(to top, #000 0%, transparent 85%);
  animation: gridmove 3s linear infinite;
  z-index: -1; pointer-events: none; opacity: 0.55;
}
@keyframes gridmove { to { background-position: 0 60px, 60px 0; } }

/* garis scan melintasi hero */
.hero::before, .page-hero::before {
  content: '';
  position: absolute; left: 0; right: 0; top: 0; height: 120px;
  background: linear-gradient(to bottom, transparent, rgba(61, 255, 143, 0.12), transparent);
  border-bottom: 1px solid rgba(61, 255, 143, 0.25);
  animation: sweep 7s linear infinite;
  z-index: -1; pointer-events: none;
}
@keyframes sweep { from { transform: translateY(-120px); } to { transform: translateY(700px); } }

/* HUD di sekeliling gambar hero */
.hero-visual::before { display: none; }
.hero-visual { isolation: isolate; max-width: 480px; margin-left: auto; animation: floaty 6s ease-in-out infinite; }
.hero-visual img {
  max-width: 100%; margin: 0;
  border: 1px solid rgba(61, 255, 143, 0.7);
  border-radius: 14px;
  box-shadow: 0 0 40px rgba(61, 255, 143, 0.35), 0 0 0 6px rgba(61, 255, 143, 0.08);
}
@keyframes floaty { 50% { transform: translateY(-12px); } }

.hud { position: absolute; inset: -9%; z-index: -1; pointer-events: none; }
.hud .ring { position: absolute; inset: 0; border-radius: 50%; border: 2px dashed rgba(61, 255, 143, 0.55); animation: spin 28s linear infinite; filter: drop-shadow(0 0 6px rgba(61, 255, 143, 0.6)); }
.hud .r2 { inset: 8%; border: 2px solid transparent; border-top-color: var(--neon); border-bottom-color: var(--neon-2); animation: spin 9s linear infinite reverse; filter: drop-shadow(0 0 8px var(--neon)); }
.hud .r3 { inset: 16%; border: 1px dotted rgba(255, 210, 61, 0.7); animation: spin 40s linear infinite; filter: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.hud-frame { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.hud-corner { position: absolute; width: 26px; height: 26px; border: 2px solid var(--neon); filter: drop-shadow(0 0 6px var(--neon)); }
.hud-corner.tl { top: -10px; left: -10px; border-right: 0; border-bottom: 0; }
.hud-corner.tr { top: -10px; right: -10px; border-left: 0; border-bottom: 0; }
.hud-corner.bl { bottom: -10px; left: -10px; border-right: 0; border-top: 0; }
.hud-corner.br { bottom: -10px; right: -10px; border-left: 0; border-top: 0; }

.scan-line {
  position: absolute; left: 0; right: 0; top: 0; height: 3px; z-index: 3; pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--neon), transparent);
  box-shadow: 0 0 18px 4px rgba(61, 255, 143, 0.6);
  animation: scanimg 3.8s ease-in-out infinite;
}
@keyframes scanimg { 0% { top: 0; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { top: 100%; opacity: 0; } }

.hud-tag {
  position: absolute; z-index: 3; padding: 5px 10px; font: 600 0.7rem var(--mono);
  color: var(--neon); background: rgba(2, 19, 10, 0.85); border: 1px solid rgba(61, 255, 143, 0.6);
  border-radius: 4px; letter-spacing: 0.08em; box-shadow: 0 0 12px rgba(61, 255, 143, 0.3);
  animation: floaty 5s ease-in-out infinite;
}
.hud-tag.t1 { top: 8%; left: -6%; }
.hud-tag.t2 { bottom: 10%; right: -4%; animation-delay: -2s; color: var(--neon-2); border-color: rgba(255, 210, 61, 0.6); }

/* CTA band */
.cta-band {
  background:
    radial-gradient(500px 260px at 85% 0%, rgba(61, 255, 143, 0.25), transparent 70%),
    linear-gradient(135deg, var(--hud-bg-1), var(--hud-bg-2));
  border: 1px solid rgba(61, 255, 143, 0.45);
  box-shadow: 0 0 40px rgba(61, 255, 143, 0.18);
}
.cta-band::after {
  background: none; border: 2px dashed rgba(61, 255, 143, 0.5);
  width: 300px; height: 300px; right: -80px; top: -110px; opacity: 1;
  animation: spin 24s linear infinite;
}

/* kartu: glow mengikuti kursor + garis scan */
.card, .package-card, .audience-item { position: relative; overflow: hidden; }
.card::before, .package-card::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.3s ease;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(17, 152, 63, 0.16), transparent 70%);
}
.card:hover::before, .package-card:hover::before { opacity: 1; }
.card::after, .package-card::after {
  content: ''; position: absolute; left: 0; right: 0; top: -2px; height: 2px; pointer-events: none; opacity: 0;
  background: linear-gradient(90deg, transparent, var(--green-600), transparent);
}
.card:hover::after, .package-card:hover::after { opacity: 1; animation: cardscan 1.4s linear infinite; }
@keyframes cardscan { to { top: 100%; } }
.package-card.popular { box-shadow: 0 0 0 1px var(--green-600), 0 0 30px rgba(17, 152, 63, 0.3); animation: popglow 3s ease-in-out infinite; }
@keyframes popglow { 50% { box-shadow: 0 0 0 1px var(--green-600), 0 0 46px rgba(17, 152, 63, 0.5); } }
.card:hover .feature-icon { box-shadow: 0 0 22px rgba(17, 152, 63, 0.55); }

.logo { transition: filter 0.3s ease; }
.logo-link:hover .logo { filter: drop-shadow(0 0 8px rgba(61, 255, 143, 0.7)); }

@media (max-width: 992px) {
  .hero-visual { margin: 0 auto; }
  .hud { inset: -4%; }
  .hud-tag.t1 { left: 0; }
  .hud-tag.t2 { right: 0; }
}
@media (max-width: 480px) { .hud-tag { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .fx-canvas, .scan-line, .hud .ring, .hero::before, .page-hero::before { display: none; }
  .hero::after, .page-hero::after, .hero-visual, .hero .btn-primary, .cta-band .btn-yellow, .package-card.popular, .cta-band::after { animation: none !important; }
}

/* --- Perbaikan: badge paket tidak terpotong --- */
.package-card { overflow: visible; }
.package-card::before, .package-card::after { border-radius: var(--radius); }
.package-card::after { left: 12px; right: 12px; }
.package-badge { z-index: 3; }

/* --- Paket Bisnis: unggulan (produk utama) --- */
.package-card.featured {
  background:
    radial-gradient(420px 240px at 100% 0%, rgba(61, 255, 143, 0.22), transparent 70%),
    linear-gradient(160deg, var(--hud-bg-1), var(--hud-bg-2));
  border: 2px solid var(--neon);
  color: #fff;
  transform: scale(1.04);
  z-index: 2;
  box-shadow: 0 0 0 1px rgba(61, 255, 143, 0.4), 0 0 38px rgba(61, 255, 143, 0.4), 0 24px 50px rgba(2, 19, 10, 0.35);
  animation: featglow 2.8s ease-in-out infinite;
}
.package-card.featured:hover { transform: scale(1.04) translateY(-6px); }
@keyframes featglow {
  50% { box-shadow: 0 0 0 1px rgba(61, 255, 143, 0.6), 0 0 60px rgba(61, 255, 143, 0.65), 0 24px 50px rgba(2, 19, 10, 0.35); }
}
.package-card.featured .package-badge {
  background: var(--neon-2); color: #3a2a00; font-size: 0.8rem; padding: 6px 20px;
  box-shadow: 0 0 18px rgba(255, 210, 61, 0.7);
}
.package-card.featured .package-name { color: #fff; font-size: 1.45rem; }
.package-card.featured .package-price { color: var(--neon); text-shadow: 0 0 16px rgba(61, 255, 143, 0.6); }
.package-card.featured .package-price .cur { color: rgba(226, 255, 238, 0.8); }
.package-card.featured .package-price .amount { font-size: 2.3rem; }
.package-card.featured .package-tag { color: rgba(226, 255, 238, 0.85); }
.package-card.featured .package-list { border-top-color: rgba(61, 255, 143, 0.3); }
.package-card.featured .package-list li { color: #fff; }
.package-card.featured .package-list .icon { color: var(--neon); }
.package-card.featured::before { background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(61, 255, 143, 0.2), transparent 70%); }
.package-card.featured::after { background: linear-gradient(90deg, transparent, var(--neon), transparent); }
.package-card.featured .btn-yellow { animation: btnglow-y 2.6s ease-in-out infinite; }

@media (max-width: 992px) {
  .package-card.featured, .package-card.featured:hover { transform: none; }
  .package-card.featured:hover { transform: translateY(-6px); }
}
@media (prefers-reduced-motion: reduce) { .package-card.featured, .package-card.featured .btn-yellow { animation: none !important; } }
