@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css');

:root {
  --primary-color: #337357;
  --secondary-color: #5F6F52;
  --accent-color: #5CB338;
  --light-color: #FEFAE0; /* From palette */
  --dark-color: #5F6F52;
  --gradient-primary: linear-gradient(135deg, #5CB338 0%, #337357 100%);
  --hover-color: #2A6047;
  --background-color: #FEFAE0; /* Light/Colorful Theme */
  --text-color: #2C3E50; /* Dark text */
  --border-color: rgba(51, 115, 87, 0.2);
  --divider-color: rgba(95, 111, 82, 0.1);
  --shadow-light: rgba(255, 255, 255, 0.9);
  --shadow-dark: rgba(95, 111, 82, 0.15);
  --highlight-color: #ECE852; /* From palette */
  --main-font: 'Raleway', sans-serif;
  --alt-font: 'Poppins', serif;
}

/* --- Global --- */
body {
  font-family: var(--alt-font);
  color: var(--text-color);
  background-color: var(--background-color);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--main-font);
  font-weight: 600;
}

/* --- Neumorphism --- */
.neumorph {
  background: var(--background-color);
  border-radius: 20px;
  box-shadow: 8px 8px 16px var(--shadow-dark), 
              -8px -8px 16px var(--shadow-light);
  transition: all 0.3s ease;
}
.neumorph:hover {
  transform: translateY(-5px);
  box-shadow: 12px 12px 24px var(--shadow-dark), 
              -12px -12px 24px var(--shadow-light);
}

.neumorph-inset {
  background: var(--background-color);
  border-radius: 12px;
  box-shadow: inset 6px 6px 12px var(--shadow-dark), 
              inset -6px -6px 12px var(--shadow-light);
  border: 1px solid var(--border-color);
}

.neumorph-img {
  border-radius: 20px;
  box-shadow: 8px 8px 16px var(--shadow-dark), 
              -8px -8px 16px var(--shadow-light);
}
.neumorph-img img {
  border-radius: 20px;
}

.neumorph-btn {
  border: none;
  border-radius: 10px;
  box-shadow: 6px 6px 12px var(--shadow-dark), 
              -6px -6px 12px var(--shadow-light);
  transition: all 0.2s ease;
}
.neumorph-btn:hover {
  box-shadow: 4px 4px 8px var(--shadow-dark), 
              -4px -4px 8px var(--shadow-light);
  filter: brightness(1.1);
}
.neumorph-btn:active {
  box-shadow: inset 4px 4px 8px var(--shadow-dark), 
              inset -4px -4px 8px var(--shadow-light);
  filter: brightness(0.9);
}

/* Specific background for sections */
#features, #reviews, #faq {
    background-color: #FBF8DD; /* Slightly different light */
}
#features .neumorph, 
#reviews .neumorph, 
#faq .neumorph {
    background-color: #FBF8DD;
}


/* --- Header & Navigation --- */
.header {
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 50;
}
.header .logo img {
  max-width: 150px;
}
.navigation ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}
.navigation li {
  margin-left: 1.5rem;
}
.nav-link {
  text-decoration: none;
  font-weight: 600;
  color: var(--light-color);
  position: relative;
  padding-bottom: 5px;
  transition: color 0.3s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--highlight-color);
  transition: width 0.3s ease;
}
.nav-link:hover {
  color: var(--highlight-color);
}
.nav-link:hover::after {
  width: 100%;
}

/* --- Mobile Hamburger (Pure CSS) --- */
.nav-toggle {
  display: none;
}
.nav-toggle-label {
  display: none;
  cursor: pointer;
  width: 30px;
  height: 30px;
  position: relative;
  z-index: 100;
}
.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  display: block;
  background: white;
  height: 3px;
  width: 100%;
  border-radius: 2px;
  position: absolute;
  left: 0;
  transition: all 0.3s ease;
}
.nav-toggle-label span {
  top: 13px;
}
.nav-toggle-label span::before {
  content: '';
  top: -10px;
}
.nav-toggle-label span::after {
  content: '';
  top: 10px;
}

@media (max-width: 768px) {
  .header .logo {
    margin: 0 auto; /* Center logo */
  }
  .nav-toggle-label {
    display: block;
    position: absolute;
    top: 1.5rem;
    right: 1rem;
  }
  .navigation {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--dark-color);
    padding: 1rem 0;
  }
  .navigation ul {
    flex-direction: column;
    align-items: center;
  }
  .navigation li {
    margin: 0.5rem 0;
  }
  .nav-toggle:checked ~ .navigation {
    display: block;
  }
  .nav-toggle:checked ~ .nav-toggle-label span {
    background: transparent;
  }
  .nav-toggle:checked ~ .nav-toggle-label span::before {
    transform: rotate(45deg);
    top: 0;
  }
  .nav-toggle:checked ~ .nav-toggle-label span::after {
    transform: rotate(-45deg);
    top: 0;
  }
}

/* --- Footer --- */
.footer {
  padding: 2rem 0;
}
.footer-link {
  color: var(--light-color);
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-link:hover {
  color: var(--highlight-color);
  text-decoration: underline;
}

/* --- Timeline (Features) --- */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}
.timeline::after {
  content: '';
  position: absolute;
  width: 4px;
  background-color: var(--border-color);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
  border-radius: 2px;
}
.timeline-item {
  padding: 10px 40px;
  position: relative;
  width: 50%;
}
.timeline-item:nth-child(odd) {
  left: 0;
}
.timeline-item:nth-child(even) {
  left: 50%;
}
.timeline-item::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  right: -10px;
  background-color: var(--background-color);
  border: 4px solid var(--primary-color);
  top: 20px;
  border-radius: 50%;
  z-index: 1;
}
.timeline-item:nth-child(even)::after {
  left: -10px;
}
.timeline-content {
  padding: 20px 30px;
  position: relative;
  border-radius: 15px;
}

@media (max-width: 768px) {
  .timeline::after {
    left: 31px;
  }
  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    left: 0;
  }
  .timeline-item::after {
    left: 21px;
  }
}