/* Culorile vin din logo (secureNIS logo.png): bleumarinul scutului și al textului,
   plus culorile funcțiilor CyFun GV·ID·PR·DE·RS·RC. */
:root {
  --navy: #223358;
  --navy-dark: #18264a;
  --navy-soft: #e9ecf3;
  --ink: #223358;
  --muted: #5a6680;
  --line: #e3e7ef;
  --bg: #ffffff;
  --band: #f6f7fb;
  --card: #ffffff;
  --gv: #fedc45;
  --id: #6e8cdc;
  --pr: #f75d61;
  --de: #c35693;
  --rs: #fca536;
  --rc: #31becc;
  --link: #3d63c4;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; color-scheme: light; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--link); }

h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; color: var(--navy); }
h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); letter-spacing: -.02em; max-width: 20ch; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); letter-spacing: -.01em; }
h3 { font-size: 1.05rem; }
p { margin: 0 0 1em; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 24px; } }

section { padding: 64px 0; }
.band { background: var(--band); }

/* Banda în culorile CyFun, ca în logo */
.stripe { display: flex; height: 4px; }
.stripe i { flex: 1; }
.stripe .gv { background: var(--gv); }
.stripe .id { background: var(--id); }
.stripe .pr { background: var(--pr); }
.stripe .de { background: var(--de); }
.stripe .rs { background: var(--rs); }
.stripe .rc { background: var(--rc); }

/* Antet */
.top { border-bottom: 1px solid var(--line); background: rgb(255 255 255 / .96); position: sticky; top: 0; z-index: 10; backdrop-filter: blur(6px); }
.top-row { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 44px; width: auto; display: block; }
@media (max-width: 420px) { .brand img { height: 36px; } }
.top-actions { display: flex; align-items: center; gap: 12px; }

/* Comutatorul de limbă */
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; font-size: .85rem; font-weight: 700; }
.lang a { padding: 6px 10px; color: var(--muted); text-decoration: none; }
.lang a:hover { background: var(--navy-soft); color: var(--navy); }
.lang a[aria-current] { background: var(--navy-soft); color: var(--navy); }
@media (max-width: 420px) { .top-actions { gap: 8px; } .lang a { padding: 6px 8px; } }

/* Butoane */
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 10px;
  background: var(--navy); color: #fff; font-weight: 600; text-decoration: none;
  box-shadow: 0 4px 14px 0 rgb(34 51 88 / .25);
  transition: background .15s;
}
.btn:hover { background: var(--navy-dark); }
.btn-small { padding: 8px 16px; font-size: .95rem; box-shadow: none; }
.btn-ghost { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); }
.btn-ghost:hover { background: var(--navy-soft); }
.btn-light { background: #fff; color: var(--navy); box-shadow: none; }
.btn-light:hover { background: var(--navy-soft); }

/* Hero */
.hero { padding: 72px 0 80px; }
.eyebrow { color: var(--id); font-weight: 700; font-size: .9rem; letter-spacing: .03em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Grile */
.section-lead { color: var(--muted); max-width: 62ch; }
.audience, .modules, .steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 16px; }
.audience { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.modules { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.steps { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); counter-reset: pas; }

.audience li, .modules li, .steps li {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 20px;
  box-shadow: 0 4px 12px -2px rgb(34 51 88 / .06);
}
.audience li { border-top: 3px solid var(--navy); }
.audience p, .modules p, .steps p { color: var(--muted); margin: 0; font-size: .97rem; }

.tag {
  display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .06em;
  padding: 2px 8px; border-radius: 5px; margin-bottom: 10px; color: #fff;
}
.tag.gv { background: var(--gv); color: var(--navy); }
.tag.id { background: var(--id); }
.tag.pr { background: var(--pr); }
.tag.de { background: var(--de); }
.tag.rs { background: var(--rs); }
.tag.rc { background: var(--rc); }

.steps li { counter-increment: pas; }
.steps li::before {
  content: counter(pas); display: grid; place-items: center;
  width: 32px; height: 32px; border-radius: 50%; margin-bottom: 12px;
  background: var(--navy); color: #fff; font-weight: 700;
}
.steps li:nth-child(1)::before { background: var(--id); }
.steps li:nth-child(2)::before { background: var(--rs); }
.steps li:nth-child(3)::before { background: var(--rc); }

/* Apel la acțiune */
.cta { background: var(--navy); color: #fff; text-align: center; }
.cta h2 { color: #fff; }
.cta p { color: #d3d9e8; max-width: 56ch; margin-left: auto; margin-right: auto; }
.cta .btn { margin: 8px 0 18px; }
.cta .mail a { color: #fff; font-weight: 600; }

/* Subsol */
.foot { border-top: 1px solid var(--line); padding: 24px 0; color: var(--muted); font-size: .92rem; }
.foot-row { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.foot a { color: var(--muted); }
