/* Dotted Surface — lightweight Canvas 2D port of Three.js DottedSurface */

.dotted-surface-wrap {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  background: var(--base-bg, #0C0C0E);
}

.dotted-surface {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.dotted-surface canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.dotted-surface-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 20px 0 100px;
}

.dotted-surface-content .nav {
  margin-bottom: 60px;
}

.dotted-surface-content .nav .btn-sm {
  padding: 5px 14px;
  font-size: 12px;
}

@media (max-width: 768px) {
  .dotted-surface-content {
    padding: 12px 0 80px;
  }
  .dotted-surface-content .nav {
    margin-bottom: 40px;
  }
  .dotted-surface-content h1 {
    font-size: 36px;
  }
}

.dotted-surface-content h1 {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.06;
  max-width: 720px;
  margin: 0 auto 24px;
  letter-spacing: -0.04em;
  color: #ffffff;
}

.dotted-surface-content h1 span {
  color: #ffffff;
  text-shadow: 0 0 60px rgba(255, 255, 255, 0.15), 0 0 120px rgba(255, 255, 255, 0.05);
}

.dotted-surface-content p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

/* Hero CTA — glassmorphism with rotating logo icon */
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  border: none;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.hero-cta:hover {
  background: rgba(255, 255, 255, 0.06);
}

.hero-cta:active {
  transform: scale(0.97);
}

.hero-cta-icon {
  transform: rotate(90deg);
  filter: invert(0.1);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-cta:hover .hero-cta-icon,
.hero-cta:active .hero-cta-icon {
  transform: rotate(0deg);
  filter: invert(0.1);
}
