.site-header {
  background: #fff;
  border-bottom: 1px solid #E5E7EB;
  position: sticky;
  top: 0;
  z-index: 100;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  height: 64px;
  box-sizing: border-box;
}

.nav-logo {
  display: flex;
  align-items: center;
  font-weight: 800;
  font-size: 1.25rem;
  gap: 0.5rem;
  text-decoration: none;
  color: #1F2937;
}

.nav-logo svg {
  height: 24px;
  width: 24px;
}

.nav-group {
  margin-left: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

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

.nav-links a {
  text-decoration: none;
  color: #1F2937;
  font-weight: 500;
  padding: 0.25rem 0.3rem;
  font-size: 0.95rem;
  white-space: nowrap;
  position: relative;
  transition: color 0.2s;
}

.nav-links a:not(.cta-button)::after {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: #007BFF;
  transition: width 0.2s;
}

.nav-links a:not(.cta-button):hover::after {
  width: 100%;
}

.nav-links a.cta-button {
  background: var(--color-cta-green);
  color: white !important;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-button);
  font-weight: var(--font-weight-semibold);
  transition: background 0.15s, box-shadow 0.15s;
  box-shadow: var(--shadow-button);
}

.nav-links a.cta-button:hover {
  background: #00c965;
  box-shadow: var(--shadow-button-hover);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  margin-left: 1.5rem;
  cursor: pointer;
  color: #1F2937;
}

.mobile-nav {
  display: none;
}

@media (max-width: 900px) {
  .container {
    padding: 0 1rem;
  }
  .nav-links {
    display: none;
  }
  .cta-button {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .mobile-nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px;
    right: 0;
    width: 80vw;
    max-width: 320px;
    background: #fff;
    box-shadow: -2px 0 16px rgba(0,0,0,0.08);
    padding: 2rem 1.5rem;
    gap: 1.5rem;
    z-index: 200;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(.4,0,.2,1), visibility 0.3s;
    height: calc(100vh - 64px);
    overflow-y: auto;
    visibility: hidden;
    pointer-events: none;
  }
  .mobile-nav.open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }
  
  /* Overlay backdrop for mobile menu - separate element, not pseudo-element */
  .mobile-nav-backdrop {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s;
    pointer-events: none;
    z-index: 199; /* Behind menu (z-index: 200) but above other content */
  }
  
  .mobile-nav-backdrop.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .mobile-nav a {
    color: #1F2937;
    font-weight: 700;
    text-decoration: none;
    font-size: 1.1rem;
    padding: 0.5rem 0;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
  }
  .mobile-nav a.cta-button {
    display: block;
    background: #00E676;
    color: #fff !important;
    margin-top: 1.5rem;
    text-align: center;
    padding: 0.75rem 0;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 800;
  }
  .mobile-nav a:hover {
    background: #F9FAFB;
    color: #007BFF;
  }
}

/* Footer styles */

.btn-primary {
  background: #00E676;
  color: #fff !important;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  padding: 0.7rem 2rem;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: background 0.18s, box-shadow 0.18s;
  display: inline-block;
  text-align: center;
  text-decoration: none;
}
.btn-primary:hover {
  background: #00c965;
  box-shadow: 0 4px 16px rgba(0,230,118,0.10);
}

.btn-secondary {
  background: #fff;
  color: #007BFF !important;
  font-weight: 700;
  border: 2px solid #007BFF;
  border-radius: 12px;
  padding: 0.7rem 2rem;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  display: inline-block;
  text-align: center;
}
.btn-secondary:hover {
  background: #F0F8FF;
  color: #0056b3 !important;
  box-shadow: 0 4px 16px rgba(0,123,255,0.10);
}

.buttons {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  margin: 1.2rem 0 0 0;
}

.hero {
  margin-bottom: 2.2rem;
}

.testimonials {
  margin: 2.2rem auto 1.5rem auto;
  text-align: center;
  max-width: 900px;
}

.urgency {
  text-align: center;
  background: #FFF8E1;
  padding: 1.2rem 2rem;
  color: #D97706;
  font-weight: 600;
  font-size: 1.1rem;
  margin: 1.5rem auto 0 auto;
  border-radius: 16px;
  max-width: 900px;
  box-sizing: border-box;
}

.blog-section {
  max-width: 1200px;
  margin: 2.5rem auto 0 auto;
  padding: 0;
  text-align: left;
}

.blog-section h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: #1F2937;
  text-align: center;
  padding-left: 0;
}

.blog-cards {
  display: flex;
  gap: 2rem;
  justify-content: flex-start;
  flex-wrap: wrap;
  padding: 0 1.5rem 1.5rem 1.5rem;
}

.blog-card {
  background: #fff;
  border-radius: var(--radius-card);
  /* Start softer like FAQ tiles so the hover delta is visible */
  box-shadow: 0 2px 12px rgba(31,41,55,0.04);
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  min-width: 280px;
  max-width: 340px;
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  margin-bottom: 0.5rem;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
  will-change: transform;
}

.blog-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #1F2937;
}

.blog-date {
  color: #6B7280;
  font-size: 0.98rem;
  margin-bottom: 0.5rem;
}

/* Subtle hover highlight for blog cards (match FAQ tiles) */
.blog-card:hover {
  box-shadow: 0 6px 32px rgba(31,41,55,0.11);
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .blog-cards {
    flex-direction: column;
    gap: 1.2rem;
    padding: 0 0.5rem 1.5rem 0.5rem;
  }
  .blog-section h2 {
    padding-left: 0.5rem;
  }
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 0 1rem;
    row-gap: 1.2rem;
    min-height: unset;
  }
  .footer-brand,
  .footer-legal,
  .footer-links {
    justify-self: center;
    margin: 0 auto;
  }
  .footer-links {
    justify-content: center;
    width: 100%;
    white-space: normal;
  }
  .footer-links {
    order: 1;
    margin-top: 1rem;
  }
}

/* User Menu & Nav Actions styles */
.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-xs); /* 8px */
}

.nav-user-menu {
  position: relative;
}

.nav-user-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
}

.nav-user-toggle:hover,
.nav-user-menu.open .nav-user-toggle {
  background-color: var(--color-bg-light-hover);
}

.nav-user-toggle svg {
  color: var(--color-text-secondary);
}

.nav-user-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-dropdown);
  min-width: 180px;
  z-index: 1001;
  padding: 0.5rem 0;
  opacity: 0;
  transform: translateY(-10px);
  animation: dropdown-fade-in 0.2s forwards;
}

.nav-user-menu.open .nav-user-dropdown {
  display: block;
}

.nav-user-dropdown a {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--color-text-main);
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.15s;
}

.nav-user-dropdown a:hover {
  background-color: var(--color-bg-light-hover);
}

@keyframes dropdown-fade-in {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Nav Dropdown styles */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.3rem; /* Match other nav links */
  color: #1F2937;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
}
.nav-dropdown-toggle:hover {
  color: #007BFF;
}

.nav-dropdown .dropdown-arrow {
  width: 14px;
  height: 14px;
  stroke-width: 2.5;
  transition: transform 0.2s ease-in-out;
  margin-top: 2px;
}

.nav-dropdown.open .dropdown-arrow {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border: 1px solid #E5E7EB;
  padding: 0.5rem 0;
  margin-top: 0.75rem;
  z-index: 110;
  min-width: 190px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-dropdown.open .nav-dropdown-menu {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.75rem 1.25rem;
  color: #1F2937;
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color 0.1s;
}

.nav-dropdown-menu a:hover {
  background-color: #F9FAFB;
}