/* ==========================================================================
   Rewise Ltd - Authentic Recycling Green & Eco-Circular Aesthetic
   Engineered with iconic recycling green tones, soothing sage, and warm sand
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Iconic Recycling Green Color System */
  --color-recycle-bg: #0F2E22;
  --color-recycle-deep: #0B241B;
  --color-recycle-alt: #13392B;
  --color-recycle-card: #184637;
  --color-recycle-card-hover: #1D5442;
  --color-recycle-border: rgba(149, 213, 178, 0.22);
  
  --color-leaf-bright: #52B788;
  --color-sage-mint: #74C69D;
  --color-celadon: #95D5B2;
  --color-warm-sand: #E9D8A6;
  --color-warm-ochre: #DDA15E;

  --color-text-main: #FFFFFF;
  --color-text-soft: #D5E8DE;
  --color-text-muted: #95BEAB;
}

* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-recycle-bg);
  background-image: 
    radial-gradient(circle at 10% 15%, rgba(45, 106, 79, 0.28) 0%, transparent 45%),
    radial-gradient(circle at 90% 85%, rgba(221, 161, 94, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(116, 198, 157, 0.08) 0%, transparent 65%);
  background-attachment: fixed;
  color: var(--color-text-soft);
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: var(--font-heading);
}

/* Custom Nature Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #081B14;
}
::-webkit-scrollbar-thumb {
  background: var(--color-leaf-bright);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-sage-mint);
}

/* Iconic Recycling Green Cards */
.eco-card {
  background: var(--color-recycle-card);
  border: 1px solid var(--color-recycle-border);
  border-radius: 1.15rem;
  box-shadow: 0 10px 30px -8px rgba(6, 22, 16, 0.45);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.eco-card:hover {
  border-color: rgba(149, 213, 178, 0.45);
  box-shadow: 0 16px 36px -10px rgba(5, 20, 14, 0.65);
  transform: translateY(-2px);
}

/* Soft Tinted Panel */
.eco-panel-soft {
  background: rgba(24, 70, 55, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(149, 213, 178, 0.2);
  border-radius: 1.15rem;
}

/* Navigation */
.corporate-nav {
  background: rgba(11, 36, 27, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(116, 198, 157, 0.2);
}

/* Text Gradients */
.text-gradient-forest {
  background: linear-gradient(135deg, #FFFFFF 30%, #95D5B2 80%, #E9D8A6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #FFFFFF 30%, #E9D8A6 75%, #DDA15E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Clean Flow Animation */
@keyframes flowDash {
  to {
    stroke-dashoffset: -32;
  }
}

.flowing-cycle {
  stroke-dasharray: 6, 6;
  animation: flowDash 1.8s linear infinite;
}

/* Comparison Before/After Slider */
.comparison-container {
  position: relative;
  overflow: hidden;
  border-radius: 0.875rem;
}

.comparison-before {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  z-index: 10;
  border-right: 2px solid #FFFFFF;
}

.slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: #FFFFFF;
  z-index: 20;
  transform: translateX(-50%);
  cursor: ew-resize;
}

.slider-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  background: #1B5E45;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* Modal Overlay */
.modal-overlay {
  background: rgba(8, 26, 19, 0.85);
  backdrop-filter: blur(10px);
}
