@import url("https://fonts.googleapis.com/css2?family=Iceland&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600;700;800;900&display=swap");

:root {
  --primarycolor: #7B04DB;
  --primary-color: #7B04DB;
  --main-color: #7B04DB;
  --secondarycolor: #415a77;
  --shadowcolor: #e0e1dd;
  --background-color: #d9d9d9;
  --details: #0d1b2a;
  --font-color: #2c2c2c;
  --light-bg: #dfe7f1;
  --very-light-bg: #fbfdff;
  --chart-color: rgb(163, 236, 118);
  --alert-color: rgb(232, 110, 110);
  --very-very-light-bg: #fbfdff;
}

.no-text-decoration {
  text-decoration: none;
}

.navbar-brand img {
  width: 45px;
}

#main-button {
  display: flex;
  flex-direction: row;
  align-items: center;
  background-color: var(--main-color);
  border-radius: 1.5rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  padding-left: 3rem;
  padding-right: 3rem;
  text-align: center;
  border: none;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}
#main-button a {
  display: flex;
  flex-direction: row;
  align-items: center;
  font-family: "Montserrat", "Roboto", sans-serif;
  font-weight: 600;
  color: white;
}
#main-button a i {
  margin-left: 0.3rem;
}

.container-dev {
  padding: 4rem 2rem;
  background-color: white;
}

.dev-profiles {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.dev-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  width: 300px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: -webkit-transform 0.3s ease, transform 0.3s ease;
  font-family: "Montserrat", sans-serif;
}

.dev-card:hover {
  -webkit-transform: translateY(-10px);
  transform: translateY(-10px);
}

.dev-image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin-bottom: 1rem;
  object-fit: cover;
}

.dev-role {
  color: #666;
  font-weight: 600;
  margin: 0.5rem 0;
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
}

.dev-desc {
  font-size: 0.9rem;
  color: #777;
  margin: 1rem 0;
}

.dev-social {
  margin-top: 1.5rem;
}

.dev-social a {
  color: #333;
  font-size: 1.5rem;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.dev-social a:hover {
  color: #007bff;
}

/* Estilos específicos para iOS */
@supports (-webkit-touch-callout: none) {
  .animated-video {
    width: 100%;
    height: auto;
    max-width: 300px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .dev-profiles {
    flex-direction: column;
    align-items: center;
  }

  .dev-card {
    width: 100%;
    max-width: 300px;
  }
}
@media only screen and (max-width: 500px) {
  #typewriter-text {
    font-size: 54px;

  }
}
/* Otimizações específicas para iPhone */
@media only screen and (min-device-width: 320px) and (max-device-width: 767px) and (-webkit-min-device-pixel-ratio: 2) {
  .feature {
    overflow: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }

  .feature img {
    max-width: 100%;
    height: auto;
    display: block;
  }

  /* Reduz animações em iPhone */
  .hidden {
    opacity: 1;
    -webkit-transform: none !important;
    transform: none !important;
    transition: opacity 0.3s ease-out;
  }

  .show {
    opacity: 1;
    -webkit-transform: none !important;
    transform: none !important;
  }

  /* Previne problemas de layout */
  .feature-text-container {
    opacity: 1 !important;
    -webkit-transform: none !important;
    transform: none !important;
  }
  .navbar-brand {
    margin-left: 1rem;
  }
}

.aprova-facil-content {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem;
  padding: 4rem 2rem;
  align-items: center;
}

.aprova-facil-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2.5rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  border-radius: 1.25rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  grid-column: span 7;
}

.feature-image-container {
  grid-column: span 5;
  display: flex;
  justify-content: center;
  align-items: center;
}

.feature-image {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
  transition: transform 0.3s ease;
}

.feature-image:hover {
  transform: scale(1.02);
}

.feature.reversed .aprova-facil-text {
  grid-column: 6 / span 7;
}

.feature.reversed .feature-image-container {
  grid-column: 1 / span 5;
}

@media (max-width: 1440px) {
  .hero-carousel-section {
    display: none;
  }
}
@media (max-width: 992px) {
  .aprova-facil-content {
    grid-template-columns: 1fr;
    padding: 2rem 1rem;
  }

  .aprova-facil-text,
  .feature-image-container,
  .feature.reversed .aprova-facil-text,
  .feature.reversed .feature-image-container {
    grid-column: 1 / -1;
  }

  .aprova-facil-text {
    order: 2;
    padding: 2rem 1.5rem;
  }

  .feature-image-container {
    order: 1;
    margin-bottom: 2rem;
  }

  .feature-image {
    max-width: 100%;
  }
}

/* Powered by Intelecttus Section */
.powered-by {
  position: relative;
  padding: 10px 0;
  background: white;
  border-top: 1px solid rgba(0, 162, 232, 0.1);
}

.powered-by-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.powered-by-content {
  display: flex;
  justify-content: center;
  align-items: center;
}

.powered-by-text {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 1.1rem;
  font-weight: 500;
  text-align: center;
  opacity: 0.8;
  transition: var(--transition-normal);
}

.powered-by-text:hover {
  opacity: 1;
  color: var(--primary-color);
}

.powered-by-text i {
  font-size: 1.2rem;
  color: var(--text-muted);
  transition: var(--transition-normal);
}

.powered-by-text:hover i {
  color: var(--primary-color);
  transform: scale(1.1);
}

.powered-by-text strong {
  color: var(--primary-color);
  font-weight: 600;
}

@media only screen and (max-width: 768px) {
  .powered-by {
    padding: 8px 0;
  }

  .powered-by-text {
    font-size: 1rem;
  }
  
  .powered-by-text i {
    font-size: 1.1rem;
  }
}