/* Base palette inspired by deep navy blues */
:root {
  --bg: #0b132b;
  --panel: #1c2541;
  --accent: #274690;
  --accent-2: #576ca8;
  --text: #e8f0fe;
  --muted: #b7c1d9;
  --success: #2bbf6a;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: linear-gradient(180deg, #0b132b 0%, #0f1a3a 35%, #0b132b 100%);
}

.site-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px; position: sticky; top: 0; backdrop-filter: blur(6px);
  background: rgba(12, 19, 43, 0.6); border-bottom: 1px solid rgba(255,255,255,0.08);
  z-index: 10;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { height: 36px; width: auto; filter: drop-shadow(0 4px 16px rgba(0,0,0,0.4)); }
.brand-name { font-weight: 700; letter-spacing: 0.3px; }

.lang-switch { display: flex; align-items: center; gap: 6px; }
.btn-lang { background: none; border: none; color: var(--muted); font-weight: 600; cursor: pointer; padding: 6px 8px; }
.btn-lang.active { color: var(--text); text-decoration: underline; text-underline-offset: 6px; }
.divider { color: var(--muted); }

main { max-width: 980px; margin: 0 auto; padding: 24px; }

.hero { display: grid; place-items: center; text-align: center; gap: 16px; padding: 48px 0 24px; }
.logo-stage { position: relative; width: min(520px, 90vw); }
.logo-animated { width: 100%; height: auto; opacity: 0; transform: translateY(8px) scale(0.98); animation: logoIn 900ms ease-out forwards; }
#pixelEmitter { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
@keyframes logoIn { to { opacity: 1; transform: translateY(0) scale(1); } }

.hero-title { font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-weight: 800; }
.hero-sub { color: var(--muted); }
.btn-primary { display: inline-block; margin-top: 6px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: white; border: none; border-radius: 10px; padding: 12px 18px; font-weight: 700; text-decoration: none; box-shadow: 0 8px 24px rgba(39,70,144,0.35); transition: transform 120ms ease, box-shadow 120ms ease; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(39,70,144,0.45); }

.section { background: rgba(28,37,65,0.6); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 20px; margin: 16px 0; }
.section-title { margin: 0 0 8px; font-size: 1.4rem; }
.section-text { margin: 6px 0 0; line-height: 1.6; }
.section-text.muted { color: var(--muted); }

.contact-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 2fr; gap: 8px 12px; }
.contact-list .label { color: var(--muted); }
.contact-list .value { font-weight: 600; }
.contact-list .link { color: #9fc1ff; text-decoration: none; }
.contact-list .link:hover { text-decoration: underline; }

.note { margin-top: 12px; padding: 12px; border-left: 3px solid var(--accent); background: rgba(39,70,144,0.12); color: var(--text); }

.status .section-text { color: var(--muted); }

.site-footer { text-align: center; padding: 24px; color: var(--muted); }

/* Pixel particles to echo the logo's squares */
.pixel {
  position: absolute; width: 8px; height: 8px;
  background: #102a58; border-radius: 2px; opacity: 0; filter: drop-shadow(0 0 8px rgba(159,193,255,0.35));
  animation: drift 2200ms ease-out forwards;
}
.pixel.alt { background: #274690; }
@keyframes drift {
  0% { transform: translate(var(--x-start), var(--y-start)) scale(0.7); opacity: 0; }
  10% { opacity: 1; }
  100% { transform: translate(calc(var(--x-start) + var(--x-travel)), calc(var(--y-start) + var(--y-travel))) scale(1); opacity: 0; }
}

@media (max-width: 640px) {
  .contact-list { grid-template-columns: 1fr; }
}
