/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { min-height: 100vh; }

/* ===== GEOMETRIC SHAPES (Hero) ===== */
.geo-shape {
  position: absolute;
  pointer-events: none;
  opacity: 0.12;
}

.shape-circle-1 {
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, #2dd4bf 0%, transparent 70%);
  top: -100px; right: -80px;
  animation: float1 8s ease-in-out infinite;
}

.shape-circle-2 {
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, #0d9488 0%, transparent 70%);
  bottom: 10%; left: 5%;
  animation: float2 10s ease-in-out infinite;
}

.shape-triangle {
  width: 0; height: 0;
  border-left: 100px solid transparent;
  border-right: 100px solid transparent;
  border-bottom: 173px solid #14b8a6;
  top: 20%; left: 8%;
  opacity: 0.08;
  animation: spin1 20s linear infinite;
}

.shape-square {
  width: 120px; height: 120px;
  background: #5eead4;
  border-radius: 20px;
  top: 60%; right: 10%;
  opacity: 0.07;
  transform: rotate(45deg);
  animation: float3 12s ease-in-out infinite;
}

.shape-ring {
  width: 200px; height: 200px;
  border: 3px solid #2dd4bf;
  border-radius: 50%;
  bottom: 20%; right: 20%;
  opacity: 0.1;
  animation: float1 9s ease-in-out infinite reverse;
}

@keyframes float1 {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}
@keyframes float2 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(20px) rotate(5deg); }
}
@keyframes float3 {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(50deg) translateY(-20px); }
}
@keyframes spin1 {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ===== DIM BACKGROUND SHAPES ===== */
.geo-dim {
  position: absolute;
  pointer-events: none;
  opacity: 0.04;
}

.shape-dim-1 {
  width: 500px; height: 500px;
  border-radius: 50%;
  background: #0d9488;
  top: -200px; left: -200px;
}

.shape-dim-2 {
  width: 300px; height: 300px;
  border-radius: 50%;
  background: #14b8a6;
  bottom: -100px; right: -50px;
}

.shape-dim-3 {
  width: 400px; height: 400px;
  border: 3px solid #2dd4bf;
  border-radius: 50%;
  top: 50%; right: -150px;
  transform: translateY(-50%);
}

.shape-dim-4 {
  width: 250px; height: 250px;
  background: #0f766e;
  border-radius: 50%;
  bottom: -80px; left: -80px;
}

.shape-dim-5 {
  width: 350px; height: 350px;
  border: 3px solid #14b8a6;
  border-radius: 50%;
  top: -100px; right: -100px;
}

.shape-dim-6 {
  width: 200px; height: 200px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  top: -50px; left: 10%;
}

/* ===== REVEAL ANIMATIONS (progressive enhancement) ===== */
.reveal-up, .reveal-left, .reveal-right {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-up { transform: translateY(30px); }
.reveal-left { transform: translateX(-30px); }
.reveal-right { transform: translateX(30px); }

.reveal-card {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal-up.is-visible { opacity: 1; transform: translateY(0); }
  .reveal-left.is-visible { opacity: 1; transform: translateX(0); }
  .reveal-right.is-visible { opacity: 1; transform: translateX(0); }
  .reveal-card.is-visible { opacity: 1; transform: translateY(0); }
}

/* Default (no-JS) state: all visible */
.reveal-up, .reveal-left, .reveal-right, .reveal-card {
  opacity: 1;
  transform: none;
}

/* ===== NAVBAR ===== */
#navbar {
  background: transparent;
}

#navbar.scrolled {
  background: rgba(2, 6, 23, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* ===== MOBILE MENU ===== */
.mobile-link {
  display: block;
}

/* ===== UTILITY ===== */
@media (max-width: 640px) {
  .shape-circle-1 { width: 250px; height: 250px; }
  .shape-circle-2 { width: 160px; height: 160px; }
  .shape-triangle { border-left-width: 60px; border-right-width: 60px; border-bottom-width: 104px; }
  .shape-square { width: 80px; height: 80px; }
  .shape-ring { width: 120px; height: 120px; }
}
