/* Reset/Normalize */
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Body e elementos base */
body {
  font-family: 'Arial', sans-serif;
  color: #1A1A1A;
  background-color: #f9f9f9;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

p {
  margin-bottom: 1rem;
}

/* Header */
header {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: flex;
  -webkit-justify-content: space-between;
  -moz-justify-content: space-between;
  -ms-justify-content: space-between;
  justify-content: space-between;
  -webkit-align-items: center;
  -moz-align-items: center;
  -ms-align-items: center;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Hero section */
.hero {
  background: url('hero-bg.jpg') no-repeat center center;
  background-size: cover;
  padding: 4rem 2rem;
  text-align: center;
  color: #fff;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.hero .btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #D32F2F;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  -webkit-transition: background-color 0.3s;
  -moz-transition: background-color 0.3s;
  transition: background-color 0.3s;
}

.hero .btn:hover {
  background-color: #b71c1c;
}

.hero video {
  max-width: 100%;
  height: auto;
}

/* Problem section */
.problem {
  padding: 4rem 2rem;
  background-color: #fff;
}

.problem .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.problem .card {
  padding: 1.5rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  -webkit-transition: -webkit-transform 0.3s;
  -moz-transition: -moz-transform 0.3s;
  transition: transform 0.3s;
}

.problem .card:hover {
  -webkit-transform: translateY(-5px);
  -moz-transform: translateY(-5px);
  transform: translateY(-5px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Solution section */
.solution {
  padding: 4rem 2rem;
  background-color: #f9f9f9;
}

.solution .flex {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: flex;
  -webkit-flex-direction: row;
  -moz-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-justify-content: space-between;
  -moz-justify-content: space-between;
  -ms-justify-content: space-between;
  justify-content: space-between;
  -webkit-align-items: center;
  -moz-align-items: center;
  -ms-align-items: center;
  align-items: center;
}

/* Value stack */
.value-stack {
  padding: 4rem 2rem;
  background-color: #fff;
}

.value-stack .grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.value-stack .item {
  text-align: center;
}

/* Social proof */
.social-proof {
  padding: 4rem 2rem;
  background-color: #f9f9f9;
}

.social-proof .credentials {
  margin-bottom: 2rem;
}

.social-proof .testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

/* FAQ */
.faq {
  padding: 4rem 2rem;
  background-color: #fff;
}

.faq details {
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.faq summary {
  padding: 1rem;
  cursor: pointer;
  background-color: #f9f9f9;
}

.faq summary:hover {
  background-color: #e0e0e0;
}

.faq p {
  padding: 1rem;
}

/* Urgency section */
.urgency {
  padding: 4rem 2rem;
  background-color: #D32F2F;
  color: #fff;
}

.urgency .items {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: flex;
  -webkit-justify-content: space-around;
  -moz-justify-content: space-around;
  -ms-justify-content: space-around;
  justify-content: space-around;
}

/* Final CTA */
.final-cta {
  padding: 4rem 2rem;
  background-color: #fff;
  text-align: center;
}

.final-cta .options {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: flex;
  -webkit-justify-content: center;
  -moz-justify-content: center;
  -ms-justify-content: center;
  justify-content: center;
  gap: 2rem;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  z-index: 1000;
}

.modal.show {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: flex;
  -webkit-justify-content: center;
  -moz-justify-content: center;
  -ms-justify-content: center;
  justify-content: center;
  -webkit-align-items: center;
  -moz-align-items: center;
  -ms-align-items: center;
  align-items: center;
}

.modal-content {
  background-color: #fff;
  padding: 2rem;
  border-radius: 5px;
  max-width: 500px;
  width: 90%;
  position: relative;
  -webkit-animation: fadeIn 0.3s;
  -moz-animation: fadeIn 0.3s;
  animation: fadeIn 0.3s;
}

@-webkit-keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@-moz-keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
}

/* Footer */
footer {
  padding: 4rem 2rem;
  background-color: #1A1A1A;
  color: #fff;
}

footer .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

/* Buttons */
.btn-primary {
  padding: 0.75rem 1.5rem;
  background-color: #D32F2F;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  -webkit-appearance: none;
  -webkit-transition: background-color 0.3s;
  -moz-transition: background-color 0.3s;
  transition: background-color 0.3s;
}

.btn-primary:hover {
  background-color: #b71c1c;
}

.btn-primary:active {
  background-color: #8e0000;
}

.btn-secondary {
  padding: 0.75rem 1.5rem;
  background-color: #333;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  -webkit-appearance: none;
  -webkit-transition: background-color 0.3s;
  -moz-transition: background-color 0.3s;
  transition: background-color 0.3s;
}

.btn-secondary:hover {
  background-color: #555;
}

.btn-secondary:active {
  background-color: #222;
}

/* Forms */
form input, form textarea {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  -webkit-appearance: none;
}

form label {
  display: block;
  margin-bottom: 0.5rem;
}

form input:valid {
  border-color: green;
}

form input:invalid {
  border-color: red;
}

/* Responsividade */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }
  .value-stack .grid {
    grid-template-columns: 1fr;
  }
  .urgency .items {
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  header {
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .solution .flex {
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .final-cta .options {
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding: 6rem 4rem;
  }
}

/* Retina support */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero {
    background-image: url('hero-bg@2x.jpg');
  }
}

/* Images with object-fit */
img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
  /* Fallback for older browsers */
  -webkit-object-fit: cover;
  -moz-object-fit: cover;
  -ms-object-fit: cover;
}
