/* ===========================================================
   Leometric — shared site styles
   Merged from the original Stitch mockups (Deep Space system)
   =========================================================== */

body {
  background-color: #051424;
  color: #d4e4fa;
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

/* Material Symbols default weight */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  user-select: none;
}

/* ---------- Glass surfaces ---------- */
.glass-panel {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.glass-panel:hover {
  border-color: #adc6ff;
  box-shadow: 0 0 20px rgba(173, 198, 255, 0.15);
}

/* Portfolio-style card (lighter tint + lift on hover) */
.glass-card {
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.glass-card:hover {
  border-color: #adc6ff;
  box-shadow: 0 0 20px rgba(173, 198, 255, 0.15);
  transform: translateY(-4px);
}

/* Explicit hover-lift helper used on service/methodology cards */
.hover-lift:hover {
  transform: translateY(-4px);
}

.glow-hover:hover {
  border-color: #adc6ff;
  box-shadow: 0 0 15px rgba(173, 198, 255, 0.2);
  transition: all 0.3s ease;
}

/* Animated gradient outline on hover */
.glow-border {
  position: relative;
}
.glow-border::after {
  content: '';
  position: absolute;
  inset: -1px;
  background: linear-gradient(45deg, transparent, rgba(173, 198, 255, 0.3), transparent);
  z-index: -1;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.glow-border:hover::after {
  opacity: 1;
}

/* ---------- Text treatments ---------- */
.text-gradient {
  background: linear-gradient(135deg, #c3c6d7 0%, #adc6ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.glow-text {
  text-shadow: 0 0 12px rgba(173, 198, 255, 0.5);
}

/* ---------- Layout helpers ---------- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}
@media (max-width: 768px) {
  .bento-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

.bg-mesh {
  background-image:
    radial-gradient(at 0% 0%, rgba(99, 102, 241, 0.1) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(34, 211, 238, 0.1) 0px, transparent 50%);
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Animations ---------- */
@keyframes subtle-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.animate-float {
  animation: subtle-float 6s ease-in-out infinite;
}

/* ---------- Mobile nav drawer ---------- */
#mobile-menu {
  transition: opacity 0.25s ease, transform 0.25s ease;
}
#mobile-menu.hidden {
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
}

/* ---------- Form toast ---------- */
#form-toast {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .animate-float { animation: none; }
  * { scroll-behavior: auto !important; }
}
