/* style.css - KB Recycling Premium Landing Page */

/* Google Fonts Imports */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;500;600;700;800&display=swap');

/* CSS Variables */
:root {
  --color-bg-deep: #f8fafc;
  --color-bg-slate: #f8fafc;
  --color-bg-card: #ffffff;
  --color-bg-card-hover: rgba(255, 255, 255, 0.95);
  --color-accent-green: #15a29c;
  --color-accent-cyan: #6b5fae;
  --color-text-primary: #0f172a;
  --color-text-secondary: #475569;
  --color-text-muted: #64748b;
  --color-border: rgba(0, 0, 0, 0.08);
  --color-border-hover: rgba(107, 95, 174, 0.4);
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --gradient-primary: linear-gradient(135deg, var(--color-accent-green) 0%, var(--color-accent-cyan) 100%);
  --gradient-glow: radial-gradient(circle, rgba(107, 95, 174, 0.05) 0%, rgba(21, 162, 156, 0.02) 50%, transparent 100%);
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
  
  --shadow-neon-cyan: 0 4px 20px rgba(107, 95, 174, 0.1);
  --shadow-neon-green: 0 4px 20px rgba(21, 162, 156, 0.1);
}

/* Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--color-bg-deep);
  color: var(--color-text-primary);
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg-deep);
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 5px;
  border: 2px solid var(--color-bg-deep);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent-cyan);
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

/* Layout Utilities */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

section {
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: linear-gradient(90deg, var(--color-accent-green), var(--color-accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--color-text-primary);
}

.section-desc {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  max-width: 700px;
  margin-bottom: 3.5rem;
  font-weight: 300;
}

/* Decorative Glow Blobs */
.glow-blob {
  position: absolute;
  width: 40vw;
  height: 40vw;
  max-width: 500px;
  max-height: 500px;
  background: radial-gradient(circle, rgba(107, 95, 174, 0.1) 0%, rgba(21, 162, 156, 0.05) 50%, rgba(9, 13, 22, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  z-index: 1;
}

.glow-blob-1 { top: 10%; right: -10%; }
.glow-blob-2 { bottom: 20%; left: -10%; }
.glow-blob-3 { top: 50%; right: 20%; }

/* Glassmorphism Panel style */
.glass-panel {
  background: var(--color-bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  transition: var(--transition-smooth);
}

/* Header & Sticky Nav */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: var(--transition-smooth);
  border-bottom: 1px solid transparent;
  background: var(--color-bg-slate);
}

header.scrolled {
  border-bottom: 1px solid var(--color-border);
  padding: 0.75rem 0;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 2rem;
}

header.scrolled .container {
  padding: 0.25rem 2rem;
}



/* Logo */
.logo-wrap {
  display: flex;
  align-items: center;
}

.logo-wrap:hover {
  opacity: 0.85;
}

.logo-img {
  height: 120px; /* Zoomed in logo height */
  width: auto;
  object-fit: contain;
  mix-blend-mode: multiply; /* Fallback progressive blend for file:// protocol */
}

/* Nav Menu */
nav ul {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

nav a {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  position: relative;
  padding: 0.5rem 0;
}

nav a:hover, nav a.active {
  color: var(--color-text-primary);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: var(--transition-smooth);
}

nav a:hover::after, nav a.active::after {
  width: 100%;
}

/* Header Buttons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  gap: 0.5rem;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 14px rgba(21, 162, 156, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(107, 95, 174, 0.4);
}

.btn-secondary {
  background: rgba(0, 0, 0, 0.03);
  color: var(--color-text-primary);
  border: 1px solid var(--color-border);
}

.btn-secondary:hover {
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.55rem 1.25rem;
  font-size: 0.875rem;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text-primary);
  margin: 5px 0;
  transition: var(--transition-smooth);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 11.5rem;
  padding-bottom: 5rem;
  background: var(--color-bg-slate);
}

.hero .container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 4rem;
}

.hero-content {
  z-index: 10;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 30px;
  background: rgba(21, 162, 156, 0.08);
  border: 1px solid rgba(21, 162, 156, 0.2);
  color: var(--color-accent-green);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  box-shadow: 0 0 15px rgba(21, 162, 156, 0.05);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-accent-green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--color-accent-green);
  animation: pulse-glow 2s infinite;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.hero-title span.gradient-text {
  background: linear-gradient(135deg, var(--color-accent-green) 20%, var(--color-accent-cyan) 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.25rem;
  color: var(--color-text-secondary);
  margin-bottom: 3rem;
  font-weight: 300;
  max-width: 620px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
}

/* Hero Graphic (Abstract circular economy) */
.hero-graphic {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-graphic-bg {
  display: none;
}

.diagram-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 480px;
}

.hero-img-element {
  width: 100%;
  height: auto;
  display: block;
  mix-blend-mode: multiply;
}



/* Core Focus Section */
.core-focus {
  background-color: var(--color-bg-slate);
}

.core-focus .container {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: center;
}

.lifecycle-diagram-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lifecycle-svg {
  width: 100%;
  max-width: 500px;
  height: auto;
}

/* Interactive SVG States */
.lifecycle-step {
  cursor: pointer;
  transition: var(--transition-smooth);
}

.lifecycle-step .step-text {
  fill: #ffffff !important;
  font-family: var(--font-heading);
  font-weight: 700;
}

.lifecycle-svg text {
  pointer-events: none;
}

.lifecycle-svg .center-title {
  fill: var(--color-accent-cyan) !important;
}

.lifecycle-svg .center-subtitle {
  fill: #ffffff !important;
}

.lifecycle-step:hover .step-node {
  fill: url(#cyan-green-grad);
  filter: drop-shadow(0 0 8px rgba(107, 95, 174, 0.8));
}

.lifecycle-step.active .step-node {
  fill: url(#cyan-green-grad);
  filter: drop-shadow(0 0 12px rgba(107, 95, 174, 0.9));
}

.lifecycle-step:hover .step-text {
  fill: #ffffff !important;
  font-weight: 800;
}

.lifecycle-info-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-card {
  padding: 1.75rem;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.6);
  display: none;
}

.info-card.active {
  display: block;
  animation: fadeIn 0.5s ease forwards;
}

.info-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.info-card-icon {
  width: 36px;
  height: 36px;
  color: var(--color-accent-cyan);
}

.info-card-title {
  font-size: 1.25rem;
  font-weight: 600;
}

.info-card-body {
  color: var(--color-text-secondary);
  font-size: 0.975rem;
  line-height: 1.6;
}

/* Key Features list */
.features-list {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-icon-wrapper {
  background: rgba(107, 95, 174, 0.08);
  border: 1px solid rgba(107, 95, 174, 0.2);
  border-radius: 8px;
  padding: 0.5rem;
  color: var(--color-accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-item-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--color-text-primary);
}

.feature-item-desc {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}

/* Capabilities & Feedstock Section */
.capabilities {
  background-color: var(--color-bg-deep);
}

.feedstock-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

/* Premium Card Spotlight Effect */
.feedstock-card {
  position: relative;
  padding: 3rem 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  overflow: hidden;
  height: 100%;
}

/* Custom spotlight overlay */
.feedstock-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(800px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(107, 95, 174, 0.06), transparent 40%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 1;
}

.feedstock-card:hover::before {
  opacity: 1;
}

.feedstock-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-border-hover);
  box-shadow: 0 10px 30px -10px rgba(107, 95, 174, 0.15);
}

.feedstock-icon-container {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-green);
  transition: var(--transition-smooth);
}

.feedstock-card:hover .feedstock-icon-container {
  background: var(--gradient-primary);
  color: #0b0f19;
  border-color: transparent;
  transform: scale(1.05);
  box-shadow: var(--shadow-neon-cyan);
}

.feedstock-icon-container svg {
  width: 28px;
  height: 28px;
}

.feedstock-card-title {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-text-primary);
}

.feedstock-card-desc {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.feedstock-card-tags {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.feedstock-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-accent-cyan);
  background: rgba(107, 95, 174, 0.05);
  border: 1px solid rgba(107, 95, 174, 0.15);
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
}

/* Output Section (Black Mass) */
.output-section {
  background-color: var(--color-bg-slate);
}

.output-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.output-visual-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.output-graphic {
  position: relative;
  width: 100%;
  max-width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(21, 162, 156, 0.05) 0%, transparent 70%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.graphic-core {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #1e293b 0%, #090d16 100%);
  border: 2px solid var(--color-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(107, 95, 174, 0.1);
  text-align: center;
  padding: 1.5rem;
}

.graphic-core-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.graphic-core-sub {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-accent-green);
  font-weight: 600;
}

/* Rotating Element Particles */
.graphic-orbit {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 1px dashed rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  animation: rotate-slow 25s linear infinite;
  z-index: 20; /* Elevates the entire orbit layer above the center core container */
}

.orbit-node {
  position: absolute;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--color-bg-slate);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: var(--transition-smooth);
  z-index: 15; /* Sits above the center graphic circle */
}

.orbit-node:hover {
  border-color: var(--color-accent-cyan);
  box-shadow: var(--shadow-neon-cyan);
  transform: scale(1.1);
}

.node-li { top: 10%; left: 50%; transform: translateX(-50%); color: #ff5722; }
.node-co { top: 50%; right: 10%; transform: translateY(-50%); color: #e91e63; }
.node-ni { bottom: 10%; left: 50%; transform: translateX(-50%); color: #4caf50; }
.node-mn { top: 50%; left: 10%; transform: translateY(-50%); color: #9c27b0; }

.output-metrics {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.metric-box {
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  background: rgba(9, 13, 22, 0.2);
}

.metric-val {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-text-primary);
  font-family: var(--font-heading);
  line-height: 1;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--color-accent-green) 0%, var(--color-accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.metric-lbl {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  font-weight: 500;
}

/* Contact & Inquiry Section */
.contact-section {
  background-color: var(--color-bg-deep);
}

.contact-section .container {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 5rem;
  align-items: start;
}

.contact-info {
  position: relative;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 3rem;
}

.contact-detail-item {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.contact-detail-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(107, 95, 174, 0.08);
  border: 1px solid rgba(107, 95, 174, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-cyan);
}

.contact-detail-icon svg {
  width: 22px;
  height: 22px;
}

.contact-detail-text h4 {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  margin-bottom: 0.25rem;
}

.contact-detail-text p {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--color-text-primary);
}

/* B2B Inquiry Form */
.contact-form-panel {
  padding: 3rem;
  border-radius: 20px;
}

.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Custom Floating Label Input styling */
.form-input, .form-select, .form-textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text-primary);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 1.1rem 1rem 0.5rem 1rem;
  outline: none;
  transition: var(--transition-smooth);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-label {
  position: absolute;
  left: 1rem;
  top: 0.85rem;
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  pointer-events: none;
  transition: var(--transition-smooth);
  transform-origin: left top;
}

/* Active floating transitions */
.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label,
.form-select:focus ~ .form-label,
.form-select:valid ~ .form-label,
.form-textarea:focus ~ .form-label,
.form-textarea:not(:placeholder-shown) ~ .form-label {
  transform: translateY(-0.65rem) scale(0.75);
  color: var(--color-accent-cyan);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--color-accent-cyan);
  box-shadow: 0 0 15px rgba(107, 95, 174, 0.15);
  background: #ffffff;
  color: #0f172a;
}

/* Chrome/Safari Autofill Styles Overrides */
.form-input:-webkit-autofill,
.form-input:-webkit-autofill:hover, 
.form-input:-webkit-autofill:focus,
.form-textarea:-webkit-autofill,
.form-textarea:-webkit-autofill:hover,
.form-textarea:-webkit-autofill:focus,
.form-select:-webkit-autofill,
.form-select:-webkit-autofill:hover,
.form-select:-webkit-autofill:focus {
  -webkit-text-fill-color: #0f172a !important;
  -webkit-box-shadow: 0 0 0px 1000px #ffffff inset !important;
  transition: background-color 5000s ease-in-out 0s;
}

/* Select Styling overrides */
.form-select {
  appearance: none;
  cursor: pointer;
}

.form-select-wrapper {
  position: relative;
}

.form-select-wrapper::after {
  content: '';
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-20%);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--color-text-secondary);
  pointer-events: none;
  transition: var(--transition-fast);
}

.form-select:focus + ::after {
  border-top-color: var(--color-accent-cyan);
  transform: translateY(-20%) rotate(180deg);
}

/* Submit Status message box */
.form-status {
  padding: 1rem;
  border-radius: 8px;
  font-size: 0.95rem;
  display: none;
}

.form-status.success {
  display: block;
  background: rgba(21, 162, 156, 0.1);
  border: 1px solid var(--color-accent-green);
  color: var(--color-accent-green);
  animation: fadeIn 0.4s ease forwards;
}

.form-status.error {
  display: block;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid #ef4444;
  color: #ef4444;
  animation: fadeIn 0.4s ease forwards;
}

/* Footer style */
footer {
  background-color: var(--color-bg-slate);
  border-top: 1px solid var(--color-border);
  padding: 4rem 0 2rem 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3.5rem;
}

.footer-logo-area {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-logo-area .logo-img {
  height: 70px; /* Scale down for footer context */
  mix-blend-mode: multiply; /* Fallback blend */
}

.footer-tagline {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  font-weight: 300;
  max-width: 320px;
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--color-text-primary);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-links a {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--color-accent-cyan);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.copyright {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.footer-legal-links {
  display: flex;
  gap: 2rem;
}

.footer-legal-links a {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.footer-legal-links a:hover {
  color: var(--color-text-primary);
}

/* Scroll Triggered Animations CSS definitions */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.revealed {
  opacity: 1;
  transform: translate(0, 0);
}

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }

/* Keyframe Animations */
@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(21, 162, 156, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(21, 162, 156, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(21, 162, 156, 0);
  }
}

@keyframes rotate-slow {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero .container,
  .core-focus .container,
  .output-section .container,
  .contact-section .container {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .hero {
    padding-top: 10rem;
    text-align: center;
  }
  
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-graphic {
    order: -1;
  }
  
  .lifecycle-diagram-container {
    order: -1;
    max-width: 420px;
    margin: 0 auto;
  }
  
  .output-visual-container {
    order: -1;
  }
}

@media (max-width: 768px) {
  section {
    padding: 5rem 0;
  }
  
  header .container {
    padding: 1rem 1.5rem;
  }
  
  .menu-toggle {
    display: block;
    z-index: 110;
  }
  
  /* Mobile Navigation Menu Overlay */
  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background: var(--color-bg-deep);
    border-left: 1px solid var(--color-border);
    padding: 8rem 2.5rem 3rem 2.5rem;
    transition: var(--transition-smooth);
    z-index: 100;
  }
  
  nav.open {
    right: 0;
  }
  
  nav ul {
    flex-direction: column;
    gap: 2rem;
  }
  
  nav a {
    font-size: 1.25rem;
  }
  
  .header-actions {
    display: none;
  }
  
  /* Menu states when open */
  .menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -8px);
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  
  .contact-form-panel {
    padding: 2rem 1.5rem;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .logo-img {
    height: 80px; /* Responsive height on mobile to prevent layout overlapping */
  }
  
  .hero {
    padding-top: 9.5rem; /* Push content below mobile header */
  }
}

.contact-link {
  color: var(--color-text-primary);
  text-decoration: none;
  transition: var(--transition-fast);
}

.contact-link:hover {
  color: var(--color-accent-green);
}

/* Chemistry Section */
.chemistry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.chemistry-card {
  padding: 1.75rem;
  border-radius: 12px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.chemistry-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-neon-cyan);
}

.chemistry-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 6px;
  background: rgba(21, 162, 156, 0.08);
  color: var(--color-accent-green);
  border: 1px solid rgba(21, 162, 156, 0.15);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.chemistry-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.chemistry-desc {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

/* About Section */
.about-section {
  padding: 8rem 0;
  background-color: var(--color-bg-deep);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 5rem;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  max-width: 420px;
  aspect-ratio: 1;
}

.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: var(--transition-smooth);
}

.about-image-wrapper:hover .about-img {
  transform: scale(1.03);
}

.about-img-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(21, 162, 156, 0.08) 0%, rgba(107, 95, 174, 0.08) 100%);
  pointer-events: none;
}

@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .about-image-wrapper {
    margin: 0 auto;
  }
}
