/* 
  Momentz Web Services - Primary Stylesheet
  Architecture: Custom Vanilla CSS with utility-first structure
*/

:root {
  /* Core Colors */
  --color-background: #0a0a0c;
  --color-surface: #121216;
  --color-text: #ffffff;
  --color-text-muted: #a1a1aa;

  /* Brand Gradients & Accents */
  --color-accent: #3b82f6;
  /* Electric Blue */
  --color-accent-light: #60a5fa;
  --color-secondary: #8b5cf6;
  /* Neon Purple */

  /* Typography */
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Outfit', system-ui, -apple-system, sans-serif;
}

/* Base Reset & Typography */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-background);
  color: var(--color-text);
  line-height: 1.5;
  overflow-x: hidden;
}

/* Typography Utilities */
.font-inter {
  font-family: var(--font-sans);
}

.font-outfit {
  font-family: var(--font-display);
}

/* Color Utilities */
.text-accent {
  color: var(--color-accent);
}

.text-secondary {
  color: var(--color-secondary);
}

.text-text-muted {
  color: var(--color-text-muted);
}

.bg-background {
  background-color: var(--color-background);
}

.bg-surface {
  background-color: var(--color-surface);
}

.bg-accent {
  background-color: var(--color-accent);
}

/* Background Patterns */
.bg-noise {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Glassmorphism & UI Components */
.glass-nav {
  background: rgba(18, 18, 22, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.glass-card {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Buttons */
.gradient-border {
  position: relative;
  background-clip: padding-box;
}

.gradient-border::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  margin: -1px;
  border-radius: inherit;
  background: linear-gradient(to right, rgba(59, 130, 246, 0.5), rgba(139, 92, 246, 0.5));
}

/* Tailwind-esque Utility Classes (subset built for this project) */
.max-w-7xl {
  max-width: 80rem;
}

.max-w-5xl {
  max-width: 64rem;
}

.max-w-4xl {
  max-width: 56rem;
}

.max-w-2xl {
  max-width: 42rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.w-full {
  width: 100%;
}

.h-full {
  height: 100%;
}

.min-h-\[100svh\] {
  min-height: 100svh;
}

.w-16 {
  width: 4rem;
}

.h-16 {
  height: 4rem;
}

.w-14 {
  width: 3.5rem;
}

.h-14 {
  height: 3.5rem;
}

.w-12 {
  width: 3rem;
}

.h-12 {
  height: 3rem;
}

.w-10 {
  width: 2.5rem;
}

.h-10 {
  height: 2.5rem;
}

.w-8 {
  width: 2rem;
}

.h-8 {
  height: 2rem;
}

.w-6 {
  width: 1.5rem;
}

.h-6 {
  height: 1.5rem;
}

.w-5 {
  width: 1.25rem;
}

.h-5 {
  height: 1.25rem;
}

.h-\[2px\] {
  height: 2px;
}

.w-\[500px\] {
  width: 500px;
}

.h-\[500px\] {
  height: 500px;
}

.w-\[600px\] {
  width: 600px;
}

.h-\[600px\] {
  height: 600px;
}

.w-64 {
  width: 16rem;
}

.h-64 {
  height: 16rem;
}

.w-80 {
  width: 20rem;
}

.h-80 {
  height: 20rem;
}

.flex {
  display: flex;
}

.inline-flex {
  display: inline-flex;
}

.flex-col {
  flex-direction: column;
}

.flex-row {
  flex-direction: row;
}

.hidden {
  display: none;
}

.grid {
  display: grid;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.items-center {
  align-items: center;
}

.items-start {
  align-items: flex-start;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.shrink-0 {
  flex-shrink: 0;
}

.gap-1\.5 {
  gap: 0.375rem;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-8 {
  gap: 2rem;
}

.gap-16 {
  gap: 4rem;
}

.p-8 {
  padding: 2rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-2\.5 {
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
}

.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.py-32 {
  padding-top: 8rem;
  padding-bottom: 8rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-5 {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}

.pt-20 {
  padding-top: 5rem;
}

.pt-32 {
  padding-top: 8rem;
}

.pb-8 {
  padding-bottom: 2rem;
}

.pb-12 {
  padding-bottom: 3rem;
}

.margin-auto {
  margin: auto;
}

.mb-1 {
  margin-bottom: 0.25rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.mb-20 {
  margin-bottom: 5rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mt-auto {
  margin-top: auto;
}

.space-y-8>*+* {
  margin-top: 2rem;
}

.space-y-12>*+* {
  margin-top: 3rem;
}

.-top-20 {
  top: -5rem;
}

.-bottom-20 {
  bottom: -5rem;
}

.-left-20 {
  left: -5rem;
}

.-right-20 {
  right: -5rem;
}

.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}

.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}

.text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}

.text-5xl {
  font-size: 3rem;
  line-height: 1;
}

.text-7xl {
  font-size: 4.5rem;
  line-height: 1;
}

.text-8xl {
  font-size: 6rem;
  line-height: 1;
}

.font-light {
  font-weight: 300;
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: 700;
}

.font-black {
  font-weight: 900;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.tracking-tight {
  letter-spacing: -0.025em;
}

.tracking-tighter {
  letter-spacing: -0.05em;
}

.tracking-wider {
  letter-spacing: 0.05em;
}

.leading-tight {
  line-height: 1.25;
}

.leading-relaxed {
  line-height: 1.625;
}

.leading-\[1\.1\] {
  line-height: 1.1;
}

.uppercase {
  text-transform: uppercase;
}

.rounded-full {
  border-radius: 9999px;
}

.rounded-2xl {
  border-radius: 1rem;
}

.rounded-3xl {
  border-radius: 1.5rem;
}

.border {
  border-width: 1px;
}

.border-b {
  border-bottom-width: 1px;
}

.border-t {
  border-top-width: 1px;
}

.border-white\/5 {
  border-color: rgba(255, 255, 255, 0.05);
}

.border-white\/10 {
  border-color: rgba(255, 255, 255, 0.1);
}

.border-white\/20 {
  border-color: rgba(255, 255, 255, 0.2);
}

.bg-white {
  background-color: #ffffff;
}

.text-white {
  color: #ffffff;
}

.text-black {
  color: #000000;
}

.bg-white\/5 {
  background-color: rgba(255, 255, 255, 0.05);
}

.text-white\/10 {
  color: rgba(255, 255, 255, 0.1);
}

.text-white\/50 {
  color: rgba(255, 255, 255, 0.5);
}

.bg-accent\/20 {
  background-color: rgba(59, 130, 246, 0.2);
}

.bg-accent\/30 {
  background-color: rgba(59, 130, 246, 0.3);
}

.bg-secondary\/20 {
  background-color: rgba(139, 92, 246, 0.2);
}

.absolute {
  position: absolute;
}

.relative {
  position: relative;
}

.fixed {
  position: fixed;
}

.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.top-1\/4 {
  top: 25%;
}

.bottom-1\/4 {
  bottom: 25%;
}

.left-1\/4 {
  left: 25%;
}

.right-1\/4 {
  right: 25%;
}

.z-0 {
  z-index: 0;
}

.z-10 {
  z-index: 10;
}

.z-50 {
  z-index: 50;
}

.-z-10 {
  z-index: -10;
}

.opacity-0 {
  opacity: 0;
}

.opacity-100 {
  opacity: 1;
}

.opacity-\[0\.03\] {
  opacity: 0.03;
}

.blur-\[60px\] {
  filter: blur(60px);
}

.blur-\[80px\] {
  filter: blur(80px);
}

.blur-\[120px\] {
  filter: blur(120px);
}

.blur-\[150px\] {
  filter: blur(150px);
}

.backdrop-blur-md {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.backdrop-blur-sm {
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.backdrop-blur-xl {
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.mix-blend-overlay {
  mix-blend-mode: overlay;
}

.mix-blend-screen {
  mix-blend-mode: screen;
}

.isolate {
  isolation: isolate;
}

.pointer-events-none {
  pointer-events: none;
}

.overflow-hidden {
  overflow: hidden;
}

/* Gradient Utilities */
.bg-clip-text {
  -webkit-background-clip: text;
  background-clip: text;
}

.text-transparent {
  color: transparent;
}

.bg-gradient-to-r {
  background-image: linear-gradient(to right, var(--tw-gradient-stops));
}

.bg-gradient-to-tr {
  background-image: linear-gradient(to top right, var(--tw-gradient-stops));
}

.bg-gradient-to-br {
  background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}

.from-accent {
  --tw-gradient-from: var(--color-accent);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(59, 130, 246, 0));
}

.from-accent\/5 {
  --tw-gradient-from: rgba(59, 130, 246, 0.05);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(59, 130, 246, 0));
}

.from-accent\/20 {
  --tw-gradient-from: rgba(59, 130, 246, 0.2);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(59, 130, 246, 0));
}

.from-secondary\/5 {
  --tw-gradient-from: rgba(139, 92, 246, 0.05);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(139, 92, 246, 0));
}

.from-secondary\/20 {
  --tw-gradient-from: rgba(139, 92, 246, 0.2);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(139, 92, 246, 0));
}

.via-secondary {
  --tw-gradient-stops: var(--tw-gradient-from), var(--color-secondary), var(--tw-gradient-to, rgba(139, 92, 246, 0));
}

.to-accent {
  --tw-gradient-to: var(--color-accent);
}

.to-secondary {
  --tw-gradient-to: var(--color-secondary);
}

.to-secondary\/20 {
  --tw-gradient-to: rgba(139, 92, 246, 0.2);
}

.to-transparent {
  --tw-gradient-to: transparent;
}

/* Interactive Utilities (Hover, Active, Group-Hover) */
.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.transition-colors {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.transition-transform {
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
}

.transition-opacity {
  transition-property: opacity;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.duration-300 {
  transition-duration: 300ms;
}

.duration-500 {
  transition-duration: 500ms;
}

.duration-700 {
  transition-duration: 700ms;
}

.origin-center {
  transform-origin: center;
}

.hover\:text-white:hover {
  color: #ffffff;
}

.hover\:text-black:hover {
  color: #000000;
}

.hover\:text-accent:hover {
  color: var(--color-accent);
}

.hover\:text-secondary:hover {
  color: var(--color-secondary);
}

.hover\:bg-white:hover {
  background-color: #ffffff;
}

.hover\:bg-white\/5:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.hover\:border-accent\/30:hover {
  border-color: rgba(59, 130, 246, 0.3);
}

.hover\:border-secondary\/30:hover {
  border-color: rgba(139, 92, 246, 0.3);
}

.hover\:scale-105:hover {
  transform: scale(1.05);
}

.active\:scale-95:active {
  transform: scale(0.95);
}

.group:hover .group-hover\:text-accent {
  color: var(--color-accent);
}

.group:hover .group-hover\:text-secondary {
  color: var(--color-secondary);
}

.group:hover .group-hover\:text-black {
  color: #000000;
}

.group:hover .group-hover\:opacity-100 {
  opacity: 1;
}

.group:hover .group-hover\:bg-accent\/40 {
  background-color: rgba(59, 130, 246, 0.4);
}

.group:hover .group-hover\:bg-secondary\/40 {
  background-color: rgba(139, 92, 246, 0.4);
}

.group:hover .group-hover\:translate-x-1 {
  transform: translateX(0.25rem);
}

.group:hover .group-hover\:scale-110 {
  transform: scale(1.1);
}

/* Selection */
.selection\:bg-accent\/30 *::selection {
  background-color: rgba(59, 130, 246, 0.3);
}

.selection\:text-accent-light *::selection {
  color: var(--color-accent-light);
}

/* Animations */
@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: .5;
  }
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse-slow {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: .8;
    transform: scale(1.05);
  }
}

.animate-pulse-slow {
  animation: pulse-slow 8s ease-in-out infinite;
}

@keyframes gradient-x {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.animate-gradient-x {
  background-size: 200% 200%;
  animation: gradient-x 15s ease infinite;
}

/* Scroll Reveal Logic */
.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  transition-delay: var(--delay, 0s);
}

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

/* Base Link Styles */
a {
  text-decoration: none;
}

/* Responsive Overrides (tailored media queries) */
@media (min-width: 640px) {

  /* sm */
  .sm\:flex-row {
    flex-direction: row;
  }

  .sm\:w-auto {
    width: auto;
  }
}

@media (min-width: 768px) {

  /* md */
  .md\:hidden {
    display: none;
  }

  .md\:flex {
    display: flex;
  }

  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .md\:flex-row {
    flex-direction: row;
  }

  .md\:px-12 {
    padding-left: 3rem;
    padding-right: 3rem;
  }

  .md\:p-10 {
    padding: 2.5rem;
  }

  .md\:p-12 {
    padding: 3rem;
  }

  .md\:text-5xl {
    font-size: 3rem;
    line-height: 1;
  }

  .md\:text-7xl {
    font-size: 4.5rem;
    line-height: 1;
  }

  .md\:text-6xl {
    font-size: 3.75rem;
    line-height: 1;
  }

  .md\:text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }

  .md\:text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
  }

  .md\:text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }
}

@media (min-width: 1024px) {

  /* lg */
  .lg\:text-8xl {
    font-size: 6rem;
    line-height: 1;
  }

  .lg\:flex-row {
    flex-direction: row;
  }

  .lg\:w-1\/2 {
    width: 50%;
  }

  .lg\:gap-8 {
    gap: 2rem;
  }
}

/* NEW ADDITIONS */
.flex-1 {
  flex: 1 1 0%;
}

.min-w-\[320px\] {
  min-width: 320px;
}

.w-auto {
  width: auto;
}

.pt-1 {
  padding-top: 0.25rem;
}

.border-transparent {
  border-color: transparent;
}

.text-white\/5 {
  color: rgba(255, 255, 255, 0.05);
}

.text-white\/80 {
  color: rgba(255, 255, 255, 0.8);
}

.hover-glow-accent:hover {
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}

.hover-glow-white:hover {
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.hover\:opacity-80:hover {
  opacity: 0.8;
}

.hover\:opacity-90:hover {
  opacity: 0.9;
}

.hover\:text-white\/80:hover {
  color: rgba(255, 255, 255, 0.8);
}

.justify-end {
  justify-content: flex-end;
}

.leading-none {
  line-height: 1;
}

@media (min-width: 768px) {
  .md\:flex-1 {
    flex: 1 1 0%;
  }

  .md\:mx-0 {
    margin-left: 0;
    margin-right: 0;
  }

  .md\:justify-end {
    justify-content: flex-end;
  }

  .md\:justify-center {
    justify-content: center;
  }

  .md\:text-right {
    text-align: right;
  }
}