/* MAE-IT Security Notice — High-End Design */
:root {
  --bg: #0f172a;
  --panel: rgba(17, 24, 39, 0.94);
  --panel-dark: rgba(11, 18, 32, 0.94);
  --border: rgba(148, 163, 184, 0.18);
  --text: #e5e7eb;
  --muted: #d1d5db;
  --subtle: #94a3b8;
  --link: #c4b5fd;
  --link-hover: #ddd6fe;
  --accent: #7c3aed;
  --verified: #22c55e;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #020617;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background:
    radial-gradient(circle at 12% 0%, rgba(124, 58, 237, 0.18), transparent 32rem),
    radial-gradient(circle at 88% 8%, rgba(34, 197, 94, 0.12), transparent 26rem),
    linear-gradient(180deg, #0f172a 0%, #020617 100%);
  color: var(--text);
  padding-bottom: 96px;
  letter-spacing: -0.01em;
}

.container {
  width: min(940px, calc(100% - 32px));
  margin: 0 auto;
  padding: 44px 0 18px;
}

.lang-switch {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
}

.brand-top {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #f8fafc;
  font-weight: 800;
  letter-spacing: .03em;
  padding: 9px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(15, 23, 42, .72);
  box-shadow: 0 12px 40px rgba(0,0,0,.26);
}

.brand-top::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--verified);
  box-shadow: 0 0 18px rgba(34, 197, 94, .75);
}

.lang-switch > div {
  color: var(--subtle);
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(15, 23, 42, .58);
}

.trust {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(11, 18, 32, .96), rgba(15, 23, 42, .86));
  color: #dbeafe;
  box-shadow: 0 12px 42px rgba(0,0,0,.22);
}

.badge {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  background: var(--verified);
  color: #052e16;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .035em;
}

.verify {
  margin: 0 0 22px;
  color: var(--subtle);
  font-size: 13px;
  line-height: 1.65;
}

.card {
  position: relative;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: clamp(24px, 4vw, 34px);
  margin-bottom: 22px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196,181,253,.72), transparent);
}

h1 {
  margin: 0 0 14px;
  color: #f8fafc;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

h2 {
  margin: 30px 0 12px;
  color: #f8fafc;
  font-size: clamp(20px, 2.5vw, 24px);
  letter-spacing: -0.025em;
}

p,
li {
  color: var(--muted);
  line-height: 1.68;
  font-size: 16px;
}

ul {
  margin: 12px 0 18px;
  padding-left: 1.25rem;
}

li {
  margin: 8px 0;
}

.highlight {
  display: inline;
  background: linear-gradient(135deg, var(--accent), #6d28d9);
  color: white;
  padding: 3px 8px;
  border-radius: 7px;
  font-weight: 700;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

a {
  color: var(--link);
  text-decoration: none;
  transition: color .18s ease, text-decoration-color .18s ease;
}

a:hover,
a:focus {
  color: var(--link-hover);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

code {
  display: inline-block;
  background: rgba(2, 6, 23, .82);
  color: #dbeafe;
  border: 1px solid rgba(148, 163, 184, .14);
  padding: 3px 7px;
  border-radius: 7px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: .94em;
}

.footer {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 1000;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-top: 1px solid var(--border);
  background: rgba(2, 6, 23, .9);
  color: var(--subtle);
  padding: 12px 18px;
  backdrop-filter: blur(12px);
  box-shadow: 0 -12px 38px rgba(0,0,0,.32);
}

.footer a {
  margin: 0 4px;
  color: var(--link);
}

[id] {
  scroll-margin-top: 20px;
  scroll-margin-bottom: 96px;
}

@media (max-width: 700px) {
  body {
    padding-bottom: 120px;
  }

  .container {
    width: min(100% - 28px, 940px);
    padding-top: 26px;
  }

  .lang-switch {
    align-items: flex-start;
    gap: 12px;
  }

  .brand-top,
  .lang-switch > div {
    padding: 8px 11px;
  }

  .trust {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer {
    flex-wrap: wrap;
    font-size: 14px;
    min-height: 68px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  a {
    transition: none;
  }
}
