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

:root {
  --primary: #10b981;
  --primary-dark: #059669;
  --blue: #3b82f6;
  --accent: #f59e0b;
  --dark: #0f172a;
  --card-bg: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.09);
  --text: #e2e8f0;
  --muted: #94a3b8;
}

body {
  background: var(--dark);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  min-height: 100vh;
}

/* ── HERO ─────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  max-height: 420px;
}

.hero img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to bottom, rgba(15,23,42,0.15) 0%, rgba(15,23,42,0.72) 100%);
  text-align: center;
  padding: 2rem 1rem;
}

.hero-title {
  font-size: clamp(2rem, 5.5vw, 4rem);
  font-weight: 800;
  letter-spacing: 1px;
  background: linear-gradient(90deg, #a7f3d0, #6ee7b7, #34d399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 0.6rem;
}

.hero-title strong {
  background: none;
  -webkit-text-fill-color: #ffffff;
  font-weight: 800;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  color: #e2e8f0;
  opacity: 0.9;
  font-weight: 300;
  letter-spacing: 0.5px;
}

/* ── LAYOUT ───────────────────────────── */
main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 2rem;
}

section { margin-bottom: 4.5rem; }

.section-title {
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 1.6rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

/* ── EXPLAINER CARDS ──────────────────── */
.explainer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.4rem;
}

.explainer-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
  transition: transform .2s, border-color .2s;
}

.explainer-card:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 185, 129, 0.38);
}

.card-icon { font-size: 2.2rem; margin-bottom: 0.9rem; }

.card-title {
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.65rem;
}

.card-text {
  color: var(--muted);
  line-height: 1.72;
  font-size: 0.93rem;
}

/* ── FORM CARDS ───────────────────────── */
.forms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.4rem;
}

.form-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}

.form-card:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 185, 129, 0.45);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.form-card-badge {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.form-card-title {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
}

.form-card-desc {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
  flex: 1;
}

.btn-form {
  margin-top: 0.4rem;
  padding: 0.65rem 1.4rem;
  border-radius: 9px;
  border: none;
  background: linear-gradient(135deg, var(--primary), var(--blue));
  color: white;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .18s, transform .12s;
  align-self: flex-start;
}

.btn-form:hover {
  opacity: 0.88;
  transform: scale(1.02);
}

.form-card-note {
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.5;
}

/* ── MODAL ────────────────────────────── */
.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  z-index: 9000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  backdrop-filter: blur(5px);
}

.modal-backdrop.open { display: flex; }

.modal {
  background: #1e293b;
  border: 1px solid var(--border);
  border-radius: 16px;
  width: 100%;
  max-width: 700px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.65);
  animation: modalIn .22s ease;
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(18px) scale(0.97); }
  to   { opacity: 1; transform: none; }
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid var(--border);
}

.modal-head-title { font-size: 1rem; font-weight: 600; }

.modal-close {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
  padding: 0.2rem 0.4rem;
  border-radius: 6px;
  transition: color .15s, background .15s;
}

.modal-close:hover { color: var(--text); background: rgba(255,255,255,0.07); }

.modal-body { flex: 1; overflow: auto; }

.modal-body iframe {
  width: 100%;
  height: 580px;
  border: none;
  display: block;
}

/* ── ABOUT SECTION ────────────────────── */
.about-box {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
}

.about-lead {
  color: var(--muted);
  line-height: 1.75;
  font-size: 0.97rem;
}

.about-lead--notice {
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(16, 185, 129, 0.06);
  border-left: 3px solid var(--primary);
  border-radius: 6px;
}

.divider-line {
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--blue));
  border-radius: 2px;
  margin: 1.8rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 2rem;
}

.about-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.9rem;
}

.logo-box {
  width: 76px;
  height: 76px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.logo-box img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.about-item-name {
  font-weight: 600;
  font-size: 0.98rem;
}

.about-item-desc {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

.ext-link {
  color: var(--primary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: opacity .15s;
}

.ext-link:hover { opacity: 0.75; }

/* ── FOOTER ───────────────────────────── */
footer {
  text-align: center;
  padding: 1.4rem 1rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.78rem;
}

footer a { color: var(--primary); text-decoration: none; }
footer a:hover { opacity: 0.75; }

.footer-gdpr {
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--border);
  font-size: 0.7rem;
  line-height: 1.65;
  color: #64748b;
  max-width: 860px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

/* ── ABOUT MORE ──────────────────────── */
.about-more {
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.18);
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.about-more-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
}

.about-more-text {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.inline-link {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity .15s;
}

.inline-link:hover { opacity: 0.75; }

.about-more-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: background .15s, border-color .15s, color .15s;
}

.more-link:hover {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.4);
  color: var(--primary);
}

/* ── REDUCED MOTION ──────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ── RESPONSIVE ───────────────────────── */
@media (max-width: 560px) {
  .about-box { padding: 1.5rem; }
  .section-title { font-size: 1.4rem; }
}
