:root {
  --kontak-bg: #030712;
  --kontak-surface: rgba(255, 255, 255, 0.03);
  --kontak-surface-hover: rgba(255, 255, 255, 0.06);
  --kontak-border: rgba(255, 255, 255, 0.08);
  --kontak-border-hover: rgba(255, 255, 255, 0.2);
  --kontak-text-main: #f8fafc;
  --kontak-text-muted: #94a3b8;
  --kontak-brand: #3b82f6;
  --kontak-brand-gradient: linear-gradient(135deg, #60a5fa, #3b82f6, #06b6d4);
  --kontak-live: #10b981;
  --kontak-danger: #ef4444;
}

@media (prefers-color-scheme: light) {
  :root {
    --kontak-bg: #f8fafc;
    --kontak-surface: rgba(255, 255, 255, 0.8);
    --kontak-surface-hover: rgba(255, 255, 255, 1);
    --kontak-border: rgba(15, 23, 42, 0.1);
    --kontak-border-hover: rgba(15, 23, 42, 0.25);
    --kontak-text-main: #0f172a;
    --kontak-text-muted: #64748b;
    --kontak-brand-gradient: linear-gradient(135deg, #2563eb, #0891b2);
  }
}

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

.kontak-body {
  font-family: 'Inter', system-ui, sans-serif;
  background-color: var(--kontak-bg);
  color: var(--kontak-text-main);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  position: relative;
}

.kontak-body::before {
  content: '';
  position: absolute;
  top: -20%; left: -10%;
  width: 70vw; height: 70vw;
  background: radial-gradient(circle, rgba(59,130,246,0.15) 0%, transparent 60%);
  filter: blur(80px);
  z-index: -1;
}
.kontak-body::after {
  content: '';
  position: absolute;
  bottom: -20%; right: -10%;
  width: 60vw; height: 60vw;
  background: radial-gradient(circle, rgba(6,182,212,0.12) 0%, transparent 60%);
  filter: blur(80px);
  z-index: -1;
}

.kontak-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.kontak-bento-item {
  background: var(--kontak-surface);
  border: 1px solid var(--kontak-border);
  border-radius: 28px;
  padding: 32px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
}

.kontak-bento-item:hover { border-color: var(--kontak-border-hover); }

.kontak-form-section { grid-column: span 2; }

/* Warna diubah persis seperti Hero Banner Homepage */
.kontak-info-section { grid-column: span 1; background: linear-gradient(135deg, #0b2239 0%, #0f3156 55%, #0d4a56 100%); color: white; border: none; }

.kontak-heading { font-size: clamp(28px, 4vw, 36px); font-weight: 800; line-height: 1.2; margin-bottom: 8px; }
.kontak-subheading { color: var(--kontak-text-muted); font-size: 15px; line-height: 1.6; margin-bottom: 24px; }
.kontak-info-section p { color: rgba(255,255,255,0.8); font-size: 15px; line-height: 1.6; margin-bottom: 24px; }

.kontak-form-group { margin-bottom: 16px; }
.kontak-form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--kontak-text-main);
}

.kontak-form-group input, .kontak-form-group select, .kontak-form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--kontak-border);
  color: var(--kontak-text-main);
  font-family: inherit;
  font-size: 15px;
  transition: all 0.3s ease;
}

@media (prefers-color-scheme: light) {
  .kontak-form-group input, .kontak-form-group select, .kontak-form-group textarea { background: rgba(0, 0, 0, 0.03); }
}

.kontak-form-group input:focus, .kontak-form-group select:focus, .kontak-form-group textarea:focus {
  outline: none;
  border-color: var(--kontak-brand);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.kontak-form-group select option { background: var(--kontak-bg); color: var(--kontak-text-main); }
.kontak-form-group textarea { resize: vertical; min-height: 100px; }

.kontak-btn {
  width: 100%;
  padding: 0 28px;
  height: 52px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  background: var(--kontak-text-main);
  color: var(--kontak-bg);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 8px;
}
.kontak-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(255, 255, 255, 0.1); }

.kontak-btn-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--kontak-text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 24px;
  transition: color 0.2s;
}
.kontak-btn-back:hover { color: var(--kontak-text-main); }

/* --- TAMBAHAN ANIMASI CSS --- */
@keyframes slideInDownAlert {
  0% { opacity: 0; transform: translateY(-15px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes fadeOutUpAlert {
  0% { opacity: 1; transform: translateY(0); height: auto; padding: 16px; margin-bottom: 24px; }
  100% { opacity: 0; transform: translateY(-15px); height: 0; padding: 0; margin-bottom: 0; overflow: hidden; }
}

.kontak-alert {
  padding: 16px;
  border-radius: 12px;
  margin-bottom: 24px;
  font-size: 14px;
  font-weight: 500;
  animation: slideInDownAlert 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.kontak-alert-success { background: rgba(16, 185, 129, 0.15); border: 1px solid var(--kontak-live); color: var(--kontak-live); }
.kontak-alert-error { background: rgba(239, 68, 68, 0.15); border: 1px solid var(--kontak-danger); color: var(--kontak-danger); }

.kontak-alert.hide {
  animation: fadeOutUpAlert 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.kontak-info-top { margin-bottom: auto; }
.kontak-info-top h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }

.kontak-info-bottom { margin-top: 32px; background: rgba(0,0,0,0.2); padding: 16px; border-radius: 12px; }
.kontak-info-bottom h4 { font-size: 14px; margin-bottom: 4px; }
.kontak-info-bottom p { font-size: 13px; margin: 0; }

@media (max-width: 768px) {
  .kontak-bento-grid { grid-template-columns: 1fr; }
  .kontak-form-section, .kontak-info-section { grid-column: span 1; }
}