@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/Poppins-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF;
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/Poppins-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF;
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/Poppins-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF;
}

:root {
  /* Colors extracted from the new Sneezify logo */
  --primary-bg: #c5ddd0; /* Mint/sage green from logo background */
  --secondary-bg: #ffffff;
  --primary-color: #4a4a4a; /* Dark charcoal from logo outlines */
  --accent-color: #e8854c; /* Warm orange from logo ring */
  --accent-color-light: #f5d5bc; /* Skin tone from logo */
  --accent-red: #e86b4c; /* Red from nose */
  --accent-teal: #8bc4b8; /* Teal from sneeze lines */
  --accent-teal-light: #a8d5cb;
  --radius: 12px;
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Poppins', sans-serif;
  color: var(--primary-color);
  background-color: var(--secondary-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Header Styles */
header {
  background-color: var(--primary-bg);
  padding: 20px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 25px;
}

.main-nav a {
  text-decoration: none;
  color: var(--primary-color);
  font-weight: 600;
  position: relative;
  transition: color 0.3s ease;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}

.main-nav a:hover {
  color: var(--accent-color);
}

.main-nav a:hover::after {
  width: 100%;
}

.logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: rotate(10deg);
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

.tagline {
  margin-top: 5px;
  font-size: 1.1rem;
  color: var(--primary-color);
  opacity: 0.8;
}

/* Hero Section */
.hero {
  background-color: var(--primary-bg);
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 60px 0;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-button {
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  text-align: center;
}

.cta-button.primary {
  background-color: var(--accent-color);
  color: white;
  box-shadow: 0 4px 15px rgba(232, 133, 76, 0.4);
}

.cta-button.primary:hover {
  background-color: #d9763d;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(232, 133, 76, 0.5);
}

.cta-button.secondary {
  background-color: var(--accent-teal);
  color: var(--primary-color);
  box-shadow: 0 4px 15px rgba(139, 196, 184, 0.4);
}

.cta-button.secondary:hover {
  background-color: #7ab8ab;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(139, 196, 184, 0.5);
}

/* Germ animation elements */
.germs {
  position: absolute;
  background-color: var(--accent-teal);
  border-radius: 50%;
  z-index: 1;
  opacity: 0.6;
}

.germ-1 {
  width: 150px;
  height: 150px;
  top: -20px;
  left: 10%;
  animation: float 8s ease-in-out infinite;
}

.germ-2 {
  width: 100px;
  height: 100px;
  bottom: 50px;
  right: 15%;
  animation: float 10s ease-in-out infinite 1s;
}

.germ-3 {
  width: 70px;
  height: 70px;
  top: 30%;
  right: 5%;
  animation: float 7s ease-in-out infinite 0.5s;
}

@keyframes float {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(10deg);
  }
  100% {
    transform: translateY(0) rotate(0deg);
  }
}

/* Features Section */
.features {
  padding: 80px 0;
  background-color: var(--secondary-bg);
}

.features h2 {
  text-align: center;
  margin-bottom: 50px;
  font-size: 2.5rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-card {
  background-color: white;
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.feature-card ul {
  padding-left: 20px;
}

.feature-card li {
  margin-bottom: 5px;
}

/* Demo Section */
.demo {
  background-color: var(--primary-bg);
  padding: 80px 0;
  text-align: center;
}

.demo h2 {
  margin-bottom: 20px;
  font-size: 2.5rem;
}

.demo p {
  margin-bottom: 40px;
  font-size: 1.2rem;
}

.demo-container {
  position: relative;
  display: inline-block;
}

.sneeze-button {
  background-color: var(--accent-color);
  color: white;
  padding: 15px 40px;
  font-size: 1.2rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(232, 133, 76, 0.4);
}

.sneeze-button:hover {
  background-color: #d9763d;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(232, 133, 76, 0.5);
}

.sneeze-button:active {
  transform: scale(0.98);
}

.sneeze-animation {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  pointer-events: none;
  opacity: 0;
}

.sneeze-animation.active {
  opacity: 1;
}

.sneeze-particle {
  position: absolute;
  background-color: var(--accent-teal);
  border-radius: 50%;
  opacity: 0;
}

.sneeze-animation.active .sneeze-particle {
  animation: particle 0.8s ease-out forwards;
}

.p1 {
  width: 20px;
  height: 20px;
  top: 50%;
  left: 50%;
}

.p2 {
  width: 15px;
  height: 15px;
  top: 40%;
  left: 60%;
  animation-delay: 0.1s;
}

.p3 {
  width: 25px;
  height: 25px;
  top: 60%;
  left: 40%;
  animation-delay: 0.05s;
}

.p4 {
  width: 12px;
  height: 12px;
  top: 45%;
  left: 70%;
  animation-delay: 0.15s;
}

.p5 {
  width: 18px;
  height: 18px;
  top: 55%;
  left: 30%;
  animation-delay: 0.2s;
}

@keyframes particle {
  0% {
    transform: translate(0, 0);
    opacity: 0;
  }
  20% {
    opacity: 0.8;
  }
  100% {
    transform: translate(var(--x, 100px), var(--y, -100px));
    opacity: 0;
  }
}

/* Installation Section */
.installation {
  padding: 80px 0;
  background-color: var(--secondary-bg);
  text-align: center;
}

.installation h2 {
  margin-bottom: 20px;
  font-size: 2.5rem;
}

.installation p {
  margin-bottom: 40px;
  font-size: 1.2rem;
}

.installation-steps {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.step {
  background-color: white;
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  width: 250px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.step-number {
  background-color: var(--accent-color);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

/* Usage Section */
.usage {
  background-color: var(--primary-bg);
  padding: 80px 0;
  text-align: center;
}

.usage h2 {
  margin-bottom: 40px;
  font-size: 2.5rem;
}

.usage-steps {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.usage-step {
  background-color: white;
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  width: 300px;
  transition: var(--transition);
}

.usage-step:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.usage-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: white;
  padding: 60px 0 30px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 30px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.footer-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.footer-description {
  max-width: 600px;
  opacity: 0.8;
  margin-bottom: 20px;
}

.legal-links {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  justify-content: center;
}

.legal-links a {
  color: white;
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.legal-links a:hover {
  opacity: 1;
  text-decoration: underline;
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  opacity: 0.6;
}

/* Contact Section */
.contact {
  background-color: var(--secondary-bg);
  padding: 80px 0;
  text-align: center;
}

.contact h2 {
  margin-bottom: 40px;
  font-size: 2.5rem;
}

.contact-form-container {
  max-width: 700px;
  margin: 0 auto;
  background-color: white;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  padding: 30px;
  display: flex;
  flex-direction: column;
}

.contact-form-container iframe {
  width: 100%;
  max-width: 540px; /* Match the Brevo form width */
  height: auto;
  min-height: 305px;
  border: none;
  border-radius: var(--radius);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}

.contact-form-container iframe:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  .header-content {
    flex-direction: column;
    gap: 20px;
  }

  .main-nav ul {
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }

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

  .feature-grid,
  .installation-steps,
  .usage-steps {
    gap: 20px;
  }

  .step,
  .usage-step {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .cta-buttons {
    flex-direction: column;
  }

  .cta-button {
    width: 100%;
  }
}
