/* Infinity Edgez.ai - Custom Styles & Production Polish */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --color-gold: #C89A4B;
  --color-gold-light: #DFBE7F;
  --color-gold-dark: #A6792D;
  --color-dark: #111111;
  --color-cream: #FAF8F5;
  --color-border: #ECE7DF;
  --color-muted: #6B7280;
}

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--color-cream);
  color: var(--color-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: #FAF8F5;
}
::-webkit-scrollbar-thumb {
  background: #D8D2C6;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #C89A4B;
}

/* Focus styles for accessibility */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

/* 3D Canvas Styles */
#growth-3d-canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
  pointer-events: auto;
}

.canvas-container {
  position: relative;
  width: 100%;
  height: 380px;
}

@media (min-width: 768px) {
  .canvas-container {
    height: 480px;
  }
}

@media (min-width: 1024px) {
  .canvas-container {
    height: 520px;
  }
}

/* Animation utilities */
@keyframes floatSlow {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

@keyframes pulseGold {
  0%, 100% { opacity: 0.2; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(1.04); }
}

.animate-float-slow {
  animation: floatSlow 4s ease-in-out infinite;
}

.animate-pulse-gold {
  animation: pulseGold 3s ease-in-out infinite;
}

/* Gold glow styling */
.gold-glow {
  box-shadow: 0 10px 30px -10px rgba(200, 154, 75, 0.25);
}

.gold-glow-lg {
  box-shadow: 0 20px 40px -15px rgba(200, 154, 75, 0.35);
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  #growth-3d-fallback {
    display: block !important;
  }
  #growth-3d-canvas-wrap {
    display: none !important;
  }
}
