:root {
  --aif-navy: #07111f;
  --aif-blue: #0b5cff;
  --aif-gold: #f6b445;
  --aif-soft: #f5f7fb;
}

html { scroll-behavior: smooth; }
body { background: #f7f8fb; }

.hero-gradient {
  background:
    radial-gradient(circle at 20% 15%, rgba(246,180,69,.22), transparent 27%),
    radial-gradient(circle at 75% 5%, rgba(11,92,255,.24), transparent 28%),
    linear-gradient(135deg, #07111f 0%, #0d1f38 58%, #0b5cff 100%);
}

.glass-card {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(14px);
}

.field-label {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: .35rem;
}

.input-control {
  width: 100%;
  border-radius: 1rem;
  border: 1px solid #dbe3ef;
  background: #fff;
  padding: .85rem 1rem;
  outline: none;
  transition: box-shadow .2s, border-color .2s, transform .2s;
}

.input-control:focus {
  border-color: #0b5cff;
  box-shadow: 0 0 0 4px rgba(11, 92, 255, .12);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, #0b5cff, #003a9b);
  color: #fff;
  font-weight: 800;
  padding: .9rem 1.15rem;
  box-shadow: 0 14px 30px rgba(11,92,255,.25);
  transition: transform .2s, opacity .2s;
}

.btn-primary:hover { transform: translateY(-1px); }
.btn-primary:disabled { opacity: .55; cursor: not-allowed; transform: none; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  border-radius: 1rem;
  background: #fff;
  color: #0f172a;
  font-weight: 800;
  padding: .9rem 1.15rem;
  border: 1px solid #e2e8f0;
  transition: transform .2s, background .2s;
}

.btn-secondary:hover { transform: translateY(-1px); background: #f8fafc; }

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: .4rem .75rem;
  font-weight: 800;
  font-size: .75rem;
}

.aif-card {
  border-radius: 1.5rem;
  background: #fff;
  border: 1px solid #e5eaf2;
  box-shadow: 0 20px 55px rgba(15,23,42,.08);
}

.bot-panel {
  position: fixed;
  right: 1rem;
  bottom: 5.25rem;
  z-index: 40;
  width: min(420px, calc(100vw - 2rem));
  max-height: 76vh;
  display: none;
}

.bot-panel.open { display: block; }

.bot-bubble {
  border-radius: 1.25rem;
  padding: .75rem .9rem;
  max-width: 90%;
  font-size: .92rem;
  line-height: 1.35;
}

.bot-bubble.bot { background: #f1f5f9; color: #0f172a; }
.bot-bubble.user { background: #0b5cff; color: white; margin-left: auto; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  z-index: 60;
  background: #07111f;
  color: white;
  padding: .75rem 1rem;
  border-radius: 999px;
  box-shadow: 0 18px 45px rgba(0,0,0,.18);
  display: none;
}

.toast.show { display: block; }

@media print {
  .no-print { display: none !important; }
}
