/* Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100vw;
  background: transparent;
  border: none;
  box-shadow: none;
  z-index: 100;
  padding: 16px;
  box-sizing: border-box;
}
.floating-nav {
  width: 100%;
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: clamp(16px, 4vw, 40px);
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  background: rgba(31, 31, 31, 0.9);
  border: 1px solid var(--border);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
  border-radius: 999px;
  padding: 10px clamp(16px, 4vw, 28px);
  backdrop-filter: blur(10px);
}
.logo {
  font-weight: 600;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  font-size: clamp(18px, 3vw, 22px);
  flex-shrink: 0;
}
.links {
  display: flex;
  gap: clamp(14px, 3vw, 28px);
  margin-left: auto;
  margin-bottom: 0;
  flex-wrap: wrap;
}
.links a {
  color: var(--muted);
  text-decoration: none;
  font-size: clamp(13px, 1.6vw, 14px);
  transition: color 0.2s ease;
  font-weight: 500;
  position: relative;
}
.links a:hover {
  color: var(--accent-primary);
}
.links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.2s ease;
}
.links a:hover::after {
  width: 100%;
}

/* Dropdown Navigation */
.nav-dropdown {
  position: relative;
}
.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}
.dropdown-toggle i {
  font-size: 10px;
  transition: transform 0.2s ease;
}
.nav-dropdown:hover .dropdown-toggle i {
  transform: rotate(180deg);
}
.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(31, 31, 31, 0.95);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
}
.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  color: var(--muted);
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s ease;
  font-size: 14px;
}
.dropdown-menu a:hover {
  background: var(--bg-secondary);
  color: var(--accent-primary);
}
.dropdown-menu a::after {
  display: none;
}
.dropdown-menu i {
  color: var(--accent);
  font-size: 14px;
}

.nav-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.search {
  padding: 8px 12px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
  min-width: min(240px, 100%);
}

/* Content areas */
.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: clamp(32px, 8vw, 64px) 0;
  min-height: clamp(280px, 60vh, 440px);
  background-image: url("/abc-site/assets/images/blocks.svg");
  background-size: auto 100%;
  background-position: left center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(13, 13, 13, 0.85) 0%,
    rgba(13, 13, 13, 0.7) 100%
  );
  pointer-events: none;
}
.hero-card {
  width: 100%;
  padding: clamp(28px, 6vw, 48px);
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  z-index: 1;
}
.hero-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}
.hero-card h1 {
  margin: 0 0 12px;
  font-size: clamp(32px, 6vw, 48px);
  color: var(--text);
  font-weight: 700;
  line-height: 1.2;
}
.hero-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.6;
  max-width: 680px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(16px, 3vw, 24px);
}
.section h2 + p {
  color: var(--text-secondary);
  font-size: clamp(14px, 2vw, 16px);
  margin-top: 8px;
  margin-bottom: clamp(16px, 3vw, 24px);
}

/* Footer - sticky to bottom */
footer {
  margin-top: auto;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 32px 16px clamp(28px, 5vw, 40px);
  width: 100%;
}
.floating-footer {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: clamp(24px, 6vw, 60px);
  color: var(--text-secondary);
  font-size: 14px;
  flex-wrap: wrap;
  background: rgba(31, 31, 31, 0.9);
  border: 1px solid var(--border);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
  border-radius: 24px;
  padding: clamp(24px, 4vw, 32px);
  backdrop-filter: blur(10px);
}

@media (max-width: 1024px) {
  .nav-inner {
    gap: 18px;
  }
  .links {
    gap: 16px;
  }
  .hero {
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  header {
    padding: 12px 16px;
  }
  .nav-inner {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  .links {
    margin-left: 0;
    flex-direction: column;
    gap: 12px;
  }
  .nav-actions {
    flex-direction: column;
    width: 100%;
  }
  .search {
    width: 100%;
  }
  .container {
    margin: 140px auto 0;
    padding: 16px;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
