/* ============================================================
   RIA — Asistent AI conversațional RoIntelliA
   Arhitectură adaptată după Sofia (Fast Logistic)
   Temă: Cyber Navy + Electric Blue + accent Gold
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700&family=Outfit:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* Brand RoIntelliA */
  --navy-deep: #0B2545;
  --navy-mid:  #13315c;
  --navy-soft: #1a3d6f;
  --gold:      #D4AF37;

  /* Cyber accents */
  --cyan:      #00d4ff;
  --cyan-soft: #5ce0ff;
  --cyan-glow: rgba(0, 212, 255, 0.45);
  --electric:  #2563eb;
  --plasma:    #7c3aed;

  /* Stări orb */
  --idle:      #D4AF37;   /* auriu — idle */
  --listening: #2A9D8F;   /* verde — ascultă */
  --thinking:  #2563eb;   /* albastru — gândește */
  --speaking:  #00d4ff;   /* cyan — vorbește */

  /* Neutrale */
  --white:     #f8fafc;
  --ice:       #dce6f2;
  --slate:     #94a3b8;
  --slate-d:   #64748b;
  --bg-glass:  rgba(11, 37, 69, 0.62);
  --bg-card:   rgba(19, 49, 92, 0.72);
  --bg-deep:   rgba(7, 25, 47, 0.85);
  --border-g:  rgba(0, 212, 255, 0.18);
  --border-s:  rgba(255, 255, 255, 0.07);

  --font-display: 'Sora', system-ui, sans-serif;
  --font-body:    'Outfit', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', monospace;
}
/* ============================================================
   style.css — FALLBACK header/footer RoIntelliA
   ------------------------------------------------------------
   ⚠️  Site-ul rointellia.ro ARE DEJA un css/style.css propriu.
   Acest fișier e doar FALLBACK / referință pentru ca pagina RIA
   să arate corect dacă e deschisă izolat.
   → NU suprascrie style.css-ul real de pe server.
   ============================================================ */

header {
  background-color: #003366;
  color: #fff;
  padding: 20px;
}
.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.logo-container img {
  height: 30px;
  cursor: pointer;
  display: block;
}
.menu-btn {
  display: none;
  background: #00bcd4;
  color: #fff;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}
nav a {
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.2s ease;
}
nav a:hover,
nav a.active { color: #00bcd4; }

.site-footer {
  background-color: #003366;
  color: #fff;
  padding: 24px 20px;
}
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-info p { margin: 0; font-size: 13px; line-height: 1.6; }
.footer-protection { display: flex; gap: 12px; align-items: center; }
.footer-protection img { height: 40px; display: block; }

@media (max-width: 820px) {
  .menu-btn { display: block; }
  .mobile-nav { display: none; width: 100%; margin-top: 14px; }
  .mobile-nav ul { flex-direction: column; gap: 4px; }
  .mobile-nav a {
    display: block;
    padding: 10px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
  .header-content { flex-wrap: wrap; }
  .footer-content { flex-direction: column; text-align: center; }
}
/* ── Ecrane mari 1440px+ ── */
@media (min-width: 1440px) {
  .container { max-width: 1320px; }
  .hero h1 { font-size: 5rem; }
  .section-title { font-size: 3.2rem; }
}

/* ── Ecrane foarte mari 1920px+ (Full HD și peste) ── */
@media (min-width: 1920px) {
  .container { max-width: 1600px; }
  .hero h1 { font-size: 5.8rem; }
  .section-title { font-size: 3.8rem; }
  body { font-size: 17px; }
}

/* ── Ultra-wide 2560px+ (BenQ QHD, 4K) ── */
@media (min-width: 2560px) {
  .container { max-width: 2000px; }
  .hero h1 { font-size: 7rem; }
  .section-title { font-size: 4.5rem; }
  body { font-size: 18px; }
}


/* ============================================================
   RESET — limitat la zona RIA pentru a nu afecta site-ul
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

.ria-page, .ria-page *, .ria-page *::before, .ria-page *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body { font-family: 'Segoe UI', sans-serif; }

/* ============================================================
   CONTAINER PRINCIPAL
   ============================================================ */
.ria-page {
  position: relative;
  color: var(--white);
  font-family: var(--font-body);
  background:
    radial-gradient(ellipse at 15% -5%, rgba(0, 212, 255, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse at 90% 110%, rgba(124, 58, 237, 0.12) 0%, transparent 55%),
    linear-gradient(165deg, var(--navy-mid) 0%, var(--navy-deep) 60%, #081a30 100%);
  overflow: hidden;
}

/* Grid pattern atmosferic */
.ria-page::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, black 20%, transparent 75%);
  mask-image: radial-gradient(ellipse at 50% 30%, black 20%, transparent 75%);
}

.ria-shell {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 36px 20px 48px;
}

/* ============================================================
   HERO — orb animat + intro
   ============================================================ */
.ria-hero {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-bottom: 34px;
  flex-wrap: wrap;
}

.ria-hero-orb {
  flex-shrink: 0;
  width: 168px;
  height: 168px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---- ORB: nucleul ---- */
.ria-orb {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  position: relative;
  background: radial-gradient(circle at 35% 30%, var(--idle), #b8941f 70%);
  box-shadow:
    0 0 36px 4px rgba(212, 175, 55, 0.5),
    inset 0 -8px 24px rgba(0, 0, 0, 0.4),
    inset 0 6px 16px rgba(255, 255, 255, 0.25);
  transition: background 0.5s ease, box-shadow 0.5s ease;
  animation: orb-idle 4s ease-in-out infinite;
}

@keyframes orb-idle {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.05); }
}

/* Inele orbitale */
.ria-orb-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid var(--idle);
  opacity: 0.35;
  transition: border-color 0.5s ease;
}
.ria-orb-ring.r1 {
  inset: -16px;
  animation: ring-rotate 8s linear infinite;
}
.ria-orb-ring.r2 {
  inset: -29px;
  border-style: dashed;
  opacity: 0.22;
  animation: ring-rotate 14s linear infinite reverse;
}

@keyframes ring-rotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Waveform (vizibil doar la listening) */
.ria-orb-wave {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.ria-orb-wave span {
  width: 4px;
  height: 16px;
  border-radius: 2px;
  background: var(--white);
  animation: wave 0.9s ease-in-out infinite;
}
.ria-orb-wave span:nth-child(2) { animation-delay: 0.15s; }
.ria-orb-wave span:nth-child(3) { animation-delay: 0.3s; }
.ria-orb-wave span:nth-child(4) { animation-delay: 0.45s; }
.ria-orb-wave span:nth-child(5) { animation-delay: 0.6s; }

@keyframes wave {
  0%, 100% { height: 12px; }
  50%      { height: 38px; }
}

/* ---- STĂRILE ORB-ULUI ---- */
/* IDLE — auriu (implicit, definit mai sus) */

/* LISTENING — verde + waveform */
.ria-hero-orb.listening .ria-orb {
  background: radial-gradient(circle at 35% 30%, var(--listening), #1f7a6f 70%);
  box-shadow:
    0 0 44px 6px rgba(42, 157, 143, 0.6),
    inset 0 -8px 24px rgba(0, 0, 0, 0.4),
    inset 0 6px 16px rgba(255, 255, 255, 0.25);
  animation: orb-listening 1.2s ease-in-out infinite;
}
.ria-hero-orb.listening .ria-orb-ring { border-color: var(--listening); }
.ria-hero-orb.listening .ria-orb-wave { opacity: 1; }

@keyframes orb-listening {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.1); }
}

/* THINKING — albastru, rotație rapidă */
.ria-hero-orb.thinking .ria-orb {
  background: radial-gradient(circle at 35% 30%, var(--thinking), #1a3fa0 70%);
  box-shadow:
    0 0 44px 6px rgba(37, 99, 235, 0.6),
    inset 0 -8px 24px rgba(0, 0, 0, 0.4),
    inset 0 6px 16px rgba(255, 255, 255, 0.25);
  animation: orb-thinking 1s linear infinite;
}
.ria-hero-orb.thinking .ria-orb-ring { border-color: var(--thinking); }
.ria-hero-orb.thinking .ria-orb-ring.r1 { animation-duration: 2s; }
.ria-hero-orb.thinking .ria-orb-ring.r2 { animation-duration: 3s; }

@keyframes orb-thinking {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50%      { transform: scale(1.04) rotate(180deg); }
}

/* SPEAKING — cyan, pulse rapid */
.ria-hero-orb.speaking .ria-orb {
  background: radial-gradient(circle at 35% 30%, var(--speaking), #0085a3 70%);
  box-shadow:
    0 0 48px 8px var(--cyan-glow),
    inset 0 -8px 24px rgba(0, 0, 0, 0.4),
    inset 0 6px 16px rgba(255, 255, 255, 0.3);
  animation: orb-speaking 0.55s ease-in-out infinite;
}
.ria-hero-orb.speaking .ria-orb-ring { border-color: var(--speaking); }

@keyframes orb-speaking {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.13); }
}

/* ---- HERO TEXT ---- */
.ria-hero-text { flex: 1; min-width: 280px; }

.ria-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 13px;
  border-radius: 100px;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid var(--border-g);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--cyan-soft);
  margin-bottom: 14px;
}
.ria-hero-badge .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: blink 2s infinite;
}
@keyframes blink { 0%,100%{opacity:1;} 50%{opacity:0.35;} }

.ria-hero-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}
.ria-hero-title .accent {
  background: linear-gradient(120deg, var(--cyan), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ria-hero-lead {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ice);
  max-width: 560px;
  margin-bottom: 18px;
}

/* Feature pills */
.ria-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
}
.ria-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  background: var(--bg-card);
  border: 1px solid var(--border-s);
  border-radius: 10px;
  font-size: 12.5px;
  color: var(--ice);
}
.ria-features .feat-icon { font-size: 15px; }

/* ============================================================
   LAYOUT SPLIT — conversație + sumar
   ============================================================ */
.ria-workspace {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 20px;
  align-items: start;
}

/* ============================================================
   PANOUL DE CONVERSAȚIE
   ============================================================ */
.ria-chat {
  background: var(--bg-glass);
  backdrop-filter: blur(20px) saturate(170%);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  border: 1px solid var(--border-g);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4);
}

.ria-chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-s);
  background: rgba(11, 37, 69, 0.5);
}

.ria-chat-head-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ria-chat-head-avatar {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--cyan), var(--electric));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--navy-deep);
}
.ria-chat-head-info { display: flex; flex-direction: column; }
.ria-chat-head-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
}
.ria-chat-head-status {
  font-size: 11px;
  color: var(--cyan-soft);
  font-family: var(--font-mono);
}

.ria-chat-head-actions { display: flex; gap: 8px; }

.ria-icon-btn {
  width: 34px; height: 34px;
  border-radius: 9px;
  border: 1px solid var(--border-g);
  background: rgba(255, 255, 255, 0.04);
  color: var(--slate);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all 0.22s ease;
}
.ria-icon-btn:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(0, 212, 255, 0.1);
}
.ria-icon-btn.active {
  background: linear-gradient(135deg, var(--cyan), var(--electric));
  color: var(--navy-deep);
  border-color: transparent;
  box-shadow: 0 0 16px var(--cyan-glow);
}

/* Language switcher */
.ria-lang { position: relative; z-index: 9000; }
.ria-lang-trigger {
  height: 34px;
  padding: 0 10px;
  border-radius: 9px;
  border: 1px solid var(--border-g);
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 500;
  transition: all 0.22s ease;
}
.ria-lang-trigger:hover { border-color: var(--cyan); }
.ria-lang-flag { font-size: 15px; }
.ria-lang-arrow { font-size: 9px; opacity: 0.6; transition: transform 0.22s; }
.ria-lang.open .ria-lang-arrow { transform: rotate(180deg); }

.ria-lang-menu {
  position: absolute;
  top: calc(100% + 7px);
  right: 0;
  min-width: 162px;
  background: rgba(9, 28, 52, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-g);
  border-radius: 11px;
  padding: 6px;
  z-index: 9999;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(0.97);
  transform-origin: top right;
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
  pointer-events: none;
}
.ria-lang.drop-up .ria-lang-menu {
  top: auto;
  bottom: calc(100% + 7px);
  transform-origin: bottom right;
}
.ria-lang.open .ria-lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.ria-lang-option {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 11px;
  border-radius: 8px;
  cursor: pointer;
  color: var(--ice);
  font-size: 12.5px;
  transition: all 0.16s ease;
}
.ria-lang-option:hover { background: rgba(0, 212, 255, 0.12); color: var(--white); }
.ria-lang-option.active {
  background: linear-gradient(135deg, rgba(0,212,255,0.18), rgba(37,99,235,0.12));
  color: var(--cyan);
}

/* ---- MESAJE ---- */
.ria-messages {
  flex: 1;
  padding: 20px 18px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 340px;
  max-height: 460px;
  scroll-behavior: smooth;
}
.ria-messages::-webkit-scrollbar { width: 6px; }
.ria-messages::-webkit-scrollbar-thumb {
  background: rgba(0, 212, 255, 0.22);
  border-radius: 3px;
}

.ria-msg {
  display: flex;
  gap: 9px;
  max-width: 86%;
  animation: msg-in 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes msg-in {
  from { opacity: 0; transform: translateY(9px); }
  to   { opacity: 1; transform: translateY(0); }
}
.ria-msg.user { align-self: flex-end; flex-direction: row-reverse; }

.ria-msg-avatar {
  width: 28px; height: 28px;
  border-radius: 9px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  font-family: var(--font-display);
}
.ria-msg.bot .ria-msg-avatar {
  background: linear-gradient(135deg, var(--cyan), var(--electric));
  color: var(--navy-deep);
}
.ria-msg.user .ria-msg-avatar {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-g);
  font-size: 13px;
}

.ria-msg-bubble {
  padding: 11px 15px;
  border-radius: 14px;
  line-height: 1.55;
  font-size: 14px;
  word-wrap: break-word;
}
.ria-msg.bot .ria-msg-bubble {
  background: var(--bg-card);
  border: 1px solid var(--border-s);
  color: var(--ice);
  border-top-left-radius: 4px;
}
.ria-msg.user .ria-msg-bubble {
  background: linear-gradient(135deg, var(--electric), var(--cyan));
  color: var(--navy-deep);
  font-weight: 500;
  border-top-right-radius: 4px;
}
.ria-msg-bubble strong { color: var(--cyan-soft); font-weight: 600; }
.ria-msg.user .ria-msg-bubble strong { color: var(--navy-deep); }
.ria-msg-bubble a { color: var(--cyan-soft); }
.ria-msg.user .ria-msg-bubble a { color: var(--navy-deep); font-weight: 700; }

/* Typing */
.ria-typing { display: flex; gap: 4px; padding: 4px 2px; }
.ria-typing span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  animation: typing 1.4s infinite ease-in-out;
}
.ria-typing span:nth-child(2) { animation-delay: 0.2s; }
.ria-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30%           { transform: translateY(-6px); opacity: 1; }
}

/* ---- QUICK CARDS ---- */
.ria-quick {
  padding: 0 18px 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  overflow: hidden;
  max-height: 220px;
}
.ria-quick.hidden {
  max-height: 0; opacity: 0;
  padding-top: 0; padding-bottom: 0;
}
.ria-quick-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-g);
  border-radius: 11px;
  padding: 11px 13px;
  text-align: left;
  cursor: pointer;
  color: var(--ice);
  font-size: 12.5px;
  font-weight: 500;
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  gap: 9px;
  transition: all 0.22s ease;
}
.ria-quick-card:hover {
  border-color: var(--cyan);
  background: rgba(0, 212, 255, 0.08);
  transform: translateY(-1px);
  color: var(--white);
}
.ria-quick-icon { font-size: 17px; flex-shrink: 0; }

/* ---- INPUT ---- */
.ria-error {
  display: none;
  margin: 0 18px 10px;
  padding: 9px 13px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.4);
  border-radius: 9px;
  color: #fca5a5;
  font-size: 12.5px;
}
.ria-error.show { display: block; animation: msg-in 0.3s ease; }

.ria-input-zone {
  padding: 14px 16px 16px;
  border-top: 1px solid var(--border-s);
  background: rgba(11, 37, 69, 0.4);
}
.ria-input-row {
  display: flex;
  gap: 9px;
  align-items: flex-end;
}
.ria-input-wrap {
  flex: 1;
  display: flex;
  align-items: flex-end;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-g);
  border-radius: 13px;
  transition: all 0.22s ease;
}
.ria-input-wrap:focus-within {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.12);
}
.ria-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  resize: none;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  padding: 12px 14px;
  max-height: 120px;
  min-height: 22px;
}
.ria-input::placeholder { color: var(--slate-d); }

.ria-mic {
  background: transparent;
  border: none;
  color: var(--slate);
  cursor: pointer;
  font-size: 16px;
  padding: 11px 12px;
  transition: all 0.22s ease;
}
.ria-mic:hover { color: var(--cyan); }
.ria-mic.listening {
  color: #ef4444;
  animation: mic-pulse 1.1s ease-in-out infinite;
}
@keyframes mic-pulse { 0%,100%{transform:scale(1);} 50%{transform:scale(1.18);} }

.ria-send {
  width: 46px; height: 46px;
  border-radius: 13px;
  border: none;
  background: linear-gradient(135deg, var(--cyan), var(--electric));
  color: var(--navy-deep);
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.22s ease;
  box-shadow: 0 4px 16px rgba(0, 212, 255, 0.3);
}
.ria-send:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 7px 22px rgba(0, 212, 255, 0.45);
}
.ria-send:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: var(--slate-d);
  box-shadow: none;
}

/* ============================================================
   PANOUL SUMAR — card live
   ============================================================ */
.ria-summary {
  background: var(--bg-glass);
  backdrop-filter: blur(20px) saturate(170%);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  border: 1px solid var(--border-g);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4);
  position: sticky;
  top: 20px;
}

.ria-summary-head {
  padding: 16px 18px 14px;
  border-bottom: 1px solid var(--border-s);
  background: rgba(11, 37, 69, 0.5);
}
.ria-summary-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.ria-summary-title .ico { font-size: 17px; }

/* Bară progres */
.ria-progress {
  height: 7px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 100px;
  overflow: hidden;
}
.ria-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--electric), var(--cyan), var(--gold));
  border-radius: 100px;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.ria-progress-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--slate);
  margin-top: 6px;
  display: flex;
  justify-content: space-between;
}
.ria-progress-label .pct { color: var(--cyan-soft); }

/* Câmpuri sumar */
.ria-summary-body {
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-height: 380px;
  overflow-y: auto;
}
.ria-summary-body::-webkit-scrollbar { width: 5px; }
.ria-summary-body::-webkit-scrollbar-thumb {
  background: rgba(0, 212, 255, 0.2);
  border-radius: 3px;
}

.ria-field {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border-s);
}
.ria-field:last-child { border-bottom: none; }

.ria-field-label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: var(--slate-d);
  display: flex;
  align-items: center;
  gap: 6px;
}
.ria-field-label .ico { font-size: 12px; }

.ria-field-value {
  font-size: 13.5px;
  color: var(--ice);
  min-height: 19px;
  transition: color 0.3s ease;
}
.ria-field-value.empty {
  color: var(--slate-d);
  font-style: italic;
  font-size: 12.5px;
}
.ria-field.filled .ria-field-label { color: var(--cyan-soft); }
.ria-field.filled .ria-field-value { color: var(--white); font-weight: 500; }
.ria-field.just-filled {
  animation: field-flash 1s ease;
}
@keyframes field-flash {
  0%   { background: rgba(0, 212, 255, 0); }
  30%  { background: rgba(0, 212, 255, 0.14); }
  100% { background: rgba(0, 212, 255, 0); }
}

/* Footer sumar — buton trimite */
.ria-summary-foot {
  padding: 14px 18px 18px;
  border-top: 1px solid var(--border-s);
}
.ria-send-request {
  width: 100%;
  padding: 13px;
  border: none;
  border-radius: 13px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--gold), #e8c860);
  color: var(--navy-deep);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.32);
  transition: all 0.25s ease;
}
.ria-send-request:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 9px 28px rgba(212, 175, 55, 0.5);
}
.ria-send-request:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  background: var(--slate-d);
  color: var(--ice);
  box-shadow: none;
}
.ria-send-hint {
  font-size: 11px;
  color: var(--slate-d);
  text-align: center;
  margin-top: 9px;
  line-height: 1.45;
}

/* Stare succes după trimitere */
.ria-success {
  display: none;
  padding: 18px;
  text-align: center;
}
.ria-success.show { display: block; animation: msg-in 0.4s ease; }
.ria-success-icon {
  width: 54px; height: 54px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981, #2A9D8F);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 0 28px rgba(16, 185, 129, 0.5);
}
.ria-success-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 6px;
}
.ria-success-text {
  font-size: 13px;
  color: var(--ice);
  line-height: 1.55;
}
.ria-success-id {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--cyan-soft);
  margin-top: 8px;
}

/* ============================================================
   DISCLAIMER VOCE — contextual
   ============================================================ */
.ria-voice-note {
  display: none;
  align-items: flex-start;
  gap: 11px;
  margin: 0 18px 14px;
  padding: 11px 14px;
  background: linear-gradient(135deg, rgba(212,175,55,0.1), rgba(0,212,255,0.05));
  border: 1px solid rgba(212, 175, 55, 0.32);
  border-radius: 12px;
}
.ria-voice-note.show { display: flex; animation: msg-in 0.35s ease; }
.ria-voice-note .vn-ico { font-size: 17px; flex-shrink: 0; }
.ria-voice-note p { font-size: 12px; line-height: 1.5; color: var(--ice); }
.ria-voice-note strong { color: var(--gold); }
.ria-voice-note .vn-close {
  background: transparent;
  border: none;
  color: var(--slate);
  cursor: pointer;
  font-size: 12px;
  flex-shrink: 0;
}
.ria-voice-note .vn-close:hover { color: var(--white); }

/* ============================================================
   FOOTER MIC
   ============================================================ */
.ria-foot {
  margin-top: 24px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--slate-d);
}
.ria-foot a { color: var(--cyan-soft); text-decoration: none; }
.ria-foot a:hover { color: var(--cyan); }
.ria-foot .sep { margin: 0 7px; opacity: 0.4; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .ria-workspace { grid-template-columns: 1fr; }
  .ria-summary { position: static; }
  .ria-messages { max-height: 380px; }
}

@media (max-width: 560px) {
  .ria-shell { padding: 22px 12px 32px; }
  .ria-hero { gap: 20px; justify-content: center; text-align: center; }
  .ria-hero-text { text-align: center; }
  .ria-hero-orb { width: 130px; height: 130px; }
  .ria-orb { width: 88px; height: 88px; }
  .ria-features { justify-content: center; }
  .ria-quick { grid-template-columns: 1fr; }
  .ria-chat-head { padding: 11px 13px; }
  .ria-messages { padding: 16px 13px; }
  .ria-msg { max-width: 92%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
/* ── Ecrane mari 1440px+ ── */
@media (min-width: 1440px) {
  .container { max-width: 1320px; }
  .hero h1 { font-size: 5rem; }
  .section-title { font-size: 3.2rem; }
}

/* ── Ecrane foarte mari 1920px+ (Full HD și peste) ── */
@media (min-width: 1920px) {
  .container { max-width: 1600px; }
  .hero h1 { font-size: 5.8rem; }
  .section-title { font-size: 3.8rem; }
  body { font-size: 17px; }
}

/* ── Ultra-wide 2560px+ (BenQ QHD, 4K) ── */
@media (min-width: 2560px) {
  .container { max-width: 2000px; }
  .hero h1 { font-size: 7rem; }
  .section-title { font-size: 4.5rem; }
  body { font-size: 18px; }
}
