h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

h1 {
  font-size: 4rem;
  margin-bottom: 2.5rem;
  letter-spacing: -0.03em;
}
h2 {
  font-size: 2.8rem;
  margin-bottom: 2rem;
}
h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}
h4 {
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
}

.gradient-text {
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-bg {
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
}

.section {
  margin-bottom: 100px;
  padding: 50px;
  background-color: var(--card-bg);
  border-radius: 16px;
  box-shadow: 0 12px 24px var(--shadow-color);
  border: 1px solid var(--border);
  width: 100%;
  box-sizing: border-box;
}

.subsection {
  margin-top: 50px;
  margin-bottom: 40px;
}

.token-chart {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 50px;
}

.token-item {
  padding: 25px;
  background-color: var(--highlight-bg);
  border-radius: 10px;
  text-align: center;
  color: var(--light-text);
  box-shadow: 0 6px 12px var(--shadow-color);
  border: 1px solid var(--border);
}

.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.timeline::after {
  content: "";
  position: absolute;
  width: 2px;
  background-color: var(--border);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -1px;
}

.timeline-item {
  padding: 10px 50px;
  position: relative;
  width: 50%;
  box-sizing: border-box;
}

.timeline-item::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  right: -10px;
  background-color: var(--background);
  border: 4px solid var(--accent);
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

.timeline-item.left {
  left: 0;
}

.timeline-item.right {
  left: 50%;
}

.timeline-item.right::after {
  left: -10px;
}

.timeline-content {
  padding: 30px;
  background-color: var(--highlight-bg);
  position: relative;
  border-radius: 10px;
  color: var(--light-text);
  box-shadow: 0 6px 12px var(--shadow-color);
  border: 1px solid var(--border);
}

.feature-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 35px;
  margin-bottom: 30px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 8px 16px var(--shadow-color);
  border: 1px solid var(--border);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px var(--shadow-color);
}

.header {
  padding: 120px 0 100px;
}

.sticky-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(10, 10, 21, 0.98);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
  padding: 12px 0;
  transition: background-color 0.3s ease;
}

.sticky-nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 101;
  padding: 10px;
  margin: -10px;
  transition: all 0.3s ease;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: white;
  transition: all 0.3s ease-in-out;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -5px);
}

.sticky-nav .nav-links {
  display: none;
  flex-direction: column;
  width: 100%;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: rgba(10, 10, 21, 0.98);
  padding: 10px 40px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease-in-out;
  overflow-y: auto;
  max-height: calc(100vh - 60px);
  z-index: 99;
  border-radius: 0 0 10px 10px;
  border-top: 1px solid rgba(139, 92, 246, 0.3);
}

.sticky-nav .nav-links.active {
  display: flex !important;
}

.sticky-nav .nav-links li {
  margin: 10px 0;
}

.mobile-language-selector {
  width: 100%;
  padding-bottom: 15px;
  margin-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#language-selector-mobile {
  width: 100%;
  max-width: 200px;
  font-weight: bold;
}

.sticky-nav .nav-links a {
  color: var(--light-text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease, text-shadow 0.3s ease;
  font-size: 1rem;
  padding: 10px 0;
  width: 100%;
  display: block;
  position: relative;
}

.sticky-nav .nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-light);
  transition: width 0.3s ease;
}

.sticky-nav .nav-links a:hover {
  color: var(--primary-light);
  text-shadow: 0 0 10px var(--primary-light);
}

.sticky-nav .nav-links a:hover::after {
  width: 100%;
}

.footer {
  background-color: #05050a;
  color: white;
  padding: 80px 0;
  margin-top: 100px;
}

.footer a {
  color: var(--light-text);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--primary);
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--background);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-dark);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 30px rgba(0, 119, 204, 0.6);
}

p {
  margin-top: 20px;
}
ul,
ol {
  list-style: number;
  padding-left: 22px;
}
ul ul,
ol ol,
ol ul {
  list-style: circle !important;
}

li {
  margin-top: 10px;
}

@media (max-width: 768px) {
  .section {
    padding: 30px 15px;
    margin-bottom: 60px;
  }
  .feature-card {
    padding: 20px 15px;
  }
  h1 {
    font-size: 2.5rem;
  }
  h2 {
    font-size: 2rem;
  }
  h3 {
    font-size: 1.5rem;
  }
  .container {
    padding: 0 20px;
  }
  .timeline::after {
    left: 31px;
  }
  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }
  .timeline-item.right {
    left: 0%;
  }
  .timeline-item.left::after,
  .timeline-item.right::after {
    left: 22px;
  }
  .sticky-nav .logo {
    font-size: 1.2rem;
  }
}
