/* Intelligent Softs — CV public pentru viitorii agenți */

:root {
  --bg: #07070a;
  --surface: #0c0c12;
  --surface-2: #111118;
  --input: #0e0e14;
  --border: #1e1e30;
  --border-strong: #2a2a40;
  --primary: #3b82f6;
  --primary-bright: #60a5fa;
  --primary-soft: #93c5fd;
  --mint: #22c55e;
  --gold: #f0b429;
  --text: #e8e8f0;
  --text-soft: #b8b8c8;
  --muted: #7a7a95;
  --muted-dim: #4a4a60;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(820px 460px at 8% -10%, rgba(59, 130, 246, .15), transparent 66%),
    radial-gradient(650px 420px at 100% 12%, rgba(139, 92, 246, .07), transparent 62%),
    var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(148, 163, 184, .032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, .032) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(180deg, #000, transparent 84%);
}
a { color: inherit; }
img { max-width: 100%; }
.wrap { position: relative; width: min(1060px, calc(100% - 40px)); margin: 0 auto; }

.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 0; border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 30px; height: 30px; object-fit: contain; }
.brand b { font-size: 14px; letter-spacing: -.2px; }
.brand span { display: block; font: 700 8px/1.4 monospace; color: var(--primary-soft); letter-spacing: 1.2px; }
.nav-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 40px; padding: 0 14px; border: 1px solid var(--border-strong);
  background: var(--surface-2); color: var(--text); text-decoration: none;
  font: 700 11.5px/1 Inter, system-ui, sans-serif; cursor: pointer;
}
.btn:hover { border-color: var(--primary); }
.btn-primary { background: linear-gradient(180deg, #60a5fa, #3b82f6); border-color: transparent; color: #fff; }
.btn-ghost { background: rgba(255, 255, 255, .015); }

.hero { padding: 56px 0 36px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr); gap: 36px; align-items: end; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font: 700 10px/1.4 monospace; letter-spacing: 1.5px; color: var(--primary-soft); text-transform: uppercase; }
.kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 5px rgba(34, 197, 94, .1); }
h1 { margin: 13px 0 12px; font-size: clamp(34px, 5.2vw, 58px); line-height: .98; letter-spacing: -2px; font-weight: 800; }
h1 span { color: var(--primary-soft); }
.lede { margin: 0; max-width: 620px; color: var(--text-soft); font-size: 15px; line-height: 1.7; }
.hero-meta { display: flex; flex-direction: column; gap: 8px; border-left: 1px solid var(--border); padding-left: 20px; }
.hero-meta div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; font-size: 11px; color: var(--muted); }
.hero-meta b { color: var(--text-soft); font-family: monospace; font-size: 10.5px; }
.hero-meta .status { color: var(--mint); }

.section { padding: 30px 0; border-top: 1px solid var(--border); }
.section-head { max-width: 680px; margin-bottom: 18px; }
.section-head h2 { margin: 7px 0 7px; font-size: clamp(22px, 3.2vw, 32px); letter-spacing: -1px; line-height: 1.05; }
.section-head p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.card { border: 1px solid var(--border); background: var(--surface); padding: 17px; }
.card h3 { margin: 0 0 7px; font-size: 13px; letter-spacing: -.1px; }
.card p { margin: 0; color: var(--muted); font-size: 11.5px; line-height: 1.65; }
.card ul { margin: 0; padding-left: 16px; color: var(--muted); font-size: 11.5px; line-height: 1.7; }
.card li + li { margin-top: 3px; }
.card .tag { display: inline-block; border: 1px solid var(--border); background: var(--input); color: var(--text-soft); font: 700 9px/1.4 monospace; padding: 2px 6px; margin: 0 4px 4px 0; }
.card .ico { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(59, 130, 246, .26); background: rgba(59, 130, 246, .07); color: var(--primary-soft); margin-bottom: 11px; }

.roles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.role { border: 1px solid var(--border); background: var(--surface); padding: 18px; }
.role-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.role h3 { margin: 0; font-size: 14px; }
.role .status { font: 700 9px/1.4 monospace; color: var(--mint); border: 1px solid rgba(34, 197, 94, .3); background: rgba(34, 197, 94, .06); padding: 3px 6px; white-space: nowrap; }
.role p { margin: 8px 0 10px; color: var(--muted); font-size: 11.5px; line-height: 1.65; }
.role ul { margin: 0; padding-left: 16px; color: var(--text-soft); font-size: 11.5px; line-height: 1.7; }
.role li + li { margin-top: 3px; }

.timeline { display: flex; flex-direction: column; gap: 0; border-left: 1px solid var(--border); margin-left: 6px; }
.timeline-item { position: relative; padding: 0 0 18px 20px; }
.timeline-item::before { content: ''; position: absolute; left: -4px; top: 6px; width: 7px; height: 7px; background: var(--primary); box-shadow: 0 0 0 4px rgba(59, 130, 246, .08); }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item b { display: block; font-size: 12px; margin-bottom: 3px; }
.timeline-item span { display: block; color: var(--muted); font-size: 11px; line-height: 1.6; }

.stack { display: flex; flex-wrap: wrap; gap: 6px; }
.stack span { border: 1px solid var(--border); background: var(--input); color: var(--text-soft); font: 700 10px/1.4 monospace; padding: 5px 8px; }

.cta {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  border: 1px solid var(--border); background:
    radial-gradient(520px 200px at 100% 0%, rgba(59, 130, 246, .14), transparent 70%),
    var(--surface);
  padding: 22px;
}
.cta h2 { margin: 5px 0 5px; font-size: 24px; letter-spacing: -.8px; }
.cta p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.cta-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 24px 0 38px; margin-top: 16px; border-top: 1px solid var(--border); color: var(--muted); font-size: 11px; }
.footer a { color: var(--text-soft); text-decoration: none; }
.footer a:hover { color: var(--primary-bright); }

.print-note { display: none; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; padding-top: 38px; }
  .hero-meta { border-left: 0; border-top: 1px solid var(--border); padding-left: 0; padding-top: 14px; }
  .grid-3, .roles { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 28px); }
  .nav-actions .btn-ghost { display: none; }
  .grid-2, .grid-3, .roles { grid-template-columns: 1fr; }
  .section { padding: 24px 0; }
}

@media print {
  :root { color-scheme: light; }
  body { background: #fff; color: #111; }
  body::before, .nav-actions, .footer .no-print, .print-note { display: none !important; }
  .wrap { width: 100%; }
  .card, .role, .cta, .hero-meta { background: #fff; border-color: #ddd; break-inside: avoid; }
  .kicker, .brand span, .hero-meta b { color: #1d4ed8; }
  h1 span, .section-head h2 { color: #111; }
  .lede, .card p, .card ul, .role p, .role ul, .timeline-item span, .section-head p, .cta p, .footer { color: #333; }
  .timeline-item::before { background: #1d4ed8; }
  a { text-decoration: none; }
  .print-note { display: block; text-align: center; font: 9px monospace; color: #777; margin-top: 16px; }
}
