:root {
  /* Enhanced Color Palette */
  --primary-green: #228b22; /* Forest Green */
  --primary-blue: #4682b4; /* Steel Blue */
  --accent-orange: #ffd700; /* Gold */
  --mocha-mousse: #a78b71; /* Pantone 2025 */
  --dark-green: #006400;
  --light-green: #90ee90;
  --neutral-50: #f0fff0;
  --neutral-100: #f3f4f6;
  --neutral-200: #e5e7eb;
  --neutral-300: #d1d5db;
  --neutral-600: #4b5563;
  --neutral-700: #374151;
  --neutral-800: #1f2937;
  --neutral-900: #111827;
}

body {
  font-family: "Inter", sans-serif;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: linear-gradient(135deg, var(--neutral-50) 0%, #ffffff 100%);
  color: var(--neutral-700);
  line-height: 1.7;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Enhanced Typography */
.heading-font {
  font-family: "Poppins", sans-serif;
}

/* Modern Gradients */
.gradient-primary {
  background: var(--primary-green);
}

.gradient-text {
  background: linear-gradient(
    135deg,
    var(--primary-green) 0%,
    var(--primary-blue) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-hero {
  background: linear-gradient(
    135deg,
    rgba(34, 139, 34, 0.05) 0%,
    rgba(34, 139, 34, 0.03) 100%
  );
}

/* Enhanced Sections */
section {
  padding: 6rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-family: "Poppins", sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--neutral-900);
  margin-bottom: 1rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--neutral-600);
  max-width: 50rem;
  margin: 0 auto;
  font-weight: 400;
}

/* Modern Cards */
.card-modern {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1.5rem;
  padding: 2.5rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.card-modern::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-green) 0%,
    var(--primary-blue) 100%
  );
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.card-modern:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(34, 139, 34, 0.15);
  border-color: rgba(34, 139, 34, 0.2);
}

.card-modern:hover::before {
  transform: scaleX(1);
}

/* Enhanced Buttons */
.btn-primary {
  background: var(--primary-green);
  color: white;
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(34, 139, 34, 0.3);
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--primary-green);
  border: 2px solid var(--primary-green);
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn-outline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: var(--primary-green);
  transition: width 0.3s ease;
  z-index: -1;
}

.btn-outline:hover::before {
  width: 100%;
}

.btn-outline:hover {
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(34, 139, 34, 0.3);
}

/* Enhanced Header */
.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(16, 185, 129, 0.1);
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-icon {
  color: var(--primary-green);
  height: 2.5rem;
  width: 2.5rem;
  filter: drop-shadow(0 2px 4px rgba(16, 185, 129, 0.3));
}

.logo-text {
  font-family: "Poppins", sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--neutral-900);
  letter-spacing: -0.02em;
}

.logo-subtext {
  font-size: 0.625rem;
  color: var(--neutral-600);
  margin-top: -0.125rem;
  opacity: 0.8;
  font-weight: 500;
}

.nav-link {
  font-family: "Inter", sans-serif;
  color: var(--neutral-700);
  font-weight: 500;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--primary-green) 0%,
    var(--primary-blue) 100%
  );
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover {
  color: var(--primary-green);
  background-color: rgba(16, 185, 129, 0.05);
}

.nav-link:hover::after {
  width: 80%;
}

/* Enhanced Hero Section */
.hero-section {
  padding: 10rem 0 8rem 0;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.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="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="%2310B981" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
    text-align: left;
  }
}

.hero-title {
  font-family: "Poppins", sans-serif;
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--neutral-900);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

.hero-description {
  font-size: 1.25rem;
  color: var(--neutral-600);
  max-width: 45rem;
  margin: 0 auto 2rem auto;
  font-weight: 400;
  line-height: 1.6;
}

@media (min-width: 1024px) {
  .hero-description {
    margin: 0 0 2rem 0;
  }
}

.hero-cta-group {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

@media (min-width: 1024px) {
  .hero-cta-group {
    justify-content: flex-start;
  }
}

.hero-image-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 2rem;
  box-shadow: 0 25px 50px rgba(16, 185, 129, 0.15);
  transform: rotateZ(-1deg);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-image-container:hover {
  transform: rotateZ(0deg) scale(1.02);
  box-shadow: 0 35px 70px rgba(16, 185, 129, 0.2);
}

.hero-main-image {
  width: 100%;
  height: auto;
  border-radius: 1.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.hero-overlay-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1.5rem 2rem;
  border-radius: 1rem;
  box-shadow: 0 15px 35px rgba(16, 185, 129, 0.2);
  bottom: 8%;
  left: 8%;
  width: 75%;
  max-width: 280px;
  text-align: left;
  transform: rotateZ(2deg);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-overlay-card:hover {
  transform: rotateZ(0deg) scale(1.05);
}

.hero-overlay-card h4 {
  font-family: "Poppins", sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: 0.5rem;
}

.hero-overlay-card p {
  font-size: 0.875rem;
  color: var(--neutral-600);
  font-weight: 500;
}

/* Enhanced Feature Icons */
.feature-icon {
  color: var(--primary-green);
  height: 4rem;
  width: 4rem;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 4px 8px rgba(16, 185, 129, 0.3));
  transition: all 0.3s ease;
}

.card-modern:hover .feature-icon {
  transform: scale(1.1);
  filter: drop-shadow(0 6px 12px rgba(16, 185, 129, 0.4));
}

.feature-title {
  font-family: "Poppins", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.feature-description {
  font-size: 1rem;
  color: var(--neutral-600);
  line-height: 1.6;
  font-weight: 400;
}

/* Enhanced Grid Layouts */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.hardware-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.specialized-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

/* Section Backgrounds */
.features-section {
  background: linear-gradient(135deg, #ffffff 0%, var(--neutral-50) 100%);
}

.hardware-section {
  background: linear-gradient(
    135deg,
    var(--light-green) 0%,
    rgba(16, 185, 129, 0.05) 100%
  );
}

.specialized-automation-section {
  background: linear-gradient(
    135deg,
    #ffffff 0%,
    rgba(59, 130, 246, 0.03) 100%
  );
}

/* Enhanced Pricing Cards */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.pricing-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 2rem;
  padding: 2.5rem 2rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pricing-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-green) 0%,
    var(--primary-blue) 100%
  );
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.pricing-card:hover::before {
  transform: scaleX(1);
}

.pricing-card.highlight {
  background: linear-gradient(
    135deg,
    var(--primary-green) 0%,
    var(--primary-blue) 100%
  );
  color: white;
  transform: scale(1.05);
  box-shadow: 0 30px 60px rgba(16, 185, 129, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.3);
  position: relative;
}

.pricing-card.highlight::after {
  content: "MOST POPULAR";
  position: absolute;
  top: -1px;
  right: 2rem;
  background: linear-gradient(135deg, var(--accent-orange) 0%, #ff6b35 100%);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 0 0 1rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.pricing-card:not(.highlight):hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.3);
}

.pricing-header {
  text-align: center;
  margin-bottom: 2rem;
}

.pricing-title {
  font-family: "Poppins", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.pricing-card.highlight .pricing-title {
  color: white;
}

.pricing-price {
  font-family: "Poppins", sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-green);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.pricing-card.highlight .pricing-price {
  color: white;
}

.pricing-description {
  font-size: 1rem;
  color: var(--neutral-600);
  margin-bottom: 2rem;
  line-height: 1.5;
}

.pricing-card.highlight .pricing-description {
  color: rgba(255, 255, 255, 0.9);
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2.5rem 0;
  flex-grow: 1;
}

.pricing-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--neutral-700);
}

.pricing-card.highlight .pricing-feature-item {
  color: rgba(255, 255, 255, 0.95);
}

.pricing-feature-item svg {
  flex-shrink: 0;
  margin-top: 0.125rem;
  filter: drop-shadow(0 1px 2px rgba(16, 185, 129, 0.2));
  width: 20px;
  height: 20px;
}

.pricing-card.highlight .pricing-feature-item svg {
  color: rgba(255, 255, 255, 0.9);
}

.pricing-cta {
  margin-top: auto;
}

.pricing-btn {
  width: 100%;
  padding: 1rem 2rem;
  border-radius: 1rem;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  text-align: center;
  display: block;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
}

.pricing-btn-primary {
  background: linear-gradient(
    135deg,
    var(--primary-green) 0%,
    var(--primary-blue) 100%
  );
  color: white;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.pricing-btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.pricing-btn-primary:hover::before {
  left: 100%;
}

.pricing-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.pricing-btn-secondary {
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-green);
  border: 2px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
}

.pricing-btn-secondary:hover {
  background: rgba(255, 255, 255, 1);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.pricing-note {
  text-align: center;
  margin-top: 3rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.pricing-note p {
  font-size: 1.125rem;
  color: var(--neutral-700);
  margin: 0;
  line-height: 1.6;
}

.pricing-note a {
  color: var(--primary-green);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.pricing-note a:hover {
  color: var(--primary-blue);
  text-decoration: underline;
}

.pricing-section {
  padding: 4rem 0;
  min-height: 100vh;
}

.bg-pattern {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: var(--neutral-900);
}

.text-gradient {
  background: linear-gradient(
    45deg,
    var(--primary-green) 0%,
    var(--primary-blue) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--neutral-600);
  max-width: 600px;
  margin: 0 auto;
}

/* POPUP MODAL STYLES */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(5px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.show {
  display: flex;
  opacity: 1;
}

.modal-content {
  background: white;
  border-radius: 1.5rem;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(-50px) scale(0.95);
  transition: all 0.3s ease-out;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.modal-overlay.show .modal-content {
  transform: translateY(0) scale(1);
}

.modal-header {
  padding: 2rem 2rem 1rem;
  text-align: center;
  border-bottom: 1px solid #e5e7eb;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #6b7280;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: all 0.2s;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  color: #374151;
  background: #f3f4f6;
}

.modal-body {
  padding: 1.5rem 2rem 2rem;
}

.modal-plan-name {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--neutral-900);
  margin-bottom: 0.5rem;
}

.modal-plan-description {
  color: var(--neutral-600);
  margin-bottom: 2rem;
}

.billing-toggle {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.billing-options {
  display: flex;
  background: #f3f4f6;
  border-radius: 0.75rem;
  padding: 0.25rem;
}

.billing-option {
  padding: 0.5rem 1rem;
  border: none;
  background: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s;
  font-weight: 500;
  color: var(--neutral-700);
}

.billing-option.active {
  background: white;
  color: var(--primary-green);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.pricing-breakdown {
  background: #f9fafb;
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.pricing-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.pricing-row:last-child {
  margin-bottom: 0;
  padding-top: 1rem;
  border-top: 2px solid #e5e7eb;
  font-weight: bold;
}

.pricing-label {
  color: var(--neutral-700);
}

.pricing-value {
  font-weight: 600;
  color: var(--neutral-900);
}

.savings-badge {
  background: var(--primary-green);
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  margin-left: 0.5rem;
}

.modal-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.modal-btn {
  padding: 0.75rem 2rem;
  border-radius: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  border: none;
  min-width: 120px;
}

.modal-btn-primary {
  background: linear-gradient(
    135deg,
    var(--primary-green) 0%,
    var(--primary-blue) 100%
  );
  color: white;
  border: 2px solid transparent;
}

.modal-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

.modal-btn-secondary {
  background: white;
  color: var(--neutral-600);
  border: 2px solid #e5e7eb;
}

.modal-btn-secondary:hover {
  background: #f9fafb;
  border-color: #d1d5db;
}

@media (max-width: 768px) {
  .modal-actions {
    flex-direction: column;
  }

  .modal-btn {
    width: 100%;
  }
}
/* Enhanced Footer */
.footer {
  background: linear-gradient(
    135deg,
    var(--neutral-900) 0%,
    var(--neutral-800) 100%
  );
  color: white;
  padding: 5rem 0 2rem 0;
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--primary-green),
    transparent
  );
}

/* Mobile Menu Button & Hamburger Animation */
.mobile-menu-button {
  padding: 0.5rem;
  border-radius: 0.375rem;
  position: relative;
  z-index: 101;
  display: block;
  background: rgba(255, 255, 255, 0.9);
}

.hamburger-icon {
  width: 24px;
  height: 18px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger-line {
  width: 100%;
  height: 2px;
  background-color: currentColor;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

.hamburger-icon.open .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger-icon.open .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger-icon.open .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Alpine.js x-cloak */
[x-cloak] {
  display: none !important;
}

/* Mobile Menu Enhancements */
.mobile-menu {
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  z-index: 100;
  padding: 1rem 0 2rem 0;
  max-height: calc(100vh - 80px);
  border-bottom: 1px solid rgba(16, 185, 129, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0.5rem 0;
}

.mobile-nav-link {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--neutral-700);
  text-decoration: none;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(16, 185, 129, 0.05);
  position: relative;
}

.mobile-nav-link:hover {
  color: var(--primary-green);
  background-color: rgba(16, 185, 129, 0.05);
  padding-left: 2rem;
}

.mobile-nav-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--primary-green);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.mobile-nav-link:hover::before {
  transform: scaleY(1);
}

.mobile-cta-btn {
  margin: 1rem 1.5rem 0.5rem 1.5rem !important;
  padding: 0.75rem 1.5rem !important;
  border-radius: 0.5rem !important;
}

/* Hide mobile menu on large screens */
@media (min-width: 1024px) {
  .mobile-menu-button {
    display: none !important;
  }
  .lg\:hidden {
    display: none !important;
  }
}

@media (max-width: 1023px) {
  .desktop-nav,
  .desktop-cta {
    display: none !important;
  }
  .mobile-menu-button {
    display: block !important;
  }

  /* Override Tailwind's lg:hidden */
  .lg\:hidden {
    display: block !important;
  }

  /* Mobile-specific adjustments */
  .page-title,
  .hero-title {
    font-size: 2.5rem !important;
  }

  .section-title {
    font-size: 2rem !important;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: center;
  }

  .hero-cta-group .btn-primary,
  .hero-cta-group .btn-outline {
    width: 100%;
    max-width: 280px;
  }
}

@media (max-width: 767px) {
  .container {
    padding: 0 1rem;
  }

  .page-title,
  .hero-title {
    font-size: 2rem !important;
  }

  .section-title {
    font-size: 1.75rem !important;
  }

  .hero-section {
    padding: 8rem 0 6rem 0;
  }

  section {
    padding: 4rem 0;
  }

  .card-modern {
    padding: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .mobile-menu-button,
  .mobile-menu {
    display: none !important;
  }
  .desktop-nav,
  .desktop-cta {
    display: flex;
  }
}

/* Scroll Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  animation: fadeInUp 0.6s ease-out;
}

/* Utility Classes */
.text-gradient {
  color: var(--primary-green);
}

.bg-pattern {
  background-image: radial-gradient(
    circle at 1px 1px,
    rgba(34, 139, 34, 0.1) 1px,
    transparent 0
  );
  background-size: 20px 20px;
}

/* Modal Mobile Enhancements */
@media (max-width: 767px) {
  /* Feature and Product Modals */
  .fixed.inset-0.z-50.flex.items-center.justify-center.p-4 {
    padding: 1rem;
  }

  .bg-white.rounded-2xl.p-8 {
    padding: 1.5rem !important;
    margin: 1rem !important;
    max-height: 90vh !important;
  }

  .text-3xl.font-bold {
    font-size: 1.75rem !important;
  }

  .text-xl.font-semibold {
    font-size: 1.125rem !important;
  }

  .grid.md\\:grid-cols-2,
  .grid.md\\:grid-cols-3,
  .grid.lg\\:grid-cols-3 {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

}
