/* Blogul public (hubeez.ro/blog/). Aceeași temă ca paginile de modul
   (hello_azure/modul_base.html): fundal închis, Outfit, accent coral.
   Fișier separat, nu <style> inline — cod nou conform CSP. */

@font-face {
  font-family: 'Outfit'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('../fonts/outfit-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Outfit'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('../fonts/outfit-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --orange: #FF7A45;
  --orange-light: #FFA982;
  --dark: #0a0a14;
  --dark-card: rgba(255,255,255,0.04);
  --dark-border: rgba(255,255,255,0.08);
  --text: rgba(255,255,255,0.85);
  --text-dim: rgba(255,255,255,0.55);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Outfit', sans-serif; background: var(--dark); color: var(--text);
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
body::before {
  content: ''; position: fixed; top: -50%; left: -50%; width: 200%; height: 200%;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(255,140,0,0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(255,180,70,0.04) 0%, transparent 40%);
  z-index: 0;
}
.page { position: relative; z-index: 1; }

/* ── Navigare (identică cu modul_base.html) ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 16px 40px;
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(10,10,20,0.7); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--dark-border);
}
.logo {
  display: flex; align-items: center; gap: 9px; font-size: 25px; font-weight: 650;
  letter-spacing: -1.3px; color: #fff; text-decoration: none;
}
.logo em { font-style: normal; color: var(--orange); }
.logo-bee { height: 34px; width: auto; display: block; flex-shrink: 0; }
.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-links a { color: var(--text-dim); text-decoration: none; font-size: 14px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.nav-activ { color: var(--orange-light); }
.nav-links a.nav-pv { color: var(--orange-light); }
.btn-login {
  background: transparent; color: var(--text); padding: 8px 20px; border-radius: 8px;
  border: 1px solid var(--dark-border); font-weight: 600; font-size: 13px;
}
.nav-links a.btn-login { color: var(--text); }
.btn-login:hover { border-color: var(--orange); }
.nav-links a.btn-demo-nav {
  background: linear-gradient(135deg, var(--orange), #e67e00); color: #fff;
  padding: 8px 20px; border-radius: 8px; font-weight: 600; font-size: 13px;
}
.nav-toggle {
  display: none; width: 38px; height: 34px; padding: 0; flex-shrink: 0;
  flex-direction: column; justify-content: center; align-items: center; gap: 4px;
  background: transparent; border: 1px solid var(--dark-border); border-radius: 8px; cursor: pointer;
}
.nav-toggle span { display: block; width: 16px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav-mobil {
  display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column;
  padding: 6px 20px 14px; background: #0a0a14; border-bottom: 1px solid var(--dark-border);
}
.nav-mobil.deschis { display: flex; }
.nav-mobil a {
  color: var(--text-dim); text-decoration: none; font-size: 15px; font-weight: 500;
  padding: 13px 4px; border-bottom: 1px solid var(--dark-border);
}
.nav-mobil a:last-child { border-bottom: none; }
.nav-mobil a.nav-pv { color: var(--orange-light); }
.nav-mobil .nav-mobil-login { display: none; }

/* ── Structură ── */
.wrap { max-width: 860px; margin: 0 auto; padding: 0 40px; }
.breadcrumb { padding-top: 110px; font-size: 13px; color: var(--text-dim); }
.breadcrumb a { color: var(--text-dim); text-decoration: none; }
.breadcrumb a:hover { color: var(--orange-light); }
.breadcrumb i { font-size: 9px; margin: 0 8px; opacity: 0.5; }

/* ── Lista de articole ── */
.hero-blog { padding: 26px 0 10px; }
.hero-blog h1 { font-size: clamp(32px, 4.4vw, 48px); font-weight: 900; letter-spacing: -1.5px; line-height: 1.1; }
.hero-blog h1 span {
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.lead { margin-top: 14px; font-size: 17px; line-height: 1.7; color: var(--text-dim); font-weight: 300; }
.filtre { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 8px; }
.filtru {
  padding: 7px 16px; border-radius: 20px; font-size: 13px; font-weight: 600; text-decoration: none;
  color: var(--text-dim); border: 1px solid var(--dark-border); background: var(--dark-card);
}
.filtru:hover { color: var(--orange-light); border-color: rgba(255,140,0,0.4); }
.filtru.activ { color: var(--orange); border-color: rgba(255,140,0,0.4); background: rgba(255,140,0,0.08); }
.carduri { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; margin-top: 18px; }
.card {
  display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 14px;
  background: var(--dark-card); border: 1px solid var(--dark-border); text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
.card:hover { border-color: rgba(255,140,0,0.4); background: rgba(255,255,255,0.055); }
.card-cat { font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--orange); }
.card h2 { font-size: 18px; font-weight: 700; line-height: 1.35; color: #fff; }
.card p { font-size: 13.5px; line-height: 1.65; color: var(--text-dim); font-weight: 300; flex: 1; }
.card-mai { font-size: 13px; font-weight: 600; color: var(--orange-light); }
.card-mai i { font-size: 11px; margin-left: 4px; }

/* ── Articol ── */
.articol header { padding: 26px 0 8px; }
.articol h1 { font-size: clamp(28px, 4vw, 42px); font-weight: 900; letter-spacing: -1.2px; line-height: 1.15; color: #fff; }
.meta { margin-top: 12px; font-size: 13px; color: var(--text-dim); }
.rezumat { margin-top: 18px; font-size: 18px; line-height: 1.75; font-weight: 300; }
.rezumat strong, .corp strong { color: #fff; font-weight: 600; }
.corp { margin-top: 10px; }
.corp h2, .faq h2, .legate h2 { margin-top: 44px; font-size: clamp(22px, 2.6vw, 28px); font-weight: 800; letter-spacing: -0.5px; color: #fff; }
.corp h3 { margin-top: 26px; font-size: 18px; font-weight: 700; color: #fff; }
.corp p { margin-top: 14px; font-size: 16px; line-height: 1.85; font-weight: 300; }
.corp ul, .corp ol { margin: 14px 0 0 22px; }
.corp li { margin-top: 8px; font-size: 16px; line-height: 1.75; font-weight: 300; }
.corp li::marker { color: var(--orange); }
.corp a, .rezumat a, .legate a { color: var(--orange-light); }
.corp a:hover, .legate a:hover { color: var(--orange); }
.tabel { margin-top: 18px; overflow-x: auto; border: 1px solid var(--dark-border); border-radius: 12px; }
.tabel table { width: 100%; border-collapse: collapse; font-size: 14px; }
.tabel th { text-align: left; padding: 11px 14px; color: #fff; font-weight: 600; background: rgba(255,140,0,0.08); }
.tabel td { padding: 10px 14px; border-top: 1px solid var(--dark-border); font-weight: 300; }
.pasi { counter-reset: pas; list-style: none; margin: 18px 0 0; }
.pasi > li { position: relative; padding: 4px 0 18px 46px; margin: 0; }
.pasi > li::before {
  counter-increment: pas; content: counter(pas); position: absolute; left: 0; top: 2px;
  width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: rgba(255,140,0,0.12); border: 1px solid rgba(255,140,0,0.35); color: var(--orange-light);
  font-weight: 700; font-size: 14px;
}
.pasi > li strong { display: block; font-size: 17px; margin-bottom: 2px; }
.nota {
  margin-top: 20px; padding: 16px 18px; border-radius: 12px; font-size: 15px; line-height: 1.7;
  background: rgba(56,189,248,0.06); border: 1px solid rgba(56,189,248,0.22); font-weight: 300;
}

/* diagrama modulului (SVG generat de hello_azure/module_diagrams.py) */
.diag-wrap {
  margin-top: 26px; overflow-x: auto; border: 1px solid var(--dark-border);
  border-radius: 16px; background: rgba(255,255,255,0.02); padding: 20px;
}
.diag-wrap svg { display: block; width: 100%; height: auto; min-width: 720px; }
.diag-hint { margin-top: 9px; font-size: 12px; color: var(--text-dim); display: none; }

/* întrebări frecvente */
.faq details { background: var(--dark-card); border: 1px solid var(--dark-border); border-radius: 12px; margin-top: 10px; }
.faq details:first-of-type { margin-top: 20px; }
.faq summary {
  cursor: pointer; padding: 16px 20px; font-size: 15px; font-weight: 600; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--orange); font-size: 20px; flex-shrink: 0; transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 20px 16px; font-size: 14.5px; color: var(--text-dim); line-height: 1.75; font-weight: 300; }

/* butoane + conversie */
.butoane { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.butoane.centru { justify-content: center; }
.btn-primary {
  background: linear-gradient(135deg, var(--orange), #e67e00); color: #fff; padding: 13px 26px;
  border-radius: 10px; font-weight: 700; font-size: 15px; text-decoration: none;
  display: inline-flex; align-items: center; gap: 10px; transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 26px rgba(255,140,0,0.32); }
.btn-ghost {
  background: var(--dark-card); color: var(--text); padding: 13px 26px; border-radius: 10px;
  border: 1px solid var(--dark-border); font-weight: 600; font-size: 15px; text-decoration: none;
  display: inline-flex; align-items: center; gap: 10px;
}
.btn-ghost:hover { border-color: rgba(255,140,0,0.4); color: var(--orange-light); }
.cta {
  margin-top: 54px; padding: 40px 32px; text-align: center; border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,140,0,0.07), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,140,0,0.18);
}
.cta h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 800; letter-spacing: -0.6px; color: #fff; }
.cta p { margin-top: 10px; font-size: 15px; color: var(--text-dim); line-height: 1.7; font-weight: 300; }

/* distribuire */
.distribuie { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 30px; font-size: 14px; color: var(--text-dim); }
.distribuie a, .distribuie button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 40px; height: 40px;
  padding: 0 12px; border-radius: 10px; border: 1px solid var(--dark-border); background: var(--dark-card);
  color: var(--text); text-decoration: none; font: inherit; font-size: 14px; cursor: pointer;
}
.distribuie a:hover, .distribuie button:hover { border-color: rgba(255,140,0,0.4); color: var(--orange-light); }

.legate ul { list-style: none; margin-top: 14px; }
.legate li { padding: 10px 0; border-bottom: 1px solid var(--dark-border); font-size: 15.5px; }

/* ── Subsol ── */
footer {
  margin: 70px auto 0; padding: 36px 40px; max-width: 1000px; border-top: 1px solid var(--dark-border);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px;
}
.footer-brand { font-size: 18px; font-weight: 650; letter-spacing: -1px; color: #fff; text-decoration: none; }
.footer-brand em { font-style: normal; color: var(--orange); }
.footer-copy { font-size: 12px; color: var(--text-dim); }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { color: var(--text-dim); text-decoration: none; font-size: 13px; font-weight: 500; }
.footer-links a:hover { color: var(--orange-light); }

@media (max-width: 860px) {
  .nav-links .nav-sec { display: none; }
  .nav-toggle { display: flex; }
  .diag-hint { display: block; }
}
@media (min-width: 861px) { .nav-mobil.deschis { display: none; } }
@media (max-width: 768px) {
  nav { padding: 12px 18px; }
  .wrap { padding: 0 18px; }
  .breadcrumb { padding-top: 92px; }
  .carduri { grid-template-columns: 1fr; }
  .cta { padding: 30px 18px; }
  footer { padding: 28px 18px; flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}
@media (max-width: 520px) {
  .logo { font-size: 20px; gap: 6px; }
  .logo-bee { height: 26px; }
  .nav-links a.btn-login, .nav-links a.btn-demo-nav { padding: 6px 10px; font-size: 11px; }
}
@media (max-width: 380px) {
  .nav-links .btn-login { display: none; }
  .nav-mobil .nav-mobil-login { display: block; }
}
