/* Base Styles and Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Open Sans', sans-serif;
  color: #333;
  line-height: 1.6;
  background: #FAFAFA;
}
h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 2em;
  margin-bottom: 0.5em;
  color: #333;
}
p, li {
  font-size: 1em;
}
a {
  text-decoration: none;
  color: #333;
}
ul {
  list-style: none;
}

/* Primary brand color */
:root {
  --primary-color: #3A97D5;
}

/* Header Styles */
header {
  background: #FFFFFF;
  border-bottom: 2px solid #f0f0f0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}
.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 0.5em 1em;
  justify-content: space-between;
}
.logo {
  max-height: 50px;
}
.nav-menu {
  display: flex;
  gap: 2em;
}
.nav-menu li {
  display: inline;
}
.nav-menu a {
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  transition: color 0.3s;
}
.nav-menu a:hover {
  color: var(--primary-color);
}
/* Hide menu in mobile by default */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5em;
  cursor: pointer;
}
/* Section Styles */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6em 1em 4em;  /* padding-top to account for fixed header */
}
.about-section p {
  font-size: 1.1em;
  max-width: 800px;
}
.features-list li {
  margin-bottom: 0.8em;
}
.features-list i {
  color: var(--primary-color);
  margin-right: 0.5em;
}
.screenshots-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  justify-content: center;
}
.screenshot-item {
  text-align: center;
  max-width: 300px;
}
.screenshot-img {
  width: 300px;
  height: 600px;
  object-fit: cover;
  background: #ccc;
}
.screenshot-item figcaption {
  font-size: 0.9em;
  margin-top: 0.5em;
  color: #555;
}
/* Newsletter form */
.newsletter-form {
  margin: 1em 0 2em;
  max-width: 400px;
}
.form-group {
  margin-bottom: 1em;
}
.newsletter-form input {
  width: 100%;
  padding: 0.8em;
  font-size: 1em;
  border: 2px solid #ddd;
  border-radius: 4px;
}
.newsletter-form input:focus {
  border-color: var(--primary-color);
  outline: none;
}
.btn-submit {
  width: 100%;
  padding: 0.8em;
  font-size: 1em;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: #fff;
  background: var(--primary-color);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s;
}
.btn-submit:hover {
  background: #337FB5; /* slightly darker shade of primary */
}
.social-text {
  font-weight: 600;
  margin: 1em 0 0.5em;
}
.social-links {
  display: flex;
  gap: 1em;
  margin-bottom: 2em;
}
.social-btn {
  font-size: 1.5em;
  color: #fff;
  background: var(--primary-color);
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.3s;
}
.social-btn:hover {
  background: #337FB5;
}
.social-btn i {
  /* Ensuring icons are properly centered */
  line-height: 1;
}
/* Footer Styles */
footer {
  background: var(--primary-color);
  color: #fff;
  text-align: center;
  padding: 1em 0.5em;
}
footer p {
  font-size: 0.9em;
}

/* Smooth scrolling for anchor links */
html {
  scroll-behavior: smooth; /* enables smooth scrolling for in-page links :contentReference[oaicite:3]{index=3} */
}

/* Responsive Styles */
@media (max-width: 768px) {
  .header-container {
    position: relative;
  }
  .nav-menu {
    display: none;  /* hide menu by default on mobile */
    position: absolute;
    top: 100%;
    right: 1em;
    background: #fff;
    flex-direction: column;
    gap: 1em;
    padding: 1em 2em;
    border: 1px solid #eee;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  }
  .nav-menu.open {
    display: flex; /* show menu when toggled */
  }
  .menu-toggle {
    display: block; /* show hamburger icon on mobile */
  }
}

/* Scroll Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
