/* Updated style.css */
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background-color: #f9fafb;
  color: #111827;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar {
  background-color: #f0f8ff;
  padding: 1rem 0;
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
}

.logo.with-icon {
  display: flex;
  align-items: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: #004080;
}

.logo-icon {
  width: 28px;
  margin-right: 0.5rem;
}

.logo {
  font-weight: 700;
  font-size: 1.5rem;
  color: #2563eb;
}

nav {
  display: flex;
  gap: 2rem;
}

nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover {
  color: #007bff;
}

.demo-form-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; /* Important to center vertically */
  background: rgba(249, 250, 251, 0.98);
  padding: 2rem 1rem;
  z-index: 3000;
  display: none;
  justify-content: center;
  align-items: center; /* ✅ Center vertically */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.demo-form-content {
  background: white;
  padding: 1rem; /* Reduced from 2rem */
  border-radius: 1rem;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: relative;
}

.demo-form-content h3 {
  margin-top: 0;
}

.close-button {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-size: 1.25rem;
  font-weight: bold;
  color: #555;
  cursor: pointer;
}

.hero {
  text-align: center;
  padding: 6rem 2rem;
  background-color: #e0f2fe;
}

.hero h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero h2 span {
  color: #2563eb;
}

.hero p {
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto 2rem;
  color: #4b5563;
}

.cta .btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  margin: 0.5rem;
  font-size: 1rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}

.btn.primary {
  background-color: #2563eb;
  color: white;
  cursor: pointer;
}

.btn.primary:hover {
  background-color: #1d4ed8;
}

.btn {
  background-color: white;
  color: #2563eb;
  border: 2px solid #2563eb;
  cursor: pointer;
}

.btn:hover {
  background-color: #e0f2fe;
}

section {
  padding: 4rem 2rem;
  text-align: center;
}

.integration-box {
  padding: 1.5rem;
  border-radius: 1rem;
  flex: 1;
  min-width: 250px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  color: #1f2937;
}

.integration-box.api {
  background-color: #e0f2fe; /* Light blue */
}

.integration-box.dashboard {
  background-color: #fef9c3; /* Light yellow */
}

.integration-box.mobile {
  background-color: #dcfce7; /* Light green */
}

.feature-card, .audience-cards > div, .steps > div, .integration-cards > div, .benefit-cards > div {
  background: white;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  margin: 1rem;
  flex: 1;
  min-width: 250px;
}

.feature-card {
  flex: 1 1 0;
  max-width: 300px;
}

.features {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: nowrap;
  background-color: #e0f2fe;
  padding: 4rem 2rem;
}

.icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
  filter: invert(28%) sepia(98%) saturate(7481%) hue-rotate(206deg) brightness(93%) contrast(101%);
}

.heading-with-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.icon-heading {
  width: 32px;
  height: 32px;
}

.with-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  width: 24px;
  height: 24px;
}

.audience-cards, .steps, .integration-cards, .benefit-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.footer {
  background-color: #1f2937;
  color: white;
  padding: 4rem 2rem;
  text-align: center;
}

.footer-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 2rem 3rem;
}

.footer-column {
  flex: 1 1 50%;
  max-width: 50%;
  text-align: left;
  padding: 0 1rem;
}

.footer-column h4 {
  margin-bottom: 0.75rem;
}

.footer-column a {
  color: #93c5fd;
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
}

.footer-column a:hover {
  text-decoration: underline;
}

.footer-about {
  max-width: 50%;
  text-align: left;
}

.footer-links {
  margin-left: auto;
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links h4 {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #93c5fd;
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 2rem;
  font-size: 0.875rem;
  color: #666;
  text-align: center;
}

.footer-info div {
  text-align: left;
  max-width: 300px;
  margin-bottom: 2rem;
}

.footer-info h3, .footer-info h4 {
  color: #60a5fa;
}

.footer-info a {
  color: #93c5fd;
  text-decoration: none;
}

.footer-info a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav {
    display: none;
    position: absolute;
    top: 70px;
    right: 20px;
    background-color: #fff;
    flex-direction: column;
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }

  nav.open {
    display: flex;
  }

  nav a {
    margin: 0.5rem 0;
  }

  .demo-form-content iframe {
    height: 800px;
  }

  .features {
    flex-direction: column;
    align-items: center;
  }

  .container {
    flex-direction: column;
    align-items: flex-start;
  }

  nav a {
    margin-left: 0;
    margin-right: 1rem;
  }

  .audience-cards, .steps, .integration-cards, .benefit-cards, .footer-info {
    flex-direction: column;
    align-items: center;
  }
}
