* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}
/* Header Styles */
.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #25d366;
  text-decoration: none;
  font-family: "Poppins", sans-serif;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
  font-family: "Poppins", sans-serif;
}

.nav-links a:hover {
  color: #25d366;
}

.cta-nav {
  background: #1da851;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  font-family: "Poppins", sans-serif;
}

.cta-nav:hover {
  background: #20c45a;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

/* Hero Section with Background Image */
.hero {
  background-image: linear-gradient(
      135deg,
      rgba(37, 211, 102, 0.85) 0%,
      rgba(32, 140, 126, 0.85) 100%
    ),
    url("https://images.unsplash.com/photo-1533158307587-828f0a76ef46?q=80&w=1074&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxmZWF0dXJlZC1waG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-text {
  color: white;
  font-family: "Poppins", sans-serif;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-family: "Poppins", sans-serif;
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  line-height: 1.6;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  font-family: "Poppins", sans-serif;
}

.hero-features {
  list-style: none;
  margin-bottom: 3rem;
  font-family: "Poppins", sans-serif;
}

.hero-features li {
  padding: 0.5rem 0;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  font-family: "Poppins", sans-serif;
}

.hero-features li::before {
  content: "✓";
  background: #25d366;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  font-family: "Poppins", sans-serif;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-family: "Poppins", sans-serif;
}

.cta-primary {
  background: #25d366;
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  font-family: "Poppins", sans-serif;
}

.cta-primary:hover {
  background: #20c45a;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

.cta-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  padding: 1rem 2rem;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  font-family: "Poppins", sans-serif;
}

.cta-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: white;
  transform: translateY(-3px);
}

/* WhatsApp-style phone mockup from reference image */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 650px;
  position: relative;
  z-index: 2;
}

.whatsapp-mockup {
  width: 320px;
  height: 600px;
  background: #fff;
  border-radius: 32px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  padding: 20px;
  border: 8px solid #232323;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;

  /* High-DPI clarity */
  image-rendering: pixelated;
  transform: scale(1);
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.whatsapp-screen {
  width: 100%;
  height: 100%;
  background: #f6f7f9;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  padding-bottom: 0;

  /* High-DPI clarity */
  image-rendering: pixelated;
  transform: scale(1);
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.whatsapp-header {
  background: #25d366;
  color: #fff;
  padding: 16px 0;
  border-radius: 20px 20px 0 0;
  font-weight: 700;
  font-size: 1.1rem;
  text-align: center;
  box-shadow: 0 2px 10px rgba(37, 211, 102, 0.13);
}

.whatsapp-messages {
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: transparent;
  height: 100%;
  min-height: 450px;
  justify-content: flex-start;
}

.whatsapp-message {
  max-width: 80%;
  font-size: 1rem;
  line-height: 1.6;
  border-radius: 14px;
  padding: 10px 16px;
  font-family: "Poppins", sans-serif;
  word-break: break-word;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  margin-bottom: 0;
  animation: fadeInMessage 0.5s ease;
  transition: background 0.2s;
}

.whatsapp-message.received {
  background: #fff;
  color: #333;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 14px;
  border-top-right-radius: 14px;
  border-top-left-radius: 14px;
}

.whatsapp-message.sent {
  background: #d4f8c6;
  color: #222;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 14px;
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
}
@media (max-width: 480px) {
  .whatsapp-mockup {
    width: 98vw;
    height: 440px;
    padding: 8px;
  }
  .whatsapp-screen {
    border-radius: 16px;
  }
}

/* Features Section */
.features {
  padding: 5rem 0;
  background: #f8f9fa;
}

.features-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.features-title {
  text-align: center;
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 3rem;
  font-family: "Poppins", sans-serif;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  font-family: "Poppins", sans-serif;
}

.feature-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  font-family: "Poppins", sans-serif;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature-icon img {
  width: 48px;
  height: 48px;
  display: inline-block;
  vertical-align: middle;
}

.feature-card h3 {
  color: #25d366;
  margin-bottom: 1rem;
  font-family: "Poppins", sans-serif;
}

/* Footer */
.footer {
  background: #333;
  color: white;
  padding: 3rem 0 1rem;
  font-family: "Poppins", sans-serif;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  font-family: "Poppins", sans-serif;
}

.footer-section h3 {
  color: #1da851;
  margin-bottom: 1rem;
  font-family: "Poppins", sans-serif;
}

.footer-section p,
.footer-section a {
  color: #e0e0e0;
  text-decoration: none;
  line-height: 1.8;
  font-family: "Poppins", sans-serif;
}

.footer-section a:hover {
  color: #25d366;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid #555;
  color: #e0e0e0;
  font-family: "Poppins", sans-serif;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: transform 0.3s ease, background 0.3s;
  overflow: hidden;
  background: #25d366;
  color: white;
  text-align: center;
}

.social-links .facebook {
  background: #1877f3;
}
.social-links .instagram {
  background: #e4405f;
}
.social-links .xlogo {
  background: #000;
}
.social-links .email {
  background: #607d8b;
}

.social-links a:hover {
  transform: scale(1.1);
  filter: brightness(1.1);
}

.social-links img,
.social-links svg {
  width: 24px;
  height: 24px;
  display: block;
  margin: 0;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero {
    background-attachment: scroll;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .phone-mockup,
  .whatsapp-mockup {
    width: 250px;
    height: 500px;
  }

  .cta-buttons {
    justify-content: center;
  }

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

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .nav {
    padding: 0 1rem;
  }

  .hero-content {
    padding: 0 1rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .phone-mockup,
  .whatsapp-mockup {
    width: 98vw;
    height: 440px;
    padding: 8px;
  }
  .whatsapp-screen {
    border-radius: 16px;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-text {
  animation: fadeInUp 0.8s ease-out;
}

.hero-visual {
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.feature-card {
  animation: fadeInUp 0.6s ease-out;
}

/* Parallax effect for hero background */
@media (min-width: 769px) {
  .hero {
    background-attachment: fixed;
  }
}
@media only screen and (max-width: 600px) {
  /* Fix cropped top section */
  .hero-content {
    padding-top: 7rem;
    padding-left: 1rem;
    padding-right: 1rem;
    text-align: center;
    flex-direction: column;
    align-items: center;
  }

  /* Center buttons properly */
  .cta-buttons {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
  }

  .cta-buttons a {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    text-align: center;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    border-radius: 8px;
  }

  /* Fix WhatsApp mockup box alignment */
  .hero-visual {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
  }

  .phone-mockup {
    max-width: 320px;
    width: 100%;
  }

  /* Fix footer layout */
  footer {
    padding: 2rem 1rem;
    text-align: center;
    font-size: 0.85rem;
  }

  footer .footer-links,
  footer .footer-contact {
    display: block;
    margin-bottom: 1rem;
  }

  /* Prevent anchor cropping */
  section {
    scroll-margin-top: 80px;
  }
}
