@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&family=Inter:wght@300;400;500;600;700&display=swap');
@import "tailwindcss";

@theme {
  /* Malkove Brand Palette */
  --color-dark-bg: #050505;
  --color-card-bg: #0d0e12;
  --color-brand-green: #00e676;
  --color-brand-lime: #a3e635;
  --color-muted-text: #9ca3af;
  --font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Custom visual polish */
html {
  scroll-behavior: smooth;
}

html,
body {
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* Keep typography consistent across all pages and dynamically injected content. */
*,
*::before,
*::after {
  font-family: inherit;
}

html, body, button, input, select, textarea {
  background-color: #050505;
  color: #ffffff;
  overflow-x: hidden;
}

.bg-radial-glow {
  background: radial-gradient(circle at 50% 30%, rgba(0, 230, 118, 0.12) 0%, rgba(5, 5, 5, 0) 70%);
}

.bg-hero-mesh {
  background: 
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(0, 230, 118, 0.22), transparent 70%),
    radial-gradient(circle 50% at 15% 40%, rgba(163, 230, 53, 0.12), transparent 60%),
    radial-gradient(circle 50% at 85% 50%, rgba(0, 230, 118, 0.14), transparent 60%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(5, 5, 5, 1), transparent 90%),
    #050505;
}

/* Floating animation for subtle background glowing shapes */
@keyframes float-slow {

  0%,
  100% {
    transform: translate(-50%, 0px) scale(1);
  }

  50% {
    transform: translate(-50%, -20px) scale(1.05);
  }
}

@keyframes pulse-glow {

  0%,
  100% {
    opacity: 0.4;
  }

  50% {
    opacity: 0.8;
  }
}

.animate-float-slow {
  animation: float-slow 10s ease-in-out infinite;
}

.animate-pulse-glow {
  animation: pulse-glow 4s ease-in-out infinite;
}

/* Glassmorphism Card Style */
.glass-card {
  background: rgba(13, 14, 18, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-card:hover {
  border-color: rgba(0, 230, 118, 0.3);
  box-shadow: 0 10px 30px -10px rgba(0, 230, 118, 0.15);
}

/* Gradient Text Utilities */
.text-gradient-green {
  background: linear-gradient(135deg, #ffffff 0%, #00e676 50%, #a3e635 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-white {
  background: linear-gradient(180deg, #ffffff 0%, #9ca3af 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Redesign Enhancements */
.bg-grid-mesh,
.bg-grid-mesh-lime,
.bg-grid-mesh-white {
  position: relative;
}

.bg-grid-mesh::before,
.bg-grid-mesh-lime::before,
.bg-grid-mesh-white::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.bg-grid-mesh::before {
  background-size: 32px 32px;
  background-image: 
    linear-gradient(to right, rgba(0, 230, 118, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 230, 118, 0.04) 1px, transparent 1px);
  mask-image: radial-gradient(circle 60% at 50% 50%, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle 60% at 50% 50%, black 20%, transparent 80%);
}

.bg-grid-mesh-lime::before {
  background-size: 32px 32px;
  background-image: 
    linear-gradient(to right, rgba(163, 230, 53, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(163, 230, 53, 0.04) 1px, transparent 1px);
  mask-image: radial-gradient(circle 60% at 50% 50%, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle 60% at 50% 50%, black 20%, transparent 80%);
}

.bg-grid-mesh-white::before {
  background-size: 32px 32px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  mask-image: radial-gradient(circle 60% at 50% 50%, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle 60% at 50% 50%, black 20%, transparent 80%);
}

.mask-radial-top {
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
}

/* Staggered float animation delays */
.delay-500 {
  animation-delay: 500ms;
}

.delay-1000 {
  animation-delay: 1000ms;
}

.delay-2000 {
  animation-delay: 2000ms;
}

.delay-3000 {
  animation-delay: 3000ms;
}

.delay-4000 {
  animation-delay: 4000ms;
}

/* Custom glow utilities */
.glow-card-green {
  box-shadow: 0 0 25px -5px rgba(0, 230, 118, 0.1), 0 0 15px -5px rgba(0, 230, 118, 0.05);
}

.glow-card-green:hover {
  box-shadow: 0 0 35px -5px rgba(0, 230, 118, 0.25), 0 0 20px -5px rgba(0, 230, 118, 0.15);
}

.glow-text-green {
  text-shadow: 0 0 10px rgba(0, 230, 118, 0.5);
}

.glow-text-lime {
  text-shadow: 0 0 10px rgba(163, 230, 53, 0.5);
}

/* Tilted transformations for floats */
.tilt-tag-1 {
  transform: rotate(-10deg);
}

.tilt-tag-2 {
  transform: rotate(6deg);
}

.tilt-tag-3 {
  transform: rotate(-4deg);
}

.tilt-tag-4 {
  transform: rotate(8deg);
}

.tilt-tag-5 {
  transform: rotate(-6deg);
}

.tilt-tag-6 {
  transform: rotate(4deg);
}

/* Vertical-only floating animation to prevent horizontal offset shifts */
@keyframes float-vertical {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.animate-float-vertical {
  animation: float-vertical 8s ease-in-out infinite;
}
