/* ── Custom geometric shapes ── */
.geo-shape {
  position: absolute;
  opacity: 0.4;
  pointer-events: none;
}

.geo-circle-1 {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 2px solid rgba(45, 212, 191, 0.1);
  top: 10%;
  left: -100px;
  animation: float 8s ease-in-out infinite;
}

.geo-circle-2 {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(13, 148, 136, 0.08);
  top: 30%;
  right: 5%;
  animation: float 6s ease-in-out infinite reverse;
}

.geo-circle-3 {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 2px solid rgba(45, 212, 191, 0.08);
  bottom: -50px;
  right: -50px;
  animation: float 10s ease-in-out infinite;
}

.geo-circle-4 {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: rgba(13, 148, 136, 0.06);
  top: 20%;
  left: -80px;
  animation: float 7s ease-in-out infinite reverse;
}

.geo-circle-5 {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.1);
  top: -40px;
  right: 10%;
  animation: float 5s ease-in-out infinite;
}

.geo-circle-6 {
  width: 350px;
  height: 350px;
  border-radius: 50%;
  border: 2px solid rgba(45, 212, 191, 0.06);
  bottom: -100px;
  left: -100px;
  animation: float 9s ease-in-out infinite reverse;
}

.geo-square-1 {
  width: 120px;
  height: 120px;
  background: rgba(13, 148, 136, 0.06);
  top: 20%;
  right: 15%;
  transform: rotate(45deg);
  animation: spin 20s linear infinite;
}

.geo-square-2 {
  width: 80px;
  height: 80px;
  border: 2px solid rgba(45, 212, 191, 0.15);
  bottom: 20%;
  left: 10%;
  transform: rotate(30deg);
  animation: spin 15s linear infinite reverse;
}

.geo-square-3 {
  width: 100px;
  height: 100px;
  background: rgba(13, 148, 136, 0.05);
  bottom: 10%;
  right: -30px;
  transform: rotate(45deg);
  animation: spin 18s linear infinite;
}

.geo-triangle-1 {
  width: 0;
  height: 0;
  border-left: 60px solid transparent;
  border-right: 60px solid transparent;
  border-bottom: 104px solid rgba(45, 212, 191, 0.06);
  top: 40%;
  right: 8%;
  animation: float 6s ease-in-out infinite;
}

.geo-triangle-2 {
  width: 0;
  height: 0;
  border-left: 50px solid transparent;
  border-right: 50px solid transparent;
  border-bottom: 86px solid rgba(45, 212, 191, 0.05);
  bottom: 30%;
  left: 5%;
  animation: float 8s ease-in-out infinite reverse;
}

.geo-dots {
  width: 120px;
  height: 120px;
  background-image: radial-gradient(circle, rgba(45, 212, 191, 0.3) 1px, transparent 1px);
  background-size: 12px 12px;
  top: 60%;
  right: 3%;
  animation: float 7s ease-in-out infinite;
}

.geo-diamond {
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.03);
  border: 2px solid rgba(255, 255, 255, 0.08);
  top: 20%;
  left: 15%;
  transform: rotate(45deg);
  animation: spin 12s linear infinite;
}

/* ── Animations ── */
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(2deg); }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ── Service cards ── */
.service-card {
  position: relative;
  will-change: transform;
}

.service-card:hover {
  transform: translateY(-4px);
}

/* ── Mobile menu ── */
.mobile-link {
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.mobile-menu-open .mobile-link {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu-open .mobile-link:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu-open .mobile-link:nth-child(2) { transition-delay: 0.1s; }
.mobile-menu-open .mobile-link:nth-child(3) { transition-delay: 0.15s; }
.mobile-menu-open .mobile-link:nth-child(4) { transition-delay: 0.2s; }
.mobile-menu-open .mobile-link:nth-child(5) { transition-delay: 0.25s; }

/* ── Navbar scroll state ── */
.nav-scrolled {
  background: rgba(2, 6, 23, 0.9) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(45, 212, 191, 0.1);
}

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Smooth scroll ── */
html {
  scroll-behavior: smooth;
}

/* ── Selection color ── */
::selection {
  background: rgba(45, 212, 191, 0.3);
  color: #f0fdfa;
}

/* ── Custom scrollbar ── */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0f172a;
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #334155;
}
