@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;460;500;600;700&display=swap');

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

body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 460;
    background-color: #0f0f0f;
    color: white;
    text-align: center;
    height: 100vh;
    overflow-x: hidden;
}

::selection {
  background-color: #b6b6b6;
  color: #1e1e1e;
}

::-moz-selection {
  background-color: #b6b6b6;
  color: #1e1e1e;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    backdrop-filter: blur(30px);
    background-color: rgba(0, 0, 0, 0.3);
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.logo-link {
  display: inline-block;
}

.logo {
    width: 60px;
    height: 60px;
    background-image: url('img/logo.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;

}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links li a {
    color: white;
    font-weight: 400;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: #b6b6b6;
}

.hero {
    position: relative;
    height: 200vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('background.jpg') no-repeat center center/cover;
    opacity: 0.2;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 600;
    z-index: 10;
}

.floating-cards {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 50px;
}

.card {
    width: 200px;
    height: 200px;
    background: #0f0f0f;
    padding: 10px;
    border-radius: 30px;
    box-shadow: 0px 4px 10px rgba(255, 255, 255, 0.1);
    border: 3px solid white;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: border-color 0.3s ease;
}

.card img {
    width: 80%;
    object-fit: contain;
}

.card:hover {
    border-color: #00DDC7;
}

footer {
    background: black;
    padding: 30px 5%;
    text-align: left;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
  overflow: visible;
}

.footer-links a:hover {
  color: #b6b6b6;
}

.footer-links a::before {
  content: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transition: none !important;
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.socials {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
}

.socials img {
    width: auto;
    height: 30px;
}

.footer-logo {
    width: 260px;
    height: 48px;
    background-image: url('img/logo-abc.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.copyright {
    text-align: center;
    margin-top: 20px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    animation: fadeIn 1s ease-out;
}

.docs-container {
    padding: 140px 6% 80px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
    line-height: 1.7;
}

.docs-header {
    color: #d8d8d8;
    text-align: center;
    margin-bottom: 60px;
}

.docs-header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.docs-header .subtitle {
    color: #b6b6b6;
    font-size: 1.1rem;
}

.docs-content h2 {
    font-size: 2rem;
    margin-top: 40px;
    margin-bottom: 10px;
    font-weight: 600;
    color: #e3e3e3;
}

.docs-content h3 {
    font-size: 1.4rem;
    margin-top: 20px;
    margin-bottom: 8px;
    color: #b6b6b6;
}

.docs-content p {
    color: #b3b3b3;
    margin-bottom: 22px;
    font-size: 1.05rem;
}

.docs-content ul, 
.docs-content ol {
    margin-left: 25px;
    margin-bottom: 22px;
    color: #d3d3d3;
}

.docs-content li {
    margin-bottom: 8px;
}

.doc-link {
  color: #93c7e7;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.25s ease;
  position: relative;
}

.doc-link::after {
  content: "";
  display: inline-block;
  width: 0.8em;
  height: 0.8em;
  margin-left: 0px;
  background-color: currentColor;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M0 7V13C0 15.7614 2.23858 18 5 18H11C13.7614 18 16 15.7614 16 13V11C16 10.4477 15.5523 10 15 10C14.4477 10 14 10.4477 14 11V13C14 14.6569 12.6569 16 11 16H5C3.34315 16 2 14.6569 2 13V7C2 5.34315 3.34315 4 5 4H8V2H5C2.23858 2 0 4.23858 0 7Z'/%3E%3Cpath d='M17 0H11C10.4477 0 10 0.447715 10 1C10 1.55228 10.4477 2 11 2H14.5L6.25 10.25C5.83579 10.6642 5.83579 11.3358 6.25 11.75C6.66421 12.1642 7.33579 12.1642 7.75 11.75L16 3.5V7C16 7.55228 16.4477 8 17 8C17.5523 8 18 7.55228 18 7V1C18 0.447715 17.5523 0 17 0Z'/%3E%3C/svg%3E");
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
}

.doc-link:hover {
  color: #747474;
}

.docs-content blockquote {
    border-left: 4px solid #87BFE3;
    padding-left: 15px;
    color: #b6b6b6;
    margin: 20px 0;
    font-style: italic;
}

strong {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}

.email-container {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.email-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  background: none;
  color: #dfdfdf;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.25s ease;
  padding: 0;
}

.email-copy:hover {
  color: rgb(187, 187, 187);
}

.email-text {
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
}

.email-icon {
  width: 1em;
  height: 1em;
  background-color: currentColor;
  mask-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0 9C0 6.79086 1.79086 5 4 5H9C11.2091 5 13 6.79086 13 9V14C13 16.2091 11.2091 18 9 18H4C1.79086 18 0 16.2091 0 14V9ZM4 7C2.89543 7 2 7.89543 2 9V14C2 15.1046 2.89543 16 4 16H9C10.1046 16 11 15.1046 11 14V9C11 7.89543 10.1046 7 9 7H4Z' fill='white'/%3E%3Cpath d='M5 3.2C5 1.43269 6.43269 0 8.2 0H14C16.2091 0 18 1.79086 18 4V9.8C18 11.5673 16.5673 13 14.8 13C14.3582 13 14 12.6418 14 12.2V11.6667C14 11.2985 14.2985 11 14.6667 11C15.403 11 16 10.403 16 9.66667V4C16 2.89543 15.1046 2 14 2H8.33333C7.59695 2 7 2.59695 7 3.33333C7 3.70152 6.70152 4 6.33333 4H5.8C5.35817 4 5 3.64183 5 3.2Z' fill='white'/%3E%3C/svg%3E");
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  transition: transform 0.2s ease;
}

.copy-status {
  position: absolute;
  left: 0;
  bottom: -25px;
  font-size: 0.85em;
  color: #dfdfdf;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.copy-status.visible {
  opacity: 1;
  transform: translateY(0);
}

#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: transparent;
  z-index: 9999;
}

#loader-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #636363, #fff);
  border-radius: 3px;
  transition: width 0.3s ease;
}

body.loading {
  overflow: hidden;
}

body.loading main,
body.loading header,
body.loading footer {
  opacity: 0;
  transition: opacity 0.6s ease;
}

body.loaded main,
body.loaded header,
body.loaded footer {
  opacity: 1;
}

body.loaded {
  animation: fadeInBody 0.8s ease forwards;
}

@keyframes fadeInBody {
  from { opacity: 0; }
  to { opacity: 1; }
}