:root {
  --primary: #00796B; /* Deep Eco Green */
  --primary-light: #4DB6AC;
  --secondary: #0277BD; /* Vibrant Blue */
  --bg-color: #F8FDFD; /* Very light cyan/blue tint */
  --text-dark: #1F2937;
  --text-light: #4B5563;
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.5);
  --glass-shadow: 0 8px 32px 0 rgba(0, 121, 107, 0.1);
}

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

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-color);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3 {
  font-weight: 800;
  line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 1rem; color: var(--primary); }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 2rem; color: var(--primary); }
h3 { font-size: 1.5rem; margin-bottom: 1rem; }
p { font-size: 1.1rem; color: var(--text-light); }

.text-center { text-align: center; }

/* Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.bg-light {
  background: linear-gradient(135deg, rgba(2,119,189,0.05) 0%, rgba(0,121,107,0.05) 100%);
}

.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 1rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  color: white;
  box-shadow: 0 4px 15px rgba(0, 121, 107, 0.3);
}

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

.btn-outline {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

/* Header */
.header {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1200px;
  z-index: 1000;
  border-radius: 50px;
  padding: 0.5rem 2rem;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 40px;
}

nav a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  margin-left: 1.5rem;
  transition: color 0.3s;
}

nav a:hover {
  color: var(--primary);
}

/* Burger Menu Styles */
.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 1001;
}

.burger-menu span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--primary);
  border-radius: 3px;
  transition: all 0.3s ease;
  transform-origin: left center;
}

@media (max-width: 768px) {
  .burger-menu {
    display: flex;
  }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 1rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    box-shadow: var(--glass-shadow);
    border: 1px solid var(--glass-border);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    z-index: 1000;
  }

  nav.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(10px); /* Margin below header */
  }

  nav a {
    margin: 0;
    font-size: 1.2rem;
  }

  /* Burger animation */
  .burger-menu.active span:nth-child(1) {
    transform: rotate(45deg);
  }
  .burger-menu.active span:nth-child(2) {
    opacity: 0;
  }
  .burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg);
  }
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
  opacity: 0.15;
  border-radius: 50%;
  z-index: -1;
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.hero-text {
  flex: 1;
}

.hero-text p {
  margin-bottom: 2rem;
  font-size: 1.25rem;
}

.hero-image {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  position: relative;
  z-index: 2;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.glow-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  filter: blur(60px);
  opacity: 0.3;
  z-index: 1;
  border-radius: 50%;
  animation: pulse 4s infinite alternate;
}

@keyframes pulse {
  0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.2; }
  100% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.4; }
}

@media (max-width: 992px) {
  .hero-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.card {
  padding: 2.5rem;
  text-align: center;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
}

.card .icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

/* How To */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.step {
  text-align: center;
}

.step-icon {
  width: 60px;
  height: 60px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto 1rem;
  box-shadow: 0 4px 15px rgba(0, 121, 107, 0.3);
}

/* Pricing */
.pricing-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.pricing-card {
  width: 100%;
  max-width: 350px;
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  transition: transform 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-5px);
}

.pricing-card.popular {
  border: 2px solid var(--secondary);
  transform: scale(1.05);
}

.pricing-card.popular:hover {
  transform: scale(1.05) translateY(-5px);
}

.pricing-card .badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--secondary);
  color: white;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: bold;
}

.pricing-card .price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  margin: 1rem 0;
}

.pricing-card p {
  margin-bottom: 2rem;
  min-height: 50px;
}

.buy-btn {
  width: 100%;
}

/* Footer */
.footer {
  padding: 2rem 0;
  background: var(--text-dark);
  color: white;
}

.footer p {
  color: #9CA3AF;
  margin-bottom: 1rem;
}

.footer-links a {
  color: white;
  text-decoration: none;
  margin: 0 1rem;
  font-weight: 600;
}

/* Animations */
.fade-in {
  opacity: 0;
  transition: opacity 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
}

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Calculator Styles */
.calc-variant {
  padding: 2rem;
  border-radius: 1rem;
  margin-bottom: 2rem;
}

.calc-box {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.calc-controls {
  flex: 2;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.calc-result {
  flex: 1;
  min-width: 250px;
  background: rgba(0, 121, 107, 0.05);
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  border: 1px solid var(--primary-light);
}

.calc-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.slider {
  width: 100%;
  accent-color: var(--primary);
  height: 8px;
  border-radius: 5px;
}

.result-text {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  margin: 1rem 0;
}

.btn-group {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.btn-select {
  padding: 0.5rem 1rem;
  border: 2px solid var(--primary-light);
  background: transparent;
  color: var(--text-dark);
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 600;
}

.btn-select.active, .btn-select:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.select-input {
  width: 100%;
  padding: 0.8rem;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 1rem;
  font-family: inherit;
  background-color: white;
}

.calc-box-simple {
  flex-direction: column;
  align-items: stretch;
}

.calc-result-simple {
  text-align: center;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eee;
}

/* Economy Section */
.economy-box {
  padding: 4rem 2rem;
  border-top: 5px solid var(--primary);
  position: relative;
  overflow: hidden;
  margin-top: 2rem;
}

.economy-box::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: var(--primary-light);
  opacity: 0.1;
  border-radius: 50%;
}

.text-highlight {
  color: #047857; /* Deep green for money */
  text-shadow: 0 2px 10px rgba(4, 120, 87, 0.2);
}

.economy-grid {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.eco-card {
  flex: 1;
  min-width: 280px;
  max-width: 400px;
  padding: 2.5rem 2rem;
  border-radius: 1rem;
  text-align: center;
  position: relative;
  background: white;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.kem-card {
  border: 2px solid var(--primary);
  transform: scale(1.05);
  z-index: 2;
  box-shadow: 0 15px 40px rgba(0, 121, 107, 0.15);
}

.others-card {
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  opacity: 0.9;
}

.card-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: #f59e0b;
  color: white;
  padding: 0.4rem 1.2rem;
  border-radius: 20px;
  font-weight: bold;
  font-size: 0.9rem;
  box-shadow: 0 4px 10px rgba(245, 158, 11, 0.3);
  white-space: nowrap;
}

.eco-icon {
  margin: 0 auto 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
}

.kem-card .eco-icon {
  background: rgba(0, 121, 107, 0.1);
  color: var(--primary);
}

.others-card .eco-icon {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.price-compare {
  font-size: 2.5rem;
  font-weight: 800;
  margin: 1rem 0;
}

.kem-card .price-compare {
  color: var(--primary);
}

.others-card .price-compare {
  color: #ef4444;
}

.eco-vs {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.5rem;
  color: #9ca3af;
  background: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  z-index: 3;
  margin-top: auto;
  margin-bottom: auto;
}

@media (max-width: 768px) {
  .economy-grid {
    flex-direction: column;
    align-items: center;
  }
  .kem-card {
    transform: scale(1);
    margin-bottom: 1rem;
  }
  .eco-vs {
    margin: 1rem 0;
  }
}

/* Delivery Section */
.delivery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.delivery-info {
  padding: 2.5rem;
  border-radius: 1rem;
}

.delivery-list {
  list-style: none;
  margin-top: 1.5rem;
}

.delivery-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.delivery-icon {
  font-size: 2rem;
  line-height: 1;
}

.delivery-map {
  border-radius: 1rem;
  overflow: hidden;
  padding: 0.5rem;
  background: white;
}

@media (max-width: 768px) {
  .delivery-grid {
    grid-template-columns: 1fr;
  }
}

/* Contacts Section */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 2rem;
}

.contact-info, .contact-form {
  padding: 2.5rem;
  border-radius: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.contact-item .icon {
  font-size: 1.8rem;
  color: var(--primary);
}

.contact-link {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

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

.form-group {
  margin-bottom: 1.5rem;
  text-align: left;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s, box-shadow 0.3s;
  background: white;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 121, 107, 0.1);
}

@media (max-width: 768px) {
  .contacts-grid {
    grid-template-columns: 1fr;
  }
}
