/* ===== Chestionar EU AI Act — stil front ===== */
:root {
  --navy: #0d1b4c;
  --navy-2: #16277a;
  --blue: #2746d6;
  --blue-light: #4e6af0;
  --gold: #ffcc33;
  --bg: #f3f5fc;
  --card: #ffffff;
  --text: #1c2340;
  --muted: #5b6386;
  --border: #e3e7f5;
  --green: #1d9e6f;
  --yellow: #d9a514;
  --orange: #e07b1f;
  --red: #d63b4a;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(13, 27, 76, .08);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}
.container { max-width: 880px; margin: 0 auto; padding: 0 20px; }
a { color: var(--blue); }
img { max-width: 100%; }

/* ----- Header ----- */
.site-header {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 70%, #233a9e 100%);
  color: #fff;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--gold); color: var(--navy);
  font-weight: 800; font-size: 15px; letter-spacing: -.5px;
}
.brand-text { font-size: 19px; font-weight: 400; letter-spacing: .2px; }
.brand-text strong { font-weight: 800; }
.header-tag { font-size: 12.5px; opacity: .75; font-weight: 500; }
@media (max-width: 560px) { .header-tag { display: none; } }

/* ----- Hero ----- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 55%, #2c45b8 100%);
  color: #fff;
  padding: 56px 0 72px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '★ ★ ★ ★ ★ ★';
  position: absolute; right: -30px; top: 18px;
  font-size: 120px; line-height: 1; color: rgba(255, 204, 51, .07);
  transform: rotate(-12deg); pointer-events: none;
}
.hero h1 { font-size: clamp(28px, 5vw, 42px); line-height: 1.15; margin: 0 0 14px; font-weight: 800; letter-spacing: -.5px; }
.hero .subtitle { font-size: clamp(16px, 2.5vw, 19px); opacity: .85; margin: 0 0 28px; max-width: 640px; }
.hero .container { position: relative; z-index: 1; }

.hero-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 44px; align-items: center; }
.hero-art img {
  display: block; width: 100%; max-width: 380px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .35), 0 0 0 6px rgba(255, 255, 255, .04);
}
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-art { order: 2; }
  .hero-art img { margin: 0 auto; max-width: 320px; }
}

/* Ilustratia din "Despre" — incadrare tip revista: textul curge pe langa ea si continua dedesubt */
.about-flow::after { content: ''; display: block; clear: both; }
.about-art {
  float: right;
  width: 46%;
  max-width: 384px;
  margin: 0 0 12px 28px;
}
@media (max-width: 700px) {
  .about-art { float: none; display: block; width: 65%; max-width: 280px; margin: 0 auto 16px; }
}

/* ----- Butoane ----- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  border: 0;
  font: 600 16px 'Inter', sans-serif;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s, box-shadow .15s;
}
.btn-primary {
  background: linear-gradient(120deg, var(--blue) 0%, var(--blue-light) 100%);
  color: #fff;
  box-shadow: 0 8px 22px rgba(39, 70, 214, .35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(39, 70, 214, .45); }
.btn-gold { background: var(--gold); color: var(--navy); box-shadow: 0 8px 22px rgba(255, 204, 51, .35); }
.btn-gold:hover { transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--muted); border: 1px solid var(--border); padding: 13px 24px; }
.btn-ghost:hover { color: var(--text); border-color: var(--muted); }
.btn-block { display: block; width: 100%; text-align: center; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none !important; }

/* ----- Card-uri ----- */
.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
  margin: 24px 0;
}
@media (max-width: 560px) { .card { padding: 22px 18px; } }
.card h2 { margin-top: 0; font-weight: 700; letter-spacing: -.3px; }
.card-overlap { margin-top: -40px; position: relative; z-index: 2; }

.intro-bullets ul { list-style: none; padding: 0; margin: 0; }
.intro-bullets li { padding: 8px 0; font-weight: 500; }
.intro-text p { margin: 0 0 14px; }
.section-cta { text-align: center; padding: 10px 0 26px; }

.meta-note { font-size: 13.5px; color: var(--muted); }

/* ----- Formulare ----- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.field label .req { color: var(--red); }
.field input[type=text], .field input[type=email], .field input[type=tel],
.field input[type=password], .field textarea, .field select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font: 400 15.5px 'Inter', sans-serif;
  color: var(--text);
  background: #fbfcff;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--blue-light);
  box-shadow: 0 0 0 3px rgba(78, 106, 240, .15);
}
.field { margin-bottom: 4px; }
.form-actions { margin-top: 22px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.error-box {
  background: #fdecee; color: #a02230;
  border: 1px solid #f5c6cd;
  border-radius: 10px; padding: 12px 16px; margin-bottom: 18px;
  font-size: 14.5px;
}
.success-box {
  background: #e7f7f0; color: #14674a;
  border: 1px solid #bfe8d7;
  border-radius: 10px; padding: 12px 16px; margin-bottom: 18px;
  font-size: 14.5px;
}
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ----- Wizard ----- */
.progress-wrap { margin: 26px 0 6px; }
.progress-info { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); font-weight: 600; margin-bottom: 7px; }
.progress-bar { height: 8px; border-radius: 999px; background: #e2e7f8; overflow: hidden; }
.progress-fill {
  height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue-light) 100%);
  transition: width .4s ease;
}
.question-title { font-size: clamp(20px, 3.4vw, 26px); font-weight: 700; line-height: 1.3; margin: 0 0 8px; letter-spacing: -.3px; }
.question-help { color: var(--muted); font-size: 15px; margin: 0 0 22px; }

.options { display: flex; flex-direction: column; gap: 10px; margin-bottom: 8px; }
.option {
  position: relative;
  display: flex; align-items: center; gap: 14px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 15px 18px;
  cursor: pointer;
  background: #fbfcff;
  transition: border-color .12s, background .12s, box-shadow .12s;
  font-weight: 500;
}
.option:hover { border-color: var(--blue-light); }
.option input { position: absolute; opacity: 0; }
.option .mark {
  flex: 0 0 22px; width: 22px; height: 22px;
  border: 2px solid #c3cbe8; border-radius: 50%;
  background: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all .12s;
}
.option.is-multi .mark { border-radius: 6px; }
.option .mark::after {
  content: ''; width: 10px; height: 10px; border-radius: 50%;
  background: #fff; transform: scale(0); transition: transform .12s;
}
.option.is-multi .mark::after {
  width: 12px; height: 7px; border-radius: 0;
  background: transparent;
  border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff;
  transform: scale(0) rotate(-45deg); margin-top: -3px;
}
.option input:checked ~ .mark { background: var(--blue); border-color: var(--blue); }
.option input:checked ~ .mark::after { transform: scale(1); }
.option.is-multi input:checked ~ .mark::after { transform: scale(1) rotate(-45deg); }
.option input:checked ~ .option-label { color: var(--navy-2); }
.option:has(input:checked) { border-color: var(--blue); background: #eef2ff; box-shadow: 0 2px 10px rgba(39,70,214,.10); }

/* ----- Raport ----- */
.report-head { text-align: center; padding: 8px 0 4px; }
.risk-badge {
  display: inline-block; padding: 10px 28px; border-radius: 999px;
  font-weight: 800; font-size: 18px; letter-spacing: .3px;
  color: #fff; margin: 10px 0 6px;
}
.risk-scazut { background: var(--green); }
.risk-moderat { background: var(--yellow); }
.risk-ridicat { background: var(--orange); }
.risk-foarte-ridicat { background: var(--red); }
.report-sub { color: var(--muted); font-size: 14.5px; }

.axes { display: grid; gap: 18px; margin: 8px 0; }
.axis-row .axis-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.axis-name { font-weight: 600; font-size: 15px; }
.axis-level { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; padding: 3px 10px; border-radius: 999px; }
.axis-level.scazut { background: #e7f7f0; color: var(--green); }
.axis-level.moderat { background: #fdf4dc; color: #a37c0a; }
.axis-level.ridicat { background: #fdeadb; color: #b35e12; }
.axis-bar { height: 10px; border-radius: 999px; background: #e9edf9; overflow: hidden; }
.axis-fill { height: 100%; border-radius: 999px; transition: width .8s ease; }
.axis-fill.scazut { background: linear-gradient(90deg, #29c98f, var(--green)); }
.axis-fill.moderat { background: linear-gradient(90deg, #f3c23a, var(--yellow)); }
.axis-fill.ridicat { background: linear-gradient(90deg, #f2933c, var(--orange)); }

.cat-card {
  border-left: 5px solid var(--blue);
  background: var(--card);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 24px 26px;
  margin: 18px 0;
}
.cat-card.alert { border-left-color: var(--red); background: #fff7f8; }
.cat-card h3 { margin: 0 0 10px; font-size: 18px; letter-spacing: -.2px; }
.cat-card.alert h3 { color: var(--red); }
.cat-card ul { margin: 10px 0 0; padding-left: 20px; }
.cat-card li { margin: 5px 0; }
.cat-recs { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--border); }
.cat-recs .recs-label { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); }

.rec-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 680px) { .rec-cols { grid-template-columns: 1fr; } }
.rec-col h4 { margin: 0 0 8px; font-size: 15px; }
.rec-col ul { margin: 0; padding-left: 20px; }
.rec-col li { margin: 6px 0; font-size: 14.5px; }

.disclaimer { font-size: 13px; color: var(--muted); }
.disclaimer p { margin: 6px 0; }

.cta-card {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 60%, #2c45b8 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 34px;
  margin: 30px 0;
}
@media (max-width: 560px) { .cta-card { padding: 24px 20px; } }
.cta-card h2 { margin: 0 0 10px; }
.cta-card p { opacity: .85; }
.cta-card .field label { color: #cfd6f5; }
.cta-card textarea { background: rgba(255,255,255,.95); }

/* ----- Branding Web Future ----- */
.header-wf { display: flex; align-items: center; gap: 11px; text-decoration: none; color: #fff; }
.header-wf span { font-size: 11px; line-height: 1; color: rgba(255, 255, 255, .65); text-transform: uppercase; letter-spacing: .8px; font-weight: 500; }
.header-wf img { height: 25px; display: block; }
@media (max-width: 560px) {
  .header-wf span { display: none; }
  .header-wf img { height: 19px; }
}
.footer-brand { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 10px; font-size: 13px; }
.footer-wf img { height: 16px; display: block; opacity: .65; transition: opacity .15s; }
.footer-wf:hover img { opacity: 1; }
.cta-wf { display: flex; align-items: center; gap: 10px; margin-top: 24px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .18); font-size: 12.5px; color: #cfd6f5; }
.cta-wf img { height: 14px; display: block; opacity: .9; transition: opacity .15s; }
.cta-wf a:hover img { opacity: 1; }

/* ----- Footer ----- */
.site-footer {
  margin-top: 26px;
  border-top: 1px solid var(--border);
  padding: 22px 0 30px;
  color: var(--muted); font-size: 13px; text-align: center;
}
.site-footer a { color: var(--muted); }
.site-footer p { margin: 3px 0; }
.footer-links { font-weight: 600; margin-bottom: 8px !important; }
.footer-links a { color: var(--blue); }
.footer-legal { opacity: .7; font-size: 12px; }

/* ----- Navigatie header ----- */
.site-nav { display: flex; gap: 22px; margin-left: auto; margin-right: 28px; }
.site-nav a { color: rgba(255, 255, 255, .82); text-decoration: none; font-size: 14.5px; font-weight: 500; }
.site-nav a:hover { color: #fff; }
@media (max-width: 720px) {
  .site-nav { display: none; }
}

/* ----- Antet pagini interioare ----- */
.page-hero { padding: 30px 0 8px; }
.page-hero h1 { font-size: clamp(24px, 4vw, 34px); font-weight: 800; letter-spacing: -.4px; margin: 0 0 8px; }
.page-hero-sub { color: var(--muted); font-size: 16px; max-width: 640px; margin: 0; }

/* ----- FAQ acordeon ----- */
.faq-list { display: flex; flex-direction: column; gap: 12px; margin: 20px 0; }
.faq-item {
  background: var(--card); border-radius: 12px; box-shadow: var(--shadow);
  border: 1px solid var(--border); overflow: hidden;
}
.faq-item summary {
  list-style: none; cursor: pointer; padding: 18px 22px;
  font-weight: 600; font-size: 16px; color: var(--navy-2);
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-chev { color: var(--blue); font-size: 22px; font-weight: 400; transition: transform .2s; flex-shrink: 0; }
.faq-item[open] .faq-chev { transform: rotate(45deg); }
.faq-answer { padding: 0 22px 20px; color: var(--text); }
.faq-answer p { margin: 0; }

/* ----- Timeline calendar ----- */
.timeline { position: relative; margin: 24px 0; }
.timeline::before {
  content: ''; position: absolute; left: 8px; top: 8px; bottom: 8px;
  width: 2px; background: var(--border); transform: translateX(-1px);
}
.tl-item { position: relative; padding: 0 0 22px 40px; }
.tl-marker {
  position: absolute; left: 8px; top: 4px; width: 16px; height: 16px;
  border-radius: 50%; background: #fff; border: 3px solid var(--muted); z-index: 1;
  transform: translateX(-8px);
}
.tl-activ  .tl-marker { border-color: var(--green); box-shadow: 0 0 0 4px rgba(29,158,111,.15); }
.tl-urmeaza .tl-marker { border-color: var(--yellow); }
.tl-amanat .tl-marker { border-color: #c3cbe8; }
.tl-body { background: var(--card); border-radius: 12px; box-shadow: var(--shadow); padding: 16px 20px; }
.tl-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.tl-date { font-weight: 700; font-size: 14px; color: var(--navy-2); }
.tl-status { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; padding: 2px 10px; border-radius: 999px; }
.tl-badge-activ  { background: #e7f7f0; color: var(--green); }
.tl-badge-urmeaza { background: #fdf4dc; color: #a37c0a; }
.tl-badge-amanat { background: #eef0f8; color: var(--muted); }
.tl-title { margin: 2px 0 6px; font-size: 16.5px; letter-spacing: -.2px; }
.tl-desc { color: var(--muted); font-size: 14.5px; }
.tl-desc p { margin: 0; }

/* ----- Bloc cost al inactiunii (in raport) ----- */
.cost-card {
  background: #fff8f1; border: 1px solid #f5e0c8; border-left: 5px solid var(--orange);
  border-radius: 12px; padding: 22px 26px; margin: 18px 0;
}
.cost-card h3 { margin: 0 0 8px; font-size: 17px; color: #b35e12; }
.cost-card p { margin: 0; color: var(--text); }

/* ----- Parcursul dupa evaluare (stepper) ----- */
.process-steps { list-style: none; margin: 6px 0 0; padding: 0; position: relative; }
.process-step { position: relative; display: flex; gap: 16px; padding: 0 0 22px; }
.process-step:last-child { padding-bottom: 0; }
.process-step::before {
  content: ''; position: absolute; left: 15px; top: 30px; bottom: -2px; width: 2px; background: var(--border);
}
.process-step:last-child::before { display: none; }
.process-num {
  flex: 0 0 32px; width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(120deg, var(--blue), var(--blue-light)); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px; z-index: 1;
}
.process-body { padding-top: 4px; }
.process-step-title { display: block; font-weight: 700; font-size: 15.5px; color: var(--navy-2); }
.process-step-desc { display: block; color: var(--muted); font-size: 14.5px; margin-top: 2px; }

/* ----- Diverse ----- */
.fade-in { animation: fadeIn .35s ease both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
