/* ============================================================
   EIF Sondaj ANEVAR — Stylesheet
   Inspirat din design-ul anevar.ro
   Culori: #bb1c16 (primary), #c41f26 (button), #f4f6f9 (bg)
   Font: Roboto
   ============================================================ */

:root {
  --red:        #bb1c16;
  --red-btn:    #c41f26;
  --red-hover:  #97171e;
  --red-dark:   #8d1511;
  --white:      #ffffff;
  --gray-bg:    #f4f6f9;
  --gray-border:#d3d3d3;
  --gray-text:  #555555;
  --gray-dark:  #333333;
  --shadow:     0 4px 24px rgba(0,0,0,0.08);
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.06);
  --radius:     4px;
  --transition: 0.22s ease-in-out;
  --max-width:  1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Roboto', Arial, Verdana, sans-serif;
  font-size: 14px;
  color: var(--gray-dark);
  background: var(--white);
  line-height: 1.65;
}

a { color: var(--red); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--red-dark); }

img { max-width: 100%; height: auto; }

/* ── Container ─────────────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── TOP BAR ────────────────────────────────────────────────── */
.top-bar {
  background: var(--red);
  color: var(--white);
  font-size: 12px;
  font-weight: 400;
  line-height: 33px;
  height: 33px;
  overflow: hidden;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar a { color: rgba(255,255,255,0.85); }
.top-bar a:hover { color: var(--white); }
.top-bar i { margin-right: 5px; font-size: 11px; }

/* ── HEADER ─────────────────────────────────────────────────── */
.site-header {
  background: var(--white);
  padding: 18px 0;
  border-bottom: 1px solid var(--gray-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link { display: flex; align-items: center; }

.logo-img {
  height: 56px;
  width: auto;
  display: block;
}

.logo-text-fallback {
  font-size: 28px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 2px;
}

.header-badge {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.badge-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--gray-text);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.badge-year {
  font-size: 22px;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
}

/* ── NAVIGATIE STICKY ───────────────────────────────────────── */
.main-nav {
  background: var(--white);
  border-bottom: 3px solid var(--red);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0;
}

.nav-link {
  display: block;
  padding: 0 20px;
  line-height: 48px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-dark);
  transition: all var(--transition);
  white-space: nowrap;
}

.nav-link:hover {
  background: var(--red);
  color: var(--white);
}

.nav-link.active {
  color: var(--red);
  font-weight: 600;
  box-shadow: inset 0 -3px 0 var(--red);
  background: transparent;
}

.nav-cta {
  background: var(--red-btn);
  color: var(--white) !important;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 13px;
}

.nav-cta:hover { background: var(--red-hover) !important; color: var(--white); }

.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  color: var(--red);
  cursor: pointer;
  padding: 10px;
}

/* ── HERO ───────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #1a0605 0%, #6b0f0b 40%, #bb1c16 100%);
  min-height: 480px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 50%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 400"><defs><pattern id="g" x="0" y="0" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.06)"/></pattern></defs><rect width="400" height="400" fill="url(%23g)"/></svg>');
  opacity: 0.5;
}

.hero-overlay { width: 100%; position: relative; z-index: 1; }

.hero-content {
  max-width: 680px;
  padding: 60px 0;
  color: var(--white);
}

.hero-supra {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 12px;
}

.hero-title {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 12px;
  color: var(--white);
}

.hero-sub {
  font-size: 18px;
  font-weight: 300;
  color: rgba(255,255,255,0.9);
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.82);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 560px;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: var(--white);
  color: var(--red);
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--radius);
  margin-right: 12px;
  margin-bottom: 10px;
  transition: all var(--transition);
}

.btn-hero:hover { background: var(--gray-bg); color: var(--red-dark); transform: translateY(-1px); }

.btn-hero-outline {
  background: transparent;
  color: rgba(255,255,255,0.9);
  border: 2px solid rgba(255,255,255,0.5);
}

.btn-hero-outline:hover {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border-color: var(--white);
}

/* ── CONTEXT BANNER ─────────────────────────────────────────── */
.context-banner {
  background: var(--gray-dark);
  padding: 20px 0;
  color: var(--white);
}

.context-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.context-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 24px;
  border-right: 1px solid rgba(255,255,255,0.12);
}

.context-item:last-child { border-right: none; }

.context-item i {
  font-size: 26px;
  color: var(--red);
  flex-shrink: 0;
}

.context-item strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 2px;
}

.context-item span {
  font-size: 11.5px;
  color: rgba(255,255,255,0.65);
  line-height: 1.4;
}

/* ── SECTIONS ───────────────────────────────────────────────── */
.section { padding: 70px 0; }
.section-gray { background: var(--gray-bg); }

.section-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--red);
  border-left: 10px solid var(--red);
  padding-left: 16px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.section-subtitle {
  font-size: 15px;
  color: var(--gray-text);
  margin-bottom: 40px;
  padding-left: 26px;
  max-width: 720px;
}

/* ── CONTENT GRID (text + aside) ────────────────────────────── */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  align-items: start;
}

.content-text p {
  margin-bottom: 16px;
  font-size: 14.5px;
  line-height: 1.75;
  color: #444;
}

/* ── INFO CARD (sidebar) ────────────────────────────────────── */
.info-card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-top: 4px solid var(--red);
  box-shadow: var(--shadow-sm);
}

.info-card-header {
  background: var(--red);
  color: var(--white);
  padding: 14px 18px;
  font-weight: 600;
  font-size: 13px;
}

.info-card-header i { margin-right: 7px; }

.info-card-body {
  padding: 18px;
}

.info-card-body p {
  font-size: 13.5px;
  color: var(--gray-text);
  margin-bottom: 14px;
  line-height: 1.65;
}

.info-card-body ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.info-card-body li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--gray-text);
}

.spec-badge {
  display: inline-block;
  background: var(--gray-bg);
  border: 1px solid var(--gray-border);
  color: var(--gray-dark);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 3px;
  letter-spacing: 0.5px;
  min-width: 36px;
  text-align: center;
}

.spec-badge-active {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.info-note {
  background: #fff8f8;
  border-left: 3px solid var(--red);
  padding: 10px 12px;
  font-size: 12.5px;
  color: var(--gray-dark);
  line-height: 1.55;
}

.info-note i { color: var(--red); margin-right: 5px; }

/* ── CARDS GRID ─────────────────────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.card {
  background: var(--white);
  box-shadow: var(--shadow);
  border-top: 4px solid var(--red);
  padding: 32px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.card-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 22px;
}

.card-icon-red { background: var(--red); color: var(--white); }

.card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-dark);
  margin-bottom: 14px;
  line-height: 1.35;
}

.card-text {
  font-size: 14px;
  color: var(--gray-text);
  line-height: 1.72;
  margin-bottom: 14px;
}

.card-benefits {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--gray-dark);
  font-weight: 500;
}

.benefit-item i { color: var(--red); font-size: 13px; }

/* ── MODULES GRID ───────────────────────────────────────────── */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.module-item {
  display: flex;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--gray-border);
  padding: 24px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.module-item:hover {
  border-color: var(--red);
  box-shadow: var(--shadow-sm);
}

.module-num {
  font-size: 32px;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
  min-width: 36px;
  opacity: 0.85;
}

.module-body h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-dark);
  margin-bottom: 8px;
}

.module-body p {
  font-size: 13px;
  color: var(--gray-text);
  line-height: 1.65;
}

/* ── STANDARDS GRID ─────────────────────────────────────────── */
.standards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.standard-card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  padding: 28px;
  text-align: center;
}

.standard-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--red);
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 20px;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.standard-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-dark);
  margin-bottom: 12px;
  line-height: 1.4;
}

.standard-card p {
  font-size: 13px;
  color: var(--gray-text);
  line-height: 1.68;
}

/* ── FORMULAR ───────────────────────────────────────────────── */
.form-wrapper {
  max-width: 820px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-top: 4px solid var(--red);
  padding: 44px 52px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 0;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.form-group-full { grid-column: 1 / -1; }

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-dark);
  margin-bottom: 6px;
}

.form-group label small {
  font-weight: 400;
  color: var(--gray-text);
  font-size: 11px;
}

.required { color: var(--red); }

.form-group input,
.form-group select,
.form-group textarea {
  padding: 10px 13px;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 13.5px;
  color: var(--gray-dark);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(187,28,22,0.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #e74c3c;
}

.form-group textarea { resize: vertical; min-height: 80px; }

.field-error {
  font-size: 11.5px;
  color: #e74c3c;
  margin-top: 4px;
  min-height: 16px;
  display: block;
}

.char-count {
  font-size: 11px;
  color: var(--gray-text);
  text-align: right;
  margin-top: 4px;
}

/* GDPR */
.form-gdpr {
  margin: 20px 0 24px;
  padding: 14px 16px;
  background: var(--gray-bg);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
}

.gdpr-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 12.5px;
  color: var(--gray-text);
  line-height: 1.55;
}

.gdpr-label input[type="checkbox"] {
  width: auto;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--red);
  cursor: pointer;
}

/* Error banner */
.form-error-banner {
  background: #fdf2f2;
  border: 1px solid #e74c3c;
  border-left: 4px solid #e74c3c;
  color: #c0392b;
  padding: 12px 16px;
  font-size: 13px;
  margin-bottom: 20px;
  border-radius: var(--radius);
}

/* Form actions */
.form-actions { text-align: center; }

.btn-submit {
  background: var(--red-btn);
  color: var(--white);
  border: none;
  padding: 14px 42px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border-radius: var(--radius);
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.btn-submit:hover { background: var(--red-hover); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(187,28,22,0.35); }
.btn-submit:active { transform: translateY(0); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.form-note {
  margin-top: 14px;
  font-size: 11.5px;
  color: var(--gray-text);
}

.form-note i { color: var(--gray-text); margin-right: 4px; }

/* Success */
.form-success {
  text-align: center;
  padding: 50px 20px;
}

.success-icon {
  font-size: 64px;
  color: #27ae60;
  margin-bottom: 20px;
}

.form-success h3 {
  font-size: 22px;
  color: var(--gray-dark);
  margin-bottom: 12px;
}

.form-success p {
  font-size: 15px;
  color: var(--gray-text);
  margin-bottom: 8px;
}

.success-sub { font-size: 13px !important; color: var(--gray-border) !important; }

/* ── FOOTER ─────────────────────────────────────────────────── */
.site-footer {
  background: var(--gray-dark);
  color: rgba(255,255,255,0.6);
  padding: 50px 0 30px;
  text-align: center;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 24px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.6);
  font-size: 15px;
  transition: all var(--transition);
}

.footer-social a:hover { background: var(--red); color: var(--white); }

.footer-links {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 12px;
}

.footer-links a { color: rgba(255,255,255,0.55); }
.footer-links a:hover { color: var(--white); }
.footer-links span { color: rgba(255,255,255,0.25); }

.footer-copy {
  font-size: 12px;
  margin-bottom: 4px;
}

.footer-sub {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  font-style: italic;
}

/* ============================================================
   ADMIN — LOGIN PAGE
   ============================================================ */
.admin-login-page {
  min-height: 100vh;
  background: var(--gray-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.login-box {
  background: var(--white);
  border-top: 4px solid var(--red);
  box-shadow: var(--shadow);
  padding: 44px 48px;
  width: 100%;
  max-width: 420px;
}

.login-logo {
  text-align: center;
  margin-bottom: 28px;
}

.login-logo img { height: 48px; margin-bottom: 10px; display: block; margin-left: auto; margin-right: auto; }

.login-logo h2 {
  font-size: 17px;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 3px;
}

.login-logo p { font-size: 12px; color: var(--gray-text); }

.login-error {
  background: #fdf2f2;
  border-left: 3px solid var(--red);
  color: var(--red-dark);
  padding: 10px 14px;
  font-size: 13px;
  margin-bottom: 20px;
  border-radius: var(--radius);
}

.login-box .form-group input {
  width: 100%;
  padding: 11px 14px;
}

.login-box .btn-submit { width: 100%; justify-content: center; }

/* ============================================================
   ADMIN — DASHBOARD
   ============================================================ */
.admin-page {
  min-height: 100vh;
  background: var(--gray-bg);
}

.admin-header {
  background: var(--red);
  padding: 0;
}

.admin-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.admin-brand {
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-brand img { height: 32px; filter: brightness(0) invert(1); }

.admin-nav a {
  color: rgba(255,255,255,0.8);
  font-size: 13px;
  margin-left: 20px;
  transition: color var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.admin-nav a:hover { color: var(--white); }

.admin-nav .btn-logout {
  background: rgba(255,255,255,0.15);
  padding: 6px 14px;
  border-radius: var(--radius);
}

.admin-nav .btn-logout:hover { background: rgba(255,255,255,0.25); color: var(--white); }

.admin-main { padding: 36px 0 60px; }

/* Stats cards */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.stat-card {
  background: var(--white);
  border-top: 3px solid var(--red);
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
}

.stat-number {
  font-size: 38px;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 12px;
  color: var(--gray-text);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Table */
.table-section {
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.table-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--gray-border);
}

.table-header h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-dark);
  border-left: 5px solid var(--red);
  padding-left: 12px;
}

.btn-export {
  background: var(--red-btn);
  color: var(--white);
  padding: 9px 20px;
  font-size: 13px;
  font-weight: 600;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  transition: background var(--transition);
}

.btn-export:hover { background: var(--red-hover); color: var(--white); }

.table-search {
  padding: 12px 24px;
  border-bottom: 1px solid var(--gray-border);
}

.table-search input {
  width: 100%;
  max-width: 360px;
  padding: 8px 12px;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  font-size: 13px;
  font-family: inherit;
  outline: none;
}

.table-search input:focus { border-color: var(--red); }

.table-wrap { overflow-x: auto; }

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.data-table th {
  background: var(--gray-bg);
  padding: 11px 14px;
  text-align: left;
  font-weight: 600;
  color: var(--gray-dark);
  border-bottom: 2px solid var(--gray-border);
  white-space: nowrap;
}

.data-table td {
  padding: 11px 14px;
  border-bottom: 1px solid #f0f0f0;
  color: var(--gray-text);
  vertical-align: middle;
}

.data-table tr:hover td { background: #fafafa; }

.calitate-badge {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.badge-evaluator { background: #fde8e8; color: #bb1c16; }
.badge-analist   { background: #e8f4fd; color: #1c5ebb; }
.badge-auditor   { background: #e8fde8; color: #1cbb3a; }
.badge-altul     { background: #f4f6f9; color: #666; }

.table-empty {
  text-align: center;
  padding: 40px;
  color: var(--gray-text);
  font-size: 14px;
}

.table-footer {
  padding: 12px 24px;
  border-top: 1px solid var(--gray-border);
  font-size: 12px;
  color: var(--gray-text);
}

/* Loading spinner */
.loading-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
  color: var(--gray-text);
  gap: 12px;
  font-size: 14px;
}

.fa-spin { animation: spin 1s linear infinite; }
@keyframes spin { 100% { transform: rotate(360deg); } }

/* ============================================================
   CAPTCHA
   ============================================================ */
.captcha-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.captcha-question {
  background: var(--gray-bg);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  padding: 8px 16px;
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-dark);
  letter-spacing: 2px;
  min-width: 70px;
  text-align: center;
}

.captcha-equals {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-text);
}

.captcha-refresh {
  background: none;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  padding: 8px 12px;
  cursor: pointer;
  color: var(--gray-text);
  font-size: 14px;
  transition: all 0.2s;
}

.captcha-refresh:hover {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

/* ============================================================
   STRUCTURA CURSULUI
   ============================================================ */
.structura-intro {
  max-width: 820px;
  margin: 0 0 40px;
  text-align: left;
  color: var(--gray-text);
  font-size: 15px;
  line-height: 1.7;
}

.structura-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.structura-card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  padding: 24px 20px;
  display: flex;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s;
}

.structura-card:hover {
  box-shadow: var(--shadow);
}

.structura-card-final {
}

.structura-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}

.structura-body h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-dark);
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.structura-body h4 i {
  color: var(--red);
  font-size: 13px;
}

.structura-body ul {
  margin: 0;
  padding-left: 16px;
  list-style: disc;
}

.structura-body ul li {
  font-size: 13px;
  color: var(--gray-text);
  line-height: 1.6;
  margin-bottom: 4px;
}

.structura-nota {
  background: #f0f4ff;
  border: 1px solid #c8d4f0;
  border-radius: var(--radius);
  padding: 14px 20px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: #445;
}

.structura-nota i {
  color: #4466cc;
  flex-shrink: 0;
  margin-top: 2px;
}

.structura-nota a {
  color: var(--white);
  background: var(--red);
  padding: 2px 8px;
  border-radius: 3px;
  text-decoration: none;
  font-weight: 600;
}

.structura-nota a:hover {
  background: var(--red-hover);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .content-grid { grid-template-columns: 1fr; }
  .modules-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .structura-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-list { display: none; flex-direction: column; position: absolute; top: 51px; left: 0; right: 0; background: var(--white); border-top: 1px solid var(--gray-border); box-shadow: var(--shadow); z-index: 300; }
  .nav-list.open { display: flex; }
  .nav-link { line-height: 44px; border-bottom: 1px solid var(--gray-bg); padding: 0 24px; }
  .nav-mobile-toggle { display: block; }
  .main-nav { position: sticky; top: 0; }

  .hero-title { font-size: 28px; }
  .hero-sub { font-size: 15px; }
  .context-grid { grid-template-columns: repeat(2, 1fr); }
  .context-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .cards-grid { grid-template-columns: 1fr; }
  .modules-grid { grid-template-columns: 1fr; }
  .standards-grid { grid-template-columns: 1fr; }
  .structura-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-wrapper { padding: 28px 24px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .context-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .hero-title { font-size: 22px; }
  .context-grid { grid-template-columns: 1fr; }
  .top-bar .container { flex-direction: column; height: auto; padding: 6px 16px; }
  .top-bar { height: auto; }
  .section { padding: 44px 0; }
  .stats-grid { grid-template-columns: 1fr; }
  .login-box { padding: 30px 24px; }
}
