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

/* VARIABLES */
:root {
  --green: #7a9e2e;
  --green-dark: #5f7d1f;
  --green-light: #a8c84a;
  --cream: #fdf3e7;
  --cream-dark: #f0e0c8;
  --text: #2b2b2b;
  --text-muted: #888;
  --radius: 14px;
  --shadow: 0 4px 18px rgba(0,0,0,0.08);
}

/* BASE */
body {
  font-family: 'Lato', sans-serif;
  background: var(--cream);
  color: var(--text);
  min-height: 100vh;
}

/* ── NAV ── */
nav {
    background: #fff;
    border-bottom: 1px solid var(--cream-dark);
    padding: 10px 40px; /* Reduced vertical padding slightly for the logo */
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 10;
}

.nav-logo {
    font-family: 'Nunito', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: var(--green);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* LOGO */
.logo-img {
    height: 45px;      /* Limits the height so it fits the bar */
    width: auto;       /* Maintains proportions */
    display: block;
    object-fit: contain;
}

.nav-logo {
  font-family: 'Nunito', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--green);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 8px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 10px;
  transition: background 0.2s, color 0.2s;
}

.nav-links a:hover {
  background: var(--green);
  color: #fff;
}

/* HERO SECTION */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  padding: 70px 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.hero-text {
  flex: 1;
  max-width: 460px;
}

.hero-text h1 {
  font-size: 40px;
  font-weight: 900;
  line-height: 1.2;
  color: var(--green-dark);
  margin-bottom: 16px;
}

.hero-text p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* LOGIN CARD */
.login-card {
  background: #fff;
  padding: 36px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 360px;
  flex-shrink: 0;
}

.login-card h2 {
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 24px;
  color: var(--green-dark);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.field label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

.field input {
  padding: 10px 14px;
  border: 1.5px solid var(--cream-dark);
  border-radius: 10px;
  font-size: 14px;
  font-family: 'Lato', sans-serif;
  outline: none;
  transition: border-color 0.2s;
}

.field input:focus {
  border-color: var(--green);
}

.btn-login {
  width: 100%;
  padding: 12px;
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  font-family: 'Lato', sans-serif;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-login:hover {
  background: var(--green-dark);
}

.signup-link {
  text-align: center;
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-muted);
}

.signup-link a {
  color: var(--green);
  font-weight: 700;
  text-decoration: none;
}

/* DIVIDER */
.divider {
  border: none;
  border-top: 1px solid var(--cream-dark);
  margin: 0 40px;
}

/* SECTIONS */
section {
  padding: 70px 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.section-tag {
  display: inline-block;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}

section h2 {
  font-size: 30px;
  font-weight: 900;
  color: var(--green-dark);
  margin-bottom: 10px;
}

.sub {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.7;
}

/* ABOUT */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.about-card {
  background: #fff;
  padding: 26px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-top: 4px solid var(--green);
}

.about-icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.about-card h3 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--green-dark);
}

.about-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* PRICING */
.pricing-grid {
  display: none;
}

/* SINGLE PRICING CARD - see bottom of file for main definition */
.pricing-single-grid-unused {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.price-card {
    display: flex;
    flex-direction: column;
    /* This ensures the card has a consistent height if they are in a grid */
    height: 100%; 
}

.price-card.featured {
  border: 2.5px solid var(--green);
}

.popular-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
}

.price-card h3 {
  font-size: 18px;
  font-weight: 900;
  color: var(--green-dark);
  margin-bottom: 8px;
}

.price {
  font-size: 34px;
  font-weight: 900;
  color: var(--text);
  margin: 12px 0 6px;
}

.price span {
  font-size: 15px;
  font-weight: 400;
  color: var(--text-muted);
}

.price-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.5;
}

.features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 26px;
}

.features li {
  font-size: 13px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.features li::before {
  content: '✓';
  color: var(--green);
  font-weight: 900;
  font-size: 15px;
}

.btn-plan {
  margin-top: auto; 
  width: 100%;
  padding: 11px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  font-family: 'Lato', sans-serif;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  text-align: center;
  display: block;
  text-decoration: none;
}

.btn-plan.outline {
  background: #fff;
  color: var(--green);
  border: 2px solid var(--green);
}

.btn-plan.outline:hover {
  background: var(--green);
  color: #fff;
}

.btn-plan.solid {
  background: var(--green);
  color: #fff;
  border: none;
}

.btn-plan.solid:hover {
  background: var(--green-dark);
}

/* FOOTER */
footer {
  background: #fff;
  border-top: 1px solid var(--cream-dark);
  padding: 22px 40px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 40px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    padding: 40px 24px;
    gap: 36px;
  }

  .login-card {
    width: 100%;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .pricing-single {
    display: flex;
    justify-content: center;
    align-items: stretch; /* Forces both cards to be the same height */
    gap: 30px;
    margin-top: 40px;
}

  nav {
    padding: 14px 24px;
  }

  section {
    padding: 48px 24px;
  }
}

/* LOGO IMAGE */
.nav-logo img {
  height: 40px;
  width: auto;
  display: block;
}

/* SINGLE PRICING CARD */
.pricing-single {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.pricing-single .price-card {
    flex: 1;               /* Makes cards equal width */
    max-width: 360px;
    background: #fff;      
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: flex;        
    flex-direction: column;
}