@charset "UTF-8";

/* d7 Fonts */
@font-face {
  font-family:'DM Sans';
  src:url('./fonts/dm-sans-regular.woff2') format('woff2');
  font-weight:300 400;
  font-style:normal;
  font-display:swap;
}

@font-face {
  font-family:'DM Sans';
  src:url('./fonts/dm-sans-medium.woff2') format('woff2');
  font-weight:500;
  font-style:normal;
  font-display:swap;
}

:root{
  --bg:#020202;
  --surface:#070707;
  --border:rgba(255,255,255,.16);
  --accent:#77ddff;
  --text:#ffffff;
  --muted:#d7d7d7;
  --font-body:'DM Sans',sans-serif;
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:var(--font-body);
  background:
    linear-gradient(180deg,#020202 0%,#0b0b0b 45%,#020202 100%);
  color:var(--text);
  -webkit-font-smoothing:antialiased;
}

/* Navigation */
.nav{
  position:sticky;
  top:0;
  z-index:100;
  height:78px;
  padding:0 clamp(1rem,4vw,4rem);
  display:flex;
  justify-content:space-between;
  align-items:center;
  background:rgba(0,0,0,.92);
  backdrop-filter:blur(12px);
  border-bottom:1px solid var(--border);
}

.nav-left{
  display:flex;
  align-items:center;
  gap:16px;
}

.logo{
  width:72px;
  height:72px;
  border-radius:50%;
  object-fit:cover;
  border:1px solid rgba(119,221,255,.9);
  box-shadow:
    0 0 22px rgba(119,221,255,.45),
    0 0 60px rgba(119,221,255,.15);
}

.brand{
  font-size:38px;
  font-weight:500;
  letter-spacing:-0.05em;
  color:#fff;
  text-shadow:
    0 0 10px rgba(119,221,255,.35),
    0 0 30px rgba(119,221,255,.18);
}

.links{
  display:flex;
  align-items:center;
  gap:28px;
  flex-wrap:wrap;
}

.links a{
  color:#fff;
  text-decoration:none;
  font-size:15px;
  transition:all .2s ease;
}

.links a:hover{
  color:var(--accent);
}



.language-switch{
  display:flex;
  align-items:center;
  gap:6px;
  font-size:13px;
  color:var(--muted);
}

.language-switch a{
  color:var(--muted);
  text-decoration:none;
  border:1px solid rgba(255,255,255,.24);
  border-radius:4px;
  padding:6px 8px;
  line-height:1;
  background:#050505;
}

.language-switch a.active,
.language-switch a:hover{
  color:#fff;
  border-color:var(--accent);
  box-shadow:0 0 10px rgba(119,221,255,.2);
}

/* Content */
.page{
  max-width:980px;
  margin:0 auto;
  padding:90px 24px;
}

h1{
  font-size:clamp(48px,7vw,84px);
  line-height:.95;
  letter-spacing:-0.06em;
  font-weight:500;
  margin-bottom:32px;
  color:#fff;

  text-shadow:
    0 0 12px rgba(119,221,255,.40),
    0 0 34px rgba(119,221,255,.18);
}

h2{
  margin-top:54px;
  margin-bottom:14px;
  font-size:28px;
  font-weight:500;
  letter-spacing:-0.03em;
  color:#fff;
}

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

ul{
  padding-left:22px;
}

/* Links */
a,
a:visited{
  color:#ffffff;
  text-decoration:none;
  transition:color .2s ease;
}

a:hover{
  color:var(--accent);
}

/* Glow Scroll Top */
.to-top{
  position:fixed;
  right:22px;
  bottom:22px;
  width:54px;
  height:54px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#050505;
  border:1px solid var(--accent);
  color:#fff;
  text-decoration:none;
  font-size:24px;

  box-shadow:
    0 0 18px rgba(119,221,255,.35),
    0 0 40px rgba(119,221,255,.16);

  z-index:999;

  transition:
    transform .2s ease,
    box-shadow .2s ease;
}

.to-top:hover{
  transform:translateY(-3px);

  box-shadow:
    0 0 24px rgba(119,221,255,.5),
    0 0 52px rgba(119,221,255,.28);
}

/* Mobile */
@media(max-width:760px){

  .nav{
    height:auto;
    min-height:72px;
    padding:1rem;
    gap:16px;
    flex-wrap:wrap;
  }

  .brand{
    font-size:30px;
  }

  .links{
    width:100%;
    justify-content:center;
    gap:18px;
  }

  .language-switch{
    font-size:12px;
    gap:4px;
  }

  .language-switch a{
    padding:6px 7px;
  }

  .page{
    padding:60px 20px;
  }

  h1{
    font-size:52px;
  }

  h2{
    font-size:24px;
  }

  p,
  li{
    font-size:15px;
  }
}
@media(max-width:680px){

  h1{
    font-size:clamp(34px,9vw,52px) !important;
    line-height:1.05 !important;
    letter-spacing:-0.04em !important;
    overflow-wrap:anywhere;
    word-break:break-word;
    hyphens:auto;
  }
}