@font-face {
  font-family: 'Axiforma';
  src: url('https://fonts.cdnfonts.com/s/95228/Axiforma-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Axiforma';
  src: url('https://fonts.cdnfonts.com/s/95228/Axiforma-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #050505;
  --text: #f5f5f7;
  --muted: #a1a1a6;
  --muted-2: #6e6e73;
  --glass-bg: rgba(255, 255, 255, 0.06);
  --glass-bg-hover: rgba(255, 255, 255, 0.10);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-border-hover: rgba(255, 255, 255, 0.22);
  --glass-highlight: rgba(255, 255, 255, 0.25);
  --radius: 22px;
}

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

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Axiforma', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100dvh;
  overflow-x: hidden;
}

/* Living backdrop behind the glass */
body {
  position: relative;
  padding: 28px 18px 40px;
  display: flex;
  justify-content: center;
  background:
    radial-gradient(closest-side at 20% 10%, #3a3a3d 0%, transparent 60%),
    radial-gradient(closest-side at 85% 25%, #2a2a2d 0%, transparent 55%),
    radial-gradient(closest-side at 50% 95%, #1a1a1c 0%, transparent 60%),
    #050505;
}
body::before, body::after {
  content: "";
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .55;
  pointer-events: none;
  z-index: 0;
  animation: drift 18s ease-in-out infinite alternate;
}
body::before {
  width: 420px; height: 420px;
  background: radial-gradient(circle, #9a9a9f, transparent 60%);
  top: -120px; left: -80px;
}
body::after {
  width: 380px; height: 380px;
  background: radial-gradient(circle, #4a4a4d, transparent 60%);
  bottom: -140px; right: -100px;
  animation-delay: -9s;
}
@keyframes drift {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, 30px) scale(1.1); }
}

.noise {
  position: fixed; inset: 0; pointer-events: none; z-index: 1;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.05 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: .6;
  mix-blend-mode: overlay;
}

.container {
  width: 100%;
  max-width: 440px;
  position: relative;
  z-index: 2;
  animation: fadeUp .9s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Reusable glass surface */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  position: relative;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.08) inset,
    0 -1px 0 rgba(255,255,255,0.03) inset,
    0 10px 30px rgba(0,0,0,0.35);
}
/* specular top highlight */
.glass::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.10), transparent);
  pointer-events: none;
  border-radius: inherit;
}

/* LANG SWITCH */
.lang-switch {
  display: flex;
  justify-content: center;
  gap: 4px;
  padding: 4px;
  margin: 0 auto 22px;
  width: max-content;
  border-radius: 999px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 rgba(255,255,255,0.08) inset, 0 8px 20px rgba(0,0,0,0.3);
}
.lang-btn {
  font-family: inherit;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--muted);
  background: transparent;
  border: none;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: color .25s ease, background .25s ease;
}
.lang-btn:hover { color: var(--text); }
.lang-btn.active {
  color: #0a0a0a;
  background: linear-gradient(180deg, #ffffff 0%, #d8d8dc 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,0.7) inset, 0 4px 12px rgba(0,0,0,0.25);
}

/* BRAND */
.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 20px 32px;
  margin-bottom: 28px;
  border-radius: 28px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  position: relative;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.10) inset,
    0 -1px 0 rgba(255,255,255,0.03) inset,
    0 12px 40px rgba(0,0,0,0.4);
}
.brand::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 55%;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), transparent);
  pointer-events: none;
  border-radius: inherit;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  color: var(--muted);
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}
.brand-logo {
  font-weight: 700;
  font-size: clamp(64px, 18vw, 96px);
  line-height: .9;
  letter-spacing: -0.035em;
  background: linear-gradient(180deg, #ffffff 0%, #b8b8bd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  z-index: 1;
}
.brand-sub {
  margin-top: 10px;
  font-size: clamp(16px, 4.5vw, 22px);
  font-weight: 400;
  color: var(--muted);
  letter-spacing: -0.01em;
  position: relative;
  z-index: 1;
}
.brand-est {
  margin-top: 22px;
  font-size: 10.5px;
  letter-spacing: .32em;
  color: var(--muted-2);
  font-weight: 700;
  position: relative;
  z-index: 1;
}
.dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #9effa5;
  box-shadow: 0 0 10px #9effa5, 0 0 2px #9effa5;
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; }
  50% { opacity: .4; }
}

/* HERO */
.hero { margin: 0 4px 28px; text-align: center; }
.hero-desc {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  max-width: 92%;
  margin: 0 auto;
}

/* LINKS */
.links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  color: var(--text);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform .3s cubic-bezier(.2,.7,.2,1),
              background .3s ease,
              border-color .3s ease,
              box-shadow .3s ease;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.10) inset,
    0 -1px 0 rgba(255,255,255,0.03) inset,
    0 8px 24px rgba(0,0,0,0.3);
}
/* top sheen */
.link::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 55%;
  background: linear-gradient(180deg, rgba(255,255,255,0.10), transparent);
  pointer-events: none;
  border-radius: inherit;
}
/* moving shine */
.link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 40%, rgba(255,255,255,0.14) 50%, transparent 60%);
  transform: translateX(-120%);
  transition: transform .9s ease;
  pointer-events: none;
}
.link:hover::before { transform: translateX(120%); }
.link:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.18) inset,
    0 -1px 0 rgba(255,255,255,0.04) inset,
    0 14px 34px rgba(0,0,0,0.45);
}
.link:active { transform: translateY(0) scale(.99); }

.link.primary {
  background: linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(230,230,235,0.78) 100%);
  color: #0a0a0a;
  border-color: rgba(255,255,255,0.6);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.9) inset,
    0 -1px 0 rgba(0,0,0,0.1) inset,
    0 14px 34px rgba(0,0,0,0.35);
}
.link.primary:hover {
  background: linear-gradient(180deg, #ffffff 0%, #ececf0 100%);
  border-color: rgba(255,255,255,0.8);
}
.link.primary .link-meta { color: rgba(10,10,10,.55); }
.link.primary .link-icon {
  background: rgba(0,0,0,0.06);
  border-color: rgba(0,0,0,0.1);
}
.link.primary::after {
  background: linear-gradient(180deg, rgba(255,255,255,0.5), transparent);
}

.link-left {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 1;
}
.link-icon {
  width: 42px; height: 42px;
  border-radius: 13px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 1px 0 rgba(255,255,255,0.15) inset;
}
.link-icon svg { width: 20px; height: 20px; }
.link-texts { display: flex; flex-direction: column; gap: 3px; }
.link-title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.005em;
}
.link-meta {
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: .02em;
}
.link-arrow {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  opacity: .7;
  transition: transform .3s ease, opacity .3s ease;
  position: relative;
  z-index: 1;
}
.link-arrow svg { width: 16px; height: 16px; }
.link:hover .link-arrow { transform: translateX(4px); opacity: 1; }

/* SOCIALS */
.socials {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
}
.social {
  width: 50px; height: 50px;
  border-radius: 16px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  transition: all .3s cubic-bezier(.2,.7,.2,1);
  position: relative;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.12) inset,
    0 8px 20px rgba(0,0,0,0.3);
}
.social::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 55%;
  background: linear-gradient(180deg, rgba(255,255,255,0.12), transparent);
  pointer-events: none;
  border-radius: inherit;
}
.social svg { width: 20px; height: 20px; position: relative; z-index: 1; }
.social:hover {
  color: var(--text);
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  transform: translateY(-3px);
}

/* FOOTER */
.footer { margin-top: 8px; }
.foot-line {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--glass-border), transparent);
  margin-bottom: 16px;
}
.foot-row {
  display: flex;
  justify-content: space-between;
  font-size: 10.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted-2);
}

@media (max-width: 380px) {
  .hero-title { font-size: 36px; }
  .link { padding: 14px 14px; }
  .link-icon { width: 38px; height: 38px; }
}

/* Fallback when backdrop-filter not supported */
@supports not (backdrop-filter: blur(10px)) {
  .glass, .link, .social, .header {
    background: rgba(30,30,32,0.85);
  }
}
