/*
Theme Name: Nexera Crop
Theme URI: https://nexera-crop.com
Author: Haleem Khan
Author URI: https://nexera-crop.com
Description: A custom WordPress theme for Nexera Crop - Research-driven AgTech company focusing on next-generation agricultural solutions.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nexera-crop
Tags: agriculture, agtech, custom-theme, responsive
*/

/* ============================================
   GOOGLE FONTS
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,100..900;1,9..144,100..900&family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
  /* Colors - Earthy Organic Palette */
  --color-earth-950: #1a1410;
  --color-earth-900: #3D2B1F;
  --color-earth-800: #4A3728;
  --color-earth-700: #5D4A38;
  --color-earth-600: #7A6350;
  --color-earth-500: #A67B5B;
  --color-earth-400: #C4A35A;
  --color-earth-300: #D4B896;
  --color-earth-200: #E8D5B7;
  --color-earth-100: #F5EDE0;
  --color-earth-50: #FFFEF9;

  /* Greens - Life & Growth */
  --color-growth-950: #0a1f0a;
  --color-growth-900: #14390f;
  --color-growth-800: #1e5216;
  --color-growth-700: #2D6A1E;
  --color-growth-600: #3D8428;
  --color-growth-500: #4A9E32;
  --color-growth-400: #6BB847;
  --color-growth-300: #8FD06A;
  --color-growth-200: #B8E49A;
  --color-growth-100: #E2F5D3;
  --color-growth-50: #F4FBF0;

  /* Accent - Tech Blue-Green */
  --color-tech-600: #0F766E;
  --color-tech-500: #14B8A6;
  --color-tech-400: #2DD4BF;

  /* Fonts */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  /* Shadows */
  --shadow-organic: 0 4px 20px -2px rgba(61, 43, 31, 0.15), 0 2px 8px -2px rgba(61, 43, 31, 0.1);
  --shadow-elevated: 0 12px 40px -8px rgba(61, 43, 31, 0.2), 0 4px 16px -4px rgba(61, 43, 31, 0.1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-earth-50);
  color: var(--color-earth-900);
  line-height: 1.7;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.2;
}

.font-display { font-family: var(--font-display); }
.font-body { font-family: var(--font-body); }

/* Text Colors */
.text-earth-950 { color: var(--color-earth-950); }
.text-earth-900 { color: var(--color-earth-900); }
.text-earth-800 { color: var(--color-earth-800); }
.text-earth-700 { color: var(--color-earth-700); }
.text-earth-600 { color: var(--color-earth-600); }
.text-earth-500 { color: var(--color-earth-500); }
.text-earth-400 { color: var(--color-earth-400); }
.text-earth-300 { color: var(--color-earth-300); }
.text-earth-200 { color: var(--color-earth-200); }
.text-earth-100 { color: var(--color-earth-100); }
.text-earth-50 { color: var(--color-earth-50); }

.text-growth-700 { color: var(--color-growth-700); }
.text-growth-600 { color: var(--color-growth-600); }
.text-growth-500 { color: var(--color-growth-500); }
.text-growth-400 { color: var(--color-growth-400); }
.text-growth-300 { color: var(--color-growth-300); }
.text-growth-200 { color: var(--color-growth-200); }
.text-growth-100 { color: var(--color-growth-100); }

.text-tech-500 { color: var(--color-tech-500); }
.text-tech-400 { color: var(--color-tech-400); }

/* Background Colors */
.bg-earth-950 { background-color: var(--color-earth-950); }
.bg-earth-900 { background-color: var(--color-earth-900); }
.bg-earth-800 { background-color: var(--color-earth-800); }
.bg-earth-100 { background-color: var(--color-earth-100); }
.bg-earth-50 { background-color: var(--color-earth-50); }
.bg-white { background-color: #ffffff; }

.bg-growth-700 { background-color: var(--color-growth-700); }
.bg-growth-600 { background-color: var(--color-growth-600); }
.bg-growth-100 { background-color: var(--color-growth-100); }
.bg-growth-50 { background-color: var(--color-growth-50); }

/* Gradient Text */
.text-gradient {
  background: linear-gradient(135deg, var(--color-earth-800) 0%, var(--color-growth-700) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   LAYOUT
   ============================================ */
.container-custom {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container-custom {
    padding: 0 2rem;
  }
}

.section {
  padding: 6rem 1.5rem;
}

@media (min-width: 768px) {
  .section {
    padding: 8rem 2rem;
  }
}

@media (min-width: 1024px) {
  .section {
    padding: 10rem 2rem;
  }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9375rem;
  border-radius: 9999px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  text-decoration: none;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-growth-700) 0%, var(--color-growth-600) 100%);
  color: white;
  box-shadow: 0 4px 14px -3px rgba(45, 106, 30, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px -5px rgba(45, 106, 30, 0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--color-earth-800);
  border: 2px solid var(--color-earth-300);
}

.btn-secondary:hover {
  background: var(--color-earth-100);
  border-color: var(--color-earth-400);
}

.btn-white {
  background: white;
  color: var(--color-growth-800);
  box-shadow: 0 4px 14px -3px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
  background: var(--color-earth-100);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ============================================
   CARDS
   ============================================ */
.card {
  background: white;
  border-radius: 1.5rem;
  box-shadow: var(--shadow-organic);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-elevated);
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.header-bg {
  position: absolute;
  inset: 0;
  background: rgba(255, 254, 249, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(232, 213, 183, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.header-bg.is-scrolled {
  opacity: 1;
}

.header-content {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

@media (min-width: 1024px) {
  .header-content {
    height: 96px;
  }
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-image {
  width: 100px;
  height: 60px;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: var(--shadow-organic);
  transition: transform 0.3s ease;
}

@media (min-width: 1024px) {
  .logo-image {
    width: 120px;
    height: 72px;
  }
}

.logo-link:hover .logo-image {
  transform: scale(1.05);
}

.logo-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo-text {
  display: none;
}

@media (min-width: 640px) {
  .logo-text {
    display: block;
  }
}

.logo-text span:first-child {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-earth-900);
}

@media (min-width: 1024px) {
  .logo-text span:first-child {
    font-size: 1.75rem;
  }
}

.logo-text span:last-child {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--color-growth-700);
  margin-left: 0.25rem;
}

@media (min-width: 1024px) {
  .logo-text span:last-child {
    font-size: 1.75rem;
  }
}

/* Desktop Navigation */
.nav-desktop {
  display: none;
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 0.25rem;
  }
}

.nav-link {
  position: relative;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 9999px;
  transition: all 0.3s ease;
  color: var(--color-earth-700);
}

.nav-link:hover {
  color: var(--color-earth-900);
  background: var(--color-earth-100);
}

.nav-link.active {
  color: var(--color-growth-700);
  background: var(--color-growth-100);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0.25rem;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: var(--color-growth-500);
  border-radius: 50%;
}

/* Header CTA */
.header-cta {
  display: none;
}

@media (min-width: 1024px) {
  .header-cta {
    display: block;
  }
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 0.75rem;
  background: var(--color-earth-100);
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

@media (min-width: 1024px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu-btn:hover {
  background: var(--color-earth-200);
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hamburger span {
  width: 20px;
  height: 2px;
  background: var(--color-earth-800);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.mobile-menu-btn.is-open .hamburger span:first-child {
  transform: translateY(8px) rotate(45deg);
}

.mobile-menu-btn.is-open .hamburger span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.is-open .hamburger span:last-child {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 80px 0 0 0;
  background: rgba(255, 254, 249, 0.98);
  backdrop-filter: blur(20px);
  transform: translateX(100%);
  transition: transform 0.5s ease;
  z-index: 999;
  overflow-y: auto;
}

@media (min-width: 1024px) {
  .mobile-menu {
    display: none;
  }
}

.mobile-menu.is-open {
  transform: translateX(0);
}

.mobile-menu-content {
  padding: 2rem 1rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-radius: 1rem;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--color-earth-700);
  transition: all 0.3s ease;
  margin-bottom: 0.5rem;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background: var(--color-growth-100);
  color: var(--color-growth-700);
}

.mobile-nav-link::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.4;
}

/* Header Spacer */
.header-spacer {
  height: 80px;
}

@media (min-width: 1024px) {
  .header-spacer {
    height: 96px;
  }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--color-earth-900);
  color: var(--color-earth-200);
  position: relative;
  overflow: hidden;
}

.footer-decoration {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.footer-decoration::before {
  content: '';
  position: absolute;
  top: -160px;
  right: -160px;
  width: 320px;
  height: 320px;
  background: rgba(45, 106, 30, 0.1);
  border-radius: 50%;
  filter: blur(60px);
}

.footer-decoration::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 240px;
  height: 240px;
  background: rgba(93, 74, 56, 0.3);
  border-radius: 50%;
  filter: blur(60px);
}

.footer-content {
  position: relative;
  z-index: 10;
  padding: 4rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 2rem;
  }
}

.footer-brand p {
  color: var(--color-earth-300);
  font-size: 0.875rem;
  line-height: 1.7;
  margin: 1.5rem 0;
  max-width: 320px;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: var(--color-earth-800);
  color: var(--color-earth-400);
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--color-growth-700);
  color: white;
}

.footer-social svg {
  width: 20px;
  height: 20px;
}

.footer-column h4 {
  color: var(--color-earth-50);
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-column a {
  font-size: 0.875rem;
  color: var(--color-earth-400);
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: var(--color-growth-400);
}

/* Newsletter */
.footer-newsletter p {
  font-size: 0.875rem;
  color: var(--color-earth-400);
  margin-bottom: 1rem;
}

.footer-newsletter input {
  width: 100%;
  padding: 0.625rem 1rem;
  background: var(--color-earth-800);
  border: 1px solid var(--color-earth-700);
  border-radius: 0.75rem;
  font-size: 0.875rem;
  color: var(--color-earth-200);
  margin-bottom: 0.75rem;
  transition: border-color 0.3s ease;
}

.footer-newsletter input::placeholder {
  color: var(--color-earth-500);
}

.footer-newsletter input:focus {
  outline: none;
  border-color: var(--color-growth-600);
}

.footer-newsletter button {
  width: 100%;
  padding: 0.625rem 1rem;
  background: var(--color-growth-700);
  color: white;
  border: none;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s ease;
}

.footer-newsletter button:hover {
  background: var(--color-growth-600);
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid var(--color-earth-800);
  padding: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-bottom p {
  font-size: 0.875rem;
  color: var(--color-earth-500);
}

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

.footer-links a {
  font-size: 0.875rem;
  color: var(--color-earth-500);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--color-earth-300);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(74, 158, 50, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(166, 123, 91, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(45, 106, 30, 0.05) 0%, transparent 40%);
}

.hero-decoration {
  position: absolute;
  top: 80px;
  right: 40px;
  width: 288px;
  height: 288px;
  background: rgba(143, 208, 106, 0.2);
  border-radius: 50%;
  filter: blur(60px);
  animation: float 6s ease-in-out infinite;
}

.hero-decoration-2 {
  position: absolute;
  bottom: 80px;
  left: 40px;
  width: 384px;
  height: 384px;
  background: rgba(212, 184, 150, 0.2);
  border-radius: 50%;
  filter: blur(60px);
  animation: float 6s ease-in-out infinite;
  animation-delay: -3s;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 896px;
  padding: 5rem 0;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--color-growth-100);
  border-radius: 9999px;
  color: var(--color-growth-700);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 2rem;
  animation: fadeUp 0.8s ease-out forwards;
}

.hero-eyebrow::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--color-growth-500);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--color-earth-950);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.8s ease-out forwards;
  animation-delay: 0.1s;
  opacity: 0;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 4rem;
  }
}

@media (min-width: 1280px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

.hero-description {
  font-size: 1.125rem;
  color: var(--color-earth-600);
  max-width: 672px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
  animation: fadeUp 0.8s ease-out forwards;
  animation-delay: 0.2s;
  opacity: 0;
}

@media (min-width: 768px) {
  .hero-description {
    font-size: 1.25rem;
  }
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  animation: fadeUp 0.8s ease-out forwards;
  animation-delay: 0.3s;
  opacity: 0;
}

.hero-trust {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-earth-200);
  animation: fadeUp 0.8s ease-out forwards;
  animation-delay: 0.4s;
  opacity: 0;
}

.hero-trust p {
  font-size: 0.875rem;
  color: var(--color-earth-500);
  margin-bottom: 1rem;
}

.hero-partners {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.hero-partners span {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-earth-400);
  transition: color 0.3s ease;
}

.hero-partners span:hover {
  color: var(--color-earth-600);
}

/* ============================================
   SECTION HEADING
   ============================================ */
.section-heading {
  max-width: 768px;
  margin: 0 auto;
  text-align: center;
}

.section-heading.align-left {
  margin: 0;
  text-align: left;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  background: var(--color-growth-100);
  border: 1px solid var(--color-growth-200);
  border-radius: 9999px;
  color: var(--color-growth-700);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.section-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  background: currentColor;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.section-eyebrow.dark {
  background: rgba(45, 106, 30, 0.2);
  border-color: rgba(45, 106, 30, 0.3);
  color: var(--color-growth-400);
}

.section-title {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-earth-950);
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .section-title {
    font-size: 3rem;
  }
}

.section-title.light {
  color: var(--color-earth-50);
}

.section-description {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  color: var(--color-earth-600);
  line-height: 1.7;
}

.section-description.light {
  color: var(--color-earth-300);
}

/* ============================================
   FEATURE CARDS
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 4rem;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  position: relative;
  padding: 2rem;
  background: white;
  border-radius: 1.5rem;
  box-shadow: var(--shadow-organic);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, var(--color-growth-50), transparent);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-elevated);
}

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

.feature-card-content {
  position: relative;
  z-index: 10;
}

.feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--color-growth-100), var(--color-growth-200));
  color: var(--color-growth-700);
  margin-bottom: 1.5rem;
  transition: transform 0.5s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
}

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

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-earth-900);
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--color-earth-600);
  line-height: 1.7;
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.stat-card {
  text-align: center;
  padding: 1.5rem;
  position: relative;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--color-growth-400), transparent);
  border-radius: 2px;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--color-earth-50);
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .stat-value {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .stat-value {
    font-size: 3.75rem;
  }
}

.stat-value span {
  color: var(--color-growth-400);
}

.stat-label {
  margin-top: 0.5rem;
  color: var(--color-earth-300);
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .stat-label {
    font-size: 1rem;
  }
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  position: relative;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-growth-700), var(--color-growth-800), var(--color-earth-900));
}

.cta-decoration {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.cta-decoration::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -25%;
  width: 800px;
  height: 800px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.cta-decoration::after {
  content: '';
  position: absolute;
  bottom: -50%;
  left: -25%;
  width: 600px;
  height: 600px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.cta-content {
  position: relative;
  z-index: 10;
  text-align: center;
}

.cta-title {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 500;
  color: white;
  margin-bottom: 1.5rem;
  max-width: 768px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .cta-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .cta-title {
    font-size: 3rem;
  }
}

.cta-description {
  color: var(--color-growth-200);
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
  max-width: 672px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-form-wrapper {
  background: white;
  border-radius: 1.5rem;
  box-shadow: var(--shadow-organic);
  padding: 2rem;
}

@media (min-width: 1024px) {
  .contact-form-wrapper {
    padding: 2.5rem;
  }
}

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

@media (min-width: 768px) {
  .contact-form .form-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.contact-form .form-group {
  margin-bottom: 1.5rem;
}

.contact-form label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-earth-700);
  margin-bottom: 0.5rem;
}

.contact-form label .required {
  color: var(--color-growth-600);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: white;
  border: 2px solid var(--color-earth-200);
  border-radius: 0.75rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-earth-900);
  transition: border-color 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--color-earth-400);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-growth-500);
}

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

.contact-form .consent-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.contact-form .consent-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex-shrink: 0;
}

.contact-form .consent-group label {
  margin-bottom: 0;
  font-weight: 400;
  color: var(--color-earth-600);
}

.contact-form .consent-group a {
  color: var(--color-growth-700);
  text-decoration: underline;
}

.contact-form button[type="submit"] {
  width: 100%;
}

/* Contact Form 7 Styling */
.wpcf7 input,
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: white;
  border: 2px solid var(--color-earth-200);
  border-radius: 0.75rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-earth-900);
  transition: border-color 0.3s ease;
}

.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
  outline: none;
  border-color: var(--color-growth-500);
}

.wpcf7 textarea {
  min-height: 150px;
  resize: vertical;
}

.wpcf7-form p {
  margin-bottom: 1.5rem;
}

.wpcf7-form label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-earth-700);
  margin-bottom: 0.5rem;
}

.wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--color-growth-700) 0%, var(--color-growth-600) 100%);
  color: white;
  border: none;
  border-radius: 9999px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px -3px rgba(45, 106, 30, 0.4);
}

.wpcf7-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px -5px rgba(45, 106, 30, 0.5);
}

.wpcf7-response-output {
  padding: 1rem;
  border-radius: 0.75rem;
  margin-top: 1rem;
}

.wpcf7-validation-errors {
  border-color: #ef4444 !important;
  background: #fef2f2;
}

.wpcf7-mail-sent-ok {
  border-color: var(--color-growth-500) !important;
  background: var(--color-growth-50);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

/* ============================================
   UTILITIES
   ============================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.mx-auto { margin-left: auto; margin-right: auto; }

.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }

.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mt-16 { margin-top: 4rem; }

.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }

.max-w-2xl { max-width: 672px; }
.max-w-3xl { max-width: 768px; }

.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }

@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
  .lg\:grid-cols-12 { grid-template-columns: repeat(12, 1fr); }
  .lg\:col-span-7 { grid-column: span 7; }
  .lg\:col-span-5 { grid-column: span 5; }
}

.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }

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

.relative { position: relative; }
.z-10 { z-index: 10; }

.overflow-hidden { overflow: hidden; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }

.shadow-organic { box-shadow: var(--shadow-organic); }

.border { border: 1px solid; }
.border-earth-200 { border-color: var(--color-earth-200); }

.transition-all { transition: all 0.3s ease; }

/* ============================================
   NEWS SECTION
   ============================================ */
.news-header {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.news-article {
  cursor: pointer;
}

.news-article-image {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 1rem;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.news-article-image-bg {
  position: absolute;
  inset: 0;
}

.news-article-image-bg.research {
  background: linear-gradient(135deg, var(--color-growth-600), var(--color-growth-800));
}

.news-article-image-bg.partnership {
  background: linear-gradient(135deg, var(--color-earth-600), var(--color-earth-800));
}

.news-article-image-bg.technology {
  background: linear-gradient(135deg, var(--color-tech-500), var(--color-tech-600));
}

.news-article-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.2);
}

.news-article-category {
  font-size: 0.875rem;
  color: var(--color-growth-600);
  font-weight: 500;
}

.news-article-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-earth-900);
  margin: 0.5rem 0 0.75rem;
}

.news-article-excerpt {
  color: var(--color-earth-600);
  font-size: 0.875rem;
}

.view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-growth-700);
  font-weight: 500;
}

.view-all-link:hover {
  color: var(--color-growth-600);
}

/* ============================================
   RESPONSIVE UTILITY CLASSES
   ============================================ */
.md-grid-2 { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.md-grid-3 { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.md-grid-4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.md-flex-row { display: flex; flex-direction: column; }
.lg-grid-2 { display: grid; grid-template-columns: 1fr; gap: 3rem; }

@media (min-width: 768px) {
  .news-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }

  .news-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .md-grid-2 { grid-template-columns: repeat(2, 1fr); }
  .md-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .md-grid-4 { grid-template-columns: repeat(4, 1fr); }
  .md-flex-row { flex-direction: row; align-items: center; }
}

@media (min-width: 1024px) {
  .lg-grid-2 { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

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

.contact-info-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: var(--color-growth-100);
  color: var(--color-growth-700);
  flex-shrink: 0;
}

.contact-info-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-earth-900);
  margin-bottom: 0.5rem;
}

.contact-info-text {
  color: var(--color-earth-600);
  font-size: 0.875rem;
  line-height: 1.6;
}

.contact-social {
  padding-top: 1rem;
  border-top: 1px solid var(--color-earth-200);
}

.contact-social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: var(--color-earth-100);
  color: var(--color-earth-600);
  transition: all 0.3s;
}

.social-link:hover {
  background: var(--color-growth-100);
  color: var(--color-growth-700);
}

.contact-form-wrapper {
  padding: 2rem;
}

.contact-form-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-earth-900);
  margin-bottom: 0.5rem;
}

.contact-form-subtitle {
  color: var(--color-earth-600);
  margin-bottom: 2rem;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 5fr 7fr;
    gap: 4rem;
  }
}

/* FAQ Details */
details[open] summary svg {
  transform: rotate(180deg);
}

details summary::-webkit-details-marker {
  display: none;
}

/* ============================================
   TECHNOLOGIES PAGE
   ============================================ */
.tech-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 4rem;
}

@media (min-width: 768px) {
  .tech-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================
   GRID LAYOUTS
   ============================================ */

/* Stats Grid - 4 columns */
.stats-grid-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  text-align: center;
}

@media (min-width: 768px) {
  .stats-grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Regions Grid - 2 columns */
.regions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 4rem;
}

@media (min-width: 768px) {
  .regions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Offices Grid - 4 columns */
.offices-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .offices-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Posts Grid - 3 columns */
.posts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .posts-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mission Grid - 2 columns */
.mission-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .mission-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Patents Grid - 3 columns */
.patents-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 4rem;
}

@media (min-width: 768px) {
  .patents-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================
   CAREERS / JOBS
   ============================================ */
.jobs-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 4rem;
}

.job-card {
  padding: 1.5rem;
}

.job-card-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.job-card-content {
  flex-grow: 1;
}

.job-card-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.job-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-earth-900);
}

.job-badge {
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  background: var(--color-growth-100);
  color: var(--color-growth-700);
  border-radius: 9999px;
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--color-earth-500);
  margin-bottom: 0.75rem;
}

.job-description {
  color: var(--color-earth-600);
  font-size: 0.875rem;
}

.job-card-action {
  flex-shrink: 0;
}

.jobs-cta {
  text-align: center;
  margin-top: 3rem;
}

.jobs-cta p {
  color: var(--color-earth-600);
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .job-card-inner {
    flex-direction: row;
    align-items: center;
  }
}
