*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cyan: #00f0ff;
  --blue: #0066ff;
  --purple: #7b2fff;
  --pink: #ff2fff;
  --bg: #050510;
  --bg2: #0a0a20;
  --bg3: #0d0d2b;
  --card: #0a0a22;
  --border: rgba(0, 240, 255, 0.15);
  --border2: rgba(123, 47, 255, 0.2);
  --text: #e0e0ff;
  --muted: #7777aa;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Rajdhani', 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

.scanlines {
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 240, 255, 0.015) 2px,
    rgba(0, 240, 255, 0.015) 4px
  );
  pointer-events: none;
  z-index: 1;
}

.grid-bg {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 240, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

.particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--cyan);
  border-radius: 50%;
  animation: float linear infinite;
  opacity: 0;
}

@keyframes float {
  0% { transform: translateY(100vh) translateX(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-100px) translateX(60px); opacity: 0; }
}

.wrapper {
  position: relative;
  z-index: 2;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 60px;
  flex-wrap: wrap;
  gap: 12px;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  animation: pulse-logo 3s ease-in-out infinite;
}

@keyframes pulse-logo {
  0%, 100% { box-shadow: 0 0 10px rgba(0, 240, 255, 0.2); }
  50% { box-shadow: 0 0 25px rgba(0, 240, 255, 0.5), 0 0 50px rgba(0, 240, 255, 0.1); }
}

.logo-text { font-family: 'Orbitron', sans-serif; font-size: 20px; font-weight: 900; letter-spacing: 3px; }
.logo-main { color: #fff; }
.logo-accent { color: var(--cyan); text-shadow: 0 0 20px var(--cyan); }

.tagline { color: var(--muted); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; }

.hero { text-align: center; margin-bottom: 80px; }

.badge-kabar {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 240, 255, 0.06);
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: 100px;
  padding: 8px 20px;
  font-family: 'Orbitron', sans-serif;
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--cyan);
  margin-bottom: 28px;
  animation: badge-glow 2s ease-in-out infinite;
}

@keyframes badge-glow {
  0%, 100% { box-shadow: 0 0 10px rgba(0, 240, 255, 0.1); }
  50% { box-shadow: 0 0 25px rgba(0, 240, 255, 0.3); }
}

.badge-dot {
  width: 6px; height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--cyan);
  animation: blink 1.2s ease-in-out infinite;
}

@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.2; } }

.hero-title {
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-title .line-1 { display: block; font-size: clamp(28px, 7vw, 60px); color: #fff; letter-spacing: 4px; }
.hero-title .line-2 { display: block; font-size: clamp(28px, 7vw, 60px); background: linear-gradient(90deg, var(--cyan), var(--blue)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; letter-spacing: 4px; text-shadow: none; }
.hero-title .line-3 { display: block; font-size: clamp(22px, 5vw, 46px); color: var(--purple); letter-spacing: 6px; text-shadow: 0 0 30px rgba(123, 47, 255, 0.6); }

.hero-desc {
  font-size: 17px;
  color: var(--muted);
  max-width: 540px;
  margin: 0 auto 36px;
  font-weight: 400;
}

.hero-desc strong { color: var(--cyan); }

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 48px;
}

.tech-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(123, 47, 255, 0.1);
  border: 1px solid rgba(123, 47, 255, 0.3);
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #ccccee;
  letter-spacing: 0.5px;
  transition: all 0.3s;
}

.tech-pill:hover {
  background: rgba(123, 47, 255, 0.2);
  border-color: rgba(123, 47, 255, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(123, 47, 255, 0.3);
}

.flow-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.flow-icon {
  width: 56px; height: 56px;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid var(--border);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--cyan);
  transition: all 0.3s;
}

.flow-icon svg { width: 24px; height: 24px; }

.flow-step:hover .flow-icon {
  background: rgba(0, 240, 255, 0.15);
  border-color: var(--cyan);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
  transform: translateY(-3px);
}

.flow-step span { font-size: 13px; color: var(--muted); font-weight: 500; }
.flow-arrow { font-size: 24px; color: var(--border); margin-top: -20px; }

.form-section {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 28px;
  margin-bottom: 80px;
  align-items: start;
}

@media (max-width: 768px) {
  .form-section { grid-template-columns: 1fr; }
  .header { justify-content: center; text-align: center; }
  .flow-arrow { display: none; }
}

.form-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

.form-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--purple), var(--blue));
}

.form-card-header {
  padding: 36px 36px 28px;
  position: relative;
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.header-glow {
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 200px; height: 100px;
  background: radial-gradient(ellipse, rgba(0, 240, 255, 0.12), transparent 70%);
  pointer-events: none;
}

.form-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 4px;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.form-subtitle { color: var(--muted); font-size: 15px; font-weight: 500; }

.alert {
  margin: 0 36px 24px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  border-radius: 12px;
  font-size: 14px;
}

.alert-success { background: rgba(0, 255, 136, 0.08); border: 1px solid rgba(0, 255, 136, 0.3); color: #00ff88; }
.alert-error { background: rgba(255, 50, 50, 0.08); border: 1px solid rgba(255, 50, 50, 0.3); color: #ff6666; }
.alert-icon { font-size: 18px; flex-shrink: 0; }

.form { padding: 28px 36px 36px; }
.form-group { margin-bottom: 24px; }

.form-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #aaaace;
  margin-bottom: 10px;
}

.label-number {
  font-family: 'Orbitron', sans-serif;
  font-size: 10px;
  color: var(--cyan);
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: 4px;
  padding: 2px 6px;
}

.input-wrap {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 16px; top: 50%; transform: translateY(-50%);
  width: 20px; height: 20px;
  color: var(--muted);
  transition: color 0.3s;
  z-index: 1;
}

.input-icon svg { width: 100%; height: 100%; }

.form-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 15px 16px 15px 48px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  outline: none;
  transition: all 0.3s;
  position: relative;
}

.form-input::placeholder { color: rgba(255, 255, 255, 0.2); }

.form-input:focus {
  background: rgba(0, 240, 255, 0.04);
  border-color: rgba(0, 240, 255, 0.5);
  box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.08), 0 0 20px rgba(0, 240, 255, 0.1);
}

.form-input:focus + .input-glow { opacity: 1; }

.input-glow {
  position: absolute;
  bottom: 0; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0;
  transition: opacity 0.3s;
  border-radius: 100px;
}

.form-hint { font-size: 12px; color: var(--muted); margin-top: 8px; }

.btn-submit {
  width: 100%;
  position: relative;
  background: linear-gradient(135deg, var(--cyan) 0%, var(--blue) 50%, var(--purple) 100%);
  border: none;
  border-radius: 12px;
  padding: 18px;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s;
  margin-bottom: 16px;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 240, 255, 0.4), 0 0 60px rgba(123, 47, 255, 0.2);
}

.btn-submit:active { transform: translateY(0); }

.btn-text {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Orbitron', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 3px;
  color: #fff;
}

.btn-text svg { width: 20px; height: 20px; }

.btn-shimmer {
  position: absolute;
  top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.btn-submit:hover .btn-shimmer { left: 100%; }

.form-note { font-size: 12px; color: var(--muted); text-align: center; line-height: 1.5; }

.kopi-card {
  background: var(--card);
  border: 1px solid var(--border2);
  border-radius: 20px;
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.kopi-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--pink), var(--cyan));
}

.kopi-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
}

.kopi-emoji { font-size: 32px; line-height: 1; }
.kopi-title { font-family: 'Orbitron', sans-serif; font-size: 16px; font-weight: 700; color: #fff; letter-spacing: 2px; margin-bottom: 4px; }
.kopi-subtitle { font-size: 12px; color: var(--muted); }

.kopi-qr-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.qr-frame {
  position: relative;
  width: 200px; height: 200px;
  display: flex; align-items: center; justify-content: center;
  background: #fff;
  border-radius: 12px;
  padding: 12px;
  animation: qr-pulse 3s ease-in-out infinite;
}

@keyframes qr-pulse {
  0%, 100% { box-shadow: 0 0 20px rgba(0, 240, 255, 0.2); }
  50% { box-shadow: 0 0 40px rgba(0, 240, 255, 0.5), 0 0 80px rgba(123, 47, 255, 0.2); }
}

.qr-img { width: 100%; height: 100%; object-fit: contain; border-radius: 4px; }

.qr-corner {
  position: absolute;
  width: 20px; height: 20px;
  border-color: var(--cyan);
  border-style: solid;
}

.qr-tl { top: -4px; left: -4px; border-width: 3px 0 0 3px; border-radius: 4px 0 0 0; }
.qr-tr { top: -4px; right: -4px; border-width: 3px 3px 0 0; border-radius: 0 4px 0 0; }
.qr-bl { bottom: -4px; left: -4px; border-width: 0 0 3px 3px; border-radius: 0 0 0 4px; }
.qr-br { bottom: -4px; right: -4px; border-width: 0 3px 3px 0; border-radius: 0 0 4px 0; }

.qr-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; color: var(--cyan); font-size: 12px; font-weight: 600; letter-spacing: 1px;
  width: 100%; height: 100%;
  background: rgba(0, 240, 255, 0.05);
  border: 2px dashed rgba(0, 240, 255, 0.3);
  border-radius: 8px;
}

.qr-placeholder svg { width: 80px; height: 80px; }

.kopi-desc { text-align: center; font-size: 13px; color: var(--muted); line-height: 1.6; }
.kopi-desc small { font-size: 12px; color: rgba(255,255,255,0.25); }

.footer {
  text-align: center;
  padding: 48px 0;
  border-top: 1px solid var(--border);
  position: relative;
}

.footer-rocket { font-size: 36px; margin-bottom: 16px; animation: rocket-float 3s ease-in-out infinite; }

@keyframes rocket-float {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-10px) rotate(5deg); }
}

.footer-text { font-size: 17px; color: var(--muted); margin-bottom: 10px; }
.footer-text strong { color: var(--purple); text-shadow: 0 0 20px rgba(123, 47, 255, 0.6); }
.footer-follow { font-family: 'Orbitron', sans-serif; font-size: 14px; font-weight: 700; letter-spacing: 2px; color: #888899; margin-bottom: 10px; }
.footer-tag { font-size: 12px; color: rgba(255,255,255,0.2); letter-spacing: 2px; }
.accent { color: var(--cyan); text-shadow: 0 0 15px rgba(0, 240, 255, 0.4); }

@media (max-width: 480px) {
  .form { padding: 20px; }
  .form-card-header { padding: 24px 20px; }
  .alert { margin: 0 20px 20px; }
  .kopi-card { padding: 20px; }
}
