:root {
  /* "Sustainable Earth" Theme Palette */
  --bg-main: #ecfdf5;
  /* Mint Cream */
  --bg-card: rgba(255, 255, 255, 0.85);
  --primary: #059669;
  /* Emerald Green */
  --primary-gradient: linear-gradient(135deg, #059669 0%, #0d9488 100%);
  /* Emerald to Teal */
  --secondary: #0d9488;
  /* Teal */
  --accent: #d97706;
  /* Earthy Amber */
  --text-dark: #064e3b;
  /* Dark Green Text */
  --text-muted: #374151;
  /* Charcoal mostly neutral */
  --border-light: rgba(16, 185, 129, 0.2);

  --shadow-soft: 0 10px 40px -10px rgba(37, 99, 235, 0.1);
  --shadow-hover: 0 20px 40px -5px rgba(37, 99, 235, 0.2);

  --font-heading: 'Be Vietnam Pro', sans-serif;
  --font-body: 'Be Vietnam Pro', sans-serif;

  --glass-blur: blur(16px);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-main);
  color: var(--text-dark);
  font-family: var(--font-body);
  line-height: 1.7;
  font-weight: 300;
  overflow-x: hidden;
  position: relative;
  /* Animated mesh background simulation */
  background-image:
    radial-gradient(at 0% 0%, hsla(253, 16%, 7%, 0) 0, hsla(253, 16%, 7%, 0) 50%),
    radial-gradient(at 50% 0%, hsla(225, 39%, 30%, 0) 0, hsla(225, 39%, 30%, 0) 50%),
    radial-gradient(at 100% 0%, hsla(339, 49%, 30%, 0) 0, hsla(339, 49%, 30%, 0) 50%);
}

/* Background Blobs */
.bg-blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
  opacity: 0.6;
  animation: blobFloat 10s infinite alternate;
}

.blob-1 {
  top: -10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: rgba(16, 185, 129, 0.15);
}

.blob-2 {
  bottom: -10%;
  right: -10%;
  width: 40vw;
  height: 40vw;
  background: rgba(13, 148, 136, 0.15);
  animation-delay: -5s;
}

.blob-3 {
  top: 40%;
  left: 30%;
  width: 30vw;
  height: 30vw;
  background: rgba(245, 158, 11, 0.1);
  animation-duration: 15s;
}

@keyframes blobFloat {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(30px, 50px) scale(1.1);
  }
}

/* Floating Navbar */
.floating-nav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 95%;
  max-width: 1400px;
  z-index: 1000;
}

.floating-nav nav {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-light);
  padding: 12px 30px;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text-dark);
}

.logo-accent {
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.95rem;
  transition: 0.3s;
  position: relative;
}

.nav-links a:hover {
  color: var(--primary);
}

.action-btn {
  background: var(--text-dark);
  color: white;
  padding: 10px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  color: white !important;
  /* Override generic link hover */
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px 60px;
  position: relative;
  /* Update Hero background to be main image with overlay */
  /* Remove old simple bg if present, though it was handled by body blobs. We will add a stronger overlay here */
  background: linear-gradient(to bottom, rgba(236, 253, 245, 0.9), rgba(236, 253, 245, 0.6)), url('assets/img/green_hero_ai.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 24px;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -2px;
}

.hero-content p {
  font-size: 1.1rem;
  color: var(--text-muted);
  font-weight: 300;
  max-width: 600px;
  margin: 0 auto 40px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.btn {
  padding: 14px 28px;
  border-radius: 4px;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  transition: 0.3s;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
  background: white;
  color: var(--text-dark);
  border: 1px solid #e2e8f0;
}

.btn-secondary:hover {
  border-color: var(--primary);
  background: #f8fafc;
}

/* Bento Grid Services */
.bento-section {
  padding: 100px 20px;
}

.bento-container {
  max-width: 1600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 300px);
  gap: 24px;
}

.bento-card {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.bento-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  background: rgba(255, 255, 255, 0.9);
}

.bento-large {
  grid-column: span 2;
}

.bento-icon {
  width: 60px;
  height: 60px;
  background: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--primary);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
}

.bento-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 12px;
}

.bento-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 300;
}

/* Feature/About Section */
.feature-section {
  padding: 100px 0;
  background: white;
}

.feature-grid {
  max-width: 1600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 0 20px;
  align-items: center;
}

.feature-content h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 300;
  margin-bottom: 24px;
  color: var(--text-dark);
}

.feature-content p {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 300;
  margin-bottom: 20px;
}

.feature-visual {
  height: 500px;
  background: url('assets/img/robot_plant.png');
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

.visual-card {
  position: absolute;
  background: white;
  padding: 24px;
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  animation: floatCard 6s infinite ease-in-out;
}

.vc-1 {
  top: 20%;
  left: 10%;
  width: 200px;
}

.vc-2 {
  bottom: 20%;
  right: 10%;
  width: 220px;
  animation-delay: 1s;
}

@keyframes floatCard {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

/* Footer */
footer {
  background: white;
  padding: 80px 0 40px;
  margin-top: 50px;
  border-top: 1px solid #e2e8f0;
}

.footer-content {
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-muted);
  transition: 0.2s;
}

.footer-links a:hover {
  color: var(--primary);
}

/* Pages Styling (Privacy/Terms) */
.page-container {
  padding-top: 150px;
  padding-bottom: 100px;
}

.page-title {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  text-align: center;
  margin-bottom: 10px;
}

.last-updated {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 60px;
}

.legal-content {
  max-width: 1000px;
  margin: 0 auto;
  background: white;
  padding: 60px;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.legal-content section {
  margin-bottom: 40px;
}

.legal-content h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.legal-content p,
.legal-content li {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 15px;
}

.legal-content ul {
  margin-left: 20px;
}

/* Responsive */
@media (max-width: 1024px) {
  .bento-container {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .bento-large {
    grid-column: auto;
  }

  .hero-content h1 {
    font-size: 3.5rem;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .floating-nav nav {
    padding: 15px;
  }

  .nav-links {
    display: none;
    /* Add valid mobile menu later if strictly needed, keeping simple for now */
  }

  .hero-content h1 {
    font-size: 2.8rem;
  }
}

/* Logo Images */
.logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.footer-logo-img {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.lang-btn {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-btn:hover {
  background: var(--primary);
  color: white;
}