/* ===== CSS VARIABLES ===== */
:root {
  /* Primary Colors - Blue Theme */
  --eco-primary: #2563eb;
  --eco-primary-light: #3b82f6;
  --eco-primary-dark: #1d4ed8;
  --eco-secondary: #0f172a;
  --eco-accent: #06b6d4;

  /* Neutral Colors */
  --eco-white: #ffffff;
  --eco-gray-50: #f8fafc;
  --eco-gray-100: #f1f5f9;
  --eco-gray-200: #e2e8f0;
  --eco-gray-300: #cbd5e1;
  --eco-gray-400: #94a3b8;
  --eco-gray-500: #64748b;
  --eco-gray-600: #475569;
  --eco-gray-700: #334155;
  --eco-gray-800: #1e293b;
  --eco-gray-900: #0f172a;

  /* Success & Status Colors */
  --eco-success: #10b981;
  --eco-warning: #f59e0b;
  --eco-error: #ef4444;

  /* Typography */
  --eco-font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --eco-font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --eco-space-xs: 0.25rem;
  --eco-space-sm: 0.5rem;
  --eco-space-md: 1rem;
  --eco-space-lg: 1.5rem;
  --eco-space-xl: 2rem;
  --eco-space-2xl: 3rem;
  --eco-space-3xl: 4rem;

  /* Border Radius */
  --eco-radius-sm: 0.375rem;
  --eco-radius-md: 0.5rem;
  --eco-radius-lg: 0.75rem;
  --eco-radius-xl: 1rem;

  /* Shadows */
  --eco-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --eco-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --eco-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --eco-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

  /* Transitions */
  --eco-transition-fast: 0.15s ease-in-out;
  --eco-transition-normal: 0.3s ease-in-out;
  --eco-transition-slow: 0.5s ease-in-out;
}

/* ===== RESET & BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

.eco-body {
  font-family: var(--eco-font-primary);
  line-height: 1.6;
  color: var(--eco-gray-800);
  background-color: var(--eco-white);
  overflow-x: hidden;
}

/* ===== CONTAINER & LAYOUT ===== */
.eco-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--eco-space-md);
}

@media (min-width: 768px) {
  .eco-container {
    padding: 0 var(--eco-space-lg);
  }
}

@media (min-width: 1024px) {
  .eco-container {
    padding: 0 var(--eco-space-xl);
  }
}

/* ===== HEADER ===== */
.eco-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--eco-gray-200);
  transition: var(--eco-transition-fast);
}

.eco-nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--eco-space-md) var(--eco-space-lg);
  min-height: 70px;
}

.eco-brand-section {
  flex-shrink: 0;
}

.eco-brand-title {
  font-family: var(--eco-font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0;
}

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

.eco-brand-link:hover {
  color: var(--eco-primary-dark);
}

.eco-nav-wrapper {
  display: flex;
  align-items: center;
}

.eco-mobile-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: var(--eco-space-sm);
}

.eco-hamburger-line {
  width: 25px;
  height: 3px;
  background-color: var(--eco-gray-700);
  margin: 3px 0;
  transition: var(--eco-transition-fast);
}

.eco-nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: var(--eco-space-lg);
}

.eco-nav-item {
  position: relative;
}

.eco-nav-link {
  display: block;
  padding: var(--eco-space-sm) var(--eco-space-md);
  color: var(--eco-gray-700);
  text-decoration: none;
  font-weight: 500;
  transition: var(--eco-transition-fast);
  border-radius: var(--eco-radius-md);
}

.eco-nav-link:hover,
.eco-nav-link.eco-nav-active {
  color: var(--eco-primary);
  background-color: var(--eco-gray-50);
}

/* ===== HERO SECTION ===== */
.eco-hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--eco-gray-900) 0%, var(--eco-primary-dark) 100%);
  color: var(--eco-white);
  position: relative;
  overflow: hidden;
}

.eco-hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.eco-hero-container {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--eco-space-2xl) var(--eco-space-lg);
  text-align: center;
}

.eco-hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.eco-hero-title {
  font-family: var(--eco-font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--eco-space-xl);
  background: linear-gradient(135deg, var(--eco-white) 0%, var(--eco-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.eco-hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: var(--eco-space-2xl);
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.eco-hero-actions {
  display: flex;
  gap: var(--eco-space-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.eco-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--eco-space-md) var(--eco-space-xl);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--eco-radius-lg);
  transition: var(--eco-transition-normal);
  cursor: pointer;
  border: 2px solid transparent;
  font-size: 1rem;
  min-width: 160px;
}

.eco-btn-primary {
  background-color: var(--eco-primary);
  color: var(--eco-white);
  border-color: var(--eco-primary);
}

.eco-btn-primary:hover {
  background-color: var(--eco-primary-dark);
  border-color: var(--eco-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--eco-shadow-lg);
}

.eco-btn-secondary {
  background-color: transparent;
  color: var(--eco-white);
  border-color: var(--eco-white);
}

.eco-btn-secondary:hover {
  background-color: var(--eco-white);
  color: var(--eco-primary);
  transform: translateY(-2px);
  box-shadow: var(--eco-shadow-lg);
}

/* ===== SECTIONS ===== */
.eco-features-section,
.eco-solutions-section,
.eco-stats-section {
  padding: var(--eco-space-3xl) 0;
}

.eco-section-alt {
  background-color: var(--eco-gray-50);
}

.eco-section-header,
.eco-solutions-header {
  text-align: center;
  margin-bottom: var(--eco-space-3xl);
  position: relative;
}

.eco-section-number {
  display: inline-block;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--eco-primary) 0%, var(--eco-accent) 100%);
  color: var(--eco-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--eco-font-heading);
  font-size: 2rem;
  font-weight: 700;
  margin: 0 auto var(--eco-space-lg);
  box-shadow: var(--eco-shadow-lg);
}

.eco-number-right {
  float: right;
  margin: 0 0 var(--eco-space-lg) var(--eco-space-lg);
}

.eco-section-title,
.eco-solutions-title {
  font-family: var(--eco-font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--eco-gray-900);
  margin-bottom: var(--eco-space-lg);
  line-height: 1.2;
}

.eco-section-description,
.eco-solutions-description {
  font-size: 1.125rem;
  color: var(--eco-gray-600);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .eco-mobile-toggle {
    display: flex;
  }

  .eco-nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--eco-white);
    flex-direction: column;
    gap: 0;
    box-shadow: var(--eco-shadow-lg);
    border-radius: 0 0 var(--eco-radius-lg) var(--eco-radius-lg);
  }

  .eco-nav-menu.eco-menu-open {
    display: flex;
  }

  .eco-nav-link {
    padding: var(--eco-space-lg);
    border-radius: 0;
    border-bottom: 1px solid var(--eco-gray-200);
  }

  .eco-hero-title {
    font-size: 2.5rem;
  }

  .eco-hero-subtitle {
    font-size: 1.125rem;
  }

  .eco-hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .eco-section-title,
  .eco-solutions-title {
    font-size: 2rem;
  }

  .eco-number-right {
    float: none;
    margin: 0 auto var(--eco-space-lg);
  }
}

@media (max-width: 480px) {
  .eco-hero-title {
    font-size: 2rem;
  }

  .eco-section-title,
  .eco-solutions-title {
    font-size: 1.75rem;
  }

  .eco-container {
    padding: 0 var(--eco-space-md);
  }
}
