@charset "UTF-8";

/* ==========================================================================
   SuGreen Biofuels - Industrial Veridance Theme
   ========================================================================== */

:root {
  --bg-color: #131313;
  --surface-low: #1c1b1b;
  --surface-mid: #201f1f;
  --surface-high: #2a2a2a;
  --surface-highest: #353534;
  --primary: #b7ccba;
  --primary-container: #1b2d21;
  --on-primary: #223428;
  --tertiary: #d8c49f;
  --tertiary-dim: #a08f6d;
  --tertiary-bright: #f5e0ba;
  --secondary: #c2cba4;
  --secondary-container: #444c2f;
  --outline: #8d928c;
  --outline-variant: #434843;
  --on-surface: #e5e2e1;
  --on-surface-variant: #c3c8c1;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  background-color: var(--bg-color);
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-color);
  color: var(--on-surface);
  font-family: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  overflow-x: hidden;
  cursor: default;
}

/* Typography Masks */
.mask-text {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
  overflow: hidden;
}
.reveal-ready .mask-text span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}
.reveal-ready .mask-text.in-view span {
  transform: translateY(0%);
}

/* Noise & Grain */
.noise-overlay {
  background-image: url('data:image/svg+xml,%3Csvg viewBox=%220 0 200 200%22 xmlns=%22http://www.w3.org/2000/svg%22%3E%3Cfilter id=%22noiseFilter%22%3E%3CfeTurbulence type=%22fractalNoise%22 baseFrequency=%220.75%22 numOctaves=%223%22 stitchTiles=%22stitch%22/%3E%3C/filter%3E%3Crect width=%22100%25%22 height=%22100%25%22 filter=%22url(%23noiseFilter)%22/%3E%3C/svg%3E');
}

/* Glassmorphism Capsule Nav */
.nav-glass {
  background: rgba(27, 45, 33, 0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.12);
}

.nav-glass-scrolled {
  background: rgba(19, 19, 19, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(183, 204, 186, 0.15);
  box-shadow: 0 20px 45px -8px rgba(0, 0, 0, 0.8), inset 0 1px 1px rgba(255, 255, 255, 0.08);
}

/* Card Glow & Hover */
.industrial-card {
  background: rgba(32, 31, 31, 0.75);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(67, 72, 67, 0.6);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.industrial-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(216, 196, 159, 0.08), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.industrial-card:hover {
  border-color: rgba(216, 196, 159, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.7);
}
.industrial-card:hover::after {
  opacity: 1;
}

/* Hide scrollbars */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Sliders */
input[type=range] {
  -webkit-appearance: none;
  background: #2a2a2a;
  height: 6px;
  border-radius: 3px;
  outline: none;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--tertiary);
  cursor: pointer;
  box-shadow: 0 0 12px rgba(216, 196, 159, 0.5);
  transition: transform 0.15s, background-color 0.15s;
}
input[type=range]::-webkit-slider-thumb:hover {
  transform: scale(1.25);
  background: var(--tertiary-bright);
}

/* Custom Scrollbar for site */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #131313;
}
::-webkit-scrollbar-thumb {
  background: #2a2a2a;
  border-radius: 4px;
  border: 2px solid #131313;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--outline);
}

/* Toast Notifications */
#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}
.toast-msg {
  pointer-events: auto;
  min-width: 300px;
  max-width: 420px;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(28, 27, 27, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(216, 196, 159, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 12px;
  color: #e5e2e1;
  font-size: 14px;
  animation: slideInToast 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: all 0.3s ease;
}
@keyframes slideInToast {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Animations */
@keyframes pulseGlow {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.9; }
}
.animate-pulse-glow {
  animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.animate-spin-slow {
  animation: spinSlow 25s linear infinite;
}

@keyframes slowZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}
.animate-slow-zoom {
  animation: slowZoom 25s ease-out forwards;
}

/* Sound Wave bars */
.sound-bar {
  width: 2px;
  background: var(--tertiary);
  border-radius: 1px;
  animation: equalize 1.2s ease-in-out infinite alternate;
}
.sound-bar:nth-child(1) { height: 6px; animation-delay: 0.1s; }
.sound-bar:nth-child(2) { height: 14px; animation-delay: 0.3s; }
.sound-bar:nth-child(3) { height: 10px; animation-delay: 0.5s; }
.sound-bar:nth-child(4) { height: 16px; animation-delay: 0.2s; }
.sound-bar.paused {
  animation: none !important;
  height: 3px !important;
  opacity: 0.5;
}
@keyframes equalize {
  0% { height: 4px; }
  50% { height: 16px; }
  100% { height: 8px; }
}

/* Print Style for quotes */
@media print {
  body {
    background: #ffffff !important;
    color: #111111 !important;
  }
  header, footer, #toast-container, .no-print {
    display: none !important;
  }
}
