/* ============================================================
   INCENG — Insight Sebelum Berinteraksi
   Desain: VibeCoder theme (indigo/violet, glass) + aksen hangat Jawa
   Mobile-first, responsive, tanpa ornamen mistis berlebihan.
   ============================================================ */

:root {
  --ink: #1F1B3A;
  --muted: #635F82;
  --accent: #4F46E5;
  --accent2: #8B5CF6;
  --gold: #D97706;
  --gold-soft: #FEF3C7;
  --bg: #F3F0FF;
  --card: rgba(255, 255, 255, 0.62);
  --card-border: rgba(255, 255, 255, 0.65);
  --shadow: 0 10px 30px -12px rgba(79, 70, 229, 0.25);
  --shadow-lg: 0 24px 60px -20px rgba(79, 70, 229, 0.35);
  --radius: 16px;
  --radius-sm: 10px;
  --ok: #059669;
  --err: #DC2626;
  --warn: #D97706;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  min-height: 100vh;
  padding-bottom: 74px; /* ruang untuk bottom nav mobile */
}

/* ---- dekorasi latar ---- */
.bg-decor {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(700px 420px at 12% -6%, rgba(129, 140, 248, 0.28), transparent 60%),
    radial-gradient(600px 400px at 95% 8%, rgba(232, 121, 249, 0.18), transparent 60%),
    radial-gradient(700px 500px at 50% 110%, rgba(56, 189, 248, 0.14), transparent 60%),
    radial-gradient(500px 380px at 85% 70%, rgba(167, 139, 250, 0.16), transparent 60%),
    linear-gradient(180deg, #F3F0FF 0%, #F5F2FF 55%, #F1ECFF 100%);
}
/* aksen batik samar — halus, tidak mencolok */
.bg-decor::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image:
    radial-gradient(circle at 25% 25%, var(--ink) 1.5px, transparent 2px),
    radial-gradient(circle at 75% 75%, var(--ink) 1.5px, transparent 2px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}

.container { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 18px; }

/* ---- header / navigasi ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  background: rgba(255, 255, 255, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark {
  font-size: 26px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-radius: 12px;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  box-shadow: var(--shadow);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 19px; letter-spacing: 0.4px; }
.brand-text small { font-size: 11px; color: var(--muted); font-weight: 500; }

.nav-desktop { display: none; gap: 4px; align-items: center; }
.nav-link {
  padding: 8px 13px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
}
.nav-link:hover { color: var(--accent); background: rgba(79, 70, 229, 0.08); }
.nav-link.active { color: var(--accent); background: rgba(79, 70, 229, 0.12); }

.nav-auth { display: none; align-items: center; gap: 8px; }

/* chips */
.chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 7px 14px; border-radius: 999px;
  text-decoration: none; font-size: 13px; font-weight: 600;
}
.chip-ghost { color: var(--ink); background: rgba(255,255,255,0.7); border: 1px solid rgba(99, 95, 130, 0.25); }
.chip-link { color: var(--muted); }
.chip-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: var(--shadow);
}

/* ---- bottom nav mobile ---- */
.nav-mobile {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 60;
  display: flex;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-top: 1px solid rgba(255, 255, 255, 0.7);
  padding-bottom: env(safe-area-inset-bottom);
}
.mnav-item {
  flex: 1;
  display: flex; flex-direction: column; align-items: center;
  gap: 2px; padding: 9px 4px 8px;
  font-size: 10.5px; font-weight: 600;
  color: var(--muted); text-decoration: none;
}
.mnav-item .mnav-icon { font-size: 20px; }
.mnav-item.active { color: var(--accent); }

/* ---- main ---- */
.page-main { padding-top: 26px; padding-bottom: 40px; min-height: 60vh; }
.page-head { margin-bottom: 22px; }
.page-head .h1 { margin-bottom: 4px; }

/* ---- tipografi ---- */
.h1 { font-size: 30px; font-weight: 800; letter-spacing: -0.5px; line-height: 1.2; }
.h2 { font-size: 20px; font-weight: 700; letter-spacing: -0.3px; margin-bottom: 10px; }
.h3 { font-size: 15.5px; font-weight: 700; margin-bottom: 8px; }
.lead { font-size: 16.5px; }
.muted { color: var(--muted); font-size: 14px; }
.center { text-align: center; }
.section-head { margin-bottom: 16px; }

/* ---- tombol ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 12px;
  border: none; cursor: pointer;
  font-family: inherit; font-size: 15px; font-weight: 700;
  text-decoration: none; color: var(--ink);
  transition: transform 0.12s ease, box-shadow 0.12s ease, opacity 0.12s;
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 14px 26px; font-size: 16px; border-radius: 14px; }
.btn-block { width: 100%; }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 10px 24px -10px rgba(79, 70, 229, 0.55);
}
.btn-primary:hover { opacity: 0.94; }
.btn-ghost { background: rgba(255, 255, 255, 0.7); border: 1px solid rgba(99, 95, 130, 0.28); }
.btn-ghost:hover { background: #fff; }
.btn-danger { background: #FEE2E2; color: var(--err); }
.btn-danger:hover { background: #FECACA; }
.btn-small { padding: 6px 12px; font-size: 12.5px; border-radius: 9px; }

/* ---- kartu ---- */
.card {
  background: var(--card);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}
.card + .card { margin-top: 18px; }

/* ---- form ---- */
.form-card { padding: 24px; }
.label { display: block; font-size: 13.5px; font-weight: 700; margin: 16px 0 6px; }
.input, .textarea, select.input {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit; font-size: 15px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.85);
  border: 1.5px solid rgba(99, 95, 130, 0.25);
  border-radius: 12px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.input:focus, .textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.14);
}
.input-lg { font-size: 17px; padding: 14px 16px; }
.textarea { resize: vertical; min-height: 70px; }
.field-hint { font-size: 12.5px; color: var(--muted); margin-top: 7px; }
.form-progress { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(99, 95, 130, 0.3); }
.dot.active { background: var(--accent); width: 26px; border-radius: 999px; }
.hidden { display: none !important; }

.step-title {
  display: flex; align-items: center; gap: 10px;
  font-size: 17px; font-weight: 700; margin-bottom: 14px;
}
.step-pill {
  width: 30px; height: 30px; border-radius: 10px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff; font-size: 14px; font-weight: 800;
}
.step-actions { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.form-disclaimer { font-size: 12.5px; color: var(--muted); margin-top: 18px; text-align: center; }

/* ---- hero ---- */
.hero { text-align: center; padding: 34px 0 40px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.75);
  border: 1px solid var(--card-border);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 13.5px; font-weight: 600; color: var(--muted);
  box-shadow: var(--shadow);
  margin-bottom: 26px;
}
.hero-title {
  font-size: 64px; font-weight: 800; letter-spacing: -2px; line-height: 1;
  background: linear-gradient(120deg, var(--accent), var(--accent2) 55%, #C026D3);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-tagline { font-size: 21px; font-weight: 700; margin-top: 8px; }
.hero-quote {
  display: inline-block;
  margin: 18px 0 14px;
  font-size: 18px; font-weight: 800; font-style: italic;
  color: #fff;
  background: linear-gradient(135deg, var(--gold), #F59E0B);
  padding: 8px 20px; border-radius: 999px;
  box-shadow: 0 10px 24px -10px rgba(217, 119, 6, 0.6);
}
.hero-sub { max-width: 560px; margin: 0 auto; font-size: 16.5px; color: var(--muted); }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 26px 0 16px; }
.hero-note { font-size: 12.5px; color: var(--muted); max-width: 480px; margin: 0 auto; }

/* ---- grid langkah ---- */
.steps-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.step-card {
  display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,0.65);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 14px 16px;
  font-weight: 600; font-size: 14.5px;
}
.step-num {
  flex: 0 0 auto;
  width: 32px; height: 32px; border-radius: 10px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff; font-weight: 800; font-size: 15px;
}

/* ---- use-case grid ---- */
.use-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.use-card {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 18px 10px; text-align: center;
  background: rgba(255,255,255,0.68);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  text-decoration: none; color: var(--ink);
  font-weight: 600; font-size: 13.5px;
  transition: transform 0.12s, box-shadow 0.12s;
}
.use-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.use-icon { font-size: 26px; }

section { margin-bottom: 44px; }

/* ---- CTA band ---- */
.cta-band {
  text-align: center;
  padding: 34px 20px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(79,70,229,0.10), rgba(139,92,246,0.12));
  border: 1px solid rgba(139,92,246,0.22);
}

/* Band inklusivitas — INCENG untuk siapa saja (bukan hanya orang Jawa) */
.inclusive-band {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-top: 32px;
  padding: 26px 24px;
  border-radius: 20px;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.65);
  box-shadow: 0 10px 30px rgba(79,70,229,0.08);
  backdrop-filter: blur(18px) saturate(160%);
}
.inclusive-icon {
  flex: 0 0 auto;
  font-size: 34px;
  line-height: 1;
}
.inclusive-body h2 { margin-bottom: 10px; font-size: 18px; }
.inclusive-body p { margin-bottom: 10px; font-size: 14.5px; color: var(--muted); }
.inclusive-emphasis { margin-top: 6px; font-size: 15px; }
@media (max-width: 560px) {
  .inclusive-band { flex-direction: column; gap: 10px; }
}

/* ---- grid konteks (form) ---- */
.ctx-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.ctx-card {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 16px 8px;
  background: rgba(255,255,255,0.7);
  border: 1.5px solid rgba(99,95,130,0.2);
  border-radius: 14px;
  cursor: pointer;
  font-weight: 600; font-size: 13.5px;
  transition: border-color 0.12s, transform 0.12s, box-shadow 0.12s;
}
.ctx-card input { position: absolute; opacity: 0; }
.ctx-card .ctx-icon { font-size: 26px; }
.ctx-card.selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(79,70,229,0.15), var(--shadow);
  transform: translateY(-2px);
}
.ctx-card:active { transform: scale(0.98); }

/* ---- hasil INCENG ---- */
.result-hero { text-align: center; padding: 10px 0 26px; }
.result-brand {
  display: inline-block;
  font-weight: 800; letter-spacing: 0.5px;
  background: linear-gradient(120deg, var(--accent), var(--accent2));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 15px;
}
.result-name { margin-top: 8px; font-size: 40px; }
.result-weton { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 14px 0 8px; }
.weton-note { font-size: 12.5px; color: var(--muted); margin: 3px 0 0; }
.weton-chip, .neptu-chip {
  display: inline-block;
  padding: 7px 16px; border-radius: 999px;
  font-weight: 800; font-size: 15px;
}
.weton-chip {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: var(--shadow);
}
.weton-chip.small { font-size: 12.5px; padding: 4px 11px; }
.neptu-chip {
  background: var(--gold-soft); color: var(--gold);
  border: 1px solid rgba(217,119,6,0.35);
}
.result-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 18px; align-items: start;
}
.result-main .result-block { margin-bottom: 22px; }
.result-block .h2 {
  display: flex; align-items: center; gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(99,95,130,0.15);
}
.result-block-inner {
  background: rgba(255,255,255,0.55);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 16px 18px;
}
.result-tip, .result-context .result-block-inner {
  background: linear-gradient(135deg, rgba(254,243,199,0.6), rgba(255,255,255,0.55));
  border: 1px solid rgba(217,119,6,0.25);
}
.result-observe, .result-after {
  background: rgba(255,255,255,0.55);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 18px 20px;
}
/* Signature Insight (V1.2) */
.sig-chip {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 12px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(79, 70, 229, 0.08);
  border: 1px solid rgba(79, 70, 229, 0.28);
  color: var(--accent);
  font-weight: 800; font-size: 13.5px;
  line-height: 1.4;
}
.sig-label {
  font-size: 10.5px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.5px; color: var(--muted);
  white-space: nowrap;
}
.observe-list { list-style: none; counter-reset: obs; margin-top: 4px; }
.observe-list li {
  position: relative;
  counter-increment: obs;
  padding: 10px 0 10px 46px;
  font-size: 14.5px;
}
.observe-list li::before {
  content: counter(obs);
  position: absolute; left: 0; top: 10px;
  width: 30px; height: 30px; border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff; font-weight: 800; font-size: 14px;
  line-height: 30px; text-align: center;
}
.after-form .btn { margin-top: 6px; }
.fb-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; }
.fb-delete { display: inline; margin: 0; }
.btn-link-danger {
  background: none; border: none; cursor: pointer;
  color: var(--err); font-size: 12px; font-weight: 700; text-decoration: underline;
  font-family: inherit; padding: 0;
}
.btn-link-danger:hover { opacity: 0.8; }
.tip-text { font-weight: 600; font-size: 15.5px; }
.bullet-list { list-style: none; }
.bullet-list li {
  position: relative;
  padding: 6px 0 6px 26px;
  font-size: 15px;
}
.bullet-list li::before {
  content: "";
  position: absolute; left: 4px; top: 14px;
  width: 9px; height: 9px; border-radius: 3px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
}
.result-side { display: flex; flex-direction: column; gap: 18px; }
.side-card { padding: 20px; }
.side-card .h3 { margin-bottom: 10px; }
.side-card .muted { margin-bottom: 10px; }
.btn-row { display: flex; gap: 8px; margin: 10px 0; flex-wrap: wrap; }
.soft { border: none; border-top: 1px solid rgba(99,95,130,0.15); margin: 14px 0; }

/* ---- alert / flash / badge ---- */
.alert {
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 14px;
  margin: 14px 0;
}
.alert-error { background: #FEE2E2; color: #991B1B; border: 1px solid rgba(220,38,38,0.2); }
.alert-error ul { margin: 6px 0 0 18px; }
.alert-note { background: #EDE9FE; color: #4C1D95; border: 1px solid rgba(139,92,246,0.25); }
.alert-ok { background: #D1FAE5; color: #065F46; border: 1px solid rgba(5,150,105,0.25); }
.alert-disclaimer {
  background: rgba(255,255,255,0.6);
  border: 1px dashed rgba(99,95,130,0.35);
  color: var(--muted);
  font-size: 13px;
}
.flash {
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 18px;
  font-weight: 600; font-size: 14px;
}
.flash-ok { background: #D1FAE5; color: #065F46; }
.flash-error { background: #FEE2E2; color: #991B1B; }
.flash-info { background: #EDE9FE; color: #4C1D95; }
.badge {
  display: inline-block;
  padding: 3px 10px; border-radius: 999px;
  font-size: 11.5px; font-weight: 700;
}
.badge-ok { background: #D1FAE5; color: #065F46; }
.badge-warn { background: var(--gold-soft); color: var(--gold); }
.badge-muted { background: rgba(99,95,130,0.12); color: var(--muted); }

/* ---- orang saya ---- */
.person-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.person-card { text-decoration: none; color: var(--ink); display: block; transition: transform 0.12s, box-shadow 0.12s; }
.person-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.person-name { font-size: 19px; font-weight: 800; }
.person-weton { font-weight: 700; color: var(--accent); margin-top: 2px; }
.person-meta { font-size: 13.5px; color: var(--muted); margin-top: 6px; }
.person-date { font-size: 12px; color: var(--muted); margin-top: 8px; }
.empty-state { text-align: center; padding: 44px 20px; }
.empty-state .empty-icon { font-size: 42px; margin-bottom: 10px; }
.empty-state p { margin-bottom: 12px; color: var(--muted); }

/* ---- tabel ---- */
.table-card { padding: 10px 0 16px; overflow: hidden; }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th {
  text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.6px;
  color: var(--muted); padding: 10px 14px;
  border-bottom: 1px solid rgba(99,95,130,0.15);
}
.table td { padding: 11px 14px; border-bottom: 1px solid rgba(99,95,130,0.08); vertical-align: top; }
.table tr:last-child td { border-bottom: none; }
.table tr.clickable { cursor: pointer; }
.table tr.clickable:hover td { background: rgba(79,70,229,0.05); }
.small-note { margin-top: 12px; padding: 0 14px; }

/* ---- auth ---- */
.auth-wrap { max-width: 440px; margin: 24px auto; }
.auth-card { padding: 28px; }
.auth-card .btn { margin-top: 18px; }
.auth-card .muted { margin-top: 12px; }
.demo-box {
  margin-top: 16px;
  background: rgba(254,243,199,0.5);
  border: 1px solid rgba(217,119,6,0.25);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 13px;
}
.demo-box summary { cursor: pointer; font-weight: 700; color: var(--gold); }
.demo-box p { margin-top: 6px; }

/* ---- profil ---- */
.profile-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.profile-card p { margin: 6px 0; font-size: 14.5px; }

/* ---- tentang ---- */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.about-card p { margin-bottom: 10px; font-size: 14.5px; }
.about-disclaimer { margin-top: 22px; }

/* ---- share card ---- */
.share-wrap { max-width: 560px; margin: 30px auto; text-align: center; }
.share-card { padding: 34px 26px; box-shadow: var(--shadow-lg); }
.share-brand {
  font-size: 26px; font-weight: 800; letter-spacing: 1px;
  background: linear-gradient(120deg, var(--accent), var(--accent2));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.share-tagline { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.share-person { margin: 18px 0; }
.share-body { text-align: left; }
.share-overview { font-size: 15px; margin-bottom: 14px; }
.share-tip {
  background: linear-gradient(135deg, rgba(254,243,199,0.7), rgba(255,255,255,0.6));
  border: 1px solid rgba(217,119,6,0.25);
  border-radius: 14px;
  padding: 16px 18px;
  font-size: 14.5px;
}
.share-tip p { margin-top: 6px; }
.share-quote {
  display: inline-block; margin: 20px 0 12px;
  font-weight: 800; font-style: italic; color: var(--gold);
}
.share-disclaimer { font-size: 12px; color: var(--muted); }
.share-home { margin-top: 16px; }
.share-home a { color: var(--accent); font-weight: 700; }

/* ---- admin ---- */
.admin-layout { display: grid; grid-template-columns: 1fr; gap: 18px; align-items: start; }
.admin-nav {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.admin-nav-link {
  padding: 9px 15px;
  border-radius: 12px;
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--card-border);
  text-decoration: none;
  color: var(--muted); font-weight: 700; font-size: 13.5px;
}
.admin-nav-link.active { color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent2)); border-color: transparent; }
.admin-head-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.admin-actions { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 18px; }
.stat-card { text-align: center; padding: 18px 12px; }
.stat-icon { font-size: 26px; }
.stat-value { font-size: 30px; font-weight: 800; margin: 4px 0; }
.stat-label { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 0 16px; }
.form-card { margin-bottom: 18px; }

/* ---- footer ---- */
.site-footer {
  margin-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.4);
  backdrop-filter: blur(14px);
  padding: 26px 0 34px;
  text-align: center;
}
.brand-quote { font-size: 15px; color: var(--gold); }
.footer-note { max-width: 560px; margin: 10px auto 0; font-size: 12.5px; color: var(--muted); }
.footer-links { margin-top: 10px; font-size: 13px; }
.footer-links a { color: var(--accent); font-weight: 600; text-decoration: none; }
.footer-copy { margin-top: 10px; font-size: 12px; color: var(--muted); }

/* ---- radio rows ---- */
.radio-row {
  display: flex; align-items: center; gap: 9px;
  padding: 9px 12px;
  border-radius: 10px;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(99,95,130,0.18);
  margin-bottom: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
}
.radio-row input { accent-color: var(--accent); }

/* ---- feedback ---- */
.fb-item {
  padding: 12px 0;
  border-bottom: 1px solid rgba(99,95,130,0.1);
}
.fb-item:last-child { border-bottom: none; }
.fb-rating { font-weight: 700; font-size: 13.5px; color: var(--ok); }
.fb-note { font-size: 13.5px; margin-top: 3px; }
.fb-date { font-size: 11.5px; margin-top: 4px; }

/* ============================================================
   Responsive: tablet & desktop
   ============================================================ */
@media (min-width: 720px) {
  body { padding-bottom: 0; }
  .nav-desktop { display: flex; }
  .nav-auth { display: flex; }
  .nav-mobile { display: none; }
  .h1 { font-size: 38px; }
  .hero-title { font-size: 92px; }
  .hero { padding: 60px 0 70px; }
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
  .use-grid { grid-template-columns: repeat(4, 1fr); }
  .ctx-grid { grid-template-columns: repeat(4, 1fr); }
  .person-grid { grid-template-columns: repeat(3, 1fr); }
  .result-grid { grid-template-columns: 1fr 320px; }
  .result-side { position: sticky; top: 84px; }
  .profile-grid { grid-template-columns: repeat(3, 1fr); }
  .about-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(4, 1fr); }
  .admin-layout { grid-template-columns: 210px 1fr; }
  .admin-nav { flex-direction: column; }
  .form-row { grid-template-columns: 1fr 1fr; }
  .page-main { padding-top: 34px; }
}
