/* Auraloop Architectural Style Sheet (ChopValue Minimalist & Editorial Aesthetic) */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@600;700&display=swap');


:root {
  --color-white: #FFFFFF;
  --color-cream: #F4F0EA;
  --color-cream-light: #F9F7F2;
  --color-cream-border: #E8E2D6;
  --color-charcoal: #111827;
  --color-slate: #1E293B;
  --color-muted: #64748B;
  --color-forest: #1C4A34;
  --color-forest-hover: #143726;
  --color-emerald-accent: #00A86B;
}

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--color-white);
  color: var(--color-charcoal);
  overflow-x: hidden;
}

/* ChopValue Clean Sans-Serif Stack (Helvetica / Neutral Swiss Grotesque Aesthetic) */
.font-chop-clean {
  font-family: "Helvetica Neue", Helvetica, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Warm Cream Section Styling */
.bg-cream {
  background-color: var(--color-cream);
}

.bg-cream-light {
  background-color: var(--color-cream-light);
}

.border-cream-dark {
  border-color: var(--color-cream-border);
}

/* Typography Refinements - Monospace Completely Eradicated */
.font-mono,
.font-mono-num {
  font-family: "Helvetica Neue", Helvetica, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
  letter-spacing: normal !important;
}


/* Double-Bezel Card Effect */
.double-bezel {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.02), 0 20px 25px -5px rgba(0, 0, 0, 0.03);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.double-bezel:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
  border-color: rgba(28, 74, 52, 0.2);
}

/* Subtle Card Image Hover Zoom */
.card-img-zoom {
  overflow: hidden;
}

.card-img-zoom img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-img-zoom:hover img {
  transform: scale(1.05);
}

/* ChopValue Pill Buttons */
.btn-chop-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: #111827;
  color: #FFFFFF;
  padding: 0.75rem 1.75rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.25s ease;
}

.btn-chop-primary:hover {
  background-color: #1C4A34;
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(28, 74, 52, 0.25);
}

.btn-chop-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: #FFFFFF;
  color: #111827;
  padding: 0.75rem 1.75rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.25s ease;
}

.btn-chop-white:hover {
  background-color: #F4F0EA;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-chop-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: transparent;
  color: #111827;
  border: 1px solid #111827;
  padding: 0.75rem 1.75rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.25s ease;
}

.btn-chop-outline:hover {
  background-color: #111827;
  color: #FFFFFF;
}

.btn-chop-primary:active,
.btn-chop-white:active,
.btn-chop-outline:active {
  transform: translateY(0) scale(0.98);
  box-shadow: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #F4F0EA;
}

::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

/* Range Slider */
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #1C4A34;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  border: 2px solid #FFFFFF;
  transition: transform 0.15s ease;
}

input[type=range]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

/* Modal Transitions & Elevation */
.modal-backdrop {
  background-color: rgba(17, 24, 39, 0.6);
  backdrop-filter: blur(4px);
}

#searchModal, #loginModal, #cartModal, #tdsModal, #sampleModal, #articleModal {
  z-index: 100000 !important;
}

#searchModal.hidden, #loginModal.hidden, #cartModal.hidden, #tdsModal.hidden, #sampleModal.hidden, #articleModal.hidden {
  display: none !important;
}

/* Fullscreen Menu Takeover Animation */
#fullscreenMenu {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: #FAF8F5;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100vh;
  height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-100%);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
  will-change: transform, opacity;
  overflow: hidden;
}

#fullscreenMenu.menu-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Menu Top Header Bar Animation */
#fullscreenMenu .menu-top-bar,
#fullscreenMenu > div:first-child {
  flex-shrink: 0;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

#fullscreenMenu.menu-open .menu-top-bar,
#fullscreenMenu.menu-open > div:first-child {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.12s;
}

/* Center Navigation Area - Scrollable if screen height is constrained */
#fullscreenMenu .menu-nav-container,
#fullscreenMenu > div:nth-child(2) {
  flex: 1 1 0%;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: auto;
  margin-bottom: auto;
  -webkit-overflow-scrolling: touch;
}

/* All 7 Navigation Links - Clean, uniform entrance across all items */
.menu-nav-link {
  opacity: 0;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s ease, color 0.2s ease;
  will-change: opacity, transform;
}

#fullscreenMenu.menu-open .menu-nav-link {
  opacity: 1;
  transform: none;
  transition-delay: 0.1s;
}

/* Bottom Bar Entrance Animation & Safe Area Pinning for Mobile/Tablet */
#fullscreenMenu .menu-bottom-bar,
#fullscreenMenu > div:last-child {
  flex-shrink: 0;
  position: relative;
  z-index: 20;
  background-color: #FAF8F5;
  border-top: 1px solid rgba(231, 229, 228, 0.9);
  padding-bottom: max(0.75rem, env(safe-area-inset-bottom, 0.75rem));
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.38s cubic-bezier(0.16, 1, 0.3, 1), transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

#fullscreenMenu.menu-open .menu-bottom-bar,
#fullscreenMenu.menu-open > div:last-child {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.32s;
}

/* Fast reset when closing menu so reopening animates smoothly every time */
#fullscreenMenu:not(.menu-open) .menu-nav-link,
#fullscreenMenu:not(.menu-open) .menu-top-bar,
#fullscreenMenu:not(.menu-open) > div:first-child,
#fullscreenMenu:not(.menu-open) .menu-bottom-bar,
#fullscreenMenu:not(.menu-open) > div:last-child {
  transition-delay: 0s !important;
  transition-duration: 0.15s !important;
  opacity: 0 !important;
}

#fullscreenMenu:not(.menu-open) .menu-nav-link {
  transform: translateX(-32px) !important;
}

#fullscreenMenu:not(.menu-open) .menu-top-bar,
#fullscreenMenu:not(.menu-open) > div:first-child {
  transform: translateY(-10px) !important;
}

#fullscreenMenu:not(.menu-open) .menu-bottom-bar,
#fullscreenMenu:not(.menu-open) > div:last-child {
  transform: translateY(14px) !important;
}

/* ============================================================
   MASKY MENU SHOWCASE ANIMATIONS & TRANSPARENT BLEND
   ============================================================ */
@keyframes maskyFloat {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-6px) rotate(0.8deg);
  }
}

.masky-floating {
  animation: maskyFloat 4s ease-in-out infinite;
}

#menuMaskyPanel {
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

#fullscreenMenu.menu-open #menuMaskyPanel {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.15s;
}

#fullscreenMenu:not(.menu-open) #menuMaskyPanel {
  transition-delay: 0s !important;
  transition-duration: 0.1s !important;
  opacity: 0 !important;
  transform: translateX(20px) !important;
}

#menuMaskyImg {
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

/* Mouse Pointer Hover Effect on Menu Selection (Sibling Dimming + Magnetic Glide) */
#menuNav:hover .menu-nav-link {
  opacity: 0.35;
  filter: blur(0.3px);
  transform: scale(0.99);
}

#menuNav .menu-nav-link:hover {
  opacity: 1 !important;
  filter: none !important;
  transform: scale(1.02) translateX(12px) !important;
  color: #1C4A34 !important;
}

#menuNav .menu-nav-link:hover span {
  color: #1C4A34;
}

/* Smooth Floating Mouse Pointer Aura Follower */
#menuCursorFollower {
  pointer-events: none;
  transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1), width 0.2s ease, height 0.2s ease, opacity 0.2s ease;
  mix-blend-mode: multiply;
}

#menuNav:hover ~ #menuCursorFollower,
#menuNav .menu-nav-link:hover ~ #menuCursorFollower {
  transform: translate(-50%, -50%) scale(1.4);
  background-color: rgba(28, 74, 52, 0.12);
  border-color: rgba(28, 74, 52, 0.5);
}

/* FAQ Accordion Styling */
details > summary {
  list-style: none;
}
details > summary::-webkit-details-marker {
  display: none;
}
details[open] summary ~ * {
  animation: faqFadeIn 0.3s ease-out;
}
@keyframes faqFadeIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   CIRCULAR PROCESS ICONS MOTION (Organic Feedstock, Extrusion, Soil Return)
   ============================================================ */
@keyframes iconSunPulse {
  0%, 100% {
    transform: scale(1) rotate(0deg);
    filter: drop-shadow(0 0 0 rgba(28, 74, 52, 0));
  }
  50% {
    transform: scale(1.12) rotate(6deg);
    filter: drop-shadow(0 4px 14px rgba(28, 74, 52, 0.35));
  }
}

@keyframes iconExtrusionFloat {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-8px) scale(1.05);
  }
}

@keyframes iconSoilSpin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Base motion classes applied to SVG icons */
.icon-feedstock-anim {
  animation: iconSunPulse 3.5s ease-in-out infinite;
  transform-origin: center center;
  display: inline-block;
  transition: transform 0.3s ease;
}

.icon-extrusion-anim {
  animation: iconExtrusionFloat 3s ease-in-out infinite;
  transform-origin: center center;
  display: inline-block;
  transition: transform 0.3s ease;
}

.icon-soil-anim {
  animation: iconSoilSpin 12s linear infinite;
  transform-origin: center center;
  display: inline-block;
  transition: transform 0.3s ease;
}

/* Hover Enhancements on 3-Step Process Flow Cards */
.group-flow-card {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.group-flow-card:hover {
  transform: translateY(-4px);
}

.group-flow-card:hover .icon-box {
  background-color: #EAF2ED !important;
  border-color: rgba(28, 74, 52, 0.3) !important;
  box-shadow: 0 10px 25px -5px rgba(28, 74, 52, 0.15);
}

.group-flow-card:hover .icon-feedstock-anim {
  animation-duration: 1.8s;
  color: #143726;
}

.group-flow-card:hover .icon-extrusion-anim {
  animation-duration: 1.5s;
  color: #143726;
}

.group-flow-card:hover .icon-soil-anim {
  animation-duration: 4s;
  color: #143726;
}

/* ============================================================
   NUMBER COUNTER SUBTLE TYPOGRAPHY
   ============================================================ */
.number-pulse {
  display: inline-block;
}

.font-cursive {
  font-family: 'Caveat', cursive;
}

/* ============================================================
   WORD BUBBLE TOOLTIPS (CALL, EMAIL & SOCIAL ICONS)
   ============================================================ */
.menu-tooltip-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.menu-tooltip-bubble {
  position: absolute;
  bottom: calc(100% + 9px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  white-space: nowrap;
  background-color: #111827;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  padding: 6px 10px;
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s ease;
  z-index: 100;
}

.menu-tooltip-bubble::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 4px;
  border-style: solid;
  border-color: #111827 transparent transparent transparent;
}

.menu-tooltip-wrapper:hover .menu-tooltip-bubble,
.menu-tooltip-wrapper:focus-within .menu-tooltip-bubble {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Ensure rightmost tooltips stay inside viewport on small mobile screens */
.menu-tooltip-wrapper:last-child .menu-tooltip-bubble,
.menu-tooltip-wrapper:nth-last-child(2) .menu-tooltip-bubble {
  left: auto;
  right: 0;
  transform: translateY(4px);
}

.menu-tooltip-wrapper:last-child:hover .menu-tooltip-bubble,
.menu-tooltip-wrapper:last-child:focus-within .menu-tooltip-bubble,
.menu-tooltip-wrapper:nth-last-child(2):hover .menu-tooltip-bubble,
.menu-tooltip-wrapper:nth-last-child(2):focus-within .menu-tooltip-bubble {
  transform: translateY(0);
}

.menu-tooltip-wrapper:last-child .menu-tooltip-bubble::after,
.menu-tooltip-wrapper:nth-last-child(2) .menu-tooltip-bubble::after {
  left: auto;
  right: 10px;
  transform: none;
}

/* ============================================================
   NAVBAR WORD BUBBLE TOOLTIPS (SEARCH & LOGIN)
   ============================================================ */
.nav-tooltip-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-tooltip-bubble {
  position: absolute;
  top: calc(100% + 8px);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s ease;
  z-index: 100;
}

.nav-tooltip-wrapper:hover .nav-tooltip-bubble,
.nav-tooltip-wrapper:focus-within .nav-tooltip-bubble {
  opacity: 1;
  visibility: visible;
}





