/* =====================================
   RESET & BASE
===================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  }
  
  html, body {
    width: 100%;
    min-height: 100%;
  }
  
  body {
    background: radial-gradient(
      circle at top,
      #ffffff 0%,
      #f3f6fb 45%,
      #eef2f7 100%
    );
    color: #1f2933;
  }
  
  /* =====================================
     NAVBAR (matches .navbar, .hamburger, .navLinks)
  ===================================== */
  /* NAVBAR FIXED */
  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 64px;       /* <= allows children to grow if needed */
    background: #ffffff;
    border-bottom: 1px solid #e5eaf1;
    display: flex;
    align-items: center;    /* vertical centering for children */
    justify-content: space-between;
    padding: 0 24px;
    z-index: 1000;
  }
  
  /* ensure logo fits inside the min-height */
  .homebuttonlogo img {
    max-height: 48px;  /* slightly smaller than navbar min-height */
    width: auto;
    display: block;
  }
  
  /* keep page content pushed down */
  .pageContainer {
    padding-top: 64px;
  }
  
/* Nav Links */
.navLinks {
    display: flex;
    gap: 24px;
    list-style: none;
}

.navLinks a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
}

/* Hamburger button */
.hamburger {
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    display: none;  /* will show on mobile */
    color: #000; /* visible */
}

/* MOBILE */
/* Mobile hamburger menu (hidden by default) */
@media (max-width: 768px) {
    .navLinks {
      display: none; /* hidden until toggled */
    }
  
    .hamburger {
      display: block; /* show hamburger */
    }
  
    /* Show menu when .show is toggled */
    .navLinks.show {
      display: flex;
      flex-direction: column;
      position: fixed;
      top: 64px;           /* below navbar */
      left: 0;             /* slide in from left */
      width: 220px;
      height: calc(100vh - 64px);
      background: #fff;
      padding: 24px;
      gap: 16px;
      box-shadow: 2px 0 12px rgba(0,0,0,0.1); /* subtle shadow for depth */
      z-index: 999;
    }
  
    /* Menu item hover effect */
    .navLinks a {
      padding: 8px 12px;
      border-radius: 8px;
      transition: all 0.2s ease;
    }
  
    .navLinks a:hover,
    .navLinks a.active {
      background: #e5f0ff; /* light highlight */
      box-shadow: 0 2px 8px rgba(30, 111, 217, 0.2); /* shadow effect */
    }
  }
  

  /* =====================================
     PAGE CONTAINER
  ===================================== */
  .pageContainer {
    padding-top: 120px;
  }
  .pageContainer > .content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 20px 140px;
  }
  
  
  /* =====================================
     HERO CONTENT (matches .content, h1, p, .getStarted)
  ===================================== */
  .content {
    max-width: 1100px;   /* ← MISSING */
    margin: 0 auto;      /* ← MISSING */
    text-align: center;
    padding: 80px 20px 140px;
  }
  
  
  .content h1 {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 22px;
  }
  
  .content p {
    font-size: 19px;
    color: #4b5563;
    max-width: 720px;
    margin: 0 auto 36px;
    line-height: 1.6;
  }
  
  /* CTA Button */
  .getStarted {
    background: linear-gradient(180deg, #1e6fd9, #0f5cc4);
    color: #ffffff;
    padding: 16px 46px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(30, 111, 217, 0.35);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
  }
  
  .getStarted:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 44px rgba(30, 111, 217, 0.45);
  }
  
  /* =====================================
     CRM PAGES PROTECTION
     (prevents landing styles from breaking app)
  ===================================== */
  .crmHome,
  .contactCard {
    background: #f5f7fb;
  }
  
  .crmHome .content,
  .contactCard .content {
    padding: 40px;
    text-align: left;
  }
  
  .crmHome h1,
  .contactCard h1 {
    font-size: 28px;
  }
  
  /* =====================================
     FOOTER
  ===================================== */
  .footer {
    text-align: center;
    padding: 40px 20px;
    color: #6b7280;
    font-size: 14px;
  }

  /* =====================================
   FEATURES SECTION
===================================== */
.features {
    padding: 120px 20px;
    text-align: center;
  }
  
  .features h2 {
    font-size: 34px;
    font-weight: 600;
    margin-bottom: 60px;
  }
  
  .featureGrid {
    max-width: 1000px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 20px;
    padding: 50px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    border: 1px solid #e5eaf1;
    box-shadow: 0 20px 60px rgba(0,0,0,0.05);
  }
  
  .featureItem h3 {
    font-size: 20px;
    margin-bottom: 14px;
  }
  
  .featureItem p {
    font-size: 15px;
    color: #4b5563;
    line-height: 1.6;
  }
  
  /* Responsive grid for smaller screens */
  @media (max-width: 768px) {
    .featureGrid {
      grid-template-columns: 1fr;
      padding: 30px;
      gap: 24px;
    }
  }
  
  
  /* =====================================
     MOBILE STYLES
  ===================================== */
  @media (max-width: 768px) {
  
    /* Navbar */
    .hamburger {
      display: block;
    }
  
    .navLinks {
      position: fixed;
      top: 64px;
      right: 0;
      width: 240px;
      height: calc(100vh - 64px);
      background: #ffffff;
      flex-direction: column;
      padding: 24px;
      gap: 20px;
      border-left: 1px solid #e5eaf1;
      transform: translateX(100%);
      transition: transform 0.25s ease;
    }
  
    .navLinks.show {
      transform: translateX(0);
    }
  
    /* Hero */
    .content h1 {
      font-size: 38px;
    }
  
    .content p {
      font-size: 17px;
    }
  }
  
  /* =====================================
     DESKTOP SAFETY
  ===================================== */
  @media (min-width: 769px) {
    .navLinks {
      position: static;
      transform: none;
      height: auto;
      width: auto;
      background: none;
      border: none;
    }
  }
  