/* AI Prishtina — coming soon. Brand tokens mirror the main site (dark theme). */

@font-face {
  font-family: "Inter Variable";
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2190-2193, U+2212, U+2215, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter Variable";
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  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: "Montserrat Variable";
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  src: url("/assets/fonts/montserrat-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2190-2193, U+2212, U+2215, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Montserrat Variable";
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  src: url("/assets/fonts/montserrat-latin-wght-normal.woff2") format("woff2-variations");
  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;
}

:root {
  --bg: #23242b;
  --bg-deep: #1a1b21;
  --fg: #eef1f7;
  --muted: #a7acbd;
  --border: #3a3c49;
  --blue: #7db9f2;
  --gold: #f3c36b;
  --radius: 20px;
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  font-family: "Inter Variable", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--fg);
  background:
    radial-gradient(120% 90% at 50% 0%, var(--bg) 0%, var(--bg-deep) 78%);
  overflow-x: hidden;
}

::selection { background: rgba(125, 185, 242, 0.35); }

#net {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.aurora {
  position: fixed;
  inset: -20%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(38% 30% at 30% 22%, rgba(125, 185, 242, 0.16), transparent 70%),
    radial-gradient(34% 28% at 72% 30%, rgba(243, 195, 107, 0.13), transparent 70%),
    radial-gradient(50% 38% at 50% 88%, rgba(125, 185, 242, 0.10), transparent 70%);
  animation: aurora-drift 26s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes aurora-drift {
  0%   { transform: translate3d(-2.5%, -1.5%, 0) scale(1); }
  50%  { transform: translate3d(2%, 1.5%, 0) scale(1.04); }
  100% { transform: translate3d(-1%, 2.5%, 0) scale(1.02); }
}

/* ---------- header ---------- */

.top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(16px, 3vw, 32px) clamp(20px, 4vw, 48px);
}

.brandline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.brand-emblem { height: 36px; width: auto; flex-shrink: 0; }

.brand-text { display: flex; flex-direction: column; }

.wordmark {
  font-family: "Montserrat Variable", "Inter Variable", system-ui, sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.1em;
}

.wm-ai { color: var(--gold); }
.wm-pr { color: var(--blue); margin-left: 0.5em; }

.tagline {
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
  opacity: 0.85;
}

.tagline-line {
  height: 1px;
  flex: 1;
  background: currentColor;
  opacity: 0.4;
}

.tagline-text {
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.28em;
  white-space: nowrap;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px;
  background: rgba(26, 27, 33, 0.6);
  backdrop-filter: blur(8px);
}

.lang-switch button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease;
}

.lang-switch button[aria-pressed="true"] {
  background: rgba(125, 185, 242, 0.16);
  color: var(--fg);
}

.lang-switch button:hover:not([aria-pressed="true"]) { color: var(--fg); }

/* ---------- hero ---------- */

main {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  padding: 24px clamp(20px, 4vw, 48px) 48px;
}

.hero {
  display: grid;
  justify-items: center;
  text-align: center;
  max-width: 880px;
}

.emblem {
  width: min(46vw, 380px);
  height: auto;
  opacity: 0.95;
  filter: drop-shadow(0 0 34px rgba(125, 185, 242, 0.22));
  animation: emblem-float 9s ease-in-out infinite;
}

@keyframes emblem-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}

.copy { margin-top: clamp(18px, 3.5vh, 40px); }

.eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
}

h1 {
  margin: 0;
  font-family: "Montserrat Variable", "Inter Variable", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(30px, 5.4vw, 56px);
  line-height: 1.12;
  letter-spacing: -0.015em;
  text-wrap: balance;
  background: linear-gradient(100deg, #eef1f7 20%, #b9d6f7 55%, #f3c36b 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sub {
  margin: 18px auto 0;
  max-width: 52ch;
  color: var(--muted);
  font-size: clamp(15px, 1.9vw, 18px);
  line-height: 1.65;
  text-wrap: balance;
}

/* ---------- card ---------- */

@property --spin { syntax: "<angle>"; initial-value: 0deg; inherits: false; }

.card {
  margin-top: clamp(24px, 4.5vh, 44px);
  width: min(480px, 100%);
  margin-inline: auto;
  padding: 1.5px;
  border-radius: var(--radius);
  background:
    conic-gradient(from var(--spin, 0deg),
      rgba(125, 185, 242, 0.65),
      rgba(243, 195, 107, 0.7),
      rgba(125, 185, 242, 0.2) 40%,
      rgba(243, 195, 107, 0.25) 70%,
      rgba(125, 185, 242, 0.65));
  animation: border-spin 7s linear infinite;
}

@keyframes border-spin { to { --spin: 360deg; } }

.card-in {
  border-radius: calc(var(--radius) - 1.5px);
  background: rgba(35, 36, 43, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: clamp(18px, 3vw, 28px) clamp(20px, 4vw, 36px);
}

.card-lead {
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--fg);
  letter-spacing: 0.02em;
}

.ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.cta.primary {
  background: linear-gradient(135deg, var(--gold), #e5a94f);
  color: #2a2111;
  box-shadow: 0 6px 24px rgba(243, 195, 107, 0.25);
}

.cta.primary:hover { transform: translateY(-1px); box-shadow: 0 9px 30px rgba(243, 195, 107, 0.35); }

.cta.ghost {
  color: var(--blue);
  border: 1px solid rgba(125, 185, 242, 0.4);
  background: rgba(125, 185, 242, 0.08);
}

.cta.ghost:hover { background: rgba(125, 185, 242, 0.16); transform: translateY(-1px); }

/* ---------- reveal ---------- */

.reveal { opacity: 0; transform: translateY(16px); animation: rise 900ms cubic-bezier(0.22, 0.9, 0.3, 1) forwards; }
.reveal.d1 { animation-delay: 120ms; }
.reveal.d2 { animation-delay: 300ms; }
.reveal.d3 { animation-delay: 520ms; }
.reveal.d4 { animation-delay: 760ms; }

@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- footer ---------- */

.foot {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 18px clamp(20px, 4vw, 48px) 26px;
  color: var(--muted);
  font-size: 13px;
}

.foot p { margin: 0; }

.foot-links { display: inline-flex; gap: 18px; }

.link {
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  color: var(--muted);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: transparent;
  transition: color 150ms ease, text-decoration-color 150ms ease;
}

.link:hover { color: var(--fg); text-decoration-color: currentColor; }

/* ---------- dialogs ---------- */

dialog {
  max-width: min(560px, calc(100vw - 40px));
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #26272f;
  color: var(--fg);
  padding: 0;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

dialog::backdrop { background: rgba(10, 11, 15, 0.6); backdrop-filter: blur(4px); }

.dlg-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px 0;
}

.dlg-head h2 {
  margin: 0;
  font-family: "Montserrat Variable", "Inter Variable", sans-serif;
  font-size: 18px;
  letter-spacing: 0.04em;
}

.dlg-body { padding: 12px 22px 24px; font-size: 14.5px; line-height: 1.65; color: var(--muted); }
.dlg-body h3 { color: var(--fg); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; margin: 18px 0 6px; }
.dlg-body p { margin: 0 0 10px; }
.dlg-body a { color: var(--blue); }

.close {
  appearance: none;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.close:hover { color: var(--fg); border-color: var(--muted); }

/* ---------- a11y / responsive / motion ---------- */

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (max-width: 767px) {
  .tagline { display: none; }
}

@media (max-width: 639px) {
  .brand-text { display: none; }
}

@media (max-width: 560px) {
  .emblem { width: min(64vw, 280px); }
  .foot { justify-content: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .aurora, .emblem, .card { animation: none; }
}
