/* ===================================================
   PIERRE-ALAIN MOREAU — Personal Homepage
   style.css

   Palette bleue :
   --blue-deep  : #1d4ed8  (bleu profond)
   --blue-mid   : #2563eb  (bleu principal)
   --blue-light : #60a5fa  (bleu clair / accents)
   --blue-sky   : #0ea5e9  (bleu ciel / second accent)
   =================================================== */

/* ---------- Reset & base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Space Grotesk', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #f8fafc;
  background: #050d1f;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ---------- Animated background ---------- */
.bg-animated {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, #050d1f, #0a1628, #071222, #050d1f);
  background-size: 400% 400%;
  animation: bgShift 20s ease infinite;
}

@keyframes bgShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Subtle radial glow blobs */
.bg-animated::before,
.bg-animated::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.28;
  pointer-events: none;
}

.bg-animated::before {
  width: 600px;
  height: 600px;
  top: -150px;
  left: -150px;
  background: radial-gradient(circle, #1d4ed8, transparent 70%);
  animation: blobDrift1 18s ease-in-out infinite alternate;
}

.bg-animated::after {
  width: 500px;
  height: 500px;
  bottom: -100px;
  right: -100px;
  background: radial-gradient(circle, #0ea5e9, transparent 70%);
  animation: blobDrift2 22s ease-in-out infinite alternate;
}

@keyframes blobDrift1 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(120px, 80px) scale(1.15); }
}

@keyframes blobDrift2 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-80px, -60px) scale(1.2); }
}

/* ---------- Layout ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 1024px) {
  .container {
    padding: 0 48px;
  }
}

/* ---------- Glassmorphism card ---------- */
.glass {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.45);
  box-shadow: 0 8px 40px rgba(37, 99, 235, 0.18);
}

/* ===================================================
   BOUTON LANGUE
   =================================================== */
.lang-switcher {
  position: fixed;
  top: 20px;
  right: 24px;
  z-index: 50;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #cbd5e1;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}

.lang-btn:hover {
  background: rgba(37, 99, 235, 0.18);
  border-color: rgba(37, 99, 235, 0.4);
  color: #93c5fd;
  transform: translateY(-1px);
}

.lang-btn__flag { font-size: 0.9rem; line-height: 1; }
.lang-btn__label { font-size: 0.78rem; font-weight: 700; }

/* ---------- Focus visible ---------- */
:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 3px;
  border-radius: 4px;
}

/* ===================================================
   HEADER — Hero
   =================================================== */
header {
  padding: 80px 0 64px;
}

.hero {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.hero__logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  flex-shrink: 0;
  filter: invert(1)
          drop-shadow(0 0 14px rgba(96, 165, 250, 0.65));
  transition: filter 0.3s ease;
}

.hero__logo:hover {
  filter: invert(1)
          drop-shadow(0 0 26px rgba(96, 165, 250, 1));
}

/* Placeholder affiché si le fichier logo est absent */
.hero__logo-placeholder {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #1d4ed8, #0ea5e9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 22px;
  color: #fff;
  letter-spacing: -0.5px;
  filter: drop-shadow(0 0 18px rgba(37, 99, 235, 0.6));
}

.hero__text h1 {
  font-family: 'Syne', system-ui, sans-serif;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  background: linear-gradient(135deg, #f8fafc 30%, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__text .tagline {
  margin-top: 10px;
  font-size: 1.05rem;
  color: #cbd5e1;
  font-weight: 400;
  letter-spacing: 0.03em;
}

/* Badge "Ouvert à de nouvelles opportunités" */
.badge-open {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #4ade80;
  font-size: 0.8rem;
  font-weight: 500;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.7);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(0.85); }
}

/* ===================================================
   BIO
   =================================================== */
.bio-section {
  margin-bottom: 48px;
}

.bio-text {
  font-size: 1rem;
  color: #94a3b8;
  line-height: 1.8;
}

.bio-text + .bio-text {
  margin-top: 14px;
}

/* ===================================================
   MAIN — spacing between sections
   =================================================== */
main {
  padding-bottom: 80px;
}

section {
  margin-bottom: 64px;
}

@media (max-width: 768px) {
  header { padding: 52px 0 40px; }
  section { margin-bottom: 40px; }
}

/* ===================================================
   SECTION TITLES
   =================================================== */
.section-title {
  font-family: 'Syne', system-ui, sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: #f8fafc;
}

/* ===================================================
   PROJECTS SECTION
   =================================================== */
.projects-wrapper {
  padding: 32px;
}

@media (max-width: 768px) {
  .projects-wrapper { padding: 24px 20px; }
}

/* Projects grid : Posture pleine largeur + ScoreBoard/À venir en 2 colonnes */
.projects-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Project card */
.project-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.55);
  box-shadow: 0 10px 40px rgba(37, 99, 235, 0.22);
}

.project-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.2), rgba(14, 165, 233, 0.2));
  border: 1px solid rgba(37, 99, 235, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #60a5fa;
  flex-shrink: 0;
}

.project-card__logo {
  width: 140px;
  height: auto;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 10px;
  opacity: 0.9;
  transition: opacity 0.2s;
  display: block;
}

.project-card:hover .project-card__logo {
  opacity: 1;
}

.project-card__title {
  font-size: 1rem;
  font-weight: 600;
  color: #f8fafc;
}

.project-card__desc {
  font-size: 0.875rem;
  color: #cbd5e1;
  line-height: 1.55;
}

/* Carte "À venir" — grisée, non interactive */
.project-card--soon {
  opacity: 0.45;
  cursor: default;
  pointer-events: none;
}

.project-card__icon--soon {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: #94a3b8;
}

.project-card__title--soon,
.project-card__desc--soon {
  color: #64748b;
}

/* ---- Carte Posture : pleine largeur, layout horizontal ---- */
.project-card--featured {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  padding: 32px 36px;
}

.project-card__featured-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.project-logo-img--featured {
  height: 44px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.15));
  transition: filter 0.3s ease;
}

.project-card--featured:hover .project-logo-img--featured {
  filter: drop-shadow(0 0 14px rgba(96, 165, 250, 0.5));
}

.project-card__featured-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.project-card__featured-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #f8fafc;
  letter-spacing: -0.01em;
}

.project-card__stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tech-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 500;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.25);
  color: #93c5fd;
  letter-spacing: 0.01em;
}

/* Sur mobile, la carte featured repasse en colonne */
@media (max-width: 600px) {
  .project-card--featured {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 24px 20px;
  }
}

.project-card__arrow {
  margin-top: auto;
  font-size: 0.8rem;
  color: #60a5fa;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.project-card:hover .project-card__arrow {
  opacity: 1;
}

/* "Lien à venir" — toujours visible, grisé, non cliquable */
.project-card--soon-link {
  cursor: default;
}

.project-card--soon-link:hover {
  transform: none;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.project-card__arrow--muted {
  color: #475569;
  opacity: 1 !important;
  font-style: italic;
}

/* ===================================================
   CV SECTION
   =================================================== */
.cv-wrapper {
  padding: 28px 32px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .cv-wrapper {
    padding: 22px 20px;
    gap: 16px;
  }
}

.cv-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.2), rgba(14, 165, 233, 0.2));
  border: 1px solid rgba(37, 99, 235, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #60a5fa;
  flex-shrink: 0;
}

.cv-text {
  flex: 1;
  min-width: 160px;
}

.cv-text h2 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #f8fafc;
}

.cv-text p {
  font-size: 0.875rem;
  color: #cbd5e1;
  margin-top: 2px;
}

.btn-cv {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 10px;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(37, 99, 235, 0.4);
  color: #60a5fa;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.25s ease, border-color 0.25s ease,
              color 0.25s ease, transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-cv:hover {
  background: rgba(37, 99, 235, 0.3);
  border-color: rgba(37, 99, 235, 0.65);
  color: #f8fafc;
  transform: translateY(-2px);
}

/* ===================================================
   CONTACT SECTION
   =================================================== */
.contact-section {
  text-align: center;
  padding: 64px 0 32px;
}

.contact-section h2 {
  font-family: 'Syne', system-ui, sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
  background: linear-gradient(135deg, #f8fafc, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-section p {
  max-width: 480px;
  margin: 0 auto 32px;
  font-size: 1rem;
  color: #cbd5e1;
  line-height: 1.65;
}

/* LinkedIn CTA button */
.btn-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0ea5e9, #1d4ed8);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 24px rgba(37, 99, 235, 0.4);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1),
              filter 0.25s ease;
}

.btn-linkedin:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 36px rgba(37, 99, 235, 0.55);
  filter: brightness(1.1);
}

.btn-linkedin:active {
  transform: scale(0.98);
}

/* ===================================================
   STACK OUTILS
   =================================================== */
.stack-wrapper {
  padding: 28px 32px;
}

@media (max-width: 768px) {
  .stack-wrapper { padding: 22px 20px; }
}

.stack-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.stack-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.stack-pill:hover {
  background: rgba(37, 99, 235, 0.12);
  border-color: rgba(37, 99, 235, 0.35);
  color: #93c5fd;
}

.stack-pill--highlight {
  background: rgba(37, 99, 235, 0.12);
  border-color: rgba(37, 99, 235, 0.3);
  color: #60a5fa;
}

.stack-pill--highlight:hover {
  background: rgba(37, 99, 235, 0.22);
  border-color: rgba(37, 99, 235, 0.5);
}

.stack-icon {
  width: 14px;
  height: 14px;
  object-fit: contain;
  border-radius: 3px;
}

/* ===================================================
   MODAL — Formulaire d'accès au CV
   =================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(5, 13, 31, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fadeIn 0.2s ease;
}

.modal-overlay[hidden] { display: none; }

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.modal-box {
  width: 100%;
  max-width: 420px;
  padding: 36px 32px 32px;
  position: relative;
  animation: slideUp 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.modal-close:hover { background: rgba(255,255,255,0.12); color: #f8fafc; }

.modal-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.2), rgba(14, 165, 233, 0.2));
  border: 1px solid rgba(37, 99, 235, 0.3);
  display: flex; align-items: center; justify-content: center;
  color: #60a5fa;
  margin-bottom: 16px;
}

.modal-title {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #f8fafc;
  margin-bottom: 6px;
}

.modal-subtitle {
  font-size: 0.875rem;
  color: #94a3b8;
  margin-bottom: 24px;
  line-height: 1.5;
}

/* ---------- Champs de formulaire ---------- */
.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  color: #94a3b8;
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}

.form-group input {
  width: 100%;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: #f8fafc;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input::placeholder { color: #475569; }

.form-group input:focus {
  border-color: rgba(37, 99, 235, 0.6);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

/* ---------- Message d'erreur ---------- */
.form-error {
  margin-bottom: 14px;
  padding: 10px 14px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: 8px;
  color: #fca5a5;
  font-size: 0.85rem;
}

/* ---------- Bouton submit ---------- */
.btn-submit {
  width: 100%;
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0ea5e9, #1d4ed8);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.35);
  transition: filter 0.2s ease, transform 0.2s ease;
}

.btn-submit:hover  { filter: brightness(1.1); transform: translateY(-1px); }
.btn-submit:active { transform: scale(0.98); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* ===================================================
   REVEAL — apparition progressive des sections
   =================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ===================================================
   CHAT INLINE — Pierre-Alain virtuel
   =================================================== */

/* Wrapper carte */
.chat-inline-wrapper {
  padding: 0;
  overflow: hidden;
}

/* Zone messages — vide par défaut, grandit avec les échanges */
.chat-messages-inline {
  min-height: 0;
  max-height: 360px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scrollbar-width: thin;
  scrollbar-color: rgba(37, 99, 235, 0.3) transparent;
  transition: padding 0.2s;
}

.chat-messages-inline:not(:empty) {
  padding: 16px 20px 10px;
}

.chat-messages-inline::-webkit-scrollbar { width: 4px; }
.chat-messages-inline::-webkit-scrollbar-track { background: transparent; }
.chat-messages-inline::-webkit-scrollbar-thumb { background: rgba(37, 99, 235, 0.3); border-radius: 2px; }

/* Messages */
.chat-msg {
  display: flex;
  max-width: 100%;
}

.chat-msg--user {
  justify-content: flex-end;
}

.chat-msg__bubble {
  max-width: 78%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 0.9rem;
  line-height: 1.55;
  word-break: break-word;
}

.chat-msg--assistant .chat-msg__bubble {
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.2);
  color: #e2e8f0;
  border-bottom-left-radius: 4px;
}

.chat-msg--user .chat-msg__bubble {
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.7), rgba(14, 165, 233, 0.55));
  border: 1px solid rgba(96, 165, 250, 0.22);
  color: #f8fafc;
  border-bottom-right-radius: 4px;
}

/* Typing dots */
.chat-typing-dots {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 12px 16px !important;
}

.chat-typing-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(96, 165, 250, 0.7);
  animation: typingBounce 1.2s ease-in-out infinite;
}

.chat-typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30%            { transform: translateY(-6px); opacity: 1; }
}

/* Zone de saisie */
.chat-inline-footer {
  display: flex;
  gap: 8px;
  align-items: flex-end;
  padding: 14px 16px;
}

.chat-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(37, 99, 235, 0.25);
  border-radius: 12px;
  padding: 10px 14px;
  color: #f8fafc;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.9rem;
  line-height: 1.4;
  resize: none;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  max-height: 120px;
  overflow-y: auto;
}

.chat-input::placeholder { color: rgba(148, 163, 184, 0.45); }

.chat-input:focus {
  border-color: rgba(37, 99, 235, 0.6);
  background: rgba(255, 255, 255, 0.07);
}

.chat-send {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #1d4ed8, #0ea5e9);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
  transition: opacity 0.2s, transform 0.15s;
}

.chat-send:hover:not(:disabled) { opacity: 0.85; transform: scale(1.05); }
.chat-send:disabled { opacity: 0.35; cursor: not-allowed; }

/* ===================================================
   FOOTER
   =================================================== */
footer {
  padding: 24px 0 32px;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(203, 213, 225, 0.45);
  letter-spacing: 0.02em;
}
