:root {
  --primary-color: #00e9b0;
  --primary-light: #e7f7e7;
  --primary-dark: #00bf90; /* Darker shade for hover states or emphasis */
  --text-dark: #10262a;
  --text-muted: #4a5a5d;
  --background-light: #ffffff;
  --background-off-white: #f8fcfb; /* Very subtle tint */
  --white: #ffffff;
  --font-heading: "Outfit", sans-serif;
  --font-body: "Inter", sans-serif;
  --transition: all 0.3s ease;
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.5);
  --shadow: 0 10px 30px -10px rgba(16, 38, 42, 0.1);
  --shadow-hover: 0 20px 40px -10px rgba(16, 38, 42, 0.15);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--background-off-white);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  transition: var(--transition);
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--text-dark);
}

.btn-primary:hover {
  background-color: #00d4a0;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 233, 176, 0.3);
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  /* Removed absolute positioning hacks */
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--primary-color);
  margin: 1rem auto 0;
  border-radius: 2px;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent; /* Transparent by default */
  padding: 1rem 0;
  transition: all 0.3s ease; /* Smooth transition */
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05); /* Optional shadow for depth */
}

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

.logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text-dark);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
}

.logo img {
  height: 32px; /* Adjusted size to fit nicely */
  width: auto;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a:not(.btn) {
  font-weight: 500;
  color: var(--text-dark);
}

.nav-links a:not(.btn):hover {
  color: var(--primary-dark);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--text-dark);
  transition: var(--transition);
}

/* Hero Section */
.hero {
  position: relative;
  padding: 180px 0 120px;
  text-align: center;
  background: radial-gradient(
    circle at 50% 10%,
    rgba(0, 233, 176, 0.1),
    transparent 60%
  );
  overflow: hidden;
}

.hero-headline {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: -0.03em;
}

.hero-subheadline {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 3rem;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.cta-note {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* Features Section */
.features {
  padding: 100px 0;
  background-color: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Force 2 columns */
  gap: 2rem;
  max-width: 900px; /* Constrain width to keep cards closer */
  margin: 0 auto; /* Center the grid */
}

.feature-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-color);
}

.feature-icon {
  width: 50px;
  height: 50px;
  background-color: var(--primary-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--primary-dark);
}

.feature-card h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.feature-card p {
  color: var(--text-muted);
}

/* Process Section */
.process {
  padding: 100px 0;
  background-color: transparent; /* Changed from var(--background-off-white) to show animation */
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.step-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 16px;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.03);
  box-shadow: var(--shadow); /* Added shadow to match feature-card */
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-color);
}

/* Removed alternating background tints to match "Why Choose Enarra" box style strictly */
.step-card:nth-child(even) {
  background-color: var(--white);
}

.step-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: rgba(0, 233, 176, 0.5); /* Keep original color */
  line-height: 1;
}

/* Ensure step number color is consistent since we removed the dark tint background */
.step-card:nth-child(even) .step-number {
  color: rgba(0, 233, 176, 0.5);
}

.step-content h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.step-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Services Section (What We Automate) */
.services {
  padding: 100px 0;
  background-color: var(--white);
}

.service-list {
  list-style: none;
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
}

.service-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.125rem;
  padding: 1.5rem;
  background-color: var(--background-off-white);
  border-radius: 12px;
  transition: var(--transition);
}

.service-list li:hover {
  background-color: var(--primary-light);
  transform: translateX(5px);
}

.check-icon {
  flex-shrink: 0;
  color: var(--primary-dark);
}

/* CTA Section */
.cta {
  padding: 100px 0;
  background-color: var(--text-dark);
  color: var(--white);
  text-align: center;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta h2 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.cta p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2.5rem;
  font-size: 1.125rem;
}

/* Hidden Testimonials */
.hidden {
  display: none;
}

/* Footer */
footer {
  padding: 80px 0 40px;
  background-color: var(--background-off-white);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
  margin-bottom: 4rem;
}

.footer-col h4 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-col a {
  color: var(--text-muted);
  font-size: 1rem;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--primary-color);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
}

.social-icon {
  width: 24px;
  height: 24px;
  color: var(--text-muted);
  transition: var(--transition);
}

.social-icon:hover {
  color: var(--primary-color);
  transform: translateY(-2px);
}

.footer-bottom {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 2rem;
  margin-top: 2rem;
}

.footer-note {
  margin-top: 0.5rem;
  opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    flex-direction: column;
    padding: 2rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    display: flex;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero-headline {
    font-size: 2.5rem;
  }

  .features-grid,
  .process-steps,
  .footer-grid {
    grid-template-columns: 1fr; /* Stack everything on mobile */
  }

  /* Force "hover" state on mobile for better visibility */
  .feature-card,
  .step-card {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-hover);
  }
}
